summaryrefslogtreecommitdiff
path: root/spec/frontend/clusters_list/mock_data.js
blob: 9a90a378f3146c0688ac8b9a668f78a5e8c4fd39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
export const clusterList = [
  {
    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',
    status: 'created',
    cpu: '6 (100% free)',
    memory: '20.12 (35% free)',
  },
  {
    name: 'My Cluster 6',
    environmentScope: '*',
    size: '1',
    clusterType: 'project_type',
    status: 'cleanup_ongoing',
    cpu: '6 (100% free)',
    memory: '20.12 (35% free)',
  },
];

export const apiData = {
  clusters: clusterList,
  has_ancestor_clusters: false,
};