containerazure

package
v1.84.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 6

Documentation

Overview

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

Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 Google LLC. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

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

Variables

View Source
var YAML_azure_client []byte
View Source
var YAML_cluster []byte
View Source
var YAML_node_pool []byte

Functions

func DCLAzureClientSchema added in v1.10.3

func DCLAzureClientSchema() *dcl.Schema

func DCLClusterSchema added in v1.10.3

func DCLClusterSchema() *dcl.Schema

func DCLNodePoolSchema added in v1.10.3

func DCLNodePoolSchema() *dcl.Schema

Types

type AzureClient

type AzureClient struct {
	Name          *string `json:"name"`
	TenantId      *string `json:"tenantId"`
	ApplicationId *string `json:"applicationId"`
	Certificate   *string `json:"certificate"`
	Uid           *string `json:"uid"`
	CreateTime    *string `json:"createTime"`
	Project       *string `json:"project"`
	Location      *string `json:"location"`
}

func (*AzureClient) Describe

func (r *AzureClient) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*AzureClient) ID

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

func (*AzureClient) String

func (r *AzureClient) String() string

type Client

type Client struct {
	Config *dcl.Config
}

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

func NewClient

func NewClient(c *dcl.Config) *Client

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

func (*Client) ApplyClient

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

func (*Client) ApplyCluster

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

func (*Client) ApplyNodePool

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

func (*Client) DeleteAllClient

func (c *Client) DeleteAllClient(ctx context.Context, project, location string, filter func(*AzureClient) bool) error

DeleteAllClient deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllCluster

func (c *Client) DeleteAllCluster(ctx context.Context, project, location string, filter func(*Cluster) bool) error

DeleteAllCluster deletes all resources that the filter functions returns true on.

func (*Client) DeleteAllNodePool

func (c *Client) DeleteAllNodePool(ctx context.Context, project, location, cluster string, filter func(*NodePool) bool) error

DeleteAllNodePool deletes all resources that the filter functions returns true on.

func (*Client) DeleteClient

func (c *Client) DeleteClient(ctx context.Context, r *AzureClient) error

func (*Client) DeleteCluster

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

func (*Client) DeleteNodePool

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

func (*Client) GetClient

func (c *Client) GetClient(ctx context.Context, r *AzureClient) (*AzureClient, error)

func (*Client) GetCluster

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

func (*Client) GetNodePool

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

func (*Client) ListClient

func (c *Client) ListClient(ctx context.Context, project, location string) (*ClientList, error)

func (*Client) ListClientWithMaxResults

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

func (*Client) ListCluster

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

func (*Client) ListClusterWithMaxResults

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

func (*Client) ListNodePool

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

func (*Client) ListNodePoolWithMaxResults

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

type ClientList

type ClientList struct {
	Items []*AzureClient
	// contains filtered or unexported fields
}

func (*ClientList) HasNext

func (l *ClientList) HasNext() bool

func (*ClientList) Next

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

type Cluster

type Cluster struct {
	Name                        *string                             `json:"name"`
	Description                 *string                             `json:"description"`
	AzureRegion                 *string                             `json:"azureRegion"`
	ResourceGroupId             *string                             `json:"resourceGroupId"`
	Client                      *string                             `json:"client"`
	AzureServicesAuthentication *ClusterAzureServicesAuthentication `json:"azureServicesAuthentication"`
	Networking                  *ClusterNetworking                  `json:"networking"`
	ControlPlane                *ClusterControlPlane                `json:"controlPlane"`
	Authorization               *ClusterAuthorization               `json:"authorization"`
	State                       *ClusterStateEnum                   `json:"state"`
	Endpoint                    *string                             `json:"endpoint"`
	Uid                         *string                             `json:"uid"`
	Reconciling                 *bool                               `json:"reconciling"`
	CreateTime                  *string                             `json:"createTime"`
	UpdateTime                  *string                             `json:"updateTime"`
	Etag                        *string                             `json:"etag"`
	Annotations                 map[string]string                   `json:"annotations"`
	WorkloadIdentityConfig      *ClusterWorkloadIdentityConfig      `json:"workloadIdentityConfig"`
	Project                     *string                             `json:"project"`
	Location                    *string                             `json:"location"`
	Fleet                       *ClusterFleet                       `json:"fleet"`
}

func (*Cluster) Describe

