diff options
Diffstat (limited to 'app/assets/javascripts/clusters/constants.js')
-rw-r--r-- | app/assets/javascripts/clusters/constants.js | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/app/assets/javascripts/clusters/constants.js b/app/assets/javascripts/clusters/constants.js index 846e5950b8b..c6ca895778d 100644 --- a/app/assets/javascripts/clusters/constants.js +++ b/app/assets/javascripts/clusters/constants.js @@ -10,64 +10,7 @@ export const PROVIDER_TYPE = { GCP: 'gcp', }; -// These need to match what is returned from the server -export const APPLICATION_STATUS = { - NO_STATUS: null, - NOT_INSTALLABLE: 'not_installable', - INSTALLABLE: 'installable', - SCHEDULED: 'scheduled', - INSTALLING: 'installing', - INSTALLED: 'installed', - UPDATING: 'updating', - UPDATED: 'updated', - UPDATE_ERRORED: 'update_errored', - UNINSTALLING: 'uninstalling', - UNINSTALL_ERRORED: 'uninstall_errored', - ERROR: 'errored', - PRE_INSTALLED: 'pre_installed', - UNINSTALLED: 'uninstalled', - EXTERNALLY_INSTALLED: 'externally_installed', -}; - -/* - * The application cannot be in any of the following states without - * not being installed. - */ -export const APPLICATION_INSTALLED_STATUSES = [ - APPLICATION_STATUS.INSTALLED, - APPLICATION_STATUS.UPDATING, - APPLICATION_STATUS.UNINSTALLING, - APPLICATION_STATUS.PRE_INSTALLED, -]; - // These are only used client-side -export const UPDATE_EVENT = 'update'; -export const INSTALL_EVENT = 'install'; -export const UNINSTALL_EVENT = 'uninstall'; - -export const HELM = 'helm'; -export const INGRESS = 'ingress'; -export const JUPYTER = 'jupyter'; -export const KNATIVE = 'knative'; -export const RUNNER = 'runner'; -export const CERT_MANAGER = 'cert_manager'; -export const CROSSPLANE = 'crossplane'; -export const PROMETHEUS = 'prometheus'; -export const ELASTIC_STACK = 'elastic_stack'; - -export const APPLICATIONS = [ - HELM, - INGRESS, - JUPYTER, - KNATIVE, - RUNNER, - CERT_MANAGER, - PROMETHEUS, - ELASTIC_STACK, -]; - -export const INGRESS_DOMAIN_SUFFIX = '.nip.io'; - export const LOGGING_MODE = 'logging'; export const BLOCKING_MODE = 'blocking'; |