Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-10-24 07:56:39 +0300
committerEric Eastwood <contact@ericeastwood.com>2017-11-03 19:28:57 +0300
commit797e758beb882d67f32b87db6453cad41c0b931f (patch)
tree7e3a35aa71b0d484f727a29f88f16f3b3d0ffa29 /app/assets/javascripts/clusters/constants.js
parente6616e0468deaf1e37ddddc9332cc3e677567410 (diff)
Add applications section to GKE clusters page
Diffstat (limited to 'app/assets/javascripts/clusters/constants.js')
-rw-r--r--app/assets/javascripts/clusters/constants.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/clusters/constants.js b/app/assets/javascripts/clusters/constants.js
new file mode 100644
index 00000000000..3f202435716
--- /dev/null
+++ b/app/assets/javascripts/clusters/constants.js
@@ -0,0 +1,10 @@
+// These need to match what is returned from the server
+export const APPLICATION_INSTALLABLE = 'installable';
+export const APPLICATION_INSTALLING = 'installing';
+export const APPLICATION_INSTALLED = 'installed';
+export const APPLICATION_ERROR = 'error';
+
+// These are only used client-side
+export const REQUEST_LOADING = 'request-loading';
+export const REQUEST_SUCCESS = 'request-success';
+export const REQUEST_FAILURE = 'request-failure';