func (r *Cluster) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*Cluster) ID

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

func (*Cluster) String

func (r *Cluster) String() string

type ClusterAuthorization

type ClusterAuthorization struct {
	AdminUsers  []ClusterAuthorizationAdminUsers  `json:"adminUsers"`
	AdminGroups []ClusterAuthorizationAdminGroups `json:"adminGroups"`
	// contains filtered or unexported fields
}
var EmptyClusterAuthorization *ClusterAuthorization = &ClusterAuthorization{empty: true}

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

func (*ClusterAuthorization) Empty

func (r *ClusterAuthorization) Empty() bool

func (*ClusterAuthorization) HashCode

func (r *ClusterAuthorization) HashCode() string

func (*ClusterAuthorization) String

func (r *ClusterAuthorization) String() string

func (*ClusterAuthorization) UnmarshalJSON

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

type ClusterAuthorizationAdminGroups added in v1.55.0

type ClusterAuthorizationAdminGroups struct {
	Group *string `json:"group"`
	// contains filtered or unexported fields
}
var EmptyClusterAuthorizationAdminGroups *ClusterAuthorizationAdminGroups = &ClusterAuthorizationAdminGroups{empty: true}

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

func (*ClusterAuthorizationAdminGroups) Empty added in v1.55.0

func (*ClusterAuthorizationAdminGroups) HashCode added in v1.55.0

func (*ClusterAuthorizationAdminGroups) String added in v1.55.0

func (*ClusterAuthorizationAdminGroups) UnmarshalJSON added in v1.55.0

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

type ClusterAuthorizationAdminUsers

type ClusterAuthorizationAdminUsers struct {
	Username *string `json:"username"`
	// contains filtered or unexported fields
}
var EmptyClusterAuthorizationAdminUsers *ClusterAuthorizationAdminUsers = &ClusterAuthorizationAdminUsers{empty: true}

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

func (*ClusterAuthorizationAdminUsers) Empty

func (*ClusterAuthorizationAdminUsers) HashCode

func (r *ClusterAuthorizationAdminUsers) HashCode() string

func (*ClusterAuthorizationAdminUsers) String

func (*ClusterAuthorizationAdminUsers) UnmarshalJSON

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

type ClusterAzureServicesAuthentication added in v1.33.0

type ClusterAzureServicesAuthentication struct {
	TenantId      *string `json:"tenantId"`
	ApplicationId *string `json:"applicationId"`
	// contains filtered or unexported fields
}
var EmptyClusterAzureServicesAuthentication *ClusterAzureServicesAuthentication = &ClusterAzureServicesAuthentication{empty: true}

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

func (*ClusterAzureServicesAuthentication) Empty added in v1.33.0

func (*ClusterAzureServicesAuthentication) HashCode added in v1.33.0

func (*ClusterAzureServicesAuthentication) String added in v1.33.0

func (*ClusterAzureServicesAuthentication) UnmarshalJSON added in v1.33.0

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

type ClusterControlPlane

