summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/serverless/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/serverless/constants.js')
-rw-r--r--app/assets/javascripts/serverless/constants.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/serverless/constants.js b/app/assets/javascripts/serverless/constants.js
new file mode 100644
index 00000000000..2fa15e56ccb
--- /dev/null
+++ b/app/assets/javascripts/serverless/constants.js
@@ -0,0 +1,7 @@
+export const MAX_REQUESTS = 3; // max number of times to retry
+
+export const X_INTERVAL = 5; // Reflects the number of verticle bars on the x-axis
+
+export const CHECKING_INSTALLED = 'checking'; // The backend is still determining whether or not Knative is installed
+
+export const TIMEOUT = 'timeout';