debian-mirror-gitlab/app/assets/javascripts/clusters/constants.js

28 lines
826 B
JavaScript
Raw Normal View History

2019-02-13 22:33:31 +05:30
// These need to match the enum found in app/models/clusters/cluster.rb
export const CLUSTER_TYPE = {
INSTANCE: 'instance_type',
GROUP: 'group_type',
PROJECT: 'project_type',
};
2018-03-17 18:26:18 +05:30
// These need to match what is returned from the server
2018-11-18 11:00:15 +05:30
export const APPLICATION_STATUS = {
NOT_INSTALLABLE: 'not_installable',
INSTALLABLE: 'installable',
SCHEDULED: 'scheduled',
INSTALLING: 'installing',
INSTALLED: 'installed',
UPDATED: 'updated',
2018-12-13 13:39:08 +05:30
UPDATING: 'updating',
2018-11-18 11:00:15 +05:30
ERROR: 'errored',
};
2018-03-17 18:26:18 +05:30
// These are only used client-side
export const REQUEST_LOADING = 'request-loading';
export const REQUEST_SUCCESS = 'request-success';
export const REQUEST_FAILURE = 'request-failure';
2018-03-27 19:54:05 +05:30
export const INGRESS = 'ingress';
2018-11-08 19:23:39 +05:30
export const JUPYTER = 'jupyter';
2018-12-13 13:39:08 +05:30
export const KNATIVE = 'knative';
2019-02-13 22:33:31 +05:30
export const CERT_MANAGER = 'cert_manager';