type ClusterControlPlane struct {
	Version            *string                                `json:"version"`
	SubnetId           *string                                `json:"subnetId"`
	VmSize             *string                                `json:"vmSize"`
	SshConfig          *ClusterControlPlaneSshConfig          `json:"sshConfig"`
	RootVolume         *ClusterControlPlaneRootVolume         `json:"rootVolume"`
	MainVolume         *ClusterControlPlaneMainVolume         `json:"mainVolume"`
	DatabaseEncryption *ClusterControlPlaneDatabaseEncryption `json:"databaseEncryption"`
	Tags               map[string]string                      `json:"tags"`
	ProxyConfig        *ClusterControlPlaneProxyConfig        `json:"proxyConfig"`
	ReplicaPlacements  []ClusterControlPlaneReplicaPlacements `json:"replicaPlacements"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlane *ClusterControlPlane = &ClusterControlPlane{empty: true}

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

func (*ClusterControlPlane) Empty

func (r *ClusterControlPlane) Empty() bool

func (*ClusterControlPlane) HashCode

func (r *ClusterControlPlane) HashCode() string

func (*ClusterControlPlane) String

func (r *ClusterControlPlane) String() string

func (*ClusterControlPlane) UnmarshalJSON

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

type ClusterControlPlaneDatabaseEncryption

type ClusterControlPlaneDatabaseEncryption struct {
	KeyId *string `json:"keyId"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneDatabaseEncryption *ClusterControlPlaneDatabaseEncryption = &ClusterControlPlaneDatabaseEncryption{empty: true}

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

func (*ClusterControlPlaneDatabaseEncryption) Empty

func (*ClusterControlPlaneDatabaseEncryption) HashCode

func (*ClusterControlPlaneDatabaseEncryption) String

func (*ClusterControlPlaneDatabaseEncryption) UnmarshalJSON

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

type ClusterControlPlaneMainVolume

type ClusterControlPlaneMainVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneMainVolume *ClusterControlPlaneMainVolume = &ClusterControlPlaneMainVolume{empty: true}

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

func (*ClusterControlPlaneMainVolume) Empty

func (*ClusterControlPlaneMainVolume) HashCode

func (r *ClusterControlPlaneMainVolume) HashCode() string

func (*ClusterControlPlaneMainVolume) String

func (*ClusterControlPlaneMainVolume) UnmarshalJSON

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

type ClusterControlPlaneProxyConfig

type ClusterControlPlaneProxyConfig struct {
	ResourceGroupId *string `json:"resourceGroupId"`
	SecretId        *string `json:"secretId"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneProxyConfig *ClusterControlPlaneProxyConfig = &ClusterControlPlaneProxyConfig{empty: true}

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

func (*ClusterControlPlaneProxyConfig) Empty

func (*ClusterControlPlaneProxyConfig) HashCode

func (r *ClusterControlPlaneProxyConfig) HashCode() string

func (*ClusterControlPlaneProxyConfig) String

func (*ClusterControlPlaneProxyConfig) UnmarshalJSON

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

type ClusterControlPlaneReplicaPlacements

type ClusterControlPlaneReplicaPlacements struct {
	SubnetId              *string `json:"subnetId"`
	AzureAvailabilityZone *string `json:"azureAvailabilityZone"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneReplicaPlacements *ClusterControlPlaneReplicaPlacements = &ClusterControlPlaneReplicaPlacements{empty: true}

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

func (*ClusterControlPlaneReplicaPlacements) Empty

func (*ClusterControlPlaneReplicaPlacements) HashCode

func (*ClusterControlPlaneReplicaPlacements) String

func (*ClusterControlPlaneReplicaPlacements) UnmarshalJSON

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

type ClusterControlPlaneRootVolume

type ClusterControlPlaneRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneRootVolume *ClusterControlPlaneRootVolume = &ClusterControlPlaneRootVolume{empty: true}

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

func (*ClusterControlPlaneRootVolume) Empty

func (*ClusterControlPlaneRootVolume) HashCode

func (r *ClusterControlPlaneRootVolume) HashCode() string

func (*ClusterControlPlaneRootVolume) String

func (*ClusterControlPlaneRootVolume) UnmarshalJSON

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

type ClusterControlPlaneSshConfig

type ClusterControlPlaneSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneSshConfig *ClusterControlPlaneSshConfig = &ClusterControlPlaneSshConfig{empty: true}

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

func (*ClusterControlPlaneSshConfig) Empty

func (*ClusterControlPlaneSshConfig) HashCode

func (r *ClusterControlPlaneSshConfig) HashCode() string

func (*ClusterControlPlaneSshConfig) String

func (*ClusterControlPlaneSshConfig) UnmarshalJSON

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

type ClusterFleet

type ClusterFleet struct {
	Project    *string `json:"project"`
	Membership *string `json:"membership"`
	// contains filtered or unexported fields
}
var EmptyClusterFleet *ClusterFleet = &ClusterFleet{empty: true}

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

func (*ClusterFleet) Empty

func (r *ClusterFleet) Empty() bool

func (*ClusterFleet) HashCode

func (r *ClusterFleet) HashCode() string

func (*ClusterFleet) String

func (r *ClusterFleet) String() string

func (*ClusterFleet) UnmarshalJSON

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

type ClusterList

type ClusterList struct {
	Items []*Cluster
	// contains filtered or unexported fields
}

func (*ClusterList) HasNext

func (l *ClusterList) HasNext() bool

func (*ClusterList) Next

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

type ClusterNetworking

type ClusterNetworking struct {
	VirtualNetworkId         *string  `json:"virtualNetworkId"`
	PodAddressCidrBlocks     []string `json:"podAddressCidrBlocks"`
	ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks"`
	// contains filtered or unexported fields
}
var EmptyClusterNetworking *ClusterNetworking = &ClusterNetworking{empty: true}

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

func (*ClusterNetworking) Empty

func (r *ClusterNetworking) Empty() bool

func (*ClusterNetworking) HashCode

func (r *ClusterNetworking) HashCode() string

func (*ClusterNetworking) String

func (r *ClusterNetworking) String() string

func (*ClusterNetworking) UnmarshalJSON

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

type ClusterStateEnum

type ClusterStateEnum string

The enum ClusterStateEnum.

func ClusterStateEnumRef

func ClusterStateEnumRef(s string) *ClusterStateEnum

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

func (ClusterStateEnum) Validate

func (v ClusterStateEnum) Validate() error

type ClusterWorkloadIdentityConfig

type ClusterWorkloadIdentityConfig struct {
	IssuerUri        *string `json:"issuerUri"`
	WorkloadPool     *string `json:"workloadPool"`
	IdentityProvider *string `json:"identityProvider"`
	// contains filtered or unexported fields
}
var EmptyClusterWorkloadIdentityConfig *ClusterWorkloadIdentityConfig = &ClusterWorkloadIdentityConfig{empty: true}

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

func (*ClusterWorkloadIdentityConfig) Empty

func (*ClusterWorkloadIdentityConfig) HashCode

func (r *ClusterWorkloadIdentityConfig) HashCode() string

func (*ClusterWorkloadIdentityConfig) String

func (*ClusterWorkloadIdentityConfig) UnmarshalJSON

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

type NodePool

type NodePool struct {
	Name                  *string                    `json:"name"`
	Version               *string                    `json:"version"`
	Config                *NodePoolConfig            `json:"config"`
	SubnetId              *string                    `json:"subnetId"`
	Autoscaling           *NodePoolAutoscaling       `json:"autoscaling"`
	State                 *NodePoolStateEnum         `json:"state"`
	Uid                   *string                    `json:"uid"`
	Reconciling           *bool                      `json:"reconciling"`
	CreateTime            *string                    `json:"createTime"`
	UpdateTime            *string                    `json:"updateTime"`
	Etag                  *string                    `json:"etag"`
	Annotations           map[string]string          `json:"annotations"`
	MaxPodsConstraint     *NodePoolMaxPodsConstraint `json:"maxPodsConstraint"`
	Management            *NodePoolManagement        `json:"management"`
	AzureAvailabilityZone *string                    `json:"azureAvailabilityZone"`
	Project               *string                    `json:"project"`
	Location              *string                    `json:"location"`
	Cluster               *string                    `json:"cluster"`
}

func (*NodePool) Describe

func (r *NodePool) Describe() dcl.ServiceTypeVersion

Describe returns a simple description of this resource to ensure that automated tools can identify it.

func (*NodePool) ID

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

func (*NodePool) String

func (r *NodePool) String() string

type NodePoolAutoscaling

type NodePoolAutoscaling struct {
	MinNodeCount *int64 `json:"minNodeCount"`
	MaxNodeCount *int64 `json:"maxNodeCount"`
	// contains filtered or unexported fields
}
var EmptyNodePoolAutoscaling *NodePoolAutoscaling = &NodePoolAutoscaling{empty: true}

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

func (*NodePoolAutoscaling) Empty

func (r *NodePoolAutoscaling) Empty() bool

func (*NodePoolAutoscaling) HashCode

func (r *NodePoolAutoscaling) HashCode() string

func (*NodePoolAutoscaling) String

func (r *NodePoolAutoscaling) String() string

func (*NodePoolAutoscaling) UnmarshalJSON

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

type NodePoolConfig

type NodePoolConfig struct {
	VmSize      *string                    `json:"vmSize"`
	RootVolume  *NodePoolConfigRootVolume  `json:"rootVolume"`
	Tags        map[string]string          `json:"tags"`
	Labels      map[string]string          `json:"labels"`
	SshConfig   *NodePoolConfigSshConfig   `json:"sshConfig"`
	ProxyConfig *NodePoolConfigProxyConfig `json:"proxyConfig"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfig *NodePoolConfig = &NodePoolConfig{empty: true}

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

func (*NodePoolConfig) Empty

func (r *NodePoolConfig) Empty() bool

func (*NodePoolConfig) HashCode

func (r *NodePoolConfig) HashCode() string

func (*NodePoolConfig) String

func (r *NodePoolConfig) String() string

func (*NodePoolConfig) UnmarshalJSON

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

type NodePoolConfigProxyConfig added in v1.3.0

type NodePoolConfigProxyConfig struct {
	ResourceGroupId *string `json:"resourceGroupId"`
	SecretId        *string `json:"secretId"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigProxyConfig *NodePoolConfigProxyConfig = &NodePoolConfigProxyConfig{empty: true}

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

func (*NodePoolConfigProxyConfig) Empty added in v1.3.0

func (r *NodePoolConfigProxyConfig) Empty() bool

func (*NodePoolConfigProxyConfig) HashCode added in v1.3.0

func (r *NodePoolConfigProxyConfig) HashCode() string

func (*NodePoolConfigProxyConfig) String added in v1.3.0

func (r *NodePoolConfigProxyConfig) String() string

func (*NodePoolConfigProxyConfig) UnmarshalJSON added in v1.3.0

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

type NodePoolConfigRootVolume

type NodePoolConfigRootVolume struct {
	SizeGib *int64 `json:"sizeGib"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigRootVolume *NodePoolConfigRootVolume = &NodePoolConfigRootVolume{empty: true}

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

func (*NodePoolConfigRootVolume) Empty

func (r *NodePoolConfigRootVolume) Empty() bool

func (*NodePoolConfigRootVolume) HashCode

func (r *NodePoolConfigRootVolume) HashCode() string

func (*NodePoolConfigRootVolume) String

func (r *NodePoolConfigRootVolume) String() string

func (*NodePoolConfigRootVolume) UnmarshalJSON

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

type NodePoolConfigSshConfig

type NodePoolConfigSshConfig struct {
	AuthorizedKey *string `json:"authorizedKey"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigSshConfig *NodePoolConfigSshConfig = &NodePoolConfigSshConfig{empty: true}

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

func (*NodePoolConfigSshConfig) Empty

func (r *NodePoolConfigSshConfig) Empty() bool

func (*NodePoolConfigSshConfig) HashCode

func (r *NodePoolConfigSshConfig) HashCode() string

func (*NodePoolConfigSshConfig) String

func (r *NodePoolConfigSshConfig) String() string

func (*NodePoolConfigSshConfig) UnmarshalJSON

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

type NodePoolList

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

func (*NodePoolList) HasNext

func (l *NodePoolList) HasNext() bool

func (*NodePoolList) Next

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

type NodePoolManagement added in v1.51.0

type NodePoolManagement struct {
	AutoRepair *bool `json:"autoRepair"`
	// contains filtered or unexported fields
}
var EmptyNodePoolManagement *NodePoolManagement = &NodePoolManagement{empty: true}

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

func (*NodePoolManagement) Empty added in v1.51.0

func (r *NodePoolManagement) Empty() bool

func (*NodePoolManagement) HashCode added in v1.51.0

func (r *NodePoolManagement) HashCode() string

func (*NodePoolManagement) String added in v1.51.0

func (r *NodePoolManagement) String() string

func (*NodePoolManagement) UnmarshalJSON added in v1.51.0

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

type NodePoolMaxPodsConstraint

type NodePoolMaxPodsConstraint struct {
	MaxPodsPerNode *int64 `json:"maxPodsPerNode"`
	// contains filtered or unexported fields
}
var EmptyNodePoolMaxPodsConstraint *NodePoolMaxPodsConstraint = &NodePoolMaxPodsConstraint{empty: true}

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

func (*NodePoolMaxPodsConstraint) Empty

func (r *NodePoolMaxPodsConstraint) Empty() bool

func (*NodePoolMaxPodsConstraint) HashCode

func (r *NodePoolMaxPodsConstraint) HashCode() string

func (*NodePoolMaxPodsConstraint) String

func (r *NodePoolMaxPodsConstraint) String() string

func (*NodePoolMaxPodsConstraint) UnmarshalJSON

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

type NodePoolStateEnum

type NodePoolStateEnum string

The enum NodePoolStateEnum.

func NodePoolStateEnumRef

func NodePoolStateEnumRef(s string) *NodePoolStateEnum

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

func (NodePoolStateEnum) Validate

func (v NodePoolStateEnum) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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