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

32 lines
1,016 B
JavaScript
Raw Normal View History

2019-02-15 15:39:39 +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',
2018-12-13 13:39:08 +05:30
UPDATING: 'updating',
2019-03-02 22:35:43 +05:30
UPDATED: 'updated',
UPDATE_ERRORED: 'update_errored',
2018-11-18 11:00:15 +05:30
ERROR: 'errored',
};
2018-03-17 18:26:18 +05:30
// These are only used client-side
2019-03-02 22:35:43 +05:30
export const REQUEST_SUBMITTED = 'request-submitted';
2018-03-17 18:26:18 +05:30
export const REQUEST_FAILURE = 'request-failure';
2019-03-02 22:35:43 +05:30
export const UPGRADE_REQUESTED = 'upgrade-requested';
export const UPGRADE_REQUEST_FAILURE = 'upgrade-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-03-02 22:35:43 +05:30
export const RUNNER = 'runner';
2019-02-15 15:39:39 +05:30
export const CERT_MANAGER = 'cert_manager';
2019-05-18 00:54:41 +05:30
export const INGRESS_DOMAIN_SUFFIX = '.nip.io';