16 lines
515 B
JavaScript
16 lines
515 B
JavaScript
|
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') },
|
||
|
};
|