@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230518 → 0.0.20230606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +165 -10
- package/package.json +1 -1
- package/tests.ts +179 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://gkehub.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230606
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -146,6 +146,130 @@ declare namespace gapi.client {
|
|
|
146
146
|
version?:
|
|
147
147
|
string;
|
|
148
148
|
}
|
|
149
|
+
interface ClusterUpgradeGKEUpgrade {
|
|
150
|
+
/** Name of the upgrade, e.g., "k8s_control_plane". It should be a valid upgrade name. It must not exceet 99 characters. */
|
|
151
|
+
name?:
|
|
152
|
+
string;
|
|
153
|
+
/** Version of the upgrade, e.g., "1.22.1-gke.100". It should be a valid version. It must not exceet 99 characters. */
|
|
154
|
+
version?:
|
|
155
|
+
string;
|
|
156
|
+
}
|
|
157
|
+
interface ClusterUpgradeGKEUpgradeFeatureCondition {
|
|
158
|
+
/** Reason why the feature is in this status. */
|
|
159
|
+
reason?:
|
|
160
|
+
string;
|
|
161
|
+
/** Status of the condition, one of True, False, Unknown. */
|
|
162
|
+
status?:
|
|
163
|
+
string;
|
|
164
|
+
/** Type of the condition, for example, "ready". */
|
|
165
|
+
type?:
|
|
166
|
+
string;
|
|
167
|
+
/** Last timestamp the condition was updated. */
|
|
168
|
+
updateTime?:
|
|
169
|
+
string;
|
|
170
|
+
}
|
|
171
|
+
interface ClusterUpgradeGKEUpgradeFeatureState {
|
|
172
|
+
/** Current conditions of the feature. */
|
|
173
|
+
conditions?:
|
|
174
|
+
ClusterUpgradeGKEUpgradeFeatureCondition[];
|
|
175
|
+
/** Scope-level upgrade state. */
|
|
176
|
+
state?:
|
|
177
|
+
ClusterUpgradeScopeGKEUpgradeState[];
|
|
178
|
+
}
|
|
179
|
+
interface ClusterUpgradeGKEUpgradeOverride {
|
|
180
|
+
/** Required. Post conditions to override for the specified upgrade (name + version). Required. */
|
|
181
|
+
postConditions?:
|
|
182
|
+
ClusterUpgradePostConditions;
|
|
183
|
+
/** Required. Which upgrade to override. Required. */
|
|
184
|
+
upgrade?:
|
|
185
|
+
ClusterUpgradeGKEUpgrade;
|
|
186
|
+
}
|
|
187
|
+
interface ClusterUpgradeIgnoredMembership {
|
|
188
|
+
/** Time when the membership was first set to ignored. */
|
|
189
|
+
ignoredTime?:
|
|
190
|
+
string;
|
|
191
|
+
/** Reason why the membership is ignored. */
|
|
192
|
+
reason?:
|
|
193
|
+
string;
|
|
194
|
+
}
|
|
195
|
+
interface ClusterUpgradeMembershipGKEUpgradeState {
|
|
196
|
+
/** Status of the upgrade. */
|
|
197
|
+
status?:
|
|
198
|
+
ClusterUpgradeUpgradeStatus;
|
|
199
|
+
/** Which upgrade to track the state. */
|
|
200
|
+
upgrade?:
|
|
201
|
+
ClusterUpgradeGKEUpgrade;
|
|
202
|
+
}
|
|
203
|
+
interface ClusterUpgradeMembershipState {
|
|
204
|
+
/** Whether this membership is ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. */
|
|
205
|
+
ignored?:
|
|
206
|
+
ClusterUpgradeIgnoredMembership;
|
|
207
|
+
/** Fully qualified scope names that this clusters is bound to which also have rollout sequencing enabled. */
|
|
208
|
+
scopes?:
|
|
209
|
+
string[];
|
|
210
|
+
/** Actual upgrade state against desired. */
|
|
211
|
+
upgrades?:
|
|
212
|
+
ClusterUpgradeMembershipGKEUpgradeState[];
|
|
213
|
+
}
|
|
214
|
+
interface ClusterUpgradePostConditions {
|
|
215
|
+
/** Required. Amount of time to "soak" after a rollout has been finished before marking it COMPLETE. Cannot exceed 30 days. Required. */
|
|
216
|
+
soaking?:
|
|
217
|
+
string;
|
|
218
|
+
}
|
|
219
|
+
interface ClusterUpgradeScopeGKEUpgradeState {
|
|
220
|
+
/** Number of GKE clusters in each status code. */
|
|
221
|
+
stats?:
|
|
222
|
+
{ [P in string]: string };
|
|
223
|
+
/** Status of the upgrade. */
|
|
224
|
+
status?:
|
|
225
|
+
ClusterUpgradeUpgradeStatus;
|
|
226
|
+
/** Which upgrade to track the state. */
|
|
227
|
+
upgrade?:
|
|
228
|
+
ClusterUpgradeGKEUpgrade;
|
|
229
|
+
}
|
|
230
|
+
interface ClusterUpgradeScopeSpec {
|
|
231
|
+
/** Allow users to override some properties of each GKE upgrade. */
|
|
232
|
+
gkeUpgradeOverrides?:
|
|
233
|
+
ClusterUpgradeGKEUpgradeOverride[];
|
|
234
|
+
/** Required. Post conditions to evaluate to mark an upgrade COMPLETE. Required. */
|
|
235
|
+
postConditions?:
|
|
236
|
+
ClusterUpgradePostConditions;
|
|
237
|
+
/**
|
|
238
|
+
* This scope consumes upgrades that have COMPLETE status code in the upstream scopes. See UpgradeStatus.Code for code definitions. The scope name should be in the form:
|
|
239
|
+
* `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project. This is defined as repeated for
|
|
240
|
+
* future proof reasons. Initial implementation will enforce at most one upstream scope.
|
|
241
|
+
*/
|
|
242
|
+
upstreamScopes?:
|
|
243
|
+
string[];
|
|
244
|
+
}
|
|
245
|
+
interface ClusterUpgradeScopeState {
|
|
246
|
+
/**
|
|
247
|
+
* This scopes whose upstream_scopes contain the current scope. The scope name should be in the form: `projects/{p}/locations/gloobal/scopes/{s}` Where {p} is the project, {s} is a
|
|
248
|
+
* valid Scope in this project. {p} WILL match the Feature's project.
|
|
249
|
+
*/
|
|
250
|
+
downstreamScopes?:
|
|
251
|
+
string[];
|
|
252
|
+
/** Feature state for GKE clusters. */
|
|
253
|
+
gkeState?:
|
|
254
|
+
ClusterUpgradeGKEUpgradeFeatureState;
|
|
255
|
+
/**
|
|
256
|
+
* A list of memberships ignored by the feature. For example, manually upgraded clusters can be ignored if they are newer than the default versions of its release channel. The
|
|
257
|
+
* membership resource is in the format: `projects/{p}/locations/{l}/membership/{m}`.
|
|
258
|
+
*/
|
|
259
|
+
ignored?:
|
|
260
|
+
{ [P in string]: ClusterUpgradeIgnoredMembership };
|
|
261
|
+
}
|
|
262
|
+
interface ClusterUpgradeUpgradeStatus {
|
|
263
|
+
/** Status code of the upgrade. */
|
|
264
|
+
code?:
|
|
265
|
+
string;
|
|
266
|
+
/** Reason for this status. */
|
|
267
|
+
reason?:
|
|
268
|
+
string;
|
|
269
|
+
/** Last timestamp the status was updated. */
|
|
270
|
+
updateTime?:
|
|
271
|
+
string;
|
|
272
|
+
}
|
|
149
273
|
interface CommonFeatureSpec {
|
|
150
274
|
/** Anthos Observability spec */
|
|
151
275
|
anthosobservability?:
|
|
@@ -208,8 +332,9 @@ declare namespace gapi.client {
|
|
|
208
332
|
allowVerticalScale?:
|
|
209
333
|
boolean;
|
|
210
334
|
/**
|
|
211
|
-
* Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false
|
|
212
|
-
* ConfigSync fields will be ignored, ConfigSync resources will be deleted.
|
|
335
|
+
* Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false and Managed
|
|
336
|
+
* Config Sync is disabled, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. Setting this field to false while enabling Managed Config Sync is
|
|
337
|
+
* invalid. If omitted, ConfigSync resources will be managed if: * the git or oci field is present; or * Managed Config Sync is enabled (i.e., managed.enabled is true).
|
|
213
338
|
*/
|
|
214
339
|
enabled?:
|
|
215
340
|
boolean;
|
|
@@ -219,6 +344,13 @@ declare namespace gapi.client {
|
|
|
219
344
|
/** Configuration for Managed Config Sync. */
|
|
220
345
|
managed?:
|
|
221
346
|
ConfigManagementManaged;
|
|
347
|
+
/**
|
|
348
|
+
* The Email of the GCP Service Account (GSA) used for exporting Config Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is enabled. The GSA should have the
|
|
349
|
+
* Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be binded to the
|
|
350
|
+
* GSA. This field is required when Managed Config Sync is enabled.
|
|
351
|
+
*/
|
|
352
|
+
metricsGcpServiceAccountEmail?:
|
|
353
|
+
string;
|
|
222
354
|
/** OCI repo configuration for the cluster */
|
|
223
355
|
oci?:
|
|
224
356
|
ConfigManagementOciConfig;
|
|
@@ -252,10 +384,18 @@ declare namespace gapi.client {
|
|
|
252
384
|
syncer?:
|
|
253
385
|
string;
|
|
254
386
|
}
|
|
387
|
+
interface ConfigManagementConfigSyncError {
|
|
388
|
+
/** A string representing the user facing error message */
|
|
389
|
+
errorMessage?:
|
|
390
|
+
string;
|
|
391
|
+
}
|
|
255
392
|
interface ConfigManagementConfigSyncState {
|
|
256
393
|
/** Information about the deployment of ConfigSync, including the version of the various Pods deployed */
|
|
257
394
|
deploymentState?:
|
|
258
395
|
ConfigManagementConfigSyncDeploymentState;
|
|
396
|
+
/** Errors pertaining to the installation of Config Sync. */
|
|
397
|
+
errors?:
|
|
398
|
+
ConfigManagementConfigSyncError[];
|
|
259
399
|
/** The state of ConfigSync's process to sync configs to a cluster */
|
|
260
400
|
syncState?:
|
|
261
401
|
ConfigManagementSyncState;
|
|
@@ -389,14 +529,24 @@ declare namespace gapi.client {
|
|
|
389
529
|
string;
|
|
390
530
|
}
|
|
391
531
|
interface ConfigManagementManaged {
|
|
392
|
-
/** Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync. */
|
|
532
|
+
/** Set to true to enable Managed Config Sync. Defaults to false which disables Managed Config Sync. Setting this field to true when configSync.enabled is false is invalid. */
|
|
393
533
|
enabled?:
|
|
394
534
|
boolean;
|
|
535
|
+
/** Set to true to stop syncing configs for a single cluster. Default to false. If set to true, Managed Config Sync will not upgrade Config Sync. */
|
|
536
|
+
stopSyncing?:
|
|
537
|
+
boolean;
|
|
395
538
|
}
|
|
396
539
|
interface ConfigManagementMembershipSpec {
|
|
397
540
|
/** Binauthz conifguration for the cluster. */
|
|
398
541
|
binauthz?:
|
|
399
542
|
ConfigManagementBinauthzConfig;
|
|
543
|
+
/**
|
|
544
|
+
* The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the
|
|
545
|
+
* cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership
|
|
546
|
+
* name is used by Config Sync cluster-name-selector annotation or ClusterSelector.
|
|
547
|
+
*/
|
|
548
|
+
cluster?:
|
|
549
|
+
string;
|
|
400
550
|
/** Config Sync configuration for the cluster. */
|
|
401
551
|
configSync?:
|
|
402
552
|
ConfigManagementConfigSync;
|
|
@@ -414,10 +564,7 @@ declare namespace gapi.client {
|
|
|
414
564
|
/** Binauthz status */
|
|
415
565
|
binauthzState?:
|
|
416
566
|
ConfigManagementBinauthzState;
|
|
417
|
-
/**
|
|
418
|
-
* The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the
|
|
419
|
-
* cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.
|
|
420
|
-
*/
|
|
567
|
+
/** This field is set to the `cluster_name` field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name. */
|
|
421
568
|
clusterName?:
|
|
422
569
|
string;
|
|
423
570
|
/** Current sync status */
|
|
@@ -623,7 +770,7 @@ declare namespace gapi.client {
|
|
|
623
770
|
* mutating a Feature.
|
|
624
771
|
*/
|
|
625
772
|
scopeSpecs?:
|
|
626
|
-
{ [P in string]:
|
|
773
|
+
{ [P in string]: ScopeFeatureSpec };
|
|
627
774
|
/**
|
|
628
775
|
* Output only. Scope-specific Feature status. If this Feature does report any per-Scope status, this field may be unused. The keys indicate which Scope the state is for, in the form:
|
|
629
776
|
* `projects/{p}/locations/global/scopes/{s}` Where {p} is the project, {s} is a valid Scope in this project. {p} WILL match the Feature's project.
|
|
@@ -1169,6 +1316,9 @@ declare namespace gapi.client {
|
|
|
1169
1316
|
/** Appdevexperience specific state. */
|
|
1170
1317
|
appdevexperience?:
|
|
1171
1318
|
AppDevExperienceFeatureState;
|
|
1319
|
+
/** ClusterUpgrade state. */
|
|
1320
|
+
clusterupgrade?:
|
|
1321
|
+
ClusterUpgradeMembershipState;
|
|
1172
1322
|
/** Config Management-specific state. */
|
|
1173
1323
|
configmanagement?:
|
|
1174
1324
|
ConfigManagementMembershipState;
|
|
@@ -1641,10 +1791,15 @@ declare namespace gapi.client {
|
|
|
1641
1791
|
updateTime?:
|
|
1642
1792
|
string;
|
|
1643
1793
|
}
|
|
1644
|
-
// tslint:disable-next-line:no-empty-interface
|
|
1645
1794
|
interface ScopeFeatureSpec {
|
|
1795
|
+
/** Spec for the ClusterUpgrade feature at the scope level */
|
|
1796
|
+
clusterupgrade?:
|
|
1797
|
+
ClusterUpgradeScopeSpec;
|
|
1646
1798
|
}
|
|
1647
1799
|
interface ScopeFeatureState {
|
|
1800
|
+
/** State for the ClusterUpgrade feature at the scope level */
|
|
1801
|
+
clusterupgrade?:
|
|
1802
|
+
ClusterUpgradeScopeState;
|
|
1648
1803
|
/** Output only. The "running state" of the Feature in this Scope. */
|
|
1649
1804
|
state?:
|
|
1650
1805
|
FeatureState;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230606
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -108,6 +108,7 @@ gapi.load('client', async () => {
|
|
|
108
108
|
binauthz: {
|
|
109
109
|
enabled: true,
|
|
110
110
|
},
|
|
111
|
+
cluster: "Test string",
|
|
111
112
|
configSync: {
|
|
112
113
|
allowVerticalScale: true,
|
|
113
114
|
enabled: true,
|
|
@@ -123,7 +124,9 @@ gapi.load('client', async () => {
|
|
|
123
124
|
},
|
|
124
125
|
managed: {
|
|
125
126
|
enabled: true,
|
|
127
|
+
stopSyncing: true,
|
|
126
128
|
},
|
|
129
|
+
metricsGcpServiceAccountEmail: "Test string",
|
|
127
130
|
oci: {
|
|
128
131
|
gcpServiceAccountEmail: "Test string",
|
|
129
132
|
policyDir: "Test string",
|
|
@@ -273,6 +276,28 @@ gapi.load('client', async () => {
|
|
|
273
276
|
description: "Test string",
|
|
274
277
|
},
|
|
275
278
|
},
|
|
279
|
+
clusterupgrade: {
|
|
280
|
+
ignored: {
|
|
281
|
+
ignoredTime: "Test string",
|
|
282
|
+
reason: "Test string",
|
|
283
|
+
},
|
|
284
|
+
scopes: [
|
|
285
|
+
"Test string"
|
|
286
|
+
],
|
|
287
|
+
upgrades: [
|
|
288
|
+
{
|
|
289
|
+
status: {
|
|
290
|
+
code: "Test string",
|
|
291
|
+
reason: "Test string",
|
|
292
|
+
updateTime: "Test string",
|
|
293
|
+
},
|
|
294
|
+
upgrade: {
|
|
295
|
+
name: "Test string",
|
|
296
|
+
version: "Test string",
|
|
297
|
+
},
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
},
|
|
276
301
|
configmanagement: {
|
|
277
302
|
binauthzState: {
|
|
278
303
|
version: {
|
|
@@ -291,6 +316,11 @@ gapi.load('client', async () => {
|
|
|
291
316
|
rootReconciler: "Test string",
|
|
292
317
|
syncer: "Test string",
|
|
293
318
|
},
|
|
319
|
+
errors: [
|
|
320
|
+
{
|
|
321
|
+
errorMessage: "Test string",
|
|
322
|
+
}
|
|
323
|
+
],
|
|
294
324
|
syncState: {
|
|
295
325
|
code: "Test string",
|
|
296
326
|
errors: [
|
|
@@ -341,6 +371,7 @@ gapi.load('client', async () => {
|
|
|
341
371
|
binauthz: {
|
|
342
372
|
enabled: true,
|
|
343
373
|
},
|
|
374
|
+
cluster: "Test string",
|
|
344
375
|
configSync: {
|
|
345
376
|
allowVerticalScale: true,
|
|
346
377
|
enabled: true,
|
|
@@ -356,7 +387,9 @@ gapi.load('client', async () => {
|
|
|
356
387
|
},
|
|
357
388
|
managed: {
|
|
358
389
|
enabled: true,
|
|
390
|
+
stopSyncing: true,
|
|
359
391
|
},
|
|
392
|
+
metricsGcpServiceAccountEmail: "Test string",
|
|
360
393
|
oci: {
|
|
361
394
|
gcpServiceAccountEmail: "Test string",
|
|
362
395
|
policyDir: "Test string",
|
|
@@ -538,10 +571,66 @@ gapi.load('client', async () => {
|
|
|
538
571
|
},
|
|
539
572
|
scopeSpecs: {
|
|
540
573
|
A: {
|
|
574
|
+
clusterupgrade: {
|
|
575
|
+
gkeUpgradeOverrides: [
|
|
576
|
+
{
|
|
577
|
+
postConditions: {
|
|
578
|
+
soaking: "Test string",
|
|
579
|
+
},
|
|
580
|
+
upgrade: {
|
|
581
|
+
name: "Test string",
|
|
582
|
+
version: "Test string",
|
|
583
|
+
},
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
postConditions: {
|
|
587
|
+
soaking: "Test string",
|
|
588
|
+
},
|
|
589
|
+
upstreamScopes: [
|
|
590
|
+
"Test string"
|
|
591
|
+
],
|
|
592
|
+
},
|
|
541
593
|
}
|
|
542
594
|
},
|
|
543
595
|
scopeStates: {
|
|
544
596
|
A: {
|
|
597
|
+
clusterupgrade: {
|
|
598
|
+
downstreamScopes: [
|
|
599
|
+
"Test string"
|
|
600
|
+
],
|
|
601
|
+
gkeState: {
|
|
602
|
+
conditions: [
|
|
603
|
+
{
|
|
604
|
+
reason: "Test string",
|
|
605
|
+
status: "Test string",
|
|
606
|
+
type: "Test string",
|
|
607
|
+
updateTime: "Test string",
|
|
608
|
+
}
|
|
609
|
+
],
|
|
610
|
+
state: [
|
|
611
|
+
{
|
|
612
|
+
stats: {
|
|
613
|
+
A: "Test string"
|
|
614
|
+
},
|
|
615
|
+
status: {
|
|
616
|
+
code: "Test string",
|
|
617
|
+
reason: "Test string",
|
|
618
|
+
updateTime: "Test string",
|
|
619
|
+
},
|
|
620
|
+
upgrade: {
|
|
621
|
+
name: "Test string",
|
|
622
|
+
version: "Test string",
|
|
623
|
+
},
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
},
|
|
627
|
+
ignored: {
|
|
628
|
+
A: {
|
|
629
|
+
ignoredTime: "Test string",
|
|
630
|
+
reason: "Test string",
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
},
|
|
545
634
|
state: {
|
|
546
635
|
code: "Test string",
|
|
547
636
|
description: "Test string",
|
|
@@ -708,6 +797,7 @@ gapi.load('client', async () => {
|
|
|
708
797
|
binauthz: {
|
|
709
798
|
enabled: true,
|
|
710
799
|
},
|
|
800
|
+
cluster: "Test string",
|
|
711
801
|
configSync: {
|
|
712
802
|
allowVerticalScale: true,
|
|
713
803
|
enabled: true,
|
|
@@ -723,7 +813,9 @@ gapi.load('client', async () => {
|
|
|
723
813
|
},
|
|
724
814
|
managed: {
|
|
725
815
|
enabled: true,
|
|
816
|
+
stopSyncing: true,
|
|
726
817
|
},
|
|
818
|
+
metricsGcpServiceAccountEmail: "Test string",
|
|
727
819
|
oci: {
|
|
728
820
|
gcpServiceAccountEmail: "Test string",
|
|
729
821
|
policyDir: "Test string",
|
|
@@ -873,6 +965,28 @@ gapi.load('client', async () => {
|
|
|
873
965
|
description: "Test string",
|
|
874
966
|
},
|
|
875
967
|
},
|
|
968
|
+
clusterupgrade: {
|
|
969
|
+
ignored: {
|
|
970
|
+
ignoredTime: "Test string",
|
|
971
|
+
reason: "Test string",
|
|
972
|
+
},
|
|
973
|
+
scopes: [
|
|
974
|
+
"Test string"
|
|
975
|
+
],
|
|
976
|
+
upgrades: [
|
|
977
|
+
{
|
|
978
|
+
status: {
|
|
979
|
+
code: "Test string",
|
|
980
|
+
reason: "Test string",
|
|
981
|
+
updateTime: "Test string",
|
|
982
|
+
},
|
|
983
|
+
upgrade: {
|
|
984
|
+
name: "Test string",
|
|
985
|
+
version: "Test string",
|
|
986
|
+
},
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
},
|
|
876
990
|
configmanagement: {
|
|
877
991
|
binauthzState: {
|
|
878
992
|
version: {
|
|
@@ -891,6 +1005,11 @@ gapi.load('client', async () => {
|
|
|
891
1005
|
rootReconciler: "Test string",
|
|
892
1006
|
syncer: "Test string",
|
|
893
1007
|
},
|
|
1008
|
+
errors: [
|
|
1009
|
+
{
|
|
1010
|
+
errorMessage: "Test string",
|
|
1011
|
+
}
|
|
1012
|
+
],
|
|
894
1013
|
syncState: {
|
|
895
1014
|
code: "Test string",
|
|
896
1015
|
errors: [
|
|
@@ -941,6 +1060,7 @@ gapi.load('client', async () => {
|
|
|
941
1060
|
binauthz: {
|
|
942
1061
|
enabled: true,
|
|
943
1062
|
},
|
|
1063
|
+
cluster: "Test string",
|
|
944
1064
|
configSync: {
|
|
945
1065
|
allowVerticalScale: true,
|
|
946
1066
|
enabled: true,
|
|
@@ -956,7 +1076,9 @@ gapi.load('client', async () => {
|
|
|
956
1076
|
},
|
|
957
1077
|
managed: {
|
|
958
1078
|
enabled: true,
|
|
1079
|
+
stopSyncing: true,
|
|
959
1080
|
},
|
|
1081
|
+
metricsGcpServiceAccountEmail: "Test string",
|
|
960
1082
|
oci: {
|
|
961
1083
|
gcpServiceAccountEmail: "Test string",
|
|
962
1084
|
policyDir: "Test string",
|
|
@@ -1138,10 +1260,66 @@ gapi.load('client', async () => {
|
|
|
1138
1260
|
},
|
|
1139
1261
|
scopeSpecs: {
|
|
1140
1262
|
A: {
|
|
1263
|
+
clusterupgrade: {
|
|
1264
|
+
gkeUpgradeOverrides: [
|
|
1265
|
+
{
|
|
1266
|
+
postConditions: {
|
|
1267
|
+
soaking: "Test string",
|
|
1268
|
+
},
|
|
1269
|
+
upgrade: {
|
|
1270
|
+
name: "Test string",
|
|
1271
|
+
version: "Test string",
|
|
1272
|
+
},
|
|
1273
|
+
}
|
|
1274
|
+
],
|
|
1275
|
+
postConditions: {
|
|
1276
|
+
soaking: "Test string",
|
|
1277
|
+
},
|
|
1278
|
+
upstreamScopes: [
|
|
1279
|
+
"Test string"
|
|
1280
|
+
],
|
|
1281
|
+
},
|
|
1141
1282
|
}
|
|
1142
1283
|
},
|
|
1143
1284
|
scopeStates: {
|
|
1144
1285
|
A: {
|
|
1286
|
+
clusterupgrade: {
|
|
1287
|
+
downstreamScopes: [
|
|
1288
|
+
"Test string"
|
|
1289
|
+
],
|
|
1290
|
+
gkeState: {
|
|
1291
|
+
conditions: [
|
|
1292
|
+
{
|
|
1293
|
+
reason: "Test string",
|
|
1294
|
+
status: "Test string",
|
|
1295
|
+
type: "Test string",
|
|
1296
|
+
updateTime: "Test string",
|
|
1297
|
+
}
|
|
1298
|
+
],
|
|
1299
|
+
state: [
|
|
1300
|
+
{
|
|
1301
|
+
stats: {
|
|
1302
|
+
A: "Test string"
|
|
1303
|
+
},
|
|
1304
|
+
status: {
|
|
1305
|
+
code: "Test string",
|
|
1306
|
+
reason: "Test string",
|
|
1307
|
+
updateTime: "Test string",
|
|
1308
|
+
},
|
|
1309
|
+
upgrade: {
|
|
1310
|
+
name: "Test string",
|
|
1311
|
+
version: "Test string",
|
|
1312
|
+
},
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
},
|
|
1316
|
+
ignored: {
|
|
1317
|
+
A: {
|
|
1318
|
+
ignoredTime: "Test string",
|
|
1319
|
+
reason: "Test string",
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
},
|
|
1145
1323
|
state: {
|
|
1146
1324
|
code: "Test string",
|
|
1147
1325
|
description: "Test string",
|