summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/clusters/constants.js
blob: c6ca895778d9cea5367f2a485758606fd78fe45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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',
};

// These need to match the available providers in app/models/clusters/providers/
export const PROVIDER_TYPE = {
  GCP: 'gcp',
};

// These are only used client-side

export const LOGGING_MODE = 'logging';
export const BLOCKING_MODE = 'blocking';