aboutsummaryrefslogtreecommitdiff
path: root/source/library/service_status.js
diff options
context:
space:
mode:
Diffstat (limited to 'source/library/service_status.js')
-rw-r--r--source/library/service_status.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/library/service_status.js b/source/library/service_status.js
new file mode 100644
index 0000000..96c02b2
--- /dev/null
+++ b/source/library/service_status.js
@@ -0,0 +1,24 @@
+export default (service) => {
+ const acceptedServices = [
+ "dns",
+ "load-balancer",
+ "cdn",
+ "functions",
+ "mysql-cluster",
+ "mongodb-cluster",
+ "redis-cluster",
+ "elasticsearch-cluster",
+ "git-connector",
+ "job-runners",
+ "container-registry",
+ "kubernetes-cluster",
+ "bare-metal-servers",
+ "game-server-api",
+ "anti-ddos-protection",
+ "anti-cheat-api",
+ ];
+
+ if (acceptedServices.includes(service)) return true;
+
+ return false;
+};