Documentation ¶
Overview ¶
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package beta defines operations in the declarative SDK.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLAzureClientSchema() *dcl.Schema
- func DCLClusterSchema() *dcl.Schema
- func DCLNodePoolSchema() *dcl.Schema
- type AzureClient
- type Client
- func (c *Client) ApplyClient(ctx context.Context, rawDesired *AzureClient, opts ...dcl.ApplyOption) (*AzureClient, error)
- func (c *Client) ApplyCluster(ctx context.Context, rawDesired *Cluster, opts ...dcl.ApplyOption) (*Cluster, error)
- func (c *Client) ApplyNodePool(ctx context.Context, rawDesired *NodePool, opts ...dcl.ApplyOption) (*NodePool, error)
- func (c *Client) DeleteAllClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error
- func (c *Client) DeleteAllCluster(ctx context.Context, project, location string, filter func(*Cluster) bool) error
- func (c *Client) DeleteAllNodePool(ctx context.Context, project, location, cluster string, ...) error
- func (c *Client) DeleteClient(ctx context.Context, r *AzureClient) error
- func (c *Client) DeleteCluster(ctx context.Context, r *Cluster) error
- func (c *Client) DeleteNodePool(ctx context.Context, r *NodePool) error
- func (c *Client) GetClient(ctx context.Context, r *AzureClient) (*AzureClient, error)
- func (c *Client) GetCluster(ctx context.Context, r *Cluster) (*Cluster, error)
- func (c *Client) GetNodePool(ctx context.Context, r *NodePool) (*NodePool, error)
- func (c *Client) ListClient(ctx context.Context, project, location string) (*ClientList, error)
- func (c *Client) ListClientWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClientList, error)
- func (c *Client) ListCluster(ctx context.Context, project, location string) (*ClusterList, error)
- func (c *Client) ListClusterWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClusterList, error)
- func (c *Client) ListNodePool(ctx context.Context, project, location, cluster string) (*NodePoolList, error)
- func (c *Client) ListNodePoolWithMaxResults(ctx context.Context, project, location, cluster string, pageSize int32) (*NodePoolList, error)
- type ClientList
- type Cluster
- type ClusterAuthorization
- type ClusterAuthorizationAdminGroups
- type ClusterAuthorizationAdminUsers
- type ClusterAzureServicesAuthentication
- type ClusterControlPlane
- type ClusterControlPlaneDatabaseEncryption
- type ClusterControlPlaneMainVolume
- type ClusterControlPlaneProxyConfig
- type ClusterControlPlaneReplicaPlacements
- type ClusterControlPlaneRootVolume
- type ClusterControlPlaneSshConfig
- type ClusterFleet
- type ClusterList
- type ClusterLoggingConfig
- type ClusterLoggingConfigComponentConfig
- type ClusterLoggingConfigComponentConfigEnableComponentsEnum
- type ClusterMonitoringConfig
- type ClusterMonitoringConfigManagedPrometheusConfig
- func (r *ClusterMonitoringConfigManagedPrometheusConfig) Empty() bool
- func (r *ClusterMonitoringConfigManagedPrometheusConfig) HashCode() string
- func (r *ClusterMonitoringConfigManagedPrometheusConfig) String() string
- func (r *ClusterMonitoringConfigManagedPrometheusConfig) UnmarshalJSON(data []byte) error
- type ClusterNetworking
- type ClusterStateEnum
- type ClusterWorkloadIdentityConfig
- type NodePool
- type NodePoolAutoscaling
- type NodePoolConfig
- type NodePoolConfigProxyConfig
- type NodePoolConfigRootVolume
- type NodePoolConfigSshConfig
- type NodePoolList
- type NodePoolManagement
- type NodePoolMaxPodsConstraint
- type NodePoolStateEnum
Constants ¶
const ClientMaxPage = -1
const ClusterMaxPage = -1
const NodePoolMaxPage = -1
Variables ¶
var YAML_azure_client = []byte("info:\n title: ContainerAzure/Client\n description: AzureClient resources hold client authentication information needed\n by the Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.When\n an AzureCluster is created, an AzureClient resource needs to be provided and all\n operations on Azure resources associated to that cluster will authenticate to\n Azure services using the given client.AzureClient resources are immutable and\n cannot be modified upon creation.Each AzureClient resource is bound to a single\n Azure Active Directory Application and tenant.\n x-dcl-struct-name: AzureClient\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClients\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Client\n parameters:\n - name: client\n required: true\n description: A full instance of a Client\n apply:\n description: The function used to apply information about a Client\n parameters:\n - name: client\n required: true\n description: A full instance of a Client\n delete:\n description: The function used to delete a Client\n parameters:\n - name: client\n required: true\n description: A full instance of a Client\n deleteAll:\n description: The function used to delete all Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Client\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Client:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - tenantId\n - applicationId\n - project\n - location\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID.\n x-kubernetes-immutable: true\n certificate:\n type: string\n x-dcl-go-name: Certificate\n readOnly: true\n description: Output only. The PEM encoded x509 certificate.\n x-kubernetes-immutable: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this resource was created.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the client.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/azure_client.yaml
var YAML_cluster = []byte("info:\n title: ContainerAzure/Cluster\n description: An Anthos cluster running on Azure.\n x-dcl-struct-name: Cluster\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n apply:\n description: The function used to apply information about a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n delete:\n description: The function used to delete a Cluster\n parameters:\n - name: cluster\n required: true\n description: A full instance of a Cluster\n deleteAll:\n description: The function used to delete all Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Cluster\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Cluster:\n title: Cluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - networking\n - controlPlane\n - authorization\n - project\n - location\n - fleet\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the cluster. This field has the same\n restrictions as Kubernetes annotations. The total size of all keys and\n values combined is limited to 256k. Keys can have 2 segments: prefix (optional)\n and name (required), separated by a slash (/). Prefix must be a DNS subdomain.\n Name must be 63 characters or less, begin and end with alphanumerics,\n with dashes (-), underscores (_), dots (.), and alphanumerics between.'\n x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: ClusterAuthorization\n description: Configuration related to the cluster RBAC settings.\n required:\n - adminUsers\n properties:\n adminGroups:\n type: array\n x-dcl-go-name: AdminGroups\n description: Groups of users that can perform operations as a cluster\n admin. A managed ClusterRoleBinding will be created to grant the `cluster-admin`\n ClusterRole to the groups. Up to ten admin groups can be provided.\n For more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminGroups\n required:\n - group\n properties:\n group:\n type: string\n x-dcl-go-name: Group\n description: The name of the group, e.g. `my-group@domain.com`.\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Users that can perform operations as a cluster admin. A\n new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. Up to ten admin users can be provided. For\n more info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: The name of the user, e.g. `my-gcp-id@gmail.com`.\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: The Azure region where the cluster runs. Each Google Cloud\n region supports a subset of nearby Azure regions. You can call to list\n all supported Azure regions within a given Google Cloud region.\n x-kubernetes-immutable: true\n azureServicesAuthentication:\n type: object\n x-dcl-go-name: AzureServicesAuthentication\n x-dcl-go-type: ClusterAzureServicesAuthentication\n description: Azure authentication configuration for management of Azure\n resources\n x-dcl-conflicts:\n - client\n required:\n - tenantId\n - applicationId\n properties:\n applicationId:\n type: string\n x-dcl-go-name: ApplicationId\n description: The Azure Active Directory Application ID for Authentication\n configuration.\n tenantId:\n type: string\n x-dcl-go-name: TenantId\n description: The Azure Active Directory Tenant ID for Authentication\n configuration.\n client:\n type: string\n x-dcl-go-name: Client\n description: Name of the AzureClient. The `AzureClient` resource must reside\n on the same GCP project and region as the `AzureCluster`. `AzureClient`\n names are formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`.\n See Resource Names (https:cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud resource names.\n x-dcl-conflicts:\n - azureServicesAuthentication\n x-dcl-references:\n - resource: ContainerAzure/AzureClient\n field: name\n controlPlane:\n type: object\n x-dcl-go-name: ControlPlane\n x-dcl-go-type: ClusterControlPlane\n description: Configuration related to the cluster control plane.\n required:\n - version\n - subnetId\n - sshConfig\n properties:\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - keyId\n properties:\n keyId:\n type: string\n x-dcl-go-name: KeyId\n description: 'The ARM ID of the Azure Key Vault key to encrypt /\n decrypt data. For example: `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>`\n Encryption will always take the latest version of the key and\n hence specific version is not supported.'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: ClusterControlPlaneMainVolume\n description: Optional. Configuration related to the main volume provisioned\n for each control plane replica. The main volume is in charge of storing\n all of the cluster's etcd state. When unspecified, it defaults to\n a 8-GiB Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: ClusterControlPlaneProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.\n x-kubernetes-immutable: true\n replicaPlacements:\n type: array\n x-dcl-go-name: ReplicaPlacements\n description: Configuration for where to place the control plane replicas.\n Up to three replica placement instances can be specified. If replica_placements\n is set, the replica placement instances will be applied to the three\n control plane replicas as evenly as possible.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: object\n x-dcl-go-type: ClusterControlPlaneReplicaPlacements\n required:\n - subnetId\n - azureAvailabilityZone\n properties:\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: For a given replica, the Azure availability zone\n where to provision the control plane VM and the ETCD disk.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: For a given replica, the ARM ID of the subnet where\n the control plane VM is deployed. Make sure it's a subnet under\n the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: ClusterControlPlaneRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each control plane replica. When unspecified, it defaults to 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: ClusterControlPlaneSshConfig\n description: SSH configuration for how to access the underlying control\n plane machines.\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'The ARM ID of the subnet where the control plane VMs are\n deployed. Example: `/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/default`.'\n x-kubernetes-immutable: true\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying control\n plane Azure resources.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version to run on control plane replicas\n (e.g. `1.19.10-gke.1000`). You can list all supported versions on\n a given Google Cloud region by calling GetAzureServerConfig.\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n For available VM sizes, see https://docs.microsoft.com/en-us/azure/virtual-machines/vm-naming-conventions.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this cluster was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. A human readable description of this cluster. Cannot\n be longer than 255 UTF-8 encoded bytes.\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n readOnly: true\n description: Output only. The endpoint of the cluster's API server.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n fleet:\n type: object\n x-dcl-go-name: Fleet\n x-dcl-go-type: ClusterFleet\n description: Fleet configuration.\n x-kubernetes-immutable: true\n required:\n - project\n properties:\n membership:\n type: string\n x-dcl-go-name: Membership\n readOnly: true\n description: The name of the managed Hub Membership resource associated\n to this cluster. Membership names are formatted as projects/<project-number>/locations/global/membership/<cluster-id>.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The number of the Fleet host project where this cluster\n will be registered.\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n loggingConfig:\n type: object\n x-dcl-go-name: LoggingConfig\n x-dcl-go-type: ClusterLoggingConfig\n description: Logging configuration.\n x-dcl-server-default: true\n properties:\n componentConfig:\n type: object\n x-dcl-go-name: ComponentConfig\n x-dcl-go-type: ClusterLoggingConfigComponentConfig\n description: Configuration of the logging components.\n x-dcl-server-default: true\n properties:\n enableComponents:\n type: array\n x-dcl-go-name: EnableComponents\n description: Components of the logging configuration to be enabled.\n x-dcl-server-default: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: ClusterLoggingConfigComponentConfigEnableComponentsEnum\n enum:\n - COMPONENT_UNSPECIFIED\n - SYSTEM_COMPONENTS\n - WORKLOADS\n monitoringConfig:\n type: object\n x-dcl-go-name: MonitoringConfig\n x-dcl-go-type: ClusterMonitoringConfig\n description: Monitoring configuration.\n x-dcl-server-default: true\n properties:\n managedPrometheusConfig:\n type: object\n x-dcl-go-name: ManagedPrometheusConfig\n x-dcl-go-type: ClusterMonitoringConfigManagedPrometheusConfig\n description: Configuration of the Google Cloud Managed Service for Prometheus.\n x-dcl-server-default: true\n properties:\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Configuration of the enable Managed Collection.\n x-dcl-server-default: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: ClusterNetworking\n description: Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - virtualNetworkId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: The IP address range of the pods in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All pods in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creation.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n serviceAddressCidrBlocks:\n type: array\n x-dcl-go-name: ServiceAddressCidrBlocks\n description: The IP address range for services in this cluster, in CIDR\n notation (e.g. `10.96.0.0/14`). All services in the cluster get assigned\n a unique RFC1918 IPv4 address from these ranges. Only a single range\n is supported. This field cannot be changed after creating a cluster.\n x-kubernetes-immutable: true\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n virtualNetworkId:\n type: string\n x-dcl-go-name: VirtualNetworkId\n description: 'The Azure Resource Manager (ARM) ID of the VNet associated\n with your cluster. All components in the cluster (i.e. control plane\n and node pools) run on a single VNet. Example: `/subscriptions/*/resourceGroups/*/providers/Microsoft.Network/virtualNetworks/*`\n This field cannot be changed after creation.'\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently changes in flight\n to the cluster.\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'The ARM ID of the resource group where the cluster resources\n are deployed. For example: `/subscriptions/*/resourceGroups/*`'\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ClusterStateEnum\n readOnly: true\n description: 'Output only. The current state of the cluster. Possible values:\n STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING, ERROR,\n DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the cluster.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this cluster was last updated.\n x-kubernetes-immutable: true\n workloadIdentityConfig:\n type: object\n x-dcl-go-name: WorkloadIdentityConfig\n x-dcl-go-type: ClusterWorkloadIdentityConfig\n readOnly: true\n description: Output only. Workload Identity settings.\n x-kubernetes-immutable: true\n properties:\n identityProvider:\n type: string\n x-dcl-go-name: IdentityProvider\n description: The ID of the OIDC Identity Provider (IdP) associated to\n the Workload Identity Pool.\n x-kubernetes-immutable: true\n issuerUri:\n type: string\n x-dcl-go-name: IssuerUri\n description: The OIDC issuer URL for this cluster.\n x-kubernetes-immutable: true\n workloadPool:\n type: string\n x-dcl-go-name: WorkloadPool\n description: The Workload Identity Pool associated to the cluster.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/cluster.yaml
var YAML_node_pool = []byte("info:\n title: ContainerAzure/NodePool\n description: An Anthos node pool running on Azure.\n x-dcl-struct-name: NodePool\n x-dcl-has-iam: false\n x-dcl-ref:\n text: API reference\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud/reference/rest/v1/projects.locations.azureClusters.azureNodePools\n x-dcl-guides:\n - text: Multicloud overview\n url: https://cloud.google.com/anthos/clusters/docs/multi-cloud\npaths:\n get:\n description: The function used to get information about a NodePool\n parameters:\n - name: nodePool\n required: true\n description: A full instance of a NodePool\n apply:\n description: The function used to apply information about a NodePool\n parameters:\n - name: nodePool\n required: true\n description: A full instance of a NodePool\n delete:\n description: The function used to delete a NodePool\n parameters:\n - name: nodePool\n required: true\n description: A full instance of a NodePool\n deleteAll:\n description: The function used to delete all NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many NodePool\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: cluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n NodePool:\n title: NodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - cluster\n properties:\n annotations:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Annotations\n description: 'Optional. Annotations on the node pool. This field has the\n same restrictions as Kubernetes annotations. The total size of all keys\n and values combined is limited to 256k. Keys can have 2 segments: prefix\n (optional) and name (required), separated by a slash (/). Prefix must\n be a DNS subdomain. Name must be 63 characters or less, begin and end\n with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics\n between.'\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: NodePoolAutoscaling\n description: Autoscaler configuration for this node pool.\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Maximum number of nodes in the node pool. Must be >= min_node_count.\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Minimum number of nodes in the node pool. Must be >= 1\n and <= max_node_count.\n azureAvailabilityZone:\n type: string\n x-dcl-go-name: AzureAvailabilityZone\n description: Optional. The Azure availability zone of the nodes in this\n nodepool. When unspecified, it defaults to `1`.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n cluster:\n type: string\n x-dcl-go-name: Cluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/Cluster\n field: name\n parent: true\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: NodePoolConfig\n description: The node configuration of the node pool.\n required:\n - sshConfig\n properties:\n imageType:\n type: string\n x-dcl-go-name: ImageType\n description: The OS image type to use on node pool instances.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n proxyConfig:\n type: object\n x-dcl-go-name: ProxyConfig\n x-dcl-go-type: NodePoolConfigProxyConfig\n description: Proxy configuration for outbound HTTP(S) traffic.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - secretId\n properties:\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: The ARM ID the of the resource group containing proxy\n keyvault. Resource group ids are formatted as `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`\n x-kubernetes-immutable: true\n secretId:\n type: string\n x-dcl-go-name: SecretId\n description: The URL the of the proxy setting secret with its version.\n Secret ids are formatted as `https:<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.\n x-kubernetes-immutable: true\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: NodePoolConfigRootVolume\n description: Optional. Configuration related to the root volume provisioned\n for each node pool machine. When unspecified, it defaults to a 32-GiB\n Azure Disk.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n properties:\n sizeGib:\n type: integer\n format: int64\n x-dcl-go-name: SizeGib\n description: Optional. The size of the disk, in GiBs. When unspecified,\n a default value is provided. See the specific reference in the\n parent resource.\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: NodePoolConfigSshConfig\n description: SSH configuration for how to access the node pool machines.\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: The SSH public key data for VMs managed by Anthos.\n This accepts the authorized_keys file format used in OpenSSH according\n to the sshd(8) manual page.\n tags:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Tags\n description: Optional. A set of tags to apply to all underlying Azure\n resources for this node pool. This currently only includes Virtual\n Machine Scale Sets. Specify at most 50 pairs containing alphanumerics,\n spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters.\n Values can be up to 255 Unicode characters.\n x-kubernetes-immutable: true\n vmSize:\n type: string\n x-dcl-go-name: VmSize\n description: 'Optional. The Azure VM size name. Example: `Standard_DS2_v2`.\n See (/anthos/clusters/docs/azure/reference/supported-vms) for options.\n When unspecified, it defaults to `Standard_DS2_v2`.'\n x-kubernetes-immutable: true\n x-dcl-server-default: true\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time at which this node pool was created.\n x-kubernetes-immutable: true\n etag:\n type: string\n x-dcl-go-name: Etag\n readOnly: true\n description: Allows clients to perform consistent read-modify-writes through\n optimistic concurrency control. May be sent on update and delete requests\n to ensure the client has an up-to-date value before proceeding.\n x-kubernetes-immutable: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n management:\n type: object\n x-dcl-go-name: Management\n x-dcl-go-type: NodePoolManagement\n description: The Management configuration for this node pool.\n properties:\n autoRepair:\n type: boolean\n x-dcl-go-name: AutoRepair\n description: Optional. Whether or not the nodes will be automatically\n repaired.\n maxPodsConstraint:\n type: object\n x-dcl-go-name: MaxPodsConstraint\n x-dcl-go-type: NodePoolMaxPodsConstraint\n description: The constraint on the maximum number of pods that can be run\n simultaneously on a node in the node pool.\n x-kubernetes-immutable: true\n required:\n - maxPodsPerNode\n properties:\n maxPodsPerNode:\n type: integer\n format: int64\n x-dcl-go-name: MaxPodsPerNode\n description: The maximum number of pods to schedule on a single node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource.\n x-kubernetes-immutable: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n reconciling:\n type: boolean\n x-dcl-go-name: Reconciling\n readOnly: true\n description: Output only. If set, there are currently pending changes to\n the node pool.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: NodePoolStateEnum\n readOnly: true\n description: 'Output only. The current state of the node pool. Possible\n values: STATE_UNSPECIFIED, PROVISIONING, RUNNING, RECONCILING, STOPPING,\n ERROR, DEGRADED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - PROVISIONING\n - RUNNING\n - RECONCILING\n - STOPPING\n - ERROR\n - DEGRADED\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: The ARM ID of the subnet where the node pool VMs run. Make\n sure it's a subnet under the virtual network in the cluster configuration.\n x-kubernetes-immutable: true\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. A globally unique identifier for the node pool.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time at which this node pool was last updated.\n x-kubernetes-immutable: true\n version:\n type: string\n x-dcl-go-name: Version\n description: The Kubernetes version (e.g. `1.19.10-gke.1000`) running on\n this node pool.\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containerazure/beta/node_pool.yaml
Functions ¶
func DCLAzureClientSchema ¶ added in v1.10.3
func DCLClusterSchema ¶ added in v1.10.3
func DCLNodePoolSchema ¶ added in v1.10.3
Types ¶
type AzureClient ¶
type AzureClient struct { Name *string `json:"name"` TenantId *string `json:"tenantId"` ApplicationId *string `json:"applicationId"` Certificate *string `json:"certificate"` Uid *string `json:"uid"` CreateTime *string `json:"createTime"` Project *string `json:"project"` Location *string `json:"location"` }
func (*AzureClient) Describe ¶
func (r *AzureClient) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AzureClient) ID ¶
func (r *AzureClient) ID() (string, error)
func (*AzureClient) String ¶
func (r *AzureClient) String() string
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyClient ¶
func (c *Client) ApplyClient(ctx context.Context, rawDesired *AzureClient, opts ...dcl.ApplyOption) (*AzureClient, error)
func (*Client) ApplyCluster ¶
func (*Client) ApplyNodePool ¶
func (*Client) DeleteAllClient ¶
func (c *Client) DeleteAllClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error
DeleteAllClient deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllCluster ¶
func (c *Client) DeleteAllCluster(ctx context.Context, project, location string, filter func(*Cluster) bool) error
DeleteAllCluster deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllNodePool ¶
func (c *Client) DeleteAllNodePool(ctx context.Context, project, location, cluster string, filter func(*NodePool) bool) error
DeleteAllNodePool deletes all resources that the filter functions returns true on.
func (*Client) DeleteClient ¶
func (c *Client) DeleteClient(ctx context.Context, r *AzureClient) error
func (*Client) DeleteCluster ¶
func (*Client) DeleteNodePool ¶
func (*Client) GetClient ¶
func (c *Client) GetClient(ctx context.Context, r *AzureClient) (*AzureClient, error)
func (*Client) GetCluster ¶
func (*Client) GetNodePool ¶
func (*Client) ListClient ¶
func (*Client) ListClientWithMaxResults ¶
func (*Client) ListCluster ¶
func (*Client) ListClusterWithMaxResults ¶
func (*Client) ListNodePool ¶
func (*Client) ListNodePoolWithMaxResults ¶
type ClientList ¶
type ClientList struct { Items []*AzureClient // contains filtered or unexported fields }
func (*ClientList) HasNext ¶
func (l *ClientList) HasNext() bool
type Cluster ¶
type Cluster struct { Name *string `json:"name"` Description *string `json:"description"` AzureRegion *string `json:"azureRegion"` ResourceGroupId *string `json:"resourceGroupId"` Client *string `json:"client"` AzureServicesAuthentication *ClusterAzureServicesAuthentication `json:"azureServicesAuthentication"` Networking *ClusterNetworking `json:"networking"` ControlPlane *ClusterControlPlane `json:"controlPlane"` Authorization *ClusterAuthorization `json:"authorization"` State *ClusterStateEnum `json:"state"` Endpoint *string `json:"endpoint"` Uid *string `json:"uid"` Reconciling *bool `json:"reconciling"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Etag *string `json:"etag"` Annotations map[string]string `json:"annotations"` WorkloadIdentityConfig *ClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"` Project *string `json:"project"` Location *string `json:"location"` Fleet *ClusterFleet `json:"fleet"` LoggingConfig *ClusterLoggingConfig `json:"loggingConfig"` MonitoringConfig *ClusterMonitoringConfig `json:"monitoringConfig"` }
func (*Cluster) Describe ¶
func (r *Cluster) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type ClusterAuthorization ¶
type ClusterAuthorization struct { AdminUsers []ClusterAuthorizationAdminUsers `json:"adminUsers"` AdminGroups []ClusterAuthorizationAdminGroups `json:"adminGroups"` // contains filtered or unexported fields }
var EmptyClusterAuthorization *ClusterAuthorization = &ClusterAuthorization{empty: true}
This object is used to assert a desired state where this ClusterAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterAuthorization) Empty ¶
func (r *ClusterAuthorization) Empty() bool
func (*ClusterAuthorization) HashCode ¶
func (r *ClusterAuthorization) HashCode() string
func (*ClusterAuthorization) String ¶
func (r *ClusterAuthorization) String() string
func (*ClusterAuthorization) UnmarshalJSON ¶
func (r *ClusterAuthorization) UnmarshalJSON(data []byte) error
type ClusterAuthorizationAdminGroups ¶ added in v1.55.0
type ClusterAuthorizationAdminGroups struct { Group *string `json:"group"` // contains filtered or unexported fields }
var EmptyClusterAuthorizationAdminGroups *ClusterAuthorizationAdminGroups = &ClusterAuthorizationAdminGroups{empty: true}
This object is used to assert a desired state where this ClusterAuthorizationAdminGroups is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterAuthorizationAdminGroups) Empty ¶ added in v1.55.0
func (r *ClusterAuthorizationAdminGroups) Empty() bool
func (*ClusterAuthorizationAdminGroups) HashCode ¶ added in v1.55.0
func (r *ClusterAuthorizationAdminGroups) HashCode() string
func (*ClusterAuthorizationAdminGroups) String ¶ added in v1.55.0
func (r *ClusterAuthorizationAdminGroups) String() string
func (*ClusterAuthorizationAdminGroups) UnmarshalJSON ¶ added in v1.55.0
func (r *ClusterAuthorizationAdminGroups) UnmarshalJSON(data []byte) error
type ClusterAuthorizationAdminUsers ¶
type ClusterAuthorizationAdminUsers struct { Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyClusterAuthorizationAdminUsers *ClusterAuthorizationAdminUsers = &ClusterAuthorizationAdminUsers{empty: true}
This object is used to assert a desired state where this ClusterAuthorizationAdminUsers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterAuthorizationAdminUsers) Empty ¶
func (r *ClusterAuthorizationAdminUsers) Empty() bool
func (*ClusterAuthorizationAdminUsers) HashCode ¶
func (r *ClusterAuthorizationAdminUsers) HashCode() string
func (*ClusterAuthorizationAdminUsers) String ¶
func (r *ClusterAuthorizationAdminUsers) String() string
func (*ClusterAuthorizationAdminUsers) UnmarshalJSON ¶
func (r *ClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error
type ClusterAzureServicesAuthentication ¶ added in v1.33.0
type ClusterAzureServicesAuthentication struct { TenantId *string `json:"tenantId"` ApplicationId *string `json:"applicationId"` // contains filtered or unexported fields }
var EmptyClusterAzureServicesAuthentication *ClusterAzureServicesAuthentication = &ClusterAzureServicesAuthentication{empty: true}
This object is used to assert a desired state where this ClusterAzureServicesAuthentication is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterAzureServicesAuthentication) Empty ¶ added in v1.33.0
func (r *ClusterAzureServicesAuthentication) Empty() bool
func (*ClusterAzureServicesAuthentication) HashCode ¶ added in v1.33.0
func (r *ClusterAzureServicesAuthentication) HashCode() string
func (*ClusterAzureServicesAuthentication) String ¶ added in v1.33.0
func (r *ClusterAzureServicesAuthentication) String() string
func (*ClusterAzureServicesAuthentication) UnmarshalJSON ¶ added in v1.33.0
func (r *ClusterAzureServicesAuthentication) UnmarshalJSON(data []byte) error
type ClusterControlPlane ¶
type ClusterControlPlane struct { Version *string `json:"version"` SubnetId *string `json:"subnetId"` VmSize *string `json:"vmSize"` SshConfig *ClusterControlPlaneSshConfig `json:"sshConfig"` RootVolume *ClusterControlPlaneRootVolume `json:"rootVolume"` MainVolume *ClusterControlPlaneMainVolume `json:"mainVolume"` DatabaseEncryption *ClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"` Tags map[string]string `json:"tags"` ProxyConfig *ClusterControlPlaneProxyConfig `json:"proxyConfig"` ReplicaPlacements []ClusterControlPlaneReplicaPlacements `json:"replicaPlacements"` // contains filtered or unexported fields }
var EmptyClusterControlPlane *ClusterControlPlane = &ClusterControlPlane{empty: true}
This object is used to assert a desired state where this ClusterControlPlane is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlane) Empty ¶
func (r *ClusterControlPlane) Empty() bool
func (*ClusterControlPlane) HashCode ¶
func (r *ClusterControlPlane) HashCode() string
func (*ClusterControlPlane) String ¶
func (r *ClusterControlPlane) String() string
func (*ClusterControlPlane) UnmarshalJSON ¶
func (r *ClusterControlPlane) UnmarshalJSON(data []byte) error
type ClusterControlPlaneDatabaseEncryption ¶
type ClusterControlPlaneDatabaseEncryption struct { KeyId *string `json:"keyId"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneDatabaseEncryption *ClusterControlPlaneDatabaseEncryption = &ClusterControlPlaneDatabaseEncryption{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneDatabaseEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneDatabaseEncryption) Empty ¶
func (r *ClusterControlPlaneDatabaseEncryption) Empty() bool
func (*ClusterControlPlaneDatabaseEncryption) HashCode ¶
func (r *ClusterControlPlaneDatabaseEncryption) HashCode() string
func (*ClusterControlPlaneDatabaseEncryption) String ¶
func (r *ClusterControlPlaneDatabaseEncryption) String() string
func (*ClusterControlPlaneDatabaseEncryption) UnmarshalJSON ¶
func (r *ClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error
type ClusterControlPlaneMainVolume ¶
type ClusterControlPlaneMainVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneMainVolume *ClusterControlPlaneMainVolume = &ClusterControlPlaneMainVolume{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneMainVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneMainVolume) Empty ¶
func (r *ClusterControlPlaneMainVolume) Empty() bool
func (*ClusterControlPlaneMainVolume) HashCode ¶
func (r *ClusterControlPlaneMainVolume) HashCode() string
func (*ClusterControlPlaneMainVolume) String ¶
func (r *ClusterControlPlaneMainVolume) String() string
func (*ClusterControlPlaneMainVolume) UnmarshalJSON ¶
func (r *ClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error
type ClusterControlPlaneProxyConfig ¶
type ClusterControlPlaneProxyConfig struct { ResourceGroupId *string `json:"resourceGroupId"` SecretId *string `json:"secretId"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneProxyConfig *ClusterControlPlaneProxyConfig = &ClusterControlPlaneProxyConfig{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneProxyConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneProxyConfig) Empty ¶
func (r *ClusterControlPlaneProxyConfig) Empty() bool
func (*ClusterControlPlaneProxyConfig) HashCode ¶
func (r *ClusterControlPlaneProxyConfig) HashCode() string
func (*ClusterControlPlaneProxyConfig) String ¶
func (r *ClusterControlPlaneProxyConfig) String() string
func (*ClusterControlPlaneProxyConfig) UnmarshalJSON ¶
func (r *ClusterControlPlaneProxyConfig) UnmarshalJSON(data []byte) error
type ClusterControlPlaneReplicaPlacements ¶
type ClusterControlPlaneReplicaPlacements struct { SubnetId *string `json:"subnetId"` AzureAvailabilityZone *string `json:"azureAvailabilityZone"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneReplicaPlacements *ClusterControlPlaneReplicaPlacements = &ClusterControlPlaneReplicaPlacements{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneReplicaPlacements is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneReplicaPlacements) Empty ¶
func (r *ClusterControlPlaneReplicaPlacements) Empty() bool
func (*ClusterControlPlaneReplicaPlacements) HashCode ¶
func (r *ClusterControlPlaneReplicaPlacements) HashCode() string
func (*ClusterControlPlaneReplicaPlacements) String ¶
func (r *ClusterControlPlaneReplicaPlacements) String() string
func (*ClusterControlPlaneReplicaPlacements) UnmarshalJSON ¶
func (r *ClusterControlPlaneReplicaPlacements) UnmarshalJSON(data []byte) error
type ClusterControlPlaneRootVolume ¶
type ClusterControlPlaneRootVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneRootVolume *ClusterControlPlaneRootVolume = &ClusterControlPlaneRootVolume{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneRootVolume) Empty ¶
func (r *ClusterControlPlaneRootVolume) Empty() bool
func (*ClusterControlPlaneRootVolume) HashCode ¶
func (r *ClusterControlPlaneRootVolume) HashCode() string
func (*ClusterControlPlaneRootVolume) String ¶
func (r *ClusterControlPlaneRootVolume) String() string
func (*ClusterControlPlaneRootVolume) UnmarshalJSON ¶
func (r *ClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error
type ClusterControlPlaneSshConfig ¶
type ClusterControlPlaneSshConfig struct { AuthorizedKey *string `json:"authorizedKey"` // contains filtered or unexported fields }
var EmptyClusterControlPlaneSshConfig *ClusterControlPlaneSshConfig = &ClusterControlPlaneSshConfig{empty: true}
This object is used to assert a desired state where this ClusterControlPlaneSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterControlPlaneSshConfig) Empty ¶
func (r *ClusterControlPlaneSshConfig) Empty() bool
func (*ClusterControlPlaneSshConfig) HashCode ¶
func (r *ClusterControlPlaneSshConfig) HashCode() string
func (*ClusterControlPlaneSshConfig) String ¶
func (r *ClusterControlPlaneSshConfig) String() string
func (*ClusterControlPlaneSshConfig) UnmarshalJSON ¶
func (r *ClusterControlPlaneSshConfig) UnmarshalJSON(data []byte) error
type ClusterFleet ¶
type ClusterFleet struct { Project *string `json:"project"` Membership *string `json:"membership"` // contains filtered or unexported fields }
var EmptyClusterFleet *ClusterFleet = &ClusterFleet{empty: true}
This object is used to assert a desired state where this ClusterFleet is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterFleet) Empty ¶
func (r *ClusterFleet) Empty() bool
func (*ClusterFleet) HashCode ¶
func (r *ClusterFleet) HashCode() string
func (*ClusterFleet) String ¶
func (r *ClusterFleet) String() string
func (*ClusterFleet) UnmarshalJSON ¶
func (r *ClusterFleet) UnmarshalJSON(data []byte) error
type ClusterList ¶
type ClusterList struct { Items []*Cluster // contains filtered or unexported fields }
func (*ClusterList) HasNext ¶
func (l *ClusterList) HasNext() bool
type ClusterLoggingConfig ¶ added in v1.2.0
type ClusterLoggingConfig struct { ComponentConfig *ClusterLoggingConfigComponentConfig `json:"componentConfig"` // contains filtered or unexported fields }
var EmptyClusterLoggingConfig *ClusterLoggingConfig = &ClusterLoggingConfig{empty: true}
This object is used to assert a desired state where this ClusterLoggingConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterLoggingConfig) Empty ¶ added in v1.2.0
func (r *ClusterLoggingConfig) Empty() bool
func (*ClusterLoggingConfig) HashCode ¶ added in v1.2.0
func (r *ClusterLoggingConfig) HashCode() string
func (*ClusterLoggingConfig) String ¶ added in v1.2.0
func (r *ClusterLoggingConfig) String() string
func (*ClusterLoggingConfig) UnmarshalJSON ¶ added in v1.2.0
func (r *ClusterLoggingConfig) UnmarshalJSON(data []byte) error
type ClusterLoggingConfigComponentConfig ¶ added in v1.2.0
type ClusterLoggingConfigComponentConfig struct { EnableComponents []ClusterLoggingConfigComponentConfigEnableComponentsEnum `json:"enableComponents"` // contains filtered or unexported fields }
var EmptyClusterLoggingConfigComponentConfig *ClusterLoggingConfigComponentConfig = &ClusterLoggingConfigComponentConfig{empty: true}
This object is used to assert a desired state where this ClusterLoggingConfigComponentConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterLoggingConfigComponentConfig) Empty ¶ added in v1.2.0
func (r *ClusterLoggingConfigComponentConfig) Empty() bool
func (*ClusterLoggingConfigComponentConfig) HashCode ¶ added in v1.2.0
func (r *ClusterLoggingConfigComponentConfig) HashCode() string
func (*ClusterLoggingConfigComponentConfig) String ¶ added in v1.2.0
func (r *ClusterLoggingConfigComponentConfig) String() string
func (*ClusterLoggingConfigComponentConfig) UnmarshalJSON ¶ added in v1.2.0
func (r *ClusterLoggingConfigComponentConfig) UnmarshalJSON(data []byte) error
type ClusterLoggingConfigComponentConfigEnableComponentsEnum ¶ added in v1.2.0
type ClusterLoggingConfigComponentConfigEnableComponentsEnum string
The enum ClusterLoggingConfigComponentConfigEnableComponentsEnum.
func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef ¶ added in v1.2.0
func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef(s string) *ClusterLoggingConfigComponentConfigEnableComponentsEnum
ClusterLoggingConfigComponentConfigEnableComponentsEnumRef returns a *ClusterLoggingConfigComponentConfigEnableComponentsEnum with the value of string s If the empty string is provided, nil is returned.
func (ClusterLoggingConfigComponentConfigEnableComponentsEnum) Validate ¶ added in v1.2.0
func (v ClusterLoggingConfigComponentConfigEnableComponentsEnum) Validate() error
type ClusterMonitoringConfig ¶ added in v1.23.0
type ClusterMonitoringConfig struct { ManagedPrometheusConfig *ClusterMonitoringConfigManagedPrometheusConfig `json:"managedPrometheusConfig"` // contains filtered or unexported fields }
var EmptyClusterMonitoringConfig *ClusterMonitoringConfig = &ClusterMonitoringConfig{empty: true}
This object is used to assert a desired state where this ClusterMonitoringConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterMonitoringConfig) Empty ¶ added in v1.23.0
func (r *ClusterMonitoringConfig) Empty() bool
func (*ClusterMonitoringConfig) HashCode ¶ added in v1.23.0
func (r *ClusterMonitoringConfig) HashCode() string
func (*ClusterMonitoringConfig) String ¶ added in v1.23.0
func (r *ClusterMonitoringConfig) String() string
func (*ClusterMonitoringConfig) UnmarshalJSON ¶ added in v1.23.0
func (r *ClusterMonitoringConfig) UnmarshalJSON(data []byte) error
type ClusterMonitoringConfigManagedPrometheusConfig ¶ added in v1.23.0
type ClusterMonitoringConfigManagedPrometheusConfig struct { Enabled *bool `json:"enabled"` // contains filtered or unexported fields }
var EmptyClusterMonitoringConfigManagedPrometheusConfig *ClusterMonitoringConfigManagedPrometheusConfig = &ClusterMonitoringConfigManagedPrometheusConfig{empty: true}
This object is used to assert a desired state where this ClusterMonitoringConfigManagedPrometheusConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterMonitoringConfigManagedPrometheusConfig) Empty ¶ added in v1.23.0
func (r *ClusterMonitoringConfigManagedPrometheusConfig) Empty() bool
func (*ClusterMonitoringConfigManagedPrometheusConfig) HashCode ¶ added in v1.23.0
func (r *ClusterMonitoringConfigManagedPrometheusConfig) HashCode() string
func (*ClusterMonitoringConfigManagedPrometheusConfig) String ¶ added in v1.23.0
func (r *ClusterMonitoringConfigManagedPrometheusConfig) String() string
func (*ClusterMonitoringConfigManagedPrometheusConfig) UnmarshalJSON ¶ added in v1.23.0
func (r *ClusterMonitoringConfigManagedPrometheusConfig) UnmarshalJSON(data []byte) error
type ClusterNetworking ¶
type ClusterNetworking struct { VirtualNetworkId *string `json:"virtualNetworkId"` PodAddressCidrBlocks []string `json:"podAddressCidrBlocks"` ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"` // contains filtered or unexported fields }
var EmptyClusterNetworking *ClusterNetworking = &ClusterNetworking{empty: true}
This object is used to assert a desired state where this ClusterNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterNetworking) Empty ¶
func (r *ClusterNetworking) Empty() bool
func (*ClusterNetworking) HashCode ¶
func (r *ClusterNetworking) HashCode() string
func (*ClusterNetworking) String ¶
func (r *ClusterNetworking) String() string
func (*ClusterNetworking) UnmarshalJSON ¶
func (r *ClusterNetworking) UnmarshalJSON(data []byte) error
type ClusterStateEnum ¶
type ClusterStateEnum string
The enum ClusterStateEnum.
func ClusterStateEnumRef ¶
func ClusterStateEnumRef(s string) *ClusterStateEnum
ClusterStateEnumRef returns a *ClusterStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ClusterStateEnum) Validate ¶
func (v ClusterStateEnum) Validate() error
type ClusterWorkloadIdentityConfig ¶
type ClusterWorkloadIdentityConfig struct { IssuerUri *string `json:"issuerUri"` WorkloadPool *string `json:"workloadPool"` IdentityProvider *string `json:"identityProvider"` // contains filtered or unexported fields }
var EmptyClusterWorkloadIdentityConfig *ClusterWorkloadIdentityConfig = &ClusterWorkloadIdentityConfig{empty: true}
This object is used to assert a desired state where this ClusterWorkloadIdentityConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ClusterWorkloadIdentityConfig) Empty ¶
func (r *ClusterWorkloadIdentityConfig) Empty() bool
func (*ClusterWorkloadIdentityConfig) HashCode ¶
func (r *ClusterWorkloadIdentityConfig) HashCode() string
func (*ClusterWorkloadIdentityConfig) String ¶
func (r *ClusterWorkloadIdentityConfig) String() string
func (*ClusterWorkloadIdentityConfig) UnmarshalJSON ¶
func (r *ClusterWorkloadIdentityConfig) UnmarshalJSON(data []byte) error
type NodePool ¶
type NodePool struct { Name *string `json:"name"` Version *string `json:"version"` Config *NodePoolConfig `json:"config"` SubnetId *string `json:"subnetId"` Autoscaling *NodePoolAutoscaling `json:"autoscaling"` State *NodePoolStateEnum `json:"state"` Uid *string `json:"uid"` Reconciling *bool `json:"reconciling"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Etag *string `json:"etag"` Annotations map[string]string `json:"annotations"` MaxPodsConstraint *NodePoolMaxPodsConstraint `json:"maxPodsConstraint"` Management *NodePoolManagement `json:"management"` AzureAvailabilityZone *string `json:"azureAvailabilityZone"` Project *string `json:"project"` Location *string `json:"location"` Cluster *string `json:"cluster"` }
func (*NodePool) Describe ¶
func (r *NodePool) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
type NodePoolAutoscaling ¶
type NodePoolAutoscaling struct { MinNodeCount *int64 `json:"minNodeCount"` MaxNodeCount *int64 `json:"maxNodeCount"` // contains filtered or unexported fields }
var EmptyNodePoolAutoscaling *NodePoolAutoscaling = &NodePoolAutoscaling{empty: true}
This object is used to assert a desired state where this NodePoolAutoscaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolAutoscaling) Empty ¶
func (r *NodePoolAutoscaling) Empty() bool
func (*NodePoolAutoscaling) HashCode ¶
func (r *NodePoolAutoscaling) HashCode() string
func (*NodePoolAutoscaling) String ¶
func (r *NodePoolAutoscaling) String() string
func (*NodePoolAutoscaling) UnmarshalJSON ¶
func (r *NodePoolAutoscaling) UnmarshalJSON(data []byte) error
type NodePoolConfig ¶
type NodePoolConfig struct { VmSize *string `json:"vmSize"` RootVolume *NodePoolConfigRootVolume `json:"rootVolume"` Tags map[string]string `json:"tags"` SshConfig *NodePoolConfigSshConfig `json:"sshConfig"` ImageType *string `json:"imageType"` ProxyConfig *NodePoolConfigProxyConfig `json:"proxyConfig"` // contains filtered or unexported fields }
var EmptyNodePoolConfig *NodePoolConfig = &NodePoolConfig{empty: true}
This object is used to assert a desired state where this NodePoolConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolConfig) Empty ¶
func (r *NodePoolConfig) Empty() bool
func (*NodePoolConfig) HashCode ¶
func (r *NodePoolConfig) HashCode() string
func (*NodePoolConfig) String ¶
func (r *NodePoolConfig) String() string
func (*NodePoolConfig) UnmarshalJSON ¶
func (r *NodePoolConfig) UnmarshalJSON(data []byte) error
type NodePoolConfigProxyConfig ¶ added in v1.3.0
type NodePoolConfigProxyConfig struct { ResourceGroupId *string `json:"resourceGroupId"` SecretId *string `json:"secretId"` // contains filtered or unexported fields }
var EmptyNodePoolConfigProxyConfig *NodePoolConfigProxyConfig = &NodePoolConfigProxyConfig{empty: true}
This object is used to assert a desired state where this NodePoolConfigProxyConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolConfigProxyConfig) Empty ¶ added in v1.3.0
func (r *NodePoolConfigProxyConfig) Empty() bool
func (*NodePoolConfigProxyConfig) HashCode ¶ added in v1.3.0
func (r *NodePoolConfigProxyConfig) HashCode() string
func (*NodePoolConfigProxyConfig) String ¶ added in v1.3.0
func (r *NodePoolConfigProxyConfig) String() string
func (*NodePoolConfigProxyConfig) UnmarshalJSON ¶ added in v1.3.0
func (r *NodePoolConfigProxyConfig) UnmarshalJSON(data []byte) error
type NodePoolConfigRootVolume ¶
type NodePoolConfigRootVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyNodePoolConfigRootVolume *NodePoolConfigRootVolume = &NodePoolConfigRootVolume{empty: true}
This object is used to assert a desired state where this NodePoolConfigRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolConfigRootVolume) Empty ¶
func (r *NodePoolConfigRootVolume) Empty() bool
func (*NodePoolConfigRootVolume) HashCode ¶
func (r *NodePoolConfigRootVolume) HashCode() string
func (*NodePoolConfigRootVolume) String ¶
func (r *NodePoolConfigRootVolume) String() string
func (*NodePoolConfigRootVolume) UnmarshalJSON ¶
func (r *NodePoolConfigRootVolume) UnmarshalJSON(data []byte) error
type NodePoolConfigSshConfig ¶
type NodePoolConfigSshConfig struct { AuthorizedKey *string `json:"authorizedKey"` // contains filtered or unexported fields }
var EmptyNodePoolConfigSshConfig *NodePoolConfigSshConfig = &NodePoolConfigSshConfig{empty: true}
This object is used to assert a desired state where this NodePoolConfigSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolConfigSshConfig) Empty ¶
func (r *NodePoolConfigSshConfig) Empty() bool
func (*NodePoolConfigSshConfig) HashCode ¶
func (r *NodePoolConfigSshConfig) HashCode() string
func (*NodePoolConfigSshConfig) String ¶
func (r *NodePoolConfigSshConfig) String() string
func (*NodePoolConfigSshConfig) UnmarshalJSON ¶
func (r *NodePoolConfigSshConfig) UnmarshalJSON(data []byte) error
type NodePoolList ¶
type NodePoolList struct { Items []*NodePool // contains filtered or unexported fields }
func (*NodePoolList) HasNext ¶
func (l *NodePoolList) HasNext() bool
type NodePoolManagement ¶ added in v1.51.0
type NodePoolManagement struct { AutoRepair *bool `json:"autoRepair"` // contains filtered or unexported fields }
var EmptyNodePoolManagement *NodePoolManagement = &NodePoolManagement{empty: true}
This object is used to assert a desired state where this NodePoolManagement is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolManagement) Empty ¶ added in v1.51.0
func (r *NodePoolManagement) Empty() bool
func (*NodePoolManagement) HashCode ¶ added in v1.51.0
func (r *NodePoolManagement) HashCode() string
func (*NodePoolManagement) String ¶ added in v1.51.0
func (r *NodePoolManagement) String() string
func (*NodePoolManagement) UnmarshalJSON ¶ added in v1.51.0
func (r *NodePoolManagement) UnmarshalJSON(data []byte) error
type NodePoolMaxPodsConstraint ¶
type NodePoolMaxPodsConstraint struct { MaxPodsPerNode *int64 `json:"maxPodsPerNode"` // contains filtered or unexported fields }
var EmptyNodePoolMaxPodsConstraint *NodePoolMaxPodsConstraint = &NodePoolMaxPodsConstraint{empty: true}
This object is used to assert a desired state where this NodePoolMaxPodsConstraint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*NodePoolMaxPodsConstraint) Empty ¶
func (r *NodePoolMaxPodsConstraint) Empty() bool
func (*NodePoolMaxPodsConstraint) HashCode ¶
func (r *NodePoolMaxPodsConstraint) HashCode() string
func (*NodePoolMaxPodsConstraint) String ¶
func (r *NodePoolMaxPodsConstraint) String() string
func (*NodePoolMaxPodsConstraint) UnmarshalJSON ¶
func (r *NodePoolMaxPodsConstraint) UnmarshalJSON(data []byte) error
type NodePoolStateEnum ¶
type NodePoolStateEnum string
The enum NodePoolStateEnum.
func NodePoolStateEnumRef ¶
func NodePoolStateEnumRef(s string) *NodePoolStateEnum
NodePoolStateEnumRef returns a *NodePoolStateEnum with the value of string s If the empty string is provided, nil is returned.
func (NodePoolStateEnum) Validate ¶
func (v NodePoolStateEnum) Validate() error