Documentation ¶
Overview ¶
Copyright 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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 2021 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.
Index ¶
- Constants
- Variables
- type AwsCluster
- type AwsClusterAuthorization
- type AwsClusterAuthorizationAdminUsers
- type AwsClusterControlPlane
- type AwsClusterControlPlaneAwsServicesAuthentication
- func (r *AwsClusterControlPlaneAwsServicesAuthentication) Empty() bool
- func (r *AwsClusterControlPlaneAwsServicesAuthentication) HashCode() string
- func (r *AwsClusterControlPlaneAwsServicesAuthentication) String() string
- func (r *AwsClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON(data []byte) error
- type AwsClusterControlPlaneDatabaseEncryption
- type AwsClusterControlPlaneMainVolume
- type AwsClusterControlPlaneMainVolumeVolumeTypeEnum
- type AwsClusterControlPlaneRootVolume
- type AwsClusterControlPlaneRootVolumeVolumeTypeEnum
- type AwsClusterControlPlaneSshConfig
- type AwsClusterList
- type AwsClusterNetworking
- type AwsClusterStateEnum
- type AwsClusterWorkloadIdentityConfig
- type AwsNodePool
- type AwsNodePoolAutoscaling
- type AwsNodePoolConfig
- type AwsNodePoolConfigRootVolume
- type AwsNodePoolConfigRootVolumeVolumeTypeEnum
- type AwsNodePoolConfigSshConfig
- type AwsNodePoolConfigTaints
- type AwsNodePoolConfigTaintsEffectEnum
- type AwsNodePoolList
- type AwsNodePoolMaxPodsConstraint
- type AwsNodePoolStateEnum
- type AzureClient
- type AzureClientList
- type AzureCluster
- type AzureClusterAuthorization
- type AzureClusterAuthorizationAdminUsers
- type AzureClusterControlPlane
- type AzureClusterControlPlaneDatabaseEncryption
- type AzureClusterControlPlaneMainVolume
- type AzureClusterControlPlaneRootVolume
- type AzureClusterControlPlaneSshConfig
- type AzureClusterList
- type AzureClusterNetworking
- type AzureClusterStateEnum
- type AzureClusterWorkloadIdentityConfig
- type AzureNodePool
- type AzureNodePoolAutoscaling
- type AzureNodePoolConfig
- type AzureNodePoolConfigRootVolume
- type AzureNodePoolConfigSshConfig
- type AzureNodePoolList
- type AzureNodePoolMaxPodsConstraint
- type AzureNodePoolStateEnum
- type Client
- func (c *Client) ApplyAwsCluster(ctx context.Context, rawDesired *AwsCluster, opts ...dcl.ApplyOption) (*AwsCluster, error)
- func (c *Client) ApplyAwsNodePool(ctx context.Context, rawDesired *AwsNodePool, opts ...dcl.ApplyOption) (*AwsNodePool, error)
- func (c *Client) ApplyAzureClient(ctx context.Context, rawDesired *AzureClient, opts ...dcl.ApplyOption) (*AzureClient, error)
- func (c *Client) ApplyAzureCluster(ctx context.Context, rawDesired *AzureCluster, opts ...dcl.ApplyOption) (*AzureCluster, error)
- func (c *Client) ApplyAzureNodePool(ctx context.Context, rawDesired *AzureNodePool, opts ...dcl.ApplyOption) (*AzureNodePool, error)
- func (c *Client) DeleteAllAwsCluster(ctx context.Context, project, location string, filter func(*AwsCluster) bool) error
- func (c *Client) DeleteAllAwsNodePool(ctx context.Context, project, location, awsCluster string, ...) error
- func (c *Client) DeleteAllAzureClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error
- func (c *Client) DeleteAllAzureCluster(ctx context.Context, project, location string, filter func(*AzureCluster) bool) error
- func (c *Client) DeleteAllAzureNodePool(ctx context.Context, project, location, azureCluster string, ...) error
- func (c *Client) DeleteAwsCluster(ctx context.Context, r *AwsCluster) error
- func (c *Client) DeleteAwsNodePool(ctx context.Context, r *AwsNodePool) error
- func (c *Client) DeleteAzureClient(ctx context.Context, r *AzureClient) error
- func (c *Client) DeleteAzureCluster(ctx context.Context, r *AzureCluster) error
- func (c *Client) DeleteAzureNodePool(ctx context.Context, r *AzureNodePool) error
- func (c *Client) GetAwsCluster(ctx context.Context, r *AwsCluster) (*AwsCluster, error)
- func (c *Client) GetAwsNodePool(ctx context.Context, r *AwsNodePool) (*AwsNodePool, error)
- func (c *Client) GetAzureClient(ctx context.Context, r *AzureClient) (*AzureClient, error)
- func (c *Client) GetAzureCluster(ctx context.Context, r *AzureCluster) (*AzureCluster, error)
- func (c *Client) GetAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePool, error)
- func (c *Client) ListAwsCluster(ctx context.Context, r *AwsCluster) (*AwsClusterList, error)
- func (c *Client) ListAwsClusterWithMaxResults(ctx context.Context, r *AwsCluster, pageSize int32) (*AwsClusterList, error)
- func (c *Client) ListAwsNodePool(ctx context.Context, r *AwsNodePool) (*AwsNodePoolList, error)
- func (c *Client) ListAwsNodePoolWithMaxResults(ctx context.Context, r *AwsNodePool, pageSize int32) (*AwsNodePoolList, error)
- func (c *Client) ListAzureClient(ctx context.Context, r *AzureClient) (*AzureClientList, error)
- func (c *Client) ListAzureClientWithMaxResults(ctx context.Context, r *AzureClient, pageSize int32) (*AzureClientList, error)
- func (c *Client) ListAzureCluster(ctx context.Context, r *AzureCluster) (*AzureClusterList, error)
- func (c *Client) ListAzureClusterWithMaxResults(ctx context.Context, r *AzureCluster, pageSize int32) (*AzureClusterList, error)
- func (c *Client) ListAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePoolList, error)
- func (c *Client) ListAzureNodePoolWithMaxResults(ctx context.Context, r *AzureNodePool, pageSize int32) (*AzureNodePoolList, error)
Constants ¶
const AwsClusterMaxPage = -1
const AwsNodePoolMaxPage = -1
const AzureClientMaxPage = -1
const AzureClusterMaxPage = -1
const AzureNodePoolMaxPage = -1
Variables ¶
var YAML_aws_cluster = []byte("info:\n title: Gkemulticloud/AwsCluster\n description: DCL Specification for the Gkemulticloud AwsCluster resource\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AwsCluster\n parameters:\n - name: AwsCluster\n required: true\n description: A full instance of a AwsCluster\n apply:\n description: The function used to apply information about a AwsCluster\n parameters:\n - name: AwsCluster\n required: true\n description: A full instance of a AwsCluster\n delete:\n description: The function used to delete a AwsCluster\n parameters:\n - name: AwsCluster\n required: true\n description: A full instance of a AwsCluster\n deleteAll:\n description: The function used to delete all AwsCluster\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 AwsCluster\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 AwsCluster:\n title: AwsCluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{name}}\n x-dcl-parent-container: project\n type: object\n required:\n - name\n - networking\n - awsRegion\n - controlPlane\n - authorization\n - project\n - location\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 x-kubernetes-immutable: true\n authorization:\n type: object\n x-dcl-go-name: Authorization\n x-dcl-go-type: AwsClusterAuthorization\n description: Required. Configuration related to the cluster RBAC settings.\n x-kubernetes-immutable: true\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Required. Users to perform operations as a cluster admin.\n A managed ClusterRoleBinding will be created to grant the `cluster-admin`\n ClusterRole to the users. At most one user can be specified. For more\n info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\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: AwsClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: Required. The name of the user, e.g. `my-gcp-id@gmail.com`.\n x-kubernetes-immutable: true\n awsRegion:\n type: string\n x-dcl-go-name: AwsRegion\n description: Required. The AWS region where the cluster runs. Each Google\n Cloud region supports a subset of nearby AWS regions. You can call to\n list all supported 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: AwsClusterControlPlane\n description: Required. Configuration related to the cluster control plane.\n x-kubernetes-immutable: true\n required:\n - version\n - subnetIds\n - iamInstanceProfile\n - databaseEncryption\n - awsServicesAuthentication\n properties:\n awsServicesAuthentication:\n type: object\n x-dcl-go-name: AwsServicesAuthentication\n x-dcl-go-type: AwsClusterControlPlaneAwsServicesAuthentication\n description: Required. Authentication configuration for management of\n AWS resources.\n x-kubernetes-immutable: true\n required:\n - roleArn\n properties:\n roleArn:\n type: string\n x-dcl-go-name: RoleArn\n description: Required. The Amazon Resource Name (ARN) of the role\n that the Anthos Multi-Cloud API will assume when managing AWS\n resources on your account.\n x-kubernetes-immutable: true\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-kubernetes-immutable: true\n databaseEncryption:\n type: object\n x-dcl-go-name: DatabaseEncryption\n x-dcl-go-type: AwsClusterControlPlaneDatabaseEncryption\n description: Required. The ARN of the AWS KMS key used to encrypt cluster\n 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: Required. The ARN of the AWS KMS key used to encrypt\n cluster secrets.\n x-kubernetes-immutable: true\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: Required. The name of the AWS IAM instance pofile to assign\n to each control plane replica.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `t3.medium`.\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: AwsClusterControlPlaneMainVolume\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 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 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 volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: AwsClusterControlPlaneMainVolumeVolumeTypeEnum\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 enum:\n - VOLUME_TYPE_UNSPECIFIED\n - GP2\n - GP3\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: AwsClusterControlPlaneRootVolume\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-kubernetes-immutable: 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 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 volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: AwsClusterControlPlaneRootVolumeVolumeTypeEnum\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 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-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 sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: AwsClusterControlPlaneSshConfig\n description: Optional. SSH configuration for how to access the underlying\n control plane machines.\n x-kubernetes-immutable: true\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: Required. The name of the EC2 key pair used to login\n into cluster machines.\n x-kubernetes-immutable: true\n subnetIds:\n type: array\n x-dcl-go-name: SubnetIds\n description: Required. The list of subnets where control plane replicas\n will run. A replica will be provisioned on each subnet and up to three\n values 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: Required. The Kubernetes version to run on control plane\n replicas (e.g. `1.19.10-gke.1000`). You can list all supported versions\n on a given Google Cloud region by calling .\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 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 x-kubernetes-immutable: true\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 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. Cluster names are formatted as `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>`.\n See (https://cloud.google.com/apis/design/resource_names) for more details\n on GCP resource names.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: AwsClusterNetworking\n description: Required. Cluster-wide networking configuration.\n x-kubernetes-immutable: true\n required:\n - vpcId\n - podAddressCidrBlocks\n - serviceAddressCidrBlocks\n - serviceLoadBalancerSubnetIds\n properties:\n podAddressCidrBlocks:\n type: array\n x-dcl-go-name: PodAddressCidrBlocks\n description: Required. All pods in the cluster are assigned an RFC1918\n IPv4 address from these ranges. Only a single range is supported.\n 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: Required. All services in the cluster are assigned an RFC1918\n IPv4 address from these ranges. Only a single range is supported.\n 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 serviceLoadBalancerSubnetIds:\n type: array\n x-dcl-go-name: ServiceLoadBalancerSubnetIds\n description: Required. When creating Kubernetes services of type 'Load\n Balancer', the load balancer will be created in these subnets.\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: Required. The VPC associated with the cluster. All component\n clusters (i.e. control plane and node pools) run on a single VPC.\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 state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AwsClusterStateEnum\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: AwsClusterWorkloadIdentityConfig\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/gkemulticloud/alpha/aws_cluster.yaml
var YAML_aws_node_pool = []byte("info:\n title: Gkemulticloud/AwsNodePool\n description: DCL Specification for the Gkemulticloud AwsNodePool resource\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AwsNodePool\n parameters:\n - name: AwsNodePool\n required: true\n description: A full instance of a AwsNodePool\n apply:\n description: The function used to apply information about a AwsNodePool\n parameters:\n - name: AwsNodePool\n required: true\n description: A full instance of a AwsNodePool\n delete:\n description: The function used to delete a AwsNodePool\n parameters:\n - name: AwsNodePool\n required: true\n description: A full instance of a AwsNodePool\n deleteAll:\n description: The function used to delete all AwsNodePool\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: awscluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AwsNodePool\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: awscluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AwsNodePool:\n title: AwsNodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/awsClusters/{{aws_cluster}}/awsNodePools/{{name}}\n x-dcl-parent-container: project\n type: object\n required:\n - name\n - version\n - config\n - autoscaling\n - subnetId\n - maxPodsConstraint\n - project\n - location\n - awsCluster\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 x-kubernetes-immutable: true\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: AwsNodePoolAutoscaling\n description: Required. Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Required. Maximum number of nodes in the NodePool. Must\n be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Required. Minimum number of nodes in the NodePool. Must\n be >= 1 and <= max_node_count.\n x-kubernetes-immutable: true\n awsCluster:\n type: string\n x-dcl-go-name: AwsCluster\n description: The awsCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/AwsCluster\n field: name\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: AwsNodePoolConfig\n description: Required. The configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - iamInstanceProfile\n properties:\n iamInstanceProfile:\n type: string\n x-dcl-go-name: IamInstanceProfile\n description: Required. The name of the AWS IAM role assigned to nodes\n in the pool.\n x-kubernetes-immutable: true\n instanceType:\n type: string\n x-dcl-go-name: InstanceType\n description: Optional. The AWS instance type. When unspecified, it defaults\n to `t3.medium`.\n x-kubernetes-immutable: 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 rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: AwsNodePoolConfigRootVolume\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-kubernetes-immutable: 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 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 volumeType:\n type: string\n x-dcl-go-name: VolumeType\n x-dcl-go-type: AwsNodePoolConfigRootVolumeVolumeTypeEnum\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 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-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 sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: AwsNodePoolConfigSshConfig\n description: Optional. The SSH configuration.\n x-kubernetes-immutable: true\n required:\n - ec2KeyPair\n properties:\n ec2KeyPair:\n type: string\n x-dcl-go-name: Ec2KeyPair\n description: Required. The name of the EC2 key pair used to login\n into cluster machines.\n x-kubernetes-immutable: true\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: AwsNodePoolConfigTaints\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: AwsNodePoolConfigTaintsEffectEnum\n description: 'Required. 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: Required. Key for the taint.\n x-kubernetes-immutable: true\n value:\n type: string\n x-dcl-go-name: Value\n description: Required. 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: AwsNodePoolMaxPodsConstraint\n description: Required. The constraint on the maximum number of pods that\n can be run 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: Required. The maximum number of pods to schedule on a single\n node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource. Node pool names are formatted as\n `projects/<project-number>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.\n For more details on Google Cloud resource names, see (https://cloud.google.com/apis/design/resource_names)\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: AwsNodePoolStateEnum\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: Required. 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: Required. The Kubernetes version to run on this node pool (e.g.\n `1.19.10-gke.1000`). You can list all supported versions on a given Google\n Cloud region by calling GetAwsServerConfig.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkemulticloud/alpha/aws_node_pool.yaml
var YAML_azure_client = []byte("info:\n title: Gkemulticloud/AzureClient\n description: DCL Specification for the Gkemulticloud AzureClient resource\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AzureClient\n parameters:\n - name: AzureClient\n required: true\n description: A full instance of a AzureClient\n apply:\n description: The function used to apply information about a AzureClient\n parameters:\n - name: AzureClient\n required: true\n description: A full instance of a AzureClient\n delete:\n description: The function used to delete a AzureClient\n parameters:\n - name: AzureClient\n required: true\n description: A full instance of a AzureClient\n deleteAll:\n description: The function used to delete all AzureClient\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 AzureClient\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 AzureClient:\n title: AzureClient\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClients/{{name}}\n x-dcl-parent-container: project\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: Required. 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. `AzureClient` resource names are\n formatted as `projects/<project-number>/locations/<region>/azureClients/<client-id>`.\n See (https://cloud.google.com/apis/design/resource_names) for more details\n on Google Cloud resource names.\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: Required. 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/gkemulticloud/alpha/azure_client.yaml
var YAML_azure_cluster = []byte("info:\n title: Gkemulticloud/AzureCluster\n description: DCL Specification for the Gkemulticloud AzureCluster resource\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AzureCluster\n parameters:\n - name: AzureCluster\n required: true\n description: A full instance of a AzureCluster\n apply:\n description: The function used to apply information about a AzureCluster\n parameters:\n - name: AzureCluster\n required: true\n description: A full instance of a AzureCluster\n delete:\n description: The function used to delete a AzureCluster\n parameters:\n - name: AzureCluster\n required: true\n description: A full instance of a AzureCluster\n deleteAll:\n description: The function used to delete all AzureCluster\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 AzureCluster\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 AzureCluster:\n title: AzureCluster\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{name}}\n x-dcl-parent-container: project\n type: object\n required:\n - name\n - azureRegion\n - resourceGroupId\n - azureClient\n - networking\n - controlPlane\n - authorization\n - project\n - location\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: AzureClusterAuthorization\n description: Required. Configuration related to the cluster RBAC settings.\n x-kubernetes-immutable: true\n required:\n - adminUsers\n properties:\n adminUsers:\n type: array\n x-dcl-go-name: AdminUsers\n description: Required. Users that can perform operations as a cluster\n admin. A new ClusterRoleBinding will be created to grant the cluster-admin\n ClusterRole to the users. At most one user can be specified. For more\n info on RBAC, see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles\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: AzureClusterAuthorizationAdminUsers\n required:\n - username\n properties:\n username:\n type: string\n x-dcl-go-name: Username\n description: Required. The name of the user, e.g. `my-gcp-id@gmail.com`.\n x-kubernetes-immutable: true\n azureClient:\n type: string\n x-dcl-go-name: AzureClient\n description: Required. Name of the AzureClient. The `AzureClient` resource\n must reside on the same GCP project and region as the `AzureCluster`.\n `AzureClient` 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-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/AzureClient\n field: name\n azureRegion:\n type: string\n x-dcl-go-name: AzureRegion\n description: Required. The Azure region where the cluster runs. Each Google\n Cloud region supports a subset of nearby Azure regions. You can call to\n list all supported Azure 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: AzureClusterControlPlane\n description: Required. Configuration related to the cluster control plane.\n x-kubernetes-immutable: true\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: AzureClusterControlPlaneDatabaseEncryption\n description: Optional. Configuration related to application-layer secrets\n encryption.\n x-kubernetes-immutable: true\n required:\n - resourceGroupId\n - kmsKeyIdentifier\n properties:\n kmsKeyIdentifier:\n type: string\n x-dcl-go-name: KmsKeyIdentifier\n description: 'Required. The URL the of the Azure Key Vault key (with\n its version) to use to encrypt / decrypt data. For example: `https://vault-id.vault.azure.net/keys/key-id/<version>`'\n x-kubernetes-immutable: true\n resourceGroupId:\n type: string\n x-dcl-go-name: ResourceGroupId\n description: 'Required. The ARM ID the of the Azure resource group\n containing the Azure Key Vault key. Example: `/subscriptions//resourceGroups/*`'\n x-kubernetes-immutable: true\n mainVolume:\n type: object\n x-dcl-go-name: MainVolume\n x-dcl-go-type: AzureClusterControlPlaneMainVolume\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 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 rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: AzureClusterControlPlaneRootVolume\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 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 sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: AzureClusterControlPlaneSshConfig\n description: Required. SSH configuration for how to access the underlying\n control plane machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: Required. The SSH public key data for VMs managed by\n Anthos. This accepts the authorized_keys file format used in OpenSSH\n according to the sshd(8) manual page.\n x-kubernetes-immutable: true\n subnetId:\n type: string\n x-dcl-go-name: SubnetId\n description: 'Required. The ARM ID of the subnet where the control plane\n VMs are 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: Required. The Kubernetes version to run on control plane\n replicas (e.g. `1.19.10-gke.1000`). You can list all supported versions\n on a given Google Cloud region by calling .\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 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-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 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 x-kubernetes-immutable: true\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 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. Cluster names are formatted as `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`.\n See (https://cloud.google.com/apis/design/resource_names) for more details\n on GCP resource names.\n x-kubernetes-immutable: true\n networking:\n type: object\n x-dcl-go-name: Networking\n x-dcl-go-type: AzureClusterNetworking\n description: Required. 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: Required. The IP address range of the pods in this cluster,\n in CIDR notation (e.g. `10.96.0.0/14`). All pods in the cluster get\n assigned a unique RFC1918 IPv4 address from these ranges. Only a single\n range 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: Required. The IP address range for services in this cluster,\n in CIDR notation (e.g. `10.96.0.0/14`). All services in the cluster\n get assigned a unique RFC1918 IPv4 address from these ranges. Only\n a single range is supported. This field cannot be changed after creating\n 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: 'Required. The Azure Resource Manager (ARM) ID of the VNet\n associated with your cluster. All components in the cluster (i.e.\n control plane 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: 'Required. The ARM ID of the resource group where the cluster\n resources 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: AzureClusterStateEnum\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: AzureClusterWorkloadIdentityConfig\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/gkemulticloud/alpha/azure_cluster.yaml
var YAML_azure_node_pool = []byte("info:\n title: Gkemulticloud/AzureNodePool\n description: DCL Specification for the Gkemulticloud AzureNodePool resource\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a AzureNodePool\n parameters:\n - name: AzureNodePool\n required: true\n description: A full instance of a AzureNodePool\n apply:\n description: The function used to apply information about a AzureNodePool\n parameters:\n - name: AzureNodePool\n required: true\n description: A full instance of a AzureNodePool\n delete:\n description: The function used to delete a AzureNodePool\n parameters:\n - name: AzureNodePool\n required: true\n description: A full instance of a AzureNodePool\n deleteAll:\n description: The function used to delete all AzureNodePool\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: azurecluster\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many AzureNodePool\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: azurecluster\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n AzureNodePool:\n title: AzureNodePool\n x-dcl-id: projects/{{project}}/locations/{{location}}/azureClusters/{{azure_cluster}}/azureNodePools/{{name}}\n x-dcl-parent-container: project\n type: object\n required:\n - name\n - version\n - config\n - subnetId\n - autoscaling\n - maxPodsConstraint\n - project\n - location\n - azureCluster\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 x-kubernetes-immutable: true\n autoscaling:\n type: object\n x-dcl-go-name: Autoscaling\n x-dcl-go-type: AzureNodePoolAutoscaling\n description: Required. Autoscaler configuration for this node pool.\n x-kubernetes-immutable: true\n required:\n - minNodeCount\n - maxNodeCount\n properties:\n maxNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MaxNodeCount\n description: Required. Maximum number of nodes in the node pool. Must\n be >= min_node_count.\n x-kubernetes-immutable: true\n minNodeCount:\n type: integer\n format: int64\n x-dcl-go-name: MinNodeCount\n description: Required. Minimum number of nodes in the node pool. Must\n be >= 1 and <= max_node_count.\n x-kubernetes-immutable: true\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 azureCluster:\n type: string\n x-dcl-go-name: AzureCluster\n description: The azureCluster for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Gkemulticloud/AzureCluster\n field: name\n config:\n type: object\n x-dcl-go-name: Config\n x-dcl-go-type: AzureNodePoolConfig\n description: Required. The node configuration of the node pool.\n x-kubernetes-immutable: true\n required:\n - sshConfig\n properties:\n rootVolume:\n type: object\n x-dcl-go-name: RootVolume\n x-dcl-go-type: AzureNodePoolConfigRootVolume\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 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 sshConfig:\n type: object\n x-dcl-go-name: SshConfig\n x-dcl-go-type: AzureNodePoolConfigSshConfig\n description: Required. SSH configuration for how to access the node\n pool machines.\n x-kubernetes-immutable: true\n required:\n - authorizedKey\n properties:\n authorizedKey:\n type: string\n x-dcl-go-name: AuthorizedKey\n description: Required. The SSH public key data for VMs managed by\n Anthos. This accepts the authorized_keys file format used in OpenSSH\n according to the sshd(8) manual page.\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 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 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: AzureNodePoolMaxPodsConstraint\n description: Required. The constraint on the maximum number of pods that\n can be run 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: Required. The maximum number of pods to schedule on a single\n node.\n x-kubernetes-immutable: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of this resource. Node pool names are formatted as\n `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>`.\n For more details on Google Cloud resource names, see Resource Names (https://cloud.google.com/apis/design/resource_names)\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: AzureNodePoolStateEnum\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: Required. The ARM ID of the subnet where the node pool VMs\n run. Make sure it's a subnet under the virtual network in the cluster\n 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: Required. The Kubernetes version (e.g. `1.19.10-gke.1000`)\n running on this node pool.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/gkemulticloud/alpha/azure_node_pool.yaml
Functions ¶
This section is empty.
Types ¶
type AwsCluster ¶
type AwsCluster struct { Name *string `json:"name"` Description *string `json:"description"` Networking *AwsClusterNetworking `json:"networking"` AwsRegion *string `json:"awsRegion"` ControlPlane *AwsClusterControlPlane `json:"controlPlane"` Authorization *AwsClusterAuthorization `json:"authorization"` State *AwsClusterStateEnum `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 *AwsClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"` Project *string `json:"project"` Location *string `json:"location"` }
func (*AwsCluster) Describe ¶
func (r *AwsCluster) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AwsCluster) ID ¶
func (r *AwsCluster) ID() (string, error)
func (*AwsCluster) String ¶
func (r *AwsCluster) String() string
type AwsClusterAuthorization ¶
type AwsClusterAuthorization struct { AdminUsers []AwsClusterAuthorizationAdminUsers `json:"adminUsers"` // contains filtered or unexported fields }
var EmptyAwsClusterAuthorization *AwsClusterAuthorization = &AwsClusterAuthorization{empty: true}
This object is used to assert a desired state where this AwsClusterAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterAuthorization) Empty ¶
func (r *AwsClusterAuthorization) Empty() bool
func (*AwsClusterAuthorization) HashCode ¶
func (r *AwsClusterAuthorization) HashCode() string
func (*AwsClusterAuthorization) String ¶
func (r *AwsClusterAuthorization) String() string
func (*AwsClusterAuthorization) UnmarshalJSON ¶
func (r *AwsClusterAuthorization) UnmarshalJSON(data []byte) error
type AwsClusterAuthorizationAdminUsers ¶
type AwsClusterAuthorizationAdminUsers struct { Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyAwsClusterAuthorizationAdminUsers *AwsClusterAuthorizationAdminUsers = &AwsClusterAuthorizationAdminUsers{empty: true}
This object is used to assert a desired state where this AwsClusterAuthorizationAdminUsers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterAuthorizationAdminUsers) Empty ¶
func (r *AwsClusterAuthorizationAdminUsers) Empty() bool
func (*AwsClusterAuthorizationAdminUsers) HashCode ¶
func (r *AwsClusterAuthorizationAdminUsers) HashCode() string
func (*AwsClusterAuthorizationAdminUsers) String ¶
func (r *AwsClusterAuthorizationAdminUsers) String() string
func (*AwsClusterAuthorizationAdminUsers) UnmarshalJSON ¶
func (r *AwsClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error
type AwsClusterControlPlane ¶
type AwsClusterControlPlane struct { Version *string `json:"version"` InstanceType *string `json:"instanceType"` SshConfig *AwsClusterControlPlaneSshConfig `json:"sshConfig"` SubnetIds []string `json:"subnetIds"` SecurityGroupIds []string `json:"securityGroupIds"` IamInstanceProfile *string `json:"iamInstanceProfile"` RootVolume *AwsClusterControlPlaneRootVolume `json:"rootVolume"` MainVolume *AwsClusterControlPlaneMainVolume `json:"mainVolume"` DatabaseEncryption *AwsClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"` Tags map[string]string `json:"tags"` AwsServicesAuthentication *AwsClusterControlPlaneAwsServicesAuthentication `json:"awsServicesAuthentication"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlane *AwsClusterControlPlane = &AwsClusterControlPlane{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlane is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlane) Empty ¶
func (r *AwsClusterControlPlane) Empty() bool
func (*AwsClusterControlPlane) HashCode ¶
func (r *AwsClusterControlPlane) HashCode() string
func (*AwsClusterControlPlane) String ¶
func (r *AwsClusterControlPlane) String() string
func (*AwsClusterControlPlane) UnmarshalJSON ¶
func (r *AwsClusterControlPlane) UnmarshalJSON(data []byte) error
type AwsClusterControlPlaneAwsServicesAuthentication ¶
type AwsClusterControlPlaneAwsServicesAuthentication struct { RoleArn *string `json:"roleArn"` RoleSessionName *string `json:"roleSessionName"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlaneAwsServicesAuthentication *AwsClusterControlPlaneAwsServicesAuthentication = &AwsClusterControlPlaneAwsServicesAuthentication{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlaneAwsServicesAuthentication is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlaneAwsServicesAuthentication) Empty ¶
func (r *AwsClusterControlPlaneAwsServicesAuthentication) Empty() bool
func (*AwsClusterControlPlaneAwsServicesAuthentication) HashCode ¶
func (r *AwsClusterControlPlaneAwsServicesAuthentication) HashCode() string
func (*AwsClusterControlPlaneAwsServicesAuthentication) String ¶
func (r *AwsClusterControlPlaneAwsServicesAuthentication) String() string
func (*AwsClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON ¶
func (r *AwsClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON(data []byte) error
type AwsClusterControlPlaneDatabaseEncryption ¶
type AwsClusterControlPlaneDatabaseEncryption struct { KmsKeyArn *string `json:"kmsKeyArn"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlaneDatabaseEncryption *AwsClusterControlPlaneDatabaseEncryption = &AwsClusterControlPlaneDatabaseEncryption{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlaneDatabaseEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlaneDatabaseEncryption) Empty ¶
func (r *AwsClusterControlPlaneDatabaseEncryption) Empty() bool
func (*AwsClusterControlPlaneDatabaseEncryption) HashCode ¶
func (r *AwsClusterControlPlaneDatabaseEncryption) HashCode() string
func (*AwsClusterControlPlaneDatabaseEncryption) String ¶
func (r *AwsClusterControlPlaneDatabaseEncryption) String() string
func (*AwsClusterControlPlaneDatabaseEncryption) UnmarshalJSON ¶
func (r *AwsClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error
type AwsClusterControlPlaneMainVolume ¶
type AwsClusterControlPlaneMainVolume struct { SizeGib *int64 `json:"sizeGib"` VolumeType *AwsClusterControlPlaneMainVolumeVolumeTypeEnum `json:"volumeType"` Iops *int64 `json:"iops"` KmsKeyArn *string `json:"kmsKeyArn"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlaneMainVolume *AwsClusterControlPlaneMainVolume = &AwsClusterControlPlaneMainVolume{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlaneMainVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlaneMainVolume) Empty ¶
func (r *AwsClusterControlPlaneMainVolume) Empty() bool
func (*AwsClusterControlPlaneMainVolume) HashCode ¶
func (r *AwsClusterControlPlaneMainVolume) HashCode() string
func (*AwsClusterControlPlaneMainVolume) String ¶
func (r *AwsClusterControlPlaneMainVolume) String() string
func (*AwsClusterControlPlaneMainVolume) UnmarshalJSON ¶
func (r *AwsClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error
type AwsClusterControlPlaneMainVolumeVolumeTypeEnum ¶
type AwsClusterControlPlaneMainVolumeVolumeTypeEnum string
The enum AwsClusterControlPlaneMainVolumeVolumeTypeEnum.
func AwsClusterControlPlaneMainVolumeVolumeTypeEnumRef ¶
func AwsClusterControlPlaneMainVolumeVolumeTypeEnumRef(s string) *AwsClusterControlPlaneMainVolumeVolumeTypeEnum
AwsClusterControlPlaneMainVolumeVolumeTypeEnumRef returns a *AwsClusterControlPlaneMainVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsClusterControlPlaneMainVolumeVolumeTypeEnum) Validate ¶
func (v AwsClusterControlPlaneMainVolumeVolumeTypeEnum) Validate() error
type AwsClusterControlPlaneRootVolume ¶
type AwsClusterControlPlaneRootVolume struct { SizeGib *int64 `json:"sizeGib"` VolumeType *AwsClusterControlPlaneRootVolumeVolumeTypeEnum `json:"volumeType"` Iops *int64 `json:"iops"` KmsKeyArn *string `json:"kmsKeyArn"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlaneRootVolume *AwsClusterControlPlaneRootVolume = &AwsClusterControlPlaneRootVolume{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlaneRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlaneRootVolume) Empty ¶
func (r *AwsClusterControlPlaneRootVolume) Empty() bool
func (*AwsClusterControlPlaneRootVolume) HashCode ¶
func (r *AwsClusterControlPlaneRootVolume) HashCode() string
func (*AwsClusterControlPlaneRootVolume) String ¶
func (r *AwsClusterControlPlaneRootVolume) String() string
func (*AwsClusterControlPlaneRootVolume) UnmarshalJSON ¶
func (r *AwsClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error
type AwsClusterControlPlaneRootVolumeVolumeTypeEnum ¶
type AwsClusterControlPlaneRootVolumeVolumeTypeEnum string
The enum AwsClusterControlPlaneRootVolumeVolumeTypeEnum.
func AwsClusterControlPlaneRootVolumeVolumeTypeEnumRef ¶
func AwsClusterControlPlaneRootVolumeVolumeTypeEnumRef(s string) *AwsClusterControlPlaneRootVolumeVolumeTypeEnum
AwsClusterControlPlaneRootVolumeVolumeTypeEnumRef returns a *AwsClusterControlPlaneRootVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsClusterControlPlaneRootVolumeVolumeTypeEnum) Validate ¶
func (v AwsClusterControlPlaneRootVolumeVolumeTypeEnum) Validate() error
type AwsClusterControlPlaneSshConfig ¶
type AwsClusterControlPlaneSshConfig struct { Ec2KeyPair *string `json:"ec2KeyPair"` // contains filtered or unexported fields }
var EmptyAwsClusterControlPlaneSshConfig *AwsClusterControlPlaneSshConfig = &AwsClusterControlPlaneSshConfig{empty: true}
This object is used to assert a desired state where this AwsClusterControlPlaneSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterControlPlaneSshConfig) Empty ¶
func (r *AwsClusterControlPlaneSshConfig) Empty() bool
func (*AwsClusterControlPlaneSshConfig) HashCode ¶
func (r *AwsClusterControlPlaneSshConfig) HashCode() string
func (*AwsClusterControlPlaneSshConfig) String ¶
func (r *AwsClusterControlPlaneSshConfig) String() string
func (*AwsClusterControlPlaneSshConfig) UnmarshalJSON ¶
func (r *AwsClusterControlPlaneSshConfig) UnmarshalJSON(data []byte) error
type AwsClusterList ¶
type AwsClusterList struct { Items []*AwsCluster // contains filtered or unexported fields }
func (*AwsClusterList) HasNext ¶
func (l *AwsClusterList) HasNext() bool
type AwsClusterNetworking ¶
type AwsClusterNetworking struct { VPCId *string `json:"vpcId"` PodAddressCidrBlocks []string `json:"podAddressCidrBlocks"` ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"` ServiceLoadBalancerSubnetIds []string `json:"serviceLoadBalancerSubnetIds"` // contains filtered or unexported fields }
var EmptyAwsClusterNetworking *AwsClusterNetworking = &AwsClusterNetworking{empty: true}
This object is used to assert a desired state where this AwsClusterNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterNetworking) Empty ¶
func (r *AwsClusterNetworking) Empty() bool
func (*AwsClusterNetworking) HashCode ¶
func (r *AwsClusterNetworking) HashCode() string
func (*AwsClusterNetworking) String ¶
func (r *AwsClusterNetworking) String() string
func (*AwsClusterNetworking) UnmarshalJSON ¶
func (r *AwsClusterNetworking) UnmarshalJSON(data []byte) error
type AwsClusterStateEnum ¶
type AwsClusterStateEnum string
The enum AwsClusterStateEnum.
func AwsClusterStateEnumRef ¶
func AwsClusterStateEnumRef(s string) *AwsClusterStateEnum
AwsClusterStateEnumRef returns a *AwsClusterStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsClusterStateEnum) Validate ¶
func (v AwsClusterStateEnum) Validate() error
type AwsClusterWorkloadIdentityConfig ¶
type AwsClusterWorkloadIdentityConfig struct { IssuerUri *string `json:"issuerUri"` WorkloadPool *string `json:"workloadPool"` IdentityProvider *string `json:"identityProvider"` // contains filtered or unexported fields }
var EmptyAwsClusterWorkloadIdentityConfig *AwsClusterWorkloadIdentityConfig = &AwsClusterWorkloadIdentityConfig{empty: true}
This object is used to assert a desired state where this AwsClusterWorkloadIdentityConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsClusterWorkloadIdentityConfig) Empty ¶
func (r *AwsClusterWorkloadIdentityConfig) Empty() bool
func (*AwsClusterWorkloadIdentityConfig) HashCode ¶
func (r *AwsClusterWorkloadIdentityConfig) HashCode() string
func (*AwsClusterWorkloadIdentityConfig) String ¶
func (r *AwsClusterWorkloadIdentityConfig) String() string
func (*AwsClusterWorkloadIdentityConfig) UnmarshalJSON ¶
func (r *AwsClusterWorkloadIdentityConfig) UnmarshalJSON(data []byte) error
type AwsNodePool ¶
type AwsNodePool struct { Name *string `json:"name"` Version *string `json:"version"` Config *AwsNodePoolConfig `json:"config"` Autoscaling *AwsNodePoolAutoscaling `json:"autoscaling"` SubnetId *string `json:"subnetId"` State *AwsNodePoolStateEnum `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 *AwsNodePoolMaxPodsConstraint `json:"maxPodsConstraint"` Project *string `json:"project"` Location *string `json:"location"` AwsCluster *string `json:"awsCluster"` }
func (*AwsNodePool) Describe ¶
func (r *AwsNodePool) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AwsNodePool) ID ¶
func (r *AwsNodePool) ID() (string, error)
func (*AwsNodePool) String ¶
func (r *AwsNodePool) String() string
type AwsNodePoolAutoscaling ¶
type AwsNodePoolAutoscaling struct { MinNodeCount *int64 `json:"minNodeCount"` MaxNodeCount *int64 `json:"maxNodeCount"` // contains filtered or unexported fields }
var EmptyAwsNodePoolAutoscaling *AwsNodePoolAutoscaling = &AwsNodePoolAutoscaling{empty: true}
This object is used to assert a desired state where this AwsNodePoolAutoscaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolAutoscaling) Empty ¶
func (r *AwsNodePoolAutoscaling) Empty() bool
func (*AwsNodePoolAutoscaling) HashCode ¶
func (r *AwsNodePoolAutoscaling) HashCode() string
func (*AwsNodePoolAutoscaling) String ¶
func (r *AwsNodePoolAutoscaling) String() string
func (*AwsNodePoolAutoscaling) UnmarshalJSON ¶
func (r *AwsNodePoolAutoscaling) UnmarshalJSON(data []byte) error
type AwsNodePoolConfig ¶
type AwsNodePoolConfig struct { InstanceType *string `json:"instanceType"` RootVolume *AwsNodePoolConfigRootVolume `json:"rootVolume"` Taints []AwsNodePoolConfigTaints `json:"taints"` Labels map[string]string `json:"labels"` Tags map[string]string `json:"tags"` IamInstanceProfile *string `json:"iamInstanceProfile"` SshConfig *AwsNodePoolConfigSshConfig `json:"sshConfig"` SecurityGroupIds []string `json:"securityGroupIds"` // contains filtered or unexported fields }
var EmptyAwsNodePoolConfig *AwsNodePoolConfig = &AwsNodePoolConfig{empty: true}
This object is used to assert a desired state where this AwsNodePoolConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolConfig) Empty ¶
func (r *AwsNodePoolConfig) Empty() bool
func (*AwsNodePoolConfig) HashCode ¶
func (r *AwsNodePoolConfig) HashCode() string
func (*AwsNodePoolConfig) String ¶
func (r *AwsNodePoolConfig) String() string
func (*AwsNodePoolConfig) UnmarshalJSON ¶
func (r *AwsNodePoolConfig) UnmarshalJSON(data []byte) error
type AwsNodePoolConfigRootVolume ¶
type AwsNodePoolConfigRootVolume struct { SizeGib *int64 `json:"sizeGib"` VolumeType *AwsNodePoolConfigRootVolumeVolumeTypeEnum `json:"volumeType"` Iops *int64 `json:"iops"` KmsKeyArn *string `json:"kmsKeyArn"` // contains filtered or unexported fields }
var EmptyAwsNodePoolConfigRootVolume *AwsNodePoolConfigRootVolume = &AwsNodePoolConfigRootVolume{empty: true}
This object is used to assert a desired state where this AwsNodePoolConfigRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolConfigRootVolume) Empty ¶
func (r *AwsNodePoolConfigRootVolume) Empty() bool
func (*AwsNodePoolConfigRootVolume) HashCode ¶
func (r *AwsNodePoolConfigRootVolume) HashCode() string
func (*AwsNodePoolConfigRootVolume) String ¶
func (r *AwsNodePoolConfigRootVolume) String() string
func (*AwsNodePoolConfigRootVolume) UnmarshalJSON ¶
func (r *AwsNodePoolConfigRootVolume) UnmarshalJSON(data []byte) error
type AwsNodePoolConfigRootVolumeVolumeTypeEnum ¶
type AwsNodePoolConfigRootVolumeVolumeTypeEnum string
The enum AwsNodePoolConfigRootVolumeVolumeTypeEnum.
func AwsNodePoolConfigRootVolumeVolumeTypeEnumRef ¶
func AwsNodePoolConfigRootVolumeVolumeTypeEnumRef(s string) *AwsNodePoolConfigRootVolumeVolumeTypeEnum
AwsNodePoolConfigRootVolumeVolumeTypeEnumRef returns a *AwsNodePoolConfigRootVolumeVolumeTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsNodePoolConfigRootVolumeVolumeTypeEnum) Validate ¶
func (v AwsNodePoolConfigRootVolumeVolumeTypeEnum) Validate() error
type AwsNodePoolConfigSshConfig ¶
type AwsNodePoolConfigSshConfig struct { Ec2KeyPair *string `json:"ec2KeyPair"` // contains filtered or unexported fields }
var EmptyAwsNodePoolConfigSshConfig *AwsNodePoolConfigSshConfig = &AwsNodePoolConfigSshConfig{empty: true}
This object is used to assert a desired state where this AwsNodePoolConfigSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolConfigSshConfig) Empty ¶
func (r *AwsNodePoolConfigSshConfig) Empty() bool
func (*AwsNodePoolConfigSshConfig) HashCode ¶
func (r *AwsNodePoolConfigSshConfig) HashCode() string
func (*AwsNodePoolConfigSshConfig) String ¶
func (r *AwsNodePoolConfigSshConfig) String() string
func (*AwsNodePoolConfigSshConfig) UnmarshalJSON ¶
func (r *AwsNodePoolConfigSshConfig) UnmarshalJSON(data []byte) error
type AwsNodePoolConfigTaints ¶
type AwsNodePoolConfigTaints struct { Key *string `json:"key"` Value *string `json:"value"` Effect *AwsNodePoolConfigTaintsEffectEnum `json:"effect"` // contains filtered or unexported fields }
var EmptyAwsNodePoolConfigTaints *AwsNodePoolConfigTaints = &AwsNodePoolConfigTaints{empty: true}
This object is used to assert a desired state where this AwsNodePoolConfigTaints is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolConfigTaints) Empty ¶
func (r *AwsNodePoolConfigTaints) Empty() bool
func (*AwsNodePoolConfigTaints) HashCode ¶
func (r *AwsNodePoolConfigTaints) HashCode() string
func (*AwsNodePoolConfigTaints) String ¶
func (r *AwsNodePoolConfigTaints) String() string
func (*AwsNodePoolConfigTaints) UnmarshalJSON ¶
func (r *AwsNodePoolConfigTaints) UnmarshalJSON(data []byte) error
type AwsNodePoolConfigTaintsEffectEnum ¶
type AwsNodePoolConfigTaintsEffectEnum string
The enum AwsNodePoolConfigTaintsEffectEnum.
func AwsNodePoolConfigTaintsEffectEnumRef ¶
func AwsNodePoolConfigTaintsEffectEnumRef(s string) *AwsNodePoolConfigTaintsEffectEnum
AwsNodePoolConfigTaintsEffectEnumRef returns a *AwsNodePoolConfigTaintsEffectEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsNodePoolConfigTaintsEffectEnum) Validate ¶
func (v AwsNodePoolConfigTaintsEffectEnum) Validate() error
type AwsNodePoolList ¶
type AwsNodePoolList struct { Items []*AwsNodePool // contains filtered or unexported fields }
func (*AwsNodePoolList) HasNext ¶
func (l *AwsNodePoolList) HasNext() bool
type AwsNodePoolMaxPodsConstraint ¶
type AwsNodePoolMaxPodsConstraint struct { MaxPodsPerNode *int64 `json:"maxPodsPerNode"` // contains filtered or unexported fields }
var EmptyAwsNodePoolMaxPodsConstraint *AwsNodePoolMaxPodsConstraint = &AwsNodePoolMaxPodsConstraint{empty: true}
This object is used to assert a desired state where this AwsNodePoolMaxPodsConstraint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AwsNodePoolMaxPodsConstraint) Empty ¶
func (r *AwsNodePoolMaxPodsConstraint) Empty() bool
func (*AwsNodePoolMaxPodsConstraint) HashCode ¶
func (r *AwsNodePoolMaxPodsConstraint) HashCode() string
func (*AwsNodePoolMaxPodsConstraint) String ¶
func (r *AwsNodePoolMaxPodsConstraint) String() string
func (*AwsNodePoolMaxPodsConstraint) UnmarshalJSON ¶
func (r *AwsNodePoolMaxPodsConstraint) UnmarshalJSON(data []byte) error
type AwsNodePoolStateEnum ¶
type AwsNodePoolStateEnum string
The enum AwsNodePoolStateEnum.
func AwsNodePoolStateEnumRef ¶
func AwsNodePoolStateEnumRef(s string) *AwsNodePoolStateEnum
AwsNodePoolStateEnumRef returns a *AwsNodePoolStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AwsNodePoolStateEnum) Validate ¶
func (v AwsNodePoolStateEnum) Validate() error
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 AzureClientList ¶
type AzureClientList struct { Items []*AzureClient // contains filtered or unexported fields }
func (*AzureClientList) HasNext ¶
func (l *AzureClientList) HasNext() bool
type AzureCluster ¶
type AzureCluster struct { Name *string `json:"name"` Description *string `json:"description"` AzureRegion *string `json:"azureRegion"` ResourceGroupId *string `json:"resourceGroupId"` AzureClient *string `json:"azureClient"` Networking *AzureClusterNetworking `json:"networking"` ControlPlane *AzureClusterControlPlane `json:"controlPlane"` Authorization *AzureClusterAuthorization `json:"authorization"` State *AzureClusterStateEnum `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 *AzureClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"` Project *string `json:"project"` Location *string `json:"location"` }
func (*AzureCluster) Describe ¶
func (r *AzureCluster) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AzureCluster) ID ¶
func (r *AzureCluster) ID() (string, error)
func (*AzureCluster) String ¶
func (r *AzureCluster) String() string
type AzureClusterAuthorization ¶
type AzureClusterAuthorization struct { AdminUsers []AzureClusterAuthorizationAdminUsers `json:"adminUsers"` // contains filtered or unexported fields }
var EmptyAzureClusterAuthorization *AzureClusterAuthorization = &AzureClusterAuthorization{empty: true}
This object is used to assert a desired state where this AzureClusterAuthorization is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterAuthorization) Empty ¶
func (r *AzureClusterAuthorization) Empty() bool
func (*AzureClusterAuthorization) HashCode ¶
func (r *AzureClusterAuthorization) HashCode() string
func (*AzureClusterAuthorization) String ¶
func (r *AzureClusterAuthorization) String() string
func (*AzureClusterAuthorization) UnmarshalJSON ¶
func (r *AzureClusterAuthorization) UnmarshalJSON(data []byte) error
type AzureClusterAuthorizationAdminUsers ¶
type AzureClusterAuthorizationAdminUsers struct { Username *string `json:"username"` // contains filtered or unexported fields }
var EmptyAzureClusterAuthorizationAdminUsers *AzureClusterAuthorizationAdminUsers = &AzureClusterAuthorizationAdminUsers{empty: true}
This object is used to assert a desired state where this AzureClusterAuthorizationAdminUsers is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterAuthorizationAdminUsers) Empty ¶
func (r *AzureClusterAuthorizationAdminUsers) Empty() bool
func (*AzureClusterAuthorizationAdminUsers) HashCode ¶
func (r *AzureClusterAuthorizationAdminUsers) HashCode() string
func (*AzureClusterAuthorizationAdminUsers) String ¶
func (r *AzureClusterAuthorizationAdminUsers) String() string
func (*AzureClusterAuthorizationAdminUsers) UnmarshalJSON ¶
func (r *AzureClusterAuthorizationAdminUsers) UnmarshalJSON(data []byte) error
type AzureClusterControlPlane ¶
type AzureClusterControlPlane struct { Version *string `json:"version"` SubnetId *string `json:"subnetId"` VmSize *string `json:"vmSize"` SshConfig *AzureClusterControlPlaneSshConfig `json:"sshConfig"` RootVolume *AzureClusterControlPlaneRootVolume `json:"rootVolume"` MainVolume *AzureClusterControlPlaneMainVolume `json:"mainVolume"` DatabaseEncryption *AzureClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"` Tags map[string]string `json:"tags"` // contains filtered or unexported fields }
var EmptyAzureClusterControlPlane *AzureClusterControlPlane = &AzureClusterControlPlane{empty: true}
This object is used to assert a desired state where this AzureClusterControlPlane is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterControlPlane) Empty ¶
func (r *AzureClusterControlPlane) Empty() bool
func (*AzureClusterControlPlane) HashCode ¶
func (r *AzureClusterControlPlane) HashCode() string
func (*AzureClusterControlPlane) String ¶
func (r *AzureClusterControlPlane) String() string
func (*AzureClusterControlPlane) UnmarshalJSON ¶
func (r *AzureClusterControlPlane) UnmarshalJSON(data []byte) error
type AzureClusterControlPlaneDatabaseEncryption ¶
type AzureClusterControlPlaneDatabaseEncryption struct { ResourceGroupId *string `json:"resourceGroupId"` KmsKeyIdentifier *string `json:"kmsKeyIdentifier"` // contains filtered or unexported fields }
var EmptyAzureClusterControlPlaneDatabaseEncryption *AzureClusterControlPlaneDatabaseEncryption = &AzureClusterControlPlaneDatabaseEncryption{empty: true}
This object is used to assert a desired state where this AzureClusterControlPlaneDatabaseEncryption is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterControlPlaneDatabaseEncryption) Empty ¶
func (r *AzureClusterControlPlaneDatabaseEncryption) Empty() bool
func (*AzureClusterControlPlaneDatabaseEncryption) HashCode ¶
func (r *AzureClusterControlPlaneDatabaseEncryption) HashCode() string
func (*AzureClusterControlPlaneDatabaseEncryption) String ¶
func (r *AzureClusterControlPlaneDatabaseEncryption) String() string
func (*AzureClusterControlPlaneDatabaseEncryption) UnmarshalJSON ¶
func (r *AzureClusterControlPlaneDatabaseEncryption) UnmarshalJSON(data []byte) error
type AzureClusterControlPlaneMainVolume ¶
type AzureClusterControlPlaneMainVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyAzureClusterControlPlaneMainVolume *AzureClusterControlPlaneMainVolume = &AzureClusterControlPlaneMainVolume{empty: true}
This object is used to assert a desired state where this AzureClusterControlPlaneMainVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterControlPlaneMainVolume) Empty ¶
func (r *AzureClusterControlPlaneMainVolume) Empty() bool
func (*AzureClusterControlPlaneMainVolume) HashCode ¶
func (r *AzureClusterControlPlaneMainVolume) HashCode() string
func (*AzureClusterControlPlaneMainVolume) String ¶
func (r *AzureClusterControlPlaneMainVolume) String() string
func (*AzureClusterControlPlaneMainVolume) UnmarshalJSON ¶
func (r *AzureClusterControlPlaneMainVolume) UnmarshalJSON(data []byte) error
type AzureClusterControlPlaneRootVolume ¶
type AzureClusterControlPlaneRootVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyAzureClusterControlPlaneRootVolume *AzureClusterControlPlaneRootVolume = &AzureClusterControlPlaneRootVolume{empty: true}
This object is used to assert a desired state where this AzureClusterControlPlaneRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterControlPlaneRootVolume) Empty ¶
func (r *AzureClusterControlPlaneRootVolume) Empty() bool
func (*AzureClusterControlPlaneRootVolume) HashCode ¶
func (r *AzureClusterControlPlaneRootVolume) HashCode() string
func (*AzureClusterControlPlaneRootVolume) String ¶
func (r *AzureClusterControlPlaneRootVolume) String() string
func (*AzureClusterControlPlaneRootVolume) UnmarshalJSON ¶
func (r *AzureClusterControlPlaneRootVolume) UnmarshalJSON(data []byte) error
type AzureClusterControlPlaneSshConfig ¶
type AzureClusterControlPlaneSshConfig struct { AuthorizedKey *string `json:"authorizedKey"` // contains filtered or unexported fields }
var EmptyAzureClusterControlPlaneSshConfig *AzureClusterControlPlaneSshConfig = &AzureClusterControlPlaneSshConfig{empty: true}
This object is used to assert a desired state where this AzureClusterControlPlaneSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterControlPlaneSshConfig) Empty ¶
func (r *AzureClusterControlPlaneSshConfig) Empty() bool
func (*AzureClusterControlPlaneSshConfig) HashCode ¶
func (r *AzureClusterControlPlaneSshConfig) HashCode() string
func (*AzureClusterControlPlaneSshConfig) String ¶
func (r *AzureClusterControlPlaneSshConfig) String() string
func (*AzureClusterControlPlaneSshConfig) UnmarshalJSON ¶
func (r *AzureClusterControlPlaneSshConfig) UnmarshalJSON(data []byte) error
type AzureClusterList ¶
type AzureClusterList struct { Items []*AzureCluster // contains filtered or unexported fields }
func (*AzureClusterList) HasNext ¶
func (l *AzureClusterList) HasNext() bool
type AzureClusterNetworking ¶
type AzureClusterNetworking struct { VirtualNetworkId *string `json:"virtualNetworkId"` PodAddressCidrBlocks []string `json:"podAddressCidrBlocks"` ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"` // contains filtered or unexported fields }
var EmptyAzureClusterNetworking *AzureClusterNetworking = &AzureClusterNetworking{empty: true}
This object is used to assert a desired state where this AzureClusterNetworking is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterNetworking) Empty ¶
func (r *AzureClusterNetworking) Empty() bool
func (*AzureClusterNetworking) HashCode ¶
func (r *AzureClusterNetworking) HashCode() string
func (*AzureClusterNetworking) String ¶
func (r *AzureClusterNetworking) String() string
func (*AzureClusterNetworking) UnmarshalJSON ¶
func (r *AzureClusterNetworking) UnmarshalJSON(data []byte) error
type AzureClusterStateEnum ¶
type AzureClusterStateEnum string
The enum AzureClusterStateEnum.
func AzureClusterStateEnumRef ¶
func AzureClusterStateEnumRef(s string) *AzureClusterStateEnum
AzureClusterStateEnumRef returns a *AzureClusterStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AzureClusterStateEnum) Validate ¶
func (v AzureClusterStateEnum) Validate() error
type AzureClusterWorkloadIdentityConfig ¶
type AzureClusterWorkloadIdentityConfig struct { IssuerUri *string `json:"issuerUri"` WorkloadPool *string `json:"workloadPool"` IdentityProvider *string `json:"identityProvider"` // contains filtered or unexported fields }
var EmptyAzureClusterWorkloadIdentityConfig *AzureClusterWorkloadIdentityConfig = &AzureClusterWorkloadIdentityConfig{empty: true}
This object is used to assert a desired state where this AzureClusterWorkloadIdentityConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureClusterWorkloadIdentityConfig) Empty ¶
func (r *AzureClusterWorkloadIdentityConfig) Empty() bool
func (*AzureClusterWorkloadIdentityConfig) HashCode ¶
func (r *AzureClusterWorkloadIdentityConfig) HashCode() string
func (*AzureClusterWorkloadIdentityConfig) String ¶
func (r *AzureClusterWorkloadIdentityConfig) String() string
func (*AzureClusterWorkloadIdentityConfig) UnmarshalJSON ¶
func (r *AzureClusterWorkloadIdentityConfig) UnmarshalJSON(data []byte) error
type AzureNodePool ¶
type AzureNodePool struct { Name *string `json:"name"` Version *string `json:"version"` Config *AzureNodePoolConfig `json:"config"` SubnetId *string `json:"subnetId"` Autoscaling *AzureNodePoolAutoscaling `json:"autoscaling"` State *AzureNodePoolStateEnum `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 *AzureNodePoolMaxPodsConstraint `json:"maxPodsConstraint"` AzureAvailabilityZone *string `json:"azureAvailabilityZone"` Project *string `json:"project"` Location *string `json:"location"` AzureCluster *string `json:"azureCluster"` }
func (*AzureNodePool) Describe ¶
func (r *AzureNodePool) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*AzureNodePool) ID ¶
func (r *AzureNodePool) ID() (string, error)
func (*AzureNodePool) String ¶
func (r *AzureNodePool) String() string
type AzureNodePoolAutoscaling ¶
type AzureNodePoolAutoscaling struct { MinNodeCount *int64 `json:"minNodeCount"` MaxNodeCount *int64 `json:"maxNodeCount"` // contains filtered or unexported fields }
var EmptyAzureNodePoolAutoscaling *AzureNodePoolAutoscaling = &AzureNodePoolAutoscaling{empty: true}
This object is used to assert a desired state where this AzureNodePoolAutoscaling is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureNodePoolAutoscaling) Empty ¶
func (r *AzureNodePoolAutoscaling) Empty() bool
func (*AzureNodePoolAutoscaling) HashCode ¶
func (r *AzureNodePoolAutoscaling) HashCode() string
func (*AzureNodePoolAutoscaling) String ¶
func (r *AzureNodePoolAutoscaling) String() string
func (*AzureNodePoolAutoscaling) UnmarshalJSON ¶
func (r *AzureNodePoolAutoscaling) UnmarshalJSON(data []byte) error
type AzureNodePoolConfig ¶
type AzureNodePoolConfig struct { VmSize *string `json:"vmSize"` RootVolume *AzureNodePoolConfigRootVolume `json:"rootVolume"` Tags map[string]string `json:"tags"` SshConfig *AzureNodePoolConfigSshConfig `json:"sshConfig"` // contains filtered or unexported fields }
var EmptyAzureNodePoolConfig *AzureNodePoolConfig = &AzureNodePoolConfig{empty: true}
This object is used to assert a desired state where this AzureNodePoolConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureNodePoolConfig) Empty ¶
func (r *AzureNodePoolConfig) Empty() bool
func (*AzureNodePoolConfig) HashCode ¶
func (r *AzureNodePoolConfig) HashCode() string
func (*AzureNodePoolConfig) String ¶
func (r *AzureNodePoolConfig) String() string
func (*AzureNodePoolConfig) UnmarshalJSON ¶
func (r *AzureNodePoolConfig) UnmarshalJSON(data []byte) error
type AzureNodePoolConfigRootVolume ¶
type AzureNodePoolConfigRootVolume struct { SizeGib *int64 `json:"sizeGib"` // contains filtered or unexported fields }
var EmptyAzureNodePoolConfigRootVolume *AzureNodePoolConfigRootVolume = &AzureNodePoolConfigRootVolume{empty: true}
This object is used to assert a desired state where this AzureNodePoolConfigRootVolume is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureNodePoolConfigRootVolume) Empty ¶
func (r *AzureNodePoolConfigRootVolume) Empty() bool
func (*AzureNodePoolConfigRootVolume) HashCode ¶
func (r *AzureNodePoolConfigRootVolume) HashCode() string
func (*AzureNodePoolConfigRootVolume) String ¶
func (r *AzureNodePoolConfigRootVolume) String() string
func (*AzureNodePoolConfigRootVolume) UnmarshalJSON ¶
func (r *AzureNodePoolConfigRootVolume) UnmarshalJSON(data []byte) error
type AzureNodePoolConfigSshConfig ¶
type AzureNodePoolConfigSshConfig struct { AuthorizedKey *string `json:"authorizedKey"` // contains filtered or unexported fields }
var EmptyAzureNodePoolConfigSshConfig *AzureNodePoolConfigSshConfig = &AzureNodePoolConfigSshConfig{empty: true}
This object is used to assert a desired state where this AzureNodePoolConfigSshConfig is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureNodePoolConfigSshConfig) Empty ¶
func (r *AzureNodePoolConfigSshConfig) Empty() bool
func (*AzureNodePoolConfigSshConfig) HashCode ¶
func (r *AzureNodePoolConfigSshConfig) HashCode() string
func (*AzureNodePoolConfigSshConfig) String ¶
func (r *AzureNodePoolConfigSshConfig) String() string
func (*AzureNodePoolConfigSshConfig) UnmarshalJSON ¶
func (r *AzureNodePoolConfigSshConfig) UnmarshalJSON(data []byte) error
type AzureNodePoolList ¶
type AzureNodePoolList struct { Items []*AzureNodePool // contains filtered or unexported fields }
func (*AzureNodePoolList) HasNext ¶
func (l *AzureNodePoolList) HasNext() bool
type AzureNodePoolMaxPodsConstraint ¶
type AzureNodePoolMaxPodsConstraint struct { MaxPodsPerNode *int64 `json:"maxPodsPerNode"` // contains filtered or unexported fields }
var EmptyAzureNodePoolMaxPodsConstraint *AzureNodePoolMaxPodsConstraint = &AzureNodePoolMaxPodsConstraint{empty: true}
This object is used to assert a desired state where this AzureNodePoolMaxPodsConstraint is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AzureNodePoolMaxPodsConstraint) Empty ¶
func (r *AzureNodePoolMaxPodsConstraint) Empty() bool
func (*AzureNodePoolMaxPodsConstraint) HashCode ¶
func (r *AzureNodePoolMaxPodsConstraint) HashCode() string
func (*AzureNodePoolMaxPodsConstraint) String ¶
func (r *AzureNodePoolMaxPodsConstraint) String() string
func (*AzureNodePoolMaxPodsConstraint) UnmarshalJSON ¶
func (r *AzureNodePoolMaxPodsConstraint) UnmarshalJSON(data []byte) error
type AzureNodePoolStateEnum ¶
type AzureNodePoolStateEnum string
The enum AzureNodePoolStateEnum.
func AzureNodePoolStateEnumRef ¶
func AzureNodePoolStateEnumRef(s string) *AzureNodePoolStateEnum
AzureNodePoolStateEnumRef returns a *AzureNodePoolStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AzureNodePoolStateEnum) Validate ¶
func (v AzureNodePoolStateEnum) Validate() error
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) ApplyAwsCluster ¶
func (c *Client) ApplyAwsCluster(ctx context.Context, rawDesired *AwsCluster, opts ...dcl.ApplyOption) (*AwsCluster, error)
func (*Client) ApplyAwsNodePool ¶
func (c *Client) ApplyAwsNodePool(ctx context.Context, rawDesired *AwsNodePool, opts ...dcl.ApplyOption) (*AwsNodePool, error)
func (*Client) ApplyAzureClient ¶
func (c *Client) ApplyAzureClient(ctx context.Context, rawDesired *AzureClient, opts ...dcl.ApplyOption) (*AzureClient, error)
func (*Client) ApplyAzureCluster ¶
func (c *Client) ApplyAzureCluster(ctx context.Context, rawDesired *AzureCluster, opts ...dcl.ApplyOption) (*AzureCluster, error)
func (*Client) ApplyAzureNodePool ¶
func (c *Client) ApplyAzureNodePool(ctx context.Context, rawDesired *AzureNodePool, opts ...dcl.ApplyOption) (*AzureNodePool, error)
func (*Client) DeleteAllAwsCluster ¶
func (c *Client) DeleteAllAwsCluster(ctx context.Context, project, location string, filter func(*AwsCluster) bool) error
DeleteAllAwsCluster deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllAwsNodePool ¶
func (c *Client) DeleteAllAwsNodePool(ctx context.Context, project, location, awsCluster string, filter func(*AwsNodePool) bool) error
DeleteAllAwsNodePool deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllAzureClient ¶
func (c *Client) DeleteAllAzureClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error
DeleteAllAzureClient deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllAzureCluster ¶
func (c *Client) DeleteAllAzureCluster(ctx context.Context, project, location string, filter func(*AzureCluster) bool) error
DeleteAllAzureCluster deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllAzureNodePool ¶
func (c *Client) DeleteAllAzureNodePool(ctx context.Context, project, location, azureCluster string, filter func(*AzureNodePool) bool) error
DeleteAllAzureNodePool deletes all resources that the filter functions returns true on.
func (*Client) DeleteAwsCluster ¶
func (c *Client) DeleteAwsCluster(ctx context.Context, r *AwsCluster) error
func (*Client) DeleteAwsNodePool ¶
func (c *Client) DeleteAwsNodePool(ctx context.Context, r *AwsNodePool) error
func (*Client) DeleteAzureClient ¶
func (c *Client) DeleteAzureClient(ctx context.Context, r *AzureClient) error
func (*Client) DeleteAzureCluster ¶
func (c *Client) DeleteAzureCluster(ctx context.Context, r *AzureCluster) error
func (*Client) DeleteAzureNodePool ¶
func (c *Client) DeleteAzureNodePool(ctx context.Context, r *AzureNodePool) error
func (*Client) GetAwsCluster ¶
func (c *Client) GetAwsCluster(ctx context.Context, r *AwsCluster) (*AwsCluster, error)
func (*Client) GetAwsNodePool ¶
func (c *Client) GetAwsNodePool(ctx context.Context, r *AwsNodePool) (*AwsNodePool, error)
func (*Client) GetAzureClient ¶
func (c *Client) GetAzureClient(ctx context.Context, r *AzureClient) (*AzureClient, error)
func (*Client) GetAzureCluster ¶
func (c *Client) GetAzureCluster(ctx context.Context, r *AzureCluster) (*AzureCluster, error)
func (*Client) GetAzureNodePool ¶
func (c *Client) GetAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePool, error)
func (*Client) ListAwsCluster ¶
func (c *Client) ListAwsCluster(ctx context.Context, r *AwsCluster) (*AwsClusterList, error)
func (*Client) ListAwsClusterWithMaxResults ¶
func (c *Client) ListAwsClusterWithMaxResults(ctx context.Context, r *AwsCluster, pageSize int32) (*AwsClusterList, error)
func (*Client) ListAwsNodePool ¶
func (c *Client) ListAwsNodePool(ctx context.Context, r *AwsNodePool) (*AwsNodePoolList, error)
func (*Client) ListAwsNodePoolWithMaxResults ¶
func (c *Client) ListAwsNodePoolWithMaxResults(ctx context.Context, r *AwsNodePool, pageSize int32) (*AwsNodePoolList, error)
func (*Client) ListAzureClient ¶
func (c *Client) ListAzureClient(ctx context.Context, r *AzureClient) (*AzureClientList, error)
func (*Client) ListAzureClientWithMaxResults ¶
func (c *Client) ListAzureClientWithMaxResults(ctx context.Context, r *AzureClient, pageSize int32) (*AzureClientList, error)
func (*Client) ListAzureCluster ¶
func (c *Client) ListAzureCluster(ctx context.Context, r *AzureCluster) (*AzureClusterList, error)
func (*Client) ListAzureClusterWithMaxResults ¶
func (c *Client) ListAzureClusterWithMaxResults(ctx context.Context, r *AzureCluster, pageSize int32) (*AzureClusterList, error)
func (*Client) ListAzureNodePool ¶
func (c *Client) ListAzureNodePool(ctx context.Context, r *AzureNodePool) (*AzureNodePoolList, error)
func (*Client) ListAzureNodePoolWithMaxResults ¶
func (c *Client) ListAzureNodePoolWithMaxResults(ctx context.Context, r *AzureNodePool, pageSize int32) (*AzureNodePoolList, error)
Source Files ¶
- aws_cluster.go
- aws_cluster_alpha_yaml_embed.go
- aws_cluster_internal.go
- aws_node_pool.go
- aws_node_pool_alpha_yaml_embed.go
- aws_node_pool_internal.go
- azure_client.go
- azure_client_alpha_yaml_embed.go
- azure_client_internal.go
- azure_cluster.go
- azure_cluster_alpha_yaml_embed.go
- azure_cluster_internal.go
- azure_node_pool.go
- azure_node_pool_alpha_yaml_embed.go
- azure_node_pool_internal.go
- client.go