alpha

package
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2022 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 alpha defines operations in the declarative SDK.

Copyright 2022 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 2022 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 2022 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 2022 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 2022 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 2022 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

View Source
const ClusterMaxPage = -1
View Source
const NodePoolMaxPage = -1

Variables

View Source
var YAML_cluster = []byte("info:\n  title: ContainerAws/Cluster\n  description: An Anthos cluster running on AWS.\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.awsClusters\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}}/awsClusters/{{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      - networking\n      - awsRegion\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. Key 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        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            adminUsers:\n              type: array\n              x-dcl-go-name: AdminUsers\n              description: Users to perform operations as a cluster admin. A managed\n                ClusterRoleBinding will be created to grant the `cluster-admin` ClusterRole\n                to the users. Up to ten admin users can be provided. For more info\n                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        awsRegion:\n          type: string\n          x-dcl-go-name: AwsRegion\n          description: The AWS region where the cluster runs. Each Google Cloud region\n            supports a subset of nearby AWS regions. You can call to list all supported\n            AWS regions within a given Google Cloud region.\n          x-kubernetes-immutable: true\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          - subnetIds\n          - configEncryption\n          - iamInstanceProfile\n          - databaseEncryption\n          - awsServicesAuthentication\n          properties:\n            awsServicesAuthentication:\n              type: object\n              x-dcl-go-name: AwsServicesAuthentication\n              x-dcl-go-type: ClusterControlPlaneAwsServicesAuthentication\n              description: Authentication configuration for management of AWS resources.\n              required:\n              - roleArn\n              properties:\n                roleArn:\n                  type: string\n                  x-dcl-go-name: RoleArn\n                  description: The Amazon Resource Name (ARN) of the role that the\n                    Anthos Multi-Cloud API will assume when managing AWS resources\n                    on your account.\n                roleSessionName:\n                  type: string\n                  x-dcl-go-name: RoleSessionName\n                  description: Optional. An identifier for the assumed role session.\n                    When unspecified, it defaults to `multicloud-service-agent`.\n                  x-dcl-server-default: true\n            configEncryption:\n              type: object\n              x-dcl-go-name: ConfigEncryption\n              x-dcl-go-type: ClusterControlPlaneConfigEncryption\n              description: The ARN of the AWS KMS key used to encrypt cluster configuration.\n              required:\n              - kmsKeyArn\n              properties:\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: The ARN of the AWS KMS key used to encrypt cluster\n                    configuration.\n            databaseEncryption:\n              type: object\n              x-dcl-go-name: DatabaseEncryption\n              x-dcl-go-type: ClusterControlPlaneDatabaseEncryption\n              description: The ARN of the AWS KMS key used to encrypt cluster secrets.\n              x-kubernetes-immutable: true\n              required:\n              - kmsKeyArn\n              properties:\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: The ARN of the AWS KMS key used to encrypt cluster\n                    secrets.\n                  x-kubernetes-immutable: true\n            iamInstanceProfile:\n              type: string\n              x-dcl-go-name: IamInstanceProfile\n              description: The name of the AWS IAM instance pofile to assign to each\n                control plane replica.\n            instancePlacement:\n              type: object\n              x-dcl-go-name: InstancePlacement\n              x-dcl-go-type: ClusterControlPlaneInstancePlacement\n              description: Details of placement information for an instance.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                tenancy:\n                  type: string\n                  x-dcl-go-name: Tenancy\n                  x-dcl-go-type: ClusterControlPlaneInstancePlacementTenancyEnum\n                  description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n                    DEFAULT, DEDICATED, HOST'\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n                  enum:\n                  - TENANCY_UNSPECIFIED\n                  - DEFAULT\n                  - DEDICATED\n                  - HOST\n            instanceType:\n              type: string\n              x-dcl-go-name: InstanceType\n              description: Optional. The AWS instance type. When unspecified, it defaults\n                to `m5.large`.\n              x-dcl-server-default: 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. Volumes will be provisioned in the\n                availability zone associated with the corresponding subnet. When unspecified,\n                it defaults to 8 GiB with the GP2 volume type.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                iops:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Iops\n                  description: Optional. The number of I/O operations per second (IOPS)\n                    to provision for GP3 volume.\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: Optional. The Amazon Resource Name (ARN) of the Customer\n                    Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n                    the default Amazon managed key associated to the AWS region where\n                    this cluster runs will be used.\n                  x-kubernetes-immutable: true\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the volume, 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                volumeType:\n                  type: string\n                  x-dcl-go-name: VolumeType\n                  x-dcl-go-type: ClusterControlPlaneMainVolumeVolumeTypeEnum\n                  description: 'Optional. Type of the EBS volume. When unspecified,\n                    it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n                    GP2, GP3'\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n                  enum:\n                  - VOLUME_TYPE_UNSPECIFIED\n                  - GP2\n                  - GP3\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              required:\n              - secretArn\n              - secretVersion\n              properties:\n                secretArn:\n                  type: string\n                  x-dcl-go-name: SecretArn\n                  description: The ARN of the AWS Secret Manager secret that contains\n                    the HTTP(S) proxy configuration.\n                secretVersion:\n                  type: string\n                  x-dcl-go-name: SecretVersion\n                  description: The version string of the AWS Secret Manager secret\n                    that contains the HTTP(S) proxy configuration.\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. Volumes will be provisioned in the\n                availability zone associated with the corresponding subnet. When unspecified,\n                it defaults to 32 GiB with the GP2 volume type.\n              x-dcl-server-default: true\n              properties:\n                iops:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Iops\n                  description: Optional. The number of I/O operations per second (IOPS)\n                    to provision for GP3 volume.\n                  x-dcl-server-default: true\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: Optional. The Amazon Resource Name (ARN) of the Customer\n                    Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n                    the default Amazon managed key associated to the AWS region where\n                    this cluster runs will be used.\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the volume, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-dcl-server-default: true\n                volumeType:\n                  type: string\n                  x-dcl-go-name: VolumeType\n                  x-dcl-go-type: ClusterControlPlaneRootVolumeVolumeTypeEnum\n                  description: 'Optional. Type of the EBS volume. When unspecified,\n                    it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n                    GP2, GP3'\n                  x-dcl-server-default: true\n                  enum:\n                  - VOLUME_TYPE_UNSPECIFIED\n                  - GP2\n                  - GP3\n            securityGroupIds:\n              type: array\n              x-dcl-go-name: SecurityGroupIds\n              description: Optional. The IDs of additional security groups to add\n                to control plane replicas. The Anthos Multi-Cloud API will automatically\n                create and manage security groups with the minimum rules needed for\n                a functioning cluster.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: ClusterControlPlaneSshConfig\n              description: Optional. SSH configuration for how to access the underlying\n                control plane machines.\n              required:\n              - ec2KeyPair\n              properties:\n                ec2KeyPair:\n                  type: string\n                  x-dcl-go-name: Ec2KeyPair\n                  description: The name of the EC2 key pair used to login into cluster\n                    machines.\n            subnetIds:\n              type: array\n              x-dcl-go-name: SubnetIds\n              description: The list of subnets where control plane replicas will run.\n                A replica will be provisioned on each subnet and up to three values\n                can be provided. Each subnet must be in a different AWS Availability\n                Zone (AZ).\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            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. A set of AWS resource tags to propagate to all\n                underlying managed AWS resources. Specify at most 50 pairs containing\n                alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127\n                Unicode characters. Values can be up to 255 Unicode characters.\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 .\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        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          - vpcId\n          - podAddressCidrBlocks\n          - serviceAddressCidrBlocks\n          properties:\n            podAddressCidrBlocks:\n              type: array\n              x-dcl-go-name: PodAddressCidrBlocks\n              description: All pods in the cluster are assigned an RFC1918 IPv4 address\n                from these ranges. Only a single range is supported. This field cannot\n                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: All services in the cluster are assigned an RFC1918 IPv4\n                address from these ranges. Only a single range is supported. This\n                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            vpcId:\n              type: string\n              x-dcl-go-name: VPCId\n              description: The VPC associated with the cluster. All component clusters\n                (i.e. control plane and node pools) run on a single VPC. This field\n                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        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/containeraws/alpha/cluster.yaml

View Source
var YAML_node_pool = []byte("info:\n  title: ContainerAws/NodePool\n  description: An Anthos node pool running on AWS.\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.awsClusters.awsNodePools\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}}/awsClusters/{{cluster}}/awsNodePools/{{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      - autoscaling\n      - subnetId\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. Key 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 NodePool. 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 NodePool. Must be >= 1 and\n                <= max_node_count.\n        cluster:\n          type: string\n          x-dcl-go-name: Cluster\n          description: The awsCluster 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 configuration of the node pool.\n          required:\n          - iamInstanceProfile\n          - configEncryption\n          properties:\n            configEncryption:\n              type: object\n              x-dcl-go-name: ConfigEncryption\n              x-dcl-go-type: NodePoolConfigConfigEncryption\n              description: The ARN of the AWS KMS key used to encrypt node pool configuration.\n              required:\n              - kmsKeyArn\n              properties:\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: The ARN of the AWS KMS key used to encrypt node pool\n                    configuration.\n            iamInstanceProfile:\n              type: string\n              x-dcl-go-name: IamInstanceProfile\n              description: The name of the AWS IAM role assigned to nodes in the pool.\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            instancePlacement:\n              type: object\n              x-dcl-go-name: InstancePlacement\n              x-dcl-go-type: NodePoolConfigInstancePlacement\n              description: Details of placement information for an instance.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n              properties:\n                tenancy:\n                  type: string\n                  x-dcl-go-name: Tenancy\n                  x-dcl-go-type: NodePoolConfigInstancePlacementTenancyEnum\n                  description: 'The tenancy for the instance. Possible values: TENANCY_UNSPECIFIED,\n                    DEFAULT, DEDICATED, HOST'\n                  x-kubernetes-immutable: true\n                  x-dcl-server-default: true\n                  enum:\n                  - TENANCY_UNSPECIFIED\n                  - DEFAULT\n                  - DEDICATED\n                  - HOST\n            instanceType:\n              type: string\n              x-dcl-go-name: InstanceType\n              description: Optional. The AWS instance type. When unspecified, it defaults\n                to `m5.large`.\n              x-kubernetes-immutable: true\n              x-dcl-server-default: true\n            labels:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Labels\n              description: 'Optional. The initial labels assigned to nodes of this\n                node pool. An object containing a list of \"key\": value pairs. Example:\n                { \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }.'\n              x-kubernetes-immutable: 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              required:\n              - secretArn\n              - secretVersion\n              properties:\n                secretArn:\n                  type: string\n                  x-dcl-go-name: SecretArn\n                  description: The ARN of the AWS Secret Manager secret that contains\n                    the HTTP(S) proxy configuration.\n                secretVersion:\n                  type: string\n                  x-dcl-go-name: SecretVersion\n                  description: The version string of the AWS Secret Manager secret\n                    that contains the HTTP(S) proxy configuration.\n            rootVolume:\n              type: object\n              x-dcl-go-name: RootVolume\n              x-dcl-go-type: NodePoolConfigRootVolume\n              description: Optional. Template for the root volume provisioned for\n                node pool nodes. Volumes will be provisioned in the availability zone\n                assigned to the node pool subnet. When unspecified, it defaults to\n                32 GiB with the GP2 volume type.\n              x-dcl-server-default: true\n              properties:\n                iops:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: Iops\n                  description: Optional. The number of I/O operations per second (IOPS)\n                    to provision for GP3 volume.\n                  x-dcl-server-default: true\n                kmsKeyArn:\n                  type: string\n                  x-dcl-go-name: KmsKeyArn\n                  description: Optional. The Amazon Resource Name (ARN) of the Customer\n                    Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified,\n                    the default Amazon managed key associated to the AWS region where\n                    this cluster runs will be used.\n                sizeGib:\n                  type: integer\n                  format: int64\n                  x-dcl-go-name: SizeGib\n                  description: Optional. The size of the volume, in GiBs. When unspecified,\n                    a default value is provided. See the specific reference in the\n                    parent resource.\n                  x-dcl-server-default: true\n                volumeType:\n                  type: string\n                  x-dcl-go-name: VolumeType\n                  x-dcl-go-type: NodePoolConfigRootVolumeVolumeTypeEnum\n                  description: 'Optional. Type of the EBS volume. When unspecified,\n                    it defaults to GP2 volume. Possible values: VOLUME_TYPE_UNSPECIFIED,\n                    GP2, GP3'\n                  x-dcl-server-default: true\n                  enum:\n                  - VOLUME_TYPE_UNSPECIFIED\n                  - GP2\n                  - GP3\n            securityGroupIds:\n              type: array\n              x-dcl-go-name: SecurityGroupIds\n              description: Optional. The IDs of additional security groups to add\n                to nodes in this pool. The manager will automatically create security\n                groups with minimum rules needed for a functioning cluster.\n              x-dcl-send-empty: true\n              x-dcl-list-type: list\n              items:\n                type: string\n                x-dcl-go-type: string\n            sshConfig:\n              type: object\n              x-dcl-go-name: SshConfig\n              x-dcl-go-type: NodePoolConfigSshConfig\n              description: Optional. The SSH configuration.\n              required:\n              - ec2KeyPair\n              properties:\n                ec2KeyPair:\n                  type: string\n                  x-dcl-go-name: Ec2KeyPair\n                  description: The name of the EC2 key pair used to login into cluster\n                    machines.\n            tags:\n              type: object\n              additionalProperties:\n                type: string\n              x-dcl-go-name: Tags\n              description: Optional. Key/value metadata to assign to each underlying\n                AWS resource. Specify at most 50 pairs containing alphanumerics, spaces,\n                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            taints:\n              type: array\n              x-dcl-go-name: Taints\n              description: Optional. The initial taints assigned to nodes of this\n                node pool.\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: NodePoolConfigTaints\n                required:\n                - key\n                - value\n                - effect\n                properties:\n                  effect:\n                    type: string\n                    x-dcl-go-name: Effect\n                    x-dcl-go-type: NodePoolConfigTaintsEffectEnum\n                    description: 'The taint effect. Possible values: EFFECT_UNSPECIFIED,\n                      NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE'\n                    x-kubernetes-immutable: true\n                    enum:\n                    - EFFECT_UNSPECIFIED\n                    - NO_SCHEDULE\n                    - PREFER_NO_SCHEDULE\n                    - NO_EXECUTE\n                  key:\n                    type: string\n                    x-dcl-go-name: Key\n                    description: Key for the taint.\n                    x-kubernetes-immutable: true\n                  value:\n                    type: string\n                    x-dcl-go-name: Value\n                    description: Value for the taint.\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 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        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 changes in flight\n            to 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 lifecycle 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 subnet where the node pool node run.\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 to run on this node pool (e.g. `1.19.10-gke.1000`).\n            You can list all supported versions on a given Google Cloud region by\n            calling GetAwsServerConfig.\n")

blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/containeraws/alpha/node_pool.yaml

Functions

func DCLClusterSchema added in v1.10.3

func DCLClusterSchema() *dcl.Schema

func DCLNodePoolSchema added in v1.10.3

func DCLNodePoolSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.

func NewClient

func NewClient(c *dcl.Config) *Client

NewClient creates a client that retries all operations a few times each.

func (*Client) ApplyCluster

func (c *Client) ApplyCluster(ctx context.Context, rawDesired *Cluster, opts ...dcl.ApplyOption) (*Cluster, error)

func (*Client) ApplyNodePool

func (c *Client) ApplyNodePool(ctx context.Context, rawDesired *NodePool, opts ...dcl.ApplyOption) (*NodePool, error)

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) DeleteCluster

