@maxim_mazurok/gapi.client.gkehub-v2alpha 0.0.20241206 → 0.0.20250113
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 +43 -45
- package/package.json +1 -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=v2alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250113
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -88,21 +88,19 @@ declare namespace gapi.client {
|
|
|
88
88
|
webhookVersion?: string;
|
|
89
89
|
}
|
|
90
90
|
interface ConfigManagementConfigSync {
|
|
91
|
-
/**
|
|
92
|
-
allowVerticalScale?: boolean;
|
|
93
|
-
/** 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, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. */
|
|
91
|
+
/** Optional. 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, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of the git or oci field. */
|
|
94
92
|
enabled?: boolean;
|
|
95
|
-
/** Git repo configuration for the cluster. */
|
|
93
|
+
/** Optional. Git repo configuration for the cluster. */
|
|
96
94
|
git?: ConfigManagementGitConfig;
|
|
97
|
-
/** The Email of the Google Cloud 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 Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. */
|
|
95
|
+
/** Optional. The Email of the Google Cloud 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 Monitoring Metric Writer (roles/monitoring.metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the namespace `config-management-monitoring` should be bound to the GSA. Deprecated: If Workload Identity Federation for GKE is enabled, Google Cloud Service Account is no longer needed for exporting Config Sync metrics: https://cloud.google.com/kubernetes-engine/enterprise/config-sync/docs/how-to/monitor-config-sync-cloud-monitoring#custom-monitoring. */
|
|
98
96
|
metricsGcpServiceAccountEmail?: string;
|
|
99
|
-
/** OCI repo configuration for the cluster. */
|
|
97
|
+
/** Optional. OCI repo configuration for the cluster. */
|
|
100
98
|
oci?: ConfigManagementOciConfig;
|
|
101
|
-
/** Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts. */
|
|
99
|
+
/** Optional. Set to true to enable the Config Sync admission webhook to prevent drifts. If set to `false`, disables the Config Sync admission webhook and does not prevent drifts. */
|
|
102
100
|
preventDrift?: boolean;
|
|
103
|
-
/** Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
101
|
+
/** Optional. Specifies whether the Config Sync Repo is in "hierarchical" or "unstructured" mode. */
|
|
104
102
|
sourceFormat?: string;
|
|
105
|
-
/** Set to true to stop syncing configs for a single cluster. Default to false. */
|
|
103
|
+
/** Optional. Set to true to stop syncing configs for a single cluster. Default to false. */
|
|
106
104
|
stopSyncing?: boolean;
|
|
107
105
|
}
|
|
108
106
|
interface ConfigManagementConfigSyncDeploymentState {
|
|
@@ -130,23 +128,23 @@ declare namespace gapi.client {
|
|
|
130
128
|
errorMessage?: string;
|
|
131
129
|
}
|
|
132
130
|
interface ConfigManagementConfigSyncState {
|
|
133
|
-
/** Whether syncing resources to the cluster is stopped at the cluster level. */
|
|
131
|
+
/** Output only. Whether syncing resources to the cluster is stopped at the cluster level. */
|
|
134
132
|
clusterLevelStopSyncingState?: string;
|
|
135
133
|
/** Output only. The number of RootSync and RepoSync CRs in the cluster. */
|
|
136
134
|
crCount?: number;
|
|
137
|
-
/** Information about the deployment of ConfigSync, including the version. of the various Pods deployed */
|
|
135
|
+
/** Output only. Information about the deployment of ConfigSync, including the version. of the various Pods deployed */
|
|
138
136
|
deploymentState?: ConfigManagementConfigSyncDeploymentState;
|
|
139
|
-
/** Errors pertaining to the installation of Config Sync. */
|
|
137
|
+
/** Output only. Errors pertaining to the installation of Config Sync. */
|
|
140
138
|
errors?: ConfigManagementConfigSyncError[];
|
|
141
|
-
/** The state of the Reposync CRD */
|
|
139
|
+
/** Output only. The state of the Reposync CRD */
|
|
142
140
|
reposyncCrd?: string;
|
|
143
|
-
/** The state of the RootSync CRD */
|
|
141
|
+
/** Output only. The state of the RootSync CRD */
|
|
144
142
|
rootsyncCrd?: string;
|
|
145
|
-
/** The state of CS This field summarizes the other fields in this message. */
|
|
143
|
+
/** Output only. The state of CS This field summarizes the other fields in this message. */
|
|
146
144
|
state?: string;
|
|
147
|
-
/** The state of ConfigSync's process to sync configs to a cluster. */
|
|
145
|
+
/** Output only. The state of ConfigSync's process to sync configs to a cluster. */
|
|
148
146
|
syncState?: ConfigManagementSyncState;
|
|
149
|
-
/** The version of ConfigSync deployed. */
|
|
147
|
+
/** Output only. The version of ConfigSync deployed. */
|
|
150
148
|
version?: ConfigManagementConfigSyncVersion;
|
|
151
149
|
}
|
|
152
150
|
interface ConfigManagementConfigSyncVersion {
|
|
@@ -188,21 +186,21 @@ declare namespace gapi.client {
|
|
|
188
186
|
gatekeeperMutation?: string;
|
|
189
187
|
}
|
|
190
188
|
interface ConfigManagementGitConfig {
|
|
191
|
-
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
189
|
+
/** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
192
190
|
gcpServiceAccountEmail?: string;
|
|
193
|
-
/** URL for the HTTPS proxy to be used when communicating with the Git repo. */
|
|
191
|
+
/** Optional. URL for the HTTPS proxy to be used when communicating with the Git repo. */
|
|
194
192
|
httpsProxy?: string;
|
|
195
|
-
/** The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
|
|
193
|
+
/** Optional. The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository. */
|
|
196
194
|
policyDir?: string;
|
|
197
|
-
/** Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive.
|
|
195
|
+
/** Required. Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount, githubapp or none. The validation of this is case-sensitive. */
|
|
198
196
|
secretType?: string;
|
|
199
|
-
/** The branch of the repository to sync from. Default: master. */
|
|
197
|
+
/** Optional. The branch of the repository to sync from. Default: master. */
|
|
200
198
|
syncBranch?: string;
|
|
201
|
-
/** The URL of the Git repository to use as the source of truth. */
|
|
199
|
+
/** Required. The URL of the Git repository to use as the source of truth. */
|
|
202
200
|
syncRepo?: string;
|
|
203
|
-
/** Git revision (tag or hash) to check out. Default HEAD. */
|
|
201
|
+
/** Optional. Git revision (tag or hash) to check out. Default HEAD. */
|
|
204
202
|
syncRev?: string;
|
|
205
|
-
/** Period in seconds between consecutive syncs. Default: 15. */
|
|
203
|
+
/** Optional. Period in seconds between consecutive syncs. Default: 15. */
|
|
206
204
|
syncWaitSecs?: string;
|
|
207
205
|
}
|
|
208
206
|
interface ConfigManagementGroupVersionKind {
|
|
@@ -244,15 +242,15 @@ declare namespace gapi.client {
|
|
|
244
242
|
errorMessage?: string;
|
|
245
243
|
}
|
|
246
244
|
interface ConfigManagementOciConfig {
|
|
247
|
-
/** The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
245
|
+
/** Optional. The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount. */
|
|
248
246
|
gcpServiceAccountEmail?: string;
|
|
249
|
-
/** The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
|
|
247
|
+
/** Optional. The absolute path of the directory that contains the local resources. Default: the root directory of the image. */
|
|
250
248
|
policyDir?: string;
|
|
251
|
-
/** Type of secret configured for access to the
|
|
249
|
+
/** Required. Type of secret configured for access to the OCI repo. Must be one of gcenode, gcpserviceaccount, k8sserviceaccount or none. The validation of this is case-sensitive. */
|
|
252
250
|
secretType?: string;
|
|
253
|
-
/** The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
|
|
251
|
+
/** Required. The OCI image repository URL for the package to sync from. e.g. `LOCATION-docker.pkg.dev/PROJECT_ID/REPOSITORY_NAME/PACKAGE_NAME`. */
|
|
254
252
|
syncRepo?: string;
|
|
255
|
-
/** Period in seconds between consecutive syncs. Default: 15. */
|
|
253
|
+
/** Optional. Period in seconds between consecutive syncs. Default: 15. */
|
|
256
254
|
syncWaitSecs?: string;
|
|
257
255
|
}
|
|
258
256
|
interface ConfigManagementOperatorState {
|
|
@@ -306,35 +304,35 @@ declare namespace gapi.client {
|
|
|
306
304
|
version?: string;
|
|
307
305
|
}
|
|
308
306
|
interface ConfigManagementSpec {
|
|
309
|
-
/** Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
|
|
307
|
+
/** Optional. Binauthz conifguration for the cluster. Deprecated: This field will be ignored and should not be set. */
|
|
310
308
|
binauthz?: ConfigManagementBinauthzConfig;
|
|
311
|
-
/** 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 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 name is used by Config Sync cluster-name-selector annotation or ClusterSelector. */
|
|
309
|
+
/** Optional. 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 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 name is used by Config Sync cluster-name-selector annotation or ClusterSelector. */
|
|
312
310
|
cluster?: string;
|
|
313
|
-
/** Config Sync configuration for the cluster. */
|
|
311
|
+
/** Optional. Config Sync configuration for the cluster. */
|
|
314
312
|
configSync?: ConfigManagementConfigSync;
|
|
315
|
-
/** Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead. */
|
|
313
|
+
/** Optional. Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead. */
|
|
316
314
|
hierarchyController?: ConfigManagementHierarchyControllerConfig;
|
|
317
|
-
/** Enables automatic Feature management. */
|
|
315
|
+
/** Optional. Enables automatic Feature management. */
|
|
318
316
|
management?: string;
|
|
319
|
-
/** Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
|
|
317
|
+
/** Optional. Policy Controller configuration for the cluster. Deprecated: Configuring Policy Controller through the configmanagement feature is no longer recommended. Use the policycontroller feature instead. */
|
|
320
318
|
policyController?: ConfigManagementPolicyController;
|
|
321
|
-
/** Version of ACM installed. */
|
|
319
|
+
/** Optional. Version of ACM installed. */
|
|
322
320
|
version?: string;
|
|
323
321
|
}
|
|
324
322
|
interface ConfigManagementState {
|
|
325
|
-
/** Binauthz status. */
|
|
323
|
+
/** Output only. Binauthz status. */
|
|
326
324
|
binauthzState?: ConfigManagementBinauthzState;
|
|
327
|
-
/** 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. */
|
|
325
|
+
/** Output only. 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. */
|
|
328
326
|
clusterName?: string;
|
|
329
|
-
/** Current sync status. */
|
|
327
|
+
/** Output only. Current sync status. */
|
|
330
328
|
configSyncState?: ConfigManagementConfigSyncState;
|
|
331
|
-
/** Hierarchy Controller status. */
|
|
329
|
+
/** Output only. Hierarchy Controller status. */
|
|
332
330
|
hierarchyControllerState?: ConfigManagementHierarchyControllerState;
|
|
333
|
-
/** Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state. */
|
|
331
|
+
/** Output only. Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state. */
|
|
334
332
|
membershipSpec?: ConfigManagementSpec;
|
|
335
|
-
/** Current install status of ACM's Operator. */
|
|
333
|
+
/** Output only. Current install status of ACM's Operator. */
|
|
336
334
|
operatorState?: ConfigManagementOperatorState;
|
|
337
|
-
/** PolicyController status. */
|
|
335
|
+
/** Output only. PolicyController status. */
|
|
338
336
|
policyControllerState?: ConfigManagementPolicyControllerState;
|
|
339
337
|
}
|
|
340
338
|
interface ConfigManagementSyncError {
|