2020-03-04 01:08:23 -05:00
|
|
|
import { __ } from '~/locale';
|
|
|
|
|
|
|
|
export const CLUSTER_TYPES = {
|
|
|
|
project_type: __('Project'),
|
|
|
|
group_type: __('Group'),
|
|
|
|
instance_type: __('Instance'),
|
|
|
|
};
|
|
|
|
|
2020-05-27 11:08:11 -04:00
|
|
|
export const MAX_REQUESTS = 3;
|
|
|
|
|
2020-03-09 05:07:45 -04:00
|
|
|
export const STATUSES = {
|
2020-05-12 05:09:31 -04:00
|
|
|
default: { className: 'bg-white', title: __('Unknown') },
|
2020-03-09 05:07:45 -04:00
|
|
|
disabled: { className: 'disabled', title: __('Disabled') },
|
2020-05-12 05:09:31 -04:00
|
|
|
created: { className: 'bg-success', title: __('Connected') },
|
2020-03-09 05:07:45 -04:00
|
|
|
unreachable: { className: 'bg-danger', title: __('Unreachable') },
|
|
|
|
authentication_failure: { className: 'bg-warning', title: __('Authentication Failure') },
|
|
|
|
deleting: { title: __('Deleting') },
|
2020-06-08 20:08:47 -04:00
|
|
|
creating: { title: __('Creating') },
|
2020-03-04 01:08:23 -05:00
|
|
|
};
|