@maxim_mazurok/gapi.client.gkehub-v1alpha 0.0.20230929 → 0.0.20231013
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 +11 -11
- package/package.json +1 -1
- package/tests.ts +113 -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: 20231013
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -349,6 +349,9 @@ declare namespace gapi.client {
|
|
|
349
349
|
/** Identity Service-specific spec. */
|
|
350
350
|
identityservice?:
|
|
351
351
|
IdentityServiceMembershipSpec;
|
|
352
|
+
/** Policy Controller spec. */
|
|
353
|
+
policycontroller?:
|
|
354
|
+
PolicyControllerMembershipSpec;
|
|
352
355
|
}
|
|
353
356
|
interface ConfigManagementBinauthzConfig {
|
|
354
357
|
/** Whether binauthz is enabled in this cluster. */
|
|
@@ -1474,27 +1477,24 @@ declare namespace gapi.client {
|
|
|
1474
1477
|
}
|
|
1475
1478
|
interface MonitoringConfig {
|
|
1476
1479
|
/**
|
|
1477
|
-
*
|
|
1478
|
-
*
|
|
1480
|
+
* Optional. Cluster name used to report metrics. For Anthos on VMWare/Baremetal/MultiCloud clusters, it would be in format {cluster_type}/{cluster_name}, e.g.,
|
|
1481
|
+
* "awsClusters/cluster_1".
|
|
1479
1482
|
*/
|
|
1480
1483
|
cluster?:
|
|
1481
1484
|
string;
|
|
1482
|
-
/**
|
|
1483
|
-
* Immutable. Cluster hash, this is a unique string generated by google code, which does not contain any PII, which we can use to reference the cluster. This is expected to be created
|
|
1484
|
-
* by the monitoring stack and persisted into the Cluster object as well as to GKE-Hub.
|
|
1485
|
-
*/
|
|
1485
|
+
/** Optional. For GKE and Multicloud clusters, this is the UUID of the cluster resource. For VMWare and Baremetal clusters, this is the kube-system UID. */
|
|
1486
1486
|
clusterHash?:
|
|
1487
1487
|
string;
|
|
1488
1488
|
/**
|
|
1489
|
-
* Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos
|
|
1490
|
-
* will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos
|
|
1489
|
+
* Optional. Kubernetes system metrics, if available, are written to this prefix. This defaults to kubernetes.io for GKE, and kubernetes.io/anthos for Anthos eventually. Noted: Anthos
|
|
1490
|
+
* MultiCloud will have kubernetes.io prefix today but will migration to be under kubernetes.io/anthos.
|
|
1491
1491
|
*/
|
|
1492
1492
|
kubernetesMetricsPrefix?:
|
|
1493
1493
|
string;
|
|
1494
|
-
/**
|
|
1494
|
+
/** Optional. Location used to report Metrics */
|
|
1495
1495
|
location?:
|
|
1496
1496
|
string;
|
|
1497
|
-
/**
|
|
1497
|
+
/** Optional. Project used to report Metrics */
|
|
1498
1498
|
projectId?:
|
|
1499
1499
|
string;
|
|
1500
1500
|
}
|
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: 20231013
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -144,6 +144,62 @@ gapi.load('client', async () => {
|
|
|
144
144
|
}
|
|
145
145
|
],
|
|
146
146
|
},
|
|
147
|
+
policycontroller: {
|
|
148
|
+
policyControllerHubConfig: {
|
|
149
|
+
auditIntervalSeconds: "Test string",
|
|
150
|
+
constraintViolationLimit: "Test string",
|
|
151
|
+
deploymentConfigs: {
|
|
152
|
+
A: {
|
|
153
|
+
containerResources: {
|
|
154
|
+
limits: {
|
|
155
|
+
cpu: "Test string",
|
|
156
|
+
memory: "Test string",
|
|
157
|
+
},
|
|
158
|
+
requests: {
|
|
159
|
+
cpu: "Test string",
|
|
160
|
+
memory: "Test string",
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
podAffinity: "Test string",
|
|
164
|
+
podAntiAffinity: true,
|
|
165
|
+
podTolerations: [
|
|
166
|
+
{
|
|
167
|
+
effect: "Test string",
|
|
168
|
+
key: "Test string",
|
|
169
|
+
operator: "Test string",
|
|
170
|
+
value: "Test string",
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
replicaCount: "Test string",
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
exemptableNamespaces: [
|
|
177
|
+
"Test string"
|
|
178
|
+
],
|
|
179
|
+
installSpec: "Test string",
|
|
180
|
+
logDeniesEnabled: true,
|
|
181
|
+
monitoring: {
|
|
182
|
+
backends: [
|
|
183
|
+
"Test string"
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
mutationEnabled: true,
|
|
187
|
+
policyContent: {
|
|
188
|
+
bundles: {
|
|
189
|
+
A: {
|
|
190
|
+
exemptedNamespaces: [
|
|
191
|
+
"Test string"
|
|
192
|
+
],
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
templateLibrary: {
|
|
196
|
+
installation: "Test string",
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
referentialRulesEnabled: true,
|
|
200
|
+
},
|
|
201
|
+
version: "Test string",
|
|
202
|
+
},
|
|
147
203
|
},
|
|
148
204
|
labels: {
|
|
149
205
|
A: "Test string"
|
|
@@ -970,6 +1026,62 @@ gapi.load('client', async () => {
|
|
|
970
1026
|
}
|
|
971
1027
|
],
|
|
972
1028
|
},
|
|
1029
|
+
policycontroller: {
|
|
1030
|
+
policyControllerHubConfig: {
|
|
1031
|
+
auditIntervalSeconds: "Test string",
|
|
1032
|
+
constraintViolationLimit: "Test string",
|
|
1033
|
+
deploymentConfigs: {
|
|
1034
|
+
A: {
|
|
1035
|
+
containerResources: {
|
|
1036
|
+
limits: {
|
|
1037
|
+
cpu: "Test string",
|
|
1038
|
+
memory: "Test string",
|
|
1039
|
+
},
|
|
1040
|
+
requests: {
|
|
1041
|
+
cpu: "Test string",
|
|
1042
|
+
memory: "Test string",
|
|
1043
|
+
},
|
|
1044
|
+
},
|
|
1045
|
+
podAffinity: "Test string",
|
|
1046
|
+
podAntiAffinity: true,
|
|
1047
|
+
podTolerations: [
|
|
1048
|
+
{
|
|
1049
|
+
effect: "Test string",
|
|
1050
|
+
key: "Test string",
|
|
1051
|
+
operator: "Test string",
|
|
1052
|
+
value: "Test string",
|
|
1053
|
+
}
|
|
1054
|
+
],
|
|
1055
|
+
replicaCount: "Test string",
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
exemptableNamespaces: [
|
|
1059
|
+
"Test string"
|
|
1060
|
+
],
|
|
1061
|
+
installSpec: "Test string",
|
|
1062
|
+
logDeniesEnabled: true,
|
|
1063
|
+
monitoring: {
|
|
1064
|
+
backends: [
|
|
1065
|
+
"Test string"
|
|
1066
|
+
],
|
|
1067
|
+
},
|
|
1068
|
+
mutationEnabled: true,
|
|
1069
|
+
policyContent: {
|
|
1070
|
+
bundles: {
|
|
1071
|
+
A: {
|
|
1072
|
+
exemptedNamespaces: [
|
|
1073
|
+
"Test string"
|
|
1074
|
+
],
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
templateLibrary: {
|
|
1078
|
+
installation: "Test string",
|
|
1079
|
+
},
|
|
1080
|
+
},
|
|
1081
|
+
referentialRulesEnabled: true,
|
|
1082
|
+
},
|
|
1083
|
+
version: "Test string",
|
|
1084
|
+
},
|
|
973
1085
|
},
|
|
974
1086
|
labels: {
|
|
975
1087
|
A: "Test string"
|