func (c *Client) DeleteCluster(ctx context.Context, r *Cluster) error

func (*Client) DeleteNodePool

func (c *Client) DeleteNodePool(ctx context.Context, r *NodePool) error

func (*Client) GetCluster

func (c *Client) GetCluster(ctx context.Context, r *Cluster) (*Cluster, error)

func (*Client) GetNodePool

func (c *Client) GetNodePool(ctx context.Context, r *NodePool) (*NodePool, error)

func (*Client) ListCluster

func (c *Client) ListCluster(ctx context.Context, project, location string) (*ClusterList, error)

func (*Client) ListClusterWithMaxResults

func (c *Client) ListClusterWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*ClusterList, error)

func (*Client) ListNodePool

func (c *Client) ListNodePool(ctx context.Context, project, location, cluster string) (*NodePoolList, error)

func (*Client) ListNodePoolWithMaxResults

func (c *Client) ListNodePoolWithMaxResults(ctx context.Context, project, location, cluster string, pageSize int32) (*NodePoolList, error)

type Cluster

type Cluster struct {
	Name                   *string                        `json:"name"`
	Description            *string                        `json:"description"`
	Networking             *ClusterNetworking             `json:"networking"`
	AwsRegion              *string                        `json:"awsRegion"`
	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"`
}

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.

