@@ -5,6 +5,7 @@ export const mockManagedClusterEast1 = {
5
5
kind : ACMManagedClusterModel . kind ,
6
6
metadata : {
7
7
name : 'east-1' ,
8
+ uid : 'f5302bfd-7c34-42a7-8be7-c410d614a7c3' ,
8
9
} ,
9
10
status : {
10
11
conditions : [
@@ -31,6 +32,7 @@ export const mockManagedClusterWest1 = {
31
32
kind : ACMManagedClusterModel . kind ,
32
33
metadata : {
33
34
name : 'west-1' ,
35
+ uid : '314ec799-647c-47f7-ae3e-b4ea71a8d06f' ,
34
36
} ,
35
37
status : {
36
38
conditions : [
@@ -57,6 +59,7 @@ export const mockManagedClusterWest1Down = {
57
59
kind : ACMManagedClusterModel . kind ,
58
60
metadata : {
59
61
name : 'west-1' ,
62
+ uid : 'e2f4fcb4-df5b-4c00-8d31-f918842f1c3a' ,
60
63
} ,
61
64
status : {
62
65
conditions : [
@@ -83,6 +86,7 @@ export const mockManagedClusterEast2 = {
83
86
kind : ACMManagedClusterModel . kind ,
84
87
metadata : {
85
88
name : 'east-2' ,
89
+ uid : '47f8367d-49e1-4b24-9343-aaf6e47bd012' ,
86
90
} ,
87
91
status : {
88
92
conditions : [
@@ -103,3 +107,30 @@ export const mockManagedClusterEast2 = {
103
107
] ,
104
108
} ,
105
109
} ;
110
+
111
+ export const mockManagedClusterWest2Down = {
112
+ apiVersion : `${ ACMManagedClusterModel . apiGroup } /${ ACMManagedClusterModel . apiVersion } ` ,
113
+ kind : ACMManagedClusterModel . kind ,
114
+ metadata : {
115
+ name : 'west-2' ,
116
+ uid : '817346d9-7886-43b2-821b-7c9eea49089c' ,
117
+ } ,
118
+ status : {
119
+ conditions : [
120
+ {
121
+ type : 'ManagedClusterJoined' ,
122
+ lastTransitionTime : '2023-11-29T04:30:13Z' ,
123
+ message : 'Managed cluster joined' ,
124
+ reason : 'ManagedClusterJoined' ,
125
+ status : 'True' ,
126
+ } ,
127
+ {
128
+ lastTransitionTime : '2023-11-29T04:30:13Z' ,
129
+ message : 'Managed cluster is available' ,
130
+ reason : 'ManagedClusterAvailable' ,
131
+ status : 'False' ,
132
+ type : 'ManagedClusterConditionAvailable' ,
133
+ } ,
134
+ ] ,
135
+ } ,
136
+ } ;
0 commit comments