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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
431 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',
};
2019-12-21 20:55:43 +05:30
// These need to match the available providers in app/models/clusters/providers/
export const PROVIDER_TYPE = {
GCP: 'gcp',
};
2018-03-17 18:26:18 +05:30
// These are only used client-side
2019-07-31 22:56:46 +05:30
2020-04-22 19:07:51 +05:30
export const LOGGING_MODE = 'logging';
export const BLOCKING_MODE = 'blocking';