func (*Cluster) ID

func (r *Cluster) ID() (string, error)

func (*Cluster) String

func (r *Cluster) String() string

type ClusterAuthorization

type ClusterAuthorization struct {
	AdminUsers []ClusterAuthorizationAdminUsers `json:"adminUsers"`
	// 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 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 (*ClusterAuthorizationAdminUsers) HashCode

func (r *ClusterAuthorizationAdminUsers) HashCode() string

func (*ClusterAuthorizationAdminUsers) String

func (*ClusterAuthorizationAdminUsers) UnmarshalJSON

func (r *ClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error

type ClusterControlPlane

type ClusterControlPlane struct {
	Version                   *string                                       `json:"version"`
	InstanceType              *string                                       `json:"instanceType"`
	SshConfig                 *ClusterControlPlaneSshConfig                 `json:"sshConfig"`
	SubnetIds                 []string                                      `json:"subnetIds"`
	ConfigEncryption          *ClusterControlPlaneConfigEncryption          `json:"configEncryption"`
	SecurityGroupIds          []string                                      `json:"securityGroupIds"`
	IamInstanceProfile        *string                                       `json:"iamInstanceProfile"`
	RootVolume                *ClusterControlPlaneRootVolume                `json:"rootVolume"`
	MainVolume                *ClusterControlPlaneMainVolume                `json:"mainVolume"`
	DatabaseEncryption        *ClusterControlPlaneDatabaseEncryption        `json:"databaseEncryption"`
	Tags                      map[string]string                             `json:"tags"`
	AwsServicesAuthentication *ClusterControlPlaneAwsServicesAuthentication `json:"awsServicesAuthentication"`
	ProxyConfig               *ClusterControlPlaneProxyConfig               `json:"proxyConfig"`
	InstancePlacement         *ClusterControlPlaneInstancePlacement         `json:"instancePlacement"`
	// 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 ClusterControlPlaneAwsServicesAuthentication

type ClusterControlPlaneAwsServicesAuthentication struct {
	RoleArn         *string `json:"roleArn"`
	RoleSessionName *string `json:"roleSessionName"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneAwsServicesAuthentication *ClusterControlPlaneAwsServicesAuthentication = &ClusterControlPlaneAwsServicesAuthentication{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneAwsServicesAuthentication is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneAwsServicesAuthentication) Empty

func (*ClusterControlPlaneAwsServicesAuthentication) HashCode

func (*ClusterControlPlaneAwsServicesAuthentication) String

func (*ClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON

func (r *ClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON(data []byte) error

type ClusterControlPlaneConfigEncryption

type ClusterControlPlaneConfigEncryption struct {
	KmsKeyArn *string `json:"kmsKeyArn"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneConfigEncryption *ClusterControlPlaneConfigEncryption = &ClusterControlPlaneConfigEncryption{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneConfigEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneConfigEncryption) Empty

func (*ClusterControlPlaneConfigEncryption) HashCode

func (*ClusterControlPlaneConfigEncryption) String

func (*ClusterControlPlaneConfigEncryption) UnmarshalJSON

func (r *ClusterControlPlaneConfigEncryption) UnmarshalJSON(data []byte) error

type ClusterControlPlaneDatabaseEncryption

type ClusterControlPlaneDatabaseEncryption struct {
	KmsKeyArn *string `json:"kmsKeyArn"`
	// 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 (*ClusterControlPlaneDatabaseEncryption) HashCode

func (*ClusterControlPlaneDatabaseEncryption) String

func (*ClusterControlPlaneDatabaseEncryption) UnmarshalJSON

func (r *ClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error

type ClusterControlPlaneInstancePlacement added in v1.2.0

type ClusterControlPlaneInstancePlacement struct {
	Tenancy *ClusterControlPlaneInstancePlacementTenancyEnum `json:"tenancy"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneInstancePlacement *ClusterControlPlaneInstancePlacement = &ClusterControlPlaneInstancePlacement{empty: true}

This object is used to assert a desired state where this ClusterControlPlaneInstancePlacement is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*ClusterControlPlaneInstancePlacement) Empty added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) HashCode added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) String added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) UnmarshalJSON added in v1.2.0

func (r *ClusterControlPlaneInstancePlacement) UnmarshalJSON(data []byte) error

type ClusterControlPlaneInstancePlacementTenancyEnum added in v1.2.0

type ClusterControlPlaneInstancePlacementTenancyEnum string

The enum ClusterControlPlaneInstancePlacementTenancyEnum.

func ClusterControlPlaneInstancePlacementTenancyEnumRef added in v1.2.0

func ClusterControlPlaneInstancePlacementTenancyEnumRef(s string) *ClusterControlPlaneInstancePlacementTenancyEnum

ClusterControlPlaneInstancePlacementTenancyEnumRef returns a *ClusterControlPlaneInstancePlacementTenancyEnum with the value of string s If the empty string is provided, nil is returned.

func (ClusterControlPlaneInstancePlacementTenancyEnum) Validate added in v1.2.0

type ClusterControlPlaneMainVolume

type ClusterControlPlaneMainVolume struct {
	SizeGib    *int64                                       `json:"sizeGib"`
	VolumeType *ClusterControlPlaneMainVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                       `json:"iops"`
	KmsKeyArn  *string                                      `json:"kmsKeyArn"`
	// 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 (*ClusterControlPlaneMainVolume) HashCode

func (r *ClusterControlPlaneMainVolume) HashCode() string

func (*ClusterControlPlaneMainVolume) String

func (*ClusterControlPlaneMainVolume) UnmarshalJSON

func (r *ClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error

type ClusterControlPlaneMainVolumeVolumeTypeEnum

type ClusterControlPlaneMainVolumeVolumeTypeEnum string

The enum ClusterControlPlaneMainVolumeVolumeTypeEnum.

func ClusterControlPlaneMainVolumeVolumeTypeEnumRef

func ClusterControlPlaneMainVolumeVolumeTypeEnumRef(s string) *ClusterControlPlaneMainVolumeVolumeTypeEnum

ClusterControlPlaneMainVolumeVolumeTypeEnumRef returns a *ClusterControlPlaneMainVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (ClusterControlPlaneMainVolumeVolumeTypeEnum) Validate

type ClusterControlPlaneProxyConfig

type ClusterControlPlaneProxyConfig struct {
	SecretArn     *string `json:"secretArn"`
	SecretVersion *string `json:"secretVersion"`
	// 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 (*ClusterControlPlaneProxyConfig) HashCode

func (r *ClusterControlPlaneProxyConfig) HashCode() string

func (*ClusterControlPlaneProxyConfig) String

func (*ClusterControlPlaneProxyConfig) UnmarshalJSON

func (r *ClusterControlPlaneProxyConfig) UnmarshalJSON(data []byte) error

type ClusterControlPlaneRootVolume

type ClusterControlPlaneRootVolume struct {
	SizeGib    *int64                                       `json:"sizeGib"`
	VolumeType *ClusterControlPlaneRootVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                       `json:"iops"`
	KmsKeyArn  *string                                      `json:"kmsKeyArn"`
	// 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 (*ClusterControlPlaneRootVolume) HashCode

func (r *ClusterControlPlaneRootVolume) HashCode() string

func (*ClusterControlPlaneRootVolume) String

func (*ClusterControlPlaneRootVolume) UnmarshalJSON

func (r *ClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error

type ClusterControlPlaneRootVolumeVolumeTypeEnum

type ClusterControlPlaneRootVolumeVolumeTypeEnum string

The enum ClusterControlPlaneRootVolumeVolumeTypeEnum.

func ClusterControlPlaneRootVolumeVolumeTypeEnumRef

func ClusterControlPlaneRootVolumeVolumeTypeEnumRef(s string) *ClusterControlPlaneRootVolumeVolumeTypeEnum

ClusterControlPlaneRootVolumeVolumeTypeEnumRef returns a *ClusterControlPlaneRootVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (ClusterControlPlaneRootVolumeVolumeTypeEnum) Validate

type ClusterControlPlaneSshConfig

type ClusterControlPlaneSshConfig struct {
	Ec2KeyPair *string `json:"ec2KeyPair"`
	// 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 (*ClusterControlPlaneSshConfig) HashCode

func (r *ClusterControlPlaneSshConfig) HashCode() string

func (*ClusterControlPlaneSshConfig) 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

func (*ClusterList) Next

func (l *ClusterList) Next(ctx context.Context, c *Client) error

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 (*ClusterLoggingConfigComponentConfig) HashCode added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) String added in v1.2.0

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

type ClusterNetworking

type ClusterNetworking struct {
	VPCId                    *string  `json:"vpcId"`
	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 (*ClusterWorkloadIdentityConfig) HashCode

func (r *ClusterWorkloadIdentityConfig) HashCode() string

func (*ClusterWorkloadIdentityConfig) 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"`
	Autoscaling       *NodePoolAutoscaling       `json:"autoscaling"`
	SubnetId          *string                    `json:"subnetId"`
	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"`
	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.

func (*NodePool) ID

func (r *NodePool) ID() (string, error)

func (*NodePool) String

func (r *NodePool) String() string

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 {
	InstanceType       *string                          `json:"instanceType"`
	RootVolume         *NodePoolConfigRootVolume        `json:"rootVolume"`
	Taints             []NodePoolConfigTaints           `json:"taints"`
	Labels             map[string]string                `json:"labels"`
	Tags               map[string]string                `json:"tags"`
	IamInstanceProfile *string                          `json:"iamInstanceProfile"`
	ConfigEncryption   *NodePoolConfigConfigEncryption  `json:"configEncryption"`
	SshConfig          *NodePoolConfigSshConfig         `json:"sshConfig"`
	SecurityGroupIds   []string                         `json:"securityGroupIds"`
	ProxyConfig        *NodePoolConfigProxyConfig       `json:"proxyConfig"`
	InstancePlacement  *NodePoolConfigInstancePlacement `json:"instancePlacement"`
	ImageType          *string                          `json:"imageType"`
	// 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 NodePoolConfigConfigEncryption

type NodePoolConfigConfigEncryption struct {
	KmsKeyArn *string `json:"kmsKeyArn"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigConfigEncryption *NodePoolConfigConfigEncryption = &NodePoolConfigConfigEncryption{empty: true}

This object is used to assert a desired state where this NodePoolConfigConfigEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigConfigEncryption) Empty

func (*NodePoolConfigConfigEncryption) HashCode

func (r *NodePoolConfigConfigEncryption) HashCode() string

func (*NodePoolConfigConfigEncryption) String

func (*NodePoolConfigConfigEncryption) UnmarshalJSON

func (r *NodePoolConfigConfigEncryption) UnmarshalJSON(data []byte) error

type NodePoolConfigInstancePlacement added in v1.2.0

type NodePoolConfigInstancePlacement struct {
	Tenancy *NodePoolConfigInstancePlacementTenancyEnum `json:"tenancy"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigInstancePlacement *NodePoolConfigInstancePlacement = &NodePoolConfigInstancePlacement{empty: true}

This object is used to assert a desired state where this NodePoolConfigInstancePlacement is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigInstancePlacement) Empty added in v1.2.0

func (*NodePoolConfigInstancePlacement) HashCode added in v1.2.0

func (*NodePoolConfigInstancePlacement) String added in v1.2.0

func (*NodePoolConfigInstancePlacement) UnmarshalJSON added in v1.2.0

func (r *NodePoolConfigInstancePlacement) UnmarshalJSON(data []byte) error

type NodePoolConfigInstancePlacementTenancyEnum added in v1.2.0

type NodePoolConfigInstancePlacementTenancyEnum string

The enum NodePoolConfigInstancePlacementTenancyEnum.

func NodePoolConfigInstancePlacementTenancyEnumRef added in v1.2.0

func NodePoolConfigInstancePlacementTenancyEnumRef(s string) *NodePoolConfigInstancePlacementTenancyEnum

NodePoolConfigInstancePlacementTenancyEnumRef returns a *NodePoolConfigInstancePlacementTenancyEnum with the value of string s If the empty string is provided, nil is returned.

func (NodePoolConfigInstancePlacementTenancyEnum) Validate added in v1.2.0

type NodePoolConfigProxyConfig added in v1.5.1

type NodePoolConfigProxyConfig struct {
	SecretArn     *string `json:"secretArn"`
	SecretVersion *string `json:"secretVersion"`
	// 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.5.1

func (r *NodePoolConfigProxyConfig) Empty() bool

func (*NodePoolConfigProxyConfig) HashCode added in v1.5.1

func (r *NodePoolConfigProxyConfig) HashCode() string

func (*NodePoolConfigProxyConfig) String added in v1.5.1

func (r *NodePoolConfigProxyConfig) String() string

func (*NodePoolConfigProxyConfig) UnmarshalJSON added in v1.5.1

func (r *NodePoolConfigProxyConfig) UnmarshalJSON(data []byte) error

type NodePoolConfigRootVolume

type NodePoolConfigRootVolume struct {
	SizeGib    *int64                                  `json:"sizeGib"`
	VolumeType *NodePoolConfigRootVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                  `json:"iops"`
	KmsKeyArn  *string                                 `json:"kmsKeyArn"`
	// 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 NodePoolConfigRootVolumeVolumeTypeEnum

type NodePoolConfigRootVolumeVolumeTypeEnum string

The enum NodePoolConfigRootVolumeVolumeTypeEnum.

func NodePoolConfigRootVolumeVolumeTypeEnumRef

func NodePoolConfigRootVolumeVolumeTypeEnumRef(s string) *NodePoolConfigRootVolumeVolumeTypeEnum

NodePoolConfigRootVolumeVolumeTypeEnumRef returns a *NodePoolConfigRootVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.

func (NodePoolConfigRootVolumeVolumeTypeEnum) Validate

type NodePoolConfigSshConfig

type NodePoolConfigSshConfig struct {
	Ec2KeyPair *string `json:"ec2KeyPair"`
	// 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 NodePoolConfigTaints

type NodePoolConfigTaints struct {
	Key    *string                         `json:"key"`
	Value  *string                         `json:"value"`
	Effect *NodePoolConfigTaintsEffectEnum `json:"effect"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigTaints *NodePoolConfigTaints = &NodePoolConfigTaints{empty: true}

This object is used to assert a desired state where this NodePoolConfigTaints is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.

func (*NodePoolConfigTaints) Empty

func (r *NodePoolConfigTaints) Empty() bool

func (*NodePoolConfigTaints) HashCode

func (r *NodePoolConfigTaints) HashCode() string

func (*NodePoolConfigTaints) String

func (r *NodePoolConfigTaints) String() string

func (*NodePoolConfigTaints) UnmarshalJSON

func (r *NodePoolConfigTaints) UnmarshalJSON(data []byte) error

type NodePoolConfigTaintsEffectEnum

type NodePoolConfigTaintsEffectEnum string

The enum NodePoolConfigTaintsEffectEnum.

func NodePoolConfigTaintsEffectEnumRef

func NodePoolConfigTaintsEffectEnumRef(s string) *NodePoolConfigTaintsEffectEnum

NodePoolConfigTaintsEffectEnumRef returns a *NodePoolConfigTaintsEffectEnum with the value of string s If the empty string is provided, nil is returned.

func (NodePoolConfigTaintsEffectEnum) Validate

type NodePoolList

type NodePoolList struct {
	Items []*NodePool
	// contains filtered or unexported fields
}

func (*NodePoolList) HasNext

func (l *NodePoolList) HasNext() bool

func (*NodePoolList) Next

func (l *NodePoolList) Next(ctx context.Context, c *Client) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL