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-03-09 05:07:45 -04:00
|
|
|
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') },
|
2020-03-04 01:08:23 -05:00
|
|
|
};
|