summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/clusters_list/constants.js
blob: 9428f08176c376d1bade7cb8cd20ba6406633711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { __ } from '~/locale';

export const CLUSTER_TYPES = {
  project_type: __('Project'),
  group_type: __('Group'),
  instance_type: __('Instance'),
};

export const STATUSES = {
  disabled: { className: 'disabled', title: __('Disabled') },
  connected: { className: 'bg-success', title: __('Connected') },
  unreachable: { className: 'bg-danger', title: __('Unreachable') },
  authentication_failure: { className: 'bg-warning', title: __('Authentication Failure') },
  deleting: { title: __('Deleting') },
};