debian-mirror-gitlab/spec/frontend/clusters_list/mock_data.js

62 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-05-24 23:13:21 +05:30
export const clusterList = [
2020-04-08 14:13:33 +05:30
{
name: 'My Cluster 1',
environmentScope: '*',
size: '3',
clusterType: 'group_type',
status: 'disabled',
cpu: '6 (100% free)',
memory: '22.50 (30% free)',
},
{
name: 'My Cluster 2',
environmentScope: 'development',
size: '12',
clusterType: 'project_type',
status: 'unreachable',
cpu: '3 (50% free)',
memory: '11 (60% free)',
},
{
name: 'My Cluster 3',
environmentScope: 'development',
size: '12',
clusterType: 'project_type',
status: 'authentication_failure',
cpu: '1 (0% free)',
memory: '22 (33% free)',
},
{
name: 'My Cluster 4',
environmentScope: 'production',
size: '12',
clusterType: 'project_type',
status: 'deleting',
cpu: '6 (100% free)',
memory: '45 (15% free)',
},
{
name: 'My Cluster 5',
environmentScope: 'development',
size: '12',
clusterType: 'project_type',
2020-05-24 23:13:21 +05:30
status: 'created',
cpu: '6 (100% free)',
memory: '20.12 (35% free)',
},
{
name: 'My Cluster 6',
environmentScope: '*',
size: '1',
clusterType: 'project_type',
status: 'cleanup_ongoing',
2020-04-08 14:13:33 +05:30
cpu: '6 (100% free)',
memory: '20.12 (35% free)',
},
];
2020-05-24 23:13:21 +05:30
export const apiData = {
clusters: clusterList,
has_ancestor_clusters: false,
};