alpha

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: 0

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. Package alpha 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 ClusterMaxPage = -1
View Source
const NodePoolMaxPage = -1

Variables

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

Functions

func DCLClusterSchema added in v1.10.3

func DCLClusterSchema() *dcl.Schema

func DCLNodePoolSchema added in v1.10.3

func DCLNodePoolSchema() *dcl.Schema

Types

type Client

type Client struct {
	Config *dcl.Config
}

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

func NewClient

func NewClient(c *dcl.Config) *Client

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

func (*Client) ApplyCluster

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

func (*Client) ApplyNodePool

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

func (*Client) DeleteAllCluster

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

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

func (*Client) DeleteAllNodePool

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

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

func (*Client) DeleteCluster

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

func (*Client) DeleteNodePool

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

func (*Client) GetCluster

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

func (*Client) GetNodePool

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

func (*Client) ListCluster

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

func (*Client) ListClusterWithMaxResults

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

func (*Client) ListNodePool

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

func (*Client) ListNodePoolWithMaxResults

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

type Cluster

type Cluster struct {
	Name                   *string                        `json:"name"`
	Description            *string                        `json:"description"`
	Networking             *ClusterNetworking             `json:"networking"`
	AwsRegion              *string                        `json:"awsRegion"`
	ControlPlane           *ClusterControlPlane           `json:"controlPlane"`
	Authorization          *ClusterAuthorization          `json:"authorization"`
	State                  *ClusterStateEnum              `json:"state"`
	Endpoint               *string                        `json:"endpoint"`
	Uid                    *string                        `json:"uid"`
	Reconciling            *bool                          `json:"reconciling"`
	CreateTime             *string                        `json:"createTime"`
	UpdateTime             *string                        `json:"updateTime"`
	Etag                   *string                        `json:"etag"`
	Annotations            map[string]string              `json:"annotations"`
	WorkloadIdentityConfig *ClusterWorkloadIdentityConfig `json:"workloadIdentityConfig"`
	Project                *string                        `json:"project"`
	Location               *string                        `json:"location"`
	Fleet                  *ClusterFleet                  `json:"fleet"`
	LoggingConfig          *ClusterLoggingConfig          `json:"loggingConfig"`
	MonitoringConfig       *ClusterMonitoringConfig       `json:"monitoringConfig"`
	BinaryAuthorization    *ClusterBinaryAuthorization    `json:"binaryAuthorization"`
}

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.54.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.54.0

func (*ClusterAuthorizationAdminGroups) HashCode added in v1.54.0

func (*ClusterAuthorizationAdminGroups) String added in v1.54.0

func (*ClusterAuthorizationAdminGroups) UnmarshalJSON added in v1.54.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 ClusterBinaryAuthorization added in v1.52.0

type ClusterBinaryAuthorization struct {
	EvaluationMode *ClusterBinaryAuthorizationEvaluationModeEnum `json:"evaluationMode"`
	// contains filtered or unexported fields
}
var EmptyClusterBinaryAuthorization *ClusterBinaryAuthorization = &ClusterBinaryAuthorization{empty: true}

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

func (*ClusterBinaryAuthorization) Empty added in v1.52.0

func (r *ClusterBinaryAuthorization) Empty() bool

func (*ClusterBinaryAuthorization) HashCode added in v1.52.0

func (r *ClusterBinaryAuthorization) HashCode() string

func (*ClusterBinaryAuthorization) String added in v1.52.0

func (r *ClusterBinaryAuthorization) String() string

func (*ClusterBinaryAuthorization) UnmarshalJSON added in v1.52.0

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

type ClusterBinaryAuthorizationEvaluationModeEnum added in v1.52.0

type ClusterBinaryAuthorizationEvaluationModeEnum string

The enum ClusterBinaryAuthorizationEvaluationModeEnum.

func ClusterBinaryAuthorizationEvaluationModeEnumRef added in v1.52.0

func ClusterBinaryAuthorizationEvaluationModeEnumRef(s string) *ClusterBinaryAuthorizationEvaluationModeEnum

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

func (ClusterBinaryAuthorizationEvaluationModeEnum) Validate added in v1.52.0

type ClusterControlPlane

type ClusterControlPlane struct {
	Version                   *string                                       `json:"version"`
	InstanceType              *string                                       `json:"instanceType"`
	SshConfig                 *ClusterControlPlaneSshConfig                 `json:"sshConfig"`
	SubnetIds                 []string                                      `json:"subnetIds"`
	ConfigEncryption          *ClusterControlPlaneConfigEncryption          `json:"configEncryption"`
	SecurityGroupIds          []string                                      `json:"securityGroupIds"`
	IamInstanceProfile        *string                                       `json:"iamInstanceProfile"`
	RootVolume                *ClusterControlPlaneRootVolume                `json:"rootVolume"`
	MainVolume                *ClusterControlPlaneMainVolume                `json:"mainVolume"`
	DatabaseEncryption        *ClusterControlPlaneDatabaseEncryption        `json:"databaseEncryption"`
	Tags                      map[string]string                             `json:"tags"`
	AwsServicesAuthentication *ClusterControlPlaneAwsServicesAuthentication `json:"awsServicesAuthentication"`
	ProxyConfig               *ClusterControlPlaneProxyConfig               `json:"proxyConfig"`
	InstancePlacement         *ClusterControlPlaneInstancePlacement         `json:"instancePlacement"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlane *ClusterControlPlane = &ClusterControlPlane{empty: true}

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

func (*ClusterControlPlane) Empty

func (r *ClusterControlPlane) Empty() bool

func (*ClusterControlPlane) HashCode

func (r *ClusterControlPlane) HashCode() string

func (*ClusterControlPlane) String

func (r *ClusterControlPlane) String() string

func (*ClusterControlPlane) UnmarshalJSON

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

type ClusterControlPlaneAwsServicesAuthentication

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

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

func (*ClusterControlPlaneAwsServicesAuthentication) Empty

func (*ClusterControlPlaneAwsServicesAuthentication) HashCode

func (*ClusterControlPlaneAwsServicesAuthentication) String

func (*ClusterControlPlaneAwsServicesAuthentication) UnmarshalJSON

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

type ClusterControlPlaneConfigEncryption

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

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

func (*ClusterControlPlaneConfigEncryption) Empty

func (*ClusterControlPlaneConfigEncryption) HashCode

func (*ClusterControlPlaneConfigEncryption) String

func (*ClusterControlPlaneConfigEncryption) UnmarshalJSON

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

type ClusterControlPlaneDatabaseEncryption

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

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

func (*ClusterControlPlaneDatabaseEncryption) Empty

func (*ClusterControlPlaneDatabaseEncryption) HashCode

func (*ClusterControlPlaneDatabaseEncryption) String

func (*ClusterControlPlaneDatabaseEncryption) UnmarshalJSON

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

type ClusterControlPlaneInstancePlacement added in v1.2.0

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

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

func (*ClusterControlPlaneInstancePlacement) Empty added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) HashCode added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) String added in v1.2.0

func (*ClusterControlPlaneInstancePlacement) UnmarshalJSON added in v1.2.0

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

type ClusterControlPlaneInstancePlacementTenancyEnum added in v1.2.0

type ClusterControlPlaneInstancePlacementTenancyEnum string

The enum ClusterControlPlaneInstancePlacementTenancyEnum.

func ClusterControlPlaneInstancePlacementTenancyEnumRef added in v1.2.0

func ClusterControlPlaneInstancePlacementTenancyEnumRef(s string) *ClusterControlPlaneInstancePlacementTenancyEnum

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

func (ClusterControlPlaneInstancePlacementTenancyEnum) Validate added in v1.2.0

type ClusterControlPlaneMainVolume

type ClusterControlPlaneMainVolume struct {
	SizeGib    *int64                                       `json:"sizeGib"`
	VolumeType *ClusterControlPlaneMainVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                       `json:"iops"`
	Throughput *int64                                       `json:"throughput"`
	KmsKeyArn  *string                                      `json:"kmsKeyArn"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneMainVolume *ClusterControlPlaneMainVolume = &ClusterControlPlaneMainVolume{empty: true}

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

func (*ClusterControlPlaneMainVolume) Empty

func (*ClusterControlPlaneMainVolume) HashCode

func (r *ClusterControlPlaneMainVolume) HashCode() string

func (*ClusterControlPlaneMainVolume) String

func (*ClusterControlPlaneMainVolume) UnmarshalJSON

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

type ClusterControlPlaneMainVolumeVolumeTypeEnum

type ClusterControlPlaneMainVolumeVolumeTypeEnum string

The enum ClusterControlPlaneMainVolumeVolumeTypeEnum.

func ClusterControlPlaneMainVolumeVolumeTypeEnumRef

func ClusterControlPlaneMainVolumeVolumeTypeEnumRef(s string) *ClusterControlPlaneMainVolumeVolumeTypeEnum

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

func (ClusterControlPlaneMainVolumeVolumeTypeEnum) Validate

type ClusterControlPlaneProxyConfig

type ClusterControlPlaneProxyConfig struct {
	SecretArn     *string `json:"secretArn"`
	SecretVersion *string `json:"secretVersion"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneProxyConfig *ClusterControlPlaneProxyConfig = &ClusterControlPlaneProxyConfig{empty: true}

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

func (*ClusterControlPlaneProxyConfig) Empty

func (*ClusterControlPlaneProxyConfig) HashCode

func (r *ClusterControlPlaneProxyConfig) HashCode() string

func (*ClusterControlPlaneProxyConfig) String

func (*ClusterControlPlaneProxyConfig) UnmarshalJSON

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

type ClusterControlPlaneRootVolume

type ClusterControlPlaneRootVolume struct {
	SizeGib    *int64                                       `json:"sizeGib"`
	VolumeType *ClusterControlPlaneRootVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                       `json:"iops"`
	Throughput *int64                                       `json:"throughput"`
	KmsKeyArn  *string                                      `json:"kmsKeyArn"`
	// contains filtered or unexported fields
}
var EmptyClusterControlPlaneRootVolume *ClusterControlPlaneRootVolume = &ClusterControlPlaneRootVolume{empty: true}

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

func (*ClusterControlPlaneRootVolume) Empty

func (*ClusterControlPlaneRootVolume) HashCode

func (r *ClusterControlPlaneRootVolume) HashCode() string

func (*ClusterControlPlaneRootVolume) String

func (*ClusterControlPlaneRootVolume) UnmarshalJSON

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

type ClusterControlPlaneRootVolumeVolumeTypeEnum

type ClusterControlPlaneRootVolumeVolumeTypeEnum string

The enum ClusterControlPlaneRootVolumeVolumeTypeEnum.

func ClusterControlPlaneRootVolumeVolumeTypeEnumRef

func ClusterControlPlaneRootVolumeVolumeTypeEnumRef(s string) *ClusterControlPlaneRootVolumeVolumeTypeEnum

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

func (ClusterControlPlaneRootVolumeVolumeTypeEnum) Validate

type ClusterControlPlaneSshConfig

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

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

func (*ClusterControlPlaneSshConfig) Empty

func (*ClusterControlPlaneSshConfig) HashCode

func (r *ClusterControlPlaneSshConfig) HashCode() string

func (*ClusterControlPlaneSshConfig) String

func (*ClusterControlPlaneSshConfig) UnmarshalJSON

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

type ClusterFleet

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

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

func (*ClusterFleet) Empty

func (r *ClusterFleet) Empty() bool

func (*ClusterFleet) HashCode

func (r *ClusterFleet) HashCode() string

func (*ClusterFleet) String

func (r *ClusterFleet) String() string

func (*ClusterFleet) UnmarshalJSON

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

type ClusterList

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

func (*ClusterList) HasNext

func (l *ClusterList) HasNext() bool

func (*ClusterList) Next

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

type ClusterLoggingConfig added in v1.2.0

type ClusterLoggingConfig struct {
	ComponentConfig *ClusterLoggingConfigComponentConfig `json:"componentConfig"`
	// contains filtered or unexported fields
}
var EmptyClusterLoggingConfig *ClusterLoggingConfig = &ClusterLoggingConfig{empty: true}

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

func (*ClusterLoggingConfig) Empty added in v1.2.0

func (r *ClusterLoggingConfig) Empty() bool

func (*ClusterLoggingConfig) HashCode added in v1.2.0

func (r *ClusterLoggingConfig) HashCode() string

func (*ClusterLoggingConfig) String added in v1.2.0

func (r *ClusterLoggingConfig) String() string

func (*ClusterLoggingConfig) UnmarshalJSON added in v1.2.0

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

type ClusterLoggingConfigComponentConfig added in v1.2.0

type ClusterLoggingConfigComponentConfig struct {
	EnableComponents []ClusterLoggingConfigComponentConfigEnableComponentsEnum `json:"enableComponents"`
	// contains filtered or unexported fields
}
var EmptyClusterLoggingConfigComponentConfig *ClusterLoggingConfigComponentConfig = &ClusterLoggingConfigComponentConfig{empty: true}

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

func (*ClusterLoggingConfigComponentConfig) Empty added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) HashCode added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) String added in v1.2.0

func (*ClusterLoggingConfigComponentConfig) UnmarshalJSON added in v1.2.0

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

type ClusterLoggingConfigComponentConfigEnableComponentsEnum added in v1.2.0

type ClusterLoggingConfigComponentConfigEnableComponentsEnum string

The enum ClusterLoggingConfigComponentConfigEnableComponentsEnum.

func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef added in v1.2.0

func ClusterLoggingConfigComponentConfigEnableComponentsEnumRef(s string) *ClusterLoggingConfigComponentConfigEnableComponentsEnum

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

func (ClusterLoggingConfigComponentConfigEnableComponentsEnum) Validate added in v1.2.0

type ClusterMonitoringConfig added in v1.23.0

type ClusterMonitoringConfig struct {
	ManagedPrometheusConfig *ClusterMonitoringConfigManagedPrometheusConfig `json:"managedPrometheusConfig"`
	// contains filtered or unexported fields
}
var EmptyClusterMonitoringConfig *ClusterMonitoringConfig = &ClusterMonitoringConfig{empty: true}

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

func (*ClusterMonitoringConfig) Empty added in v1.23.0

func (r *ClusterMonitoringConfig) Empty() bool

func (*ClusterMonitoringConfig) HashCode added in v1.23.0

func (r *ClusterMonitoringConfig) HashCode() string

func (*ClusterMonitoringConfig) String added in v1.23.0

func (r *ClusterMonitoringConfig) String() string

func (*ClusterMonitoringConfig) UnmarshalJSON added in v1.23.0

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

type ClusterMonitoringConfigManagedPrometheusConfig added in v1.23.0

type ClusterMonitoringConfigManagedPrometheusConfig struct {
	Enabled *bool `json:"enabled"`
	// contains filtered or unexported fields
}
var EmptyClusterMonitoringConfigManagedPrometheusConfig *ClusterMonitoringConfigManagedPrometheusConfig = &ClusterMonitoringConfigManagedPrometheusConfig{empty: true}

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

func (*ClusterMonitoringConfigManagedPrometheusConfig) Empty added in v1.23.0

func (*ClusterMonitoringConfigManagedPrometheusConfig) HashCode added in v1.23.0

func (*ClusterMonitoringConfigManagedPrometheusConfig) String added in v1.23.0

func (*ClusterMonitoringConfigManagedPrometheusConfig) UnmarshalJSON added in v1.23.0

type ClusterNetworking

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

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

func (*ClusterNetworking) Empty

func (r *ClusterNetworking) Empty() bool

func (*ClusterNetworking) HashCode

func (r *ClusterNetworking) HashCode() string

func (*ClusterNetworking) String

func (r *ClusterNetworking) String() string

func (*ClusterNetworking) UnmarshalJSON

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

type ClusterStateEnum

type ClusterStateEnum string

The enum ClusterStateEnum.

func ClusterStateEnumRef

func ClusterStateEnumRef(s string) *ClusterStateEnum

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

func (ClusterStateEnum) Validate

func (v ClusterStateEnum) Validate() error

type ClusterWorkloadIdentityConfig

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

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

func (*ClusterWorkloadIdentityConfig) Empty

func (*ClusterWorkloadIdentityConfig) HashCode

func (r *ClusterWorkloadIdentityConfig) HashCode() string

func (*ClusterWorkloadIdentityConfig) String

func (*ClusterWorkloadIdentityConfig) UnmarshalJSON

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

type NodePool

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

func (*NodePool) Describe

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

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

func (*NodePool) ID

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

func (*NodePool) String

func (r *NodePool) String() string

type NodePoolAutoscaling

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

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

func (*NodePoolAutoscaling) Empty

func (r *NodePoolAutoscaling) Empty() bool

func (*NodePoolAutoscaling) HashCode

func (r *NodePoolAutoscaling) HashCode() string

func (*NodePoolAutoscaling) String

func (r *NodePoolAutoscaling) String() string

func (*NodePoolAutoscaling) UnmarshalJSON

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

type NodePoolConfig

type NodePoolConfig struct {
	InstanceType                 *string                                     `json:"instanceType"`
	RootVolume                   *NodePoolConfigRootVolume                   `json:"rootVolume"`
	Taints                       []NodePoolConfigTaints                      `json:"taints"`
	Labels                       map[string]string                           `json:"labels"`
	Tags                         map[string]string                           `json:"tags"`
	IamInstanceProfile           *string                                     `json:"iamInstanceProfile"`
	ConfigEncryption             *NodePoolConfigConfigEncryption             `json:"configEncryption"`
	SshConfig                    *NodePoolConfigSshConfig                    `json:"sshConfig"`
	SpotConfig                   *NodePoolConfigSpotConfig                   `json:"spotConfig"`
	SecurityGroupIds             []string                                    `json:"securityGroupIds"`
	ProxyConfig                  *NodePoolConfigProxyConfig                  `json:"proxyConfig"`
	InstancePlacement            *NodePoolConfigInstancePlacement            `json:"instancePlacement"`
	ImageType                    *string                                     `json:"imageType"`
	AutoscalingMetricsCollection *NodePoolConfigAutoscalingMetricsCollection `json:"autoscalingMetricsCollection"`
	// 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 NodePoolConfigAutoscalingMetricsCollection added in v1.31.0

type NodePoolConfigAutoscalingMetricsCollection struct {
	Granularity *string  `json:"granularity"`
	Metrics     []string `json:"metrics"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigAutoscalingMetricsCollection *NodePoolConfigAutoscalingMetricsCollection = &NodePoolConfigAutoscalingMetricsCollection{empty: true}

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

func (*NodePoolConfigAutoscalingMetricsCollection) Empty added in v1.31.0

func (*NodePoolConfigAutoscalingMetricsCollection) HashCode added in v1.31.0

func (*NodePoolConfigAutoscalingMetricsCollection) String added in v1.31.0

func (*NodePoolConfigAutoscalingMetricsCollection) UnmarshalJSON added in v1.31.0

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

type NodePoolConfigConfigEncryption

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

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

func (*NodePoolConfigConfigEncryption) Empty

func (*NodePoolConfigConfigEncryption) HashCode

func (r *NodePoolConfigConfigEncryption) HashCode() string

func (*NodePoolConfigConfigEncryption) String

func (*NodePoolConfigConfigEncryption) UnmarshalJSON

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

type NodePoolConfigInstancePlacement added in v1.2.0

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

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

func (*NodePoolConfigInstancePlacement) Empty added in v1.2.0

func (*NodePoolConfigInstancePlacement) HashCode added in v1.2.0

func (*NodePoolConfigInstancePlacement) String added in v1.2.0

func (*NodePoolConfigInstancePlacement) UnmarshalJSON added in v1.2.0

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

type NodePoolConfigInstancePlacementTenancyEnum added in v1.2.0

type NodePoolConfigInstancePlacementTenancyEnum string

The enum NodePoolConfigInstancePlacementTenancyEnum.

func NodePoolConfigInstancePlacementTenancyEnumRef added in v1.2.0

func NodePoolConfigInstancePlacementTenancyEnumRef(s string) *NodePoolConfigInstancePlacementTenancyEnum

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

func (NodePoolConfigInstancePlacementTenancyEnum) Validate added in v1.2.0

type NodePoolConfigProxyConfig added in v1.5.1

type NodePoolConfigProxyConfig struct {
	SecretArn     *string `json:"secretArn"`
	SecretVersion *string `json:"secretVersion"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigProxyConfig *NodePoolConfigProxyConfig = &NodePoolConfigProxyConfig{empty: true}

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

func (*NodePoolConfigProxyConfig) Empty added in v1.5.1

func (r *NodePoolConfigProxyConfig) Empty() bool

func (*NodePoolConfigProxyConfig) HashCode added in v1.5.1

func (r *NodePoolConfigProxyConfig) HashCode() string

func (*NodePoolConfigProxyConfig) String added in v1.5.1

func (r *NodePoolConfigProxyConfig) String() string

func (*NodePoolConfigProxyConfig) UnmarshalJSON added in v1.5.1

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

type NodePoolConfigRootVolume

type NodePoolConfigRootVolume struct {
	SizeGib    *int64                                  `json:"sizeGib"`
	VolumeType *NodePoolConfigRootVolumeVolumeTypeEnum `json:"volumeType"`
	Iops       *int64                                  `json:"iops"`
	Throughput *int64                                  `json:"throughput"`
	KmsKeyArn  *string                                 `json:"kmsKeyArn"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigRootVolume *NodePoolConfigRootVolume = &NodePoolConfigRootVolume{empty: true}

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

func (*NodePoolConfigRootVolume) Empty

func (r *NodePoolConfigRootVolume) Empty() bool

func (*NodePoolConfigRootVolume) HashCode

func (r *NodePoolConfigRootVolume) HashCode() string

func (*NodePoolConfigRootVolume) String

func (r *NodePoolConfigRootVolume) String() string

func (*NodePoolConfigRootVolume) UnmarshalJSON

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

type NodePoolConfigRootVolumeVolumeTypeEnum

type NodePoolConfigRootVolumeVolumeTypeEnum string

The enum NodePoolConfigRootVolumeVolumeTypeEnum.

func NodePoolConfigRootVolumeVolumeTypeEnumRef

func NodePoolConfigRootVolumeVolumeTypeEnumRef(s string) *NodePoolConfigRootVolumeVolumeTypeEnum

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

func (NodePoolConfigRootVolumeVolumeTypeEnum) Validate

type NodePoolConfigSpotConfig added in v1.40.0

type NodePoolConfigSpotConfig struct {
	InstanceTypes []string `json:"instanceTypes"`
	// contains filtered or unexported fields
}
var EmptyNodePoolConfigSpotConfig *NodePoolConfigSpotConfig = &NodePoolConfigSpotConfig{empty: true}

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

func (*NodePoolConfigSpotConfig) Empty added in v1.40.0

func (r *NodePoolConfigSpotConfig) Empty() bool

func (*NodePoolConfigSpotConfig) HashCode added in v1.40.0

func (r *NodePoolConfigSpotConfig) HashCode() string

func (*NodePoolConfigSpotConfig) String added in v1.40.0

func (r *NodePoolConfigSpotConfig) String() string

func (*NodePoolConfigSpotConfig) UnmarshalJSON added in v1.40.0

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

type NodePoolConfigSshConfig

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

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

func (*NodePoolConfigSshConfig) Empty

func (r *NodePoolConfigSshConfig) Empty() bool

func (*NodePoolConfigSshConfig) HashCode

func (r *NodePoolConfigSshConfig) HashCode() string

func (*NodePoolConfigSshConfig) String

func (r *NodePoolConfigSshConfig) String() string

func (*NodePoolConfigSshConfig) UnmarshalJSON

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

type NodePoolConfigTaints

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

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

func (*NodePoolConfigTaints) Empty

func (r *NodePoolConfigTaints) Empty() bool

func (*NodePoolConfigTaints) HashCode

func (r *NodePoolConfigTaints) HashCode() string

func (*NodePoolConfigTaints) String

func (r *NodePoolConfigTaints) String() string

func (*NodePoolConfigTaints) UnmarshalJSON

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

type NodePoolConfigTaintsEffectEnum

type NodePoolConfigTaintsEffectEnum string

The enum NodePoolConfigTaintsEffectEnum.

func NodePoolConfigTaintsEffectEnumRef

func NodePoolConfigTaintsEffectEnumRef(s string) *NodePoolConfigTaintsEffectEnum

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

func (NodePoolConfigTaintsEffectEnum) Validate

type NodePoolKubeletConfig added in v1.73.0

type NodePoolKubeletConfig struct {
	CpuManagerPolicy  *NodePoolKubeletConfigCpuManagerPolicyEnum `json:"cpuManagerPolicy"`
	CpuCfsQuota       *bool                                      `json:"cpuCfsQuota"`
	CpuCfsQuotaPeriod *string                                    `json:"cpuCfsQuotaPeriod"`
	PodPidsLimit      *int64                                     `json:"podPidsLimit"`
	// contains filtered or unexported fields
}
var EmptyNodePoolKubeletConfig *NodePoolKubeletConfig = &NodePoolKubeletConfig{empty: true}

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

func (*NodePoolKubeletConfig) Empty added in v1.73.0

func (r *NodePoolKubeletConfig) Empty() bool

func (*NodePoolKubeletConfig) HashCode added in v1.73.0

func (r *NodePoolKubeletConfig) HashCode() string

func (*NodePoolKubeletConfig) String added in v1.73.0

func (r *NodePoolKubeletConfig) String() string

func (*NodePoolKubeletConfig) UnmarshalJSON added in v1.73.0

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

type NodePoolKubeletConfigCpuManagerPolicyEnum added in v1.73.0

type NodePoolKubeletConfigCpuManagerPolicyEnum string

The enum NodePoolKubeletConfigCpuManagerPolicyEnum.

func NodePoolKubeletConfigCpuManagerPolicyEnumRef added in v1.73.0

func NodePoolKubeletConfigCpuManagerPolicyEnumRef(s string) *NodePoolKubeletConfigCpuManagerPolicyEnum

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

func (NodePoolKubeletConfigCpuManagerPolicyEnum) Validate added in v1.73.0

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

type NodePoolUpdateSettings added in v1.52.0

type NodePoolUpdateSettings struct {
	SurgeSettings *NodePoolUpdateSettingsSurgeSettings `json:"surgeSettings"`
	// contains filtered or unexported fields
}
var EmptyNodePoolUpdateSettings *NodePoolUpdateSettings = &NodePoolUpdateSettings{empty: true}

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

func (*NodePoolUpdateSettings) Empty added in v1.52.0

func (r *NodePoolUpdateSettings) Empty() bool

func (*NodePoolUpdateSettings) HashCode added in v1.52.0

func (r *NodePoolUpdateSettings) HashCode() string

func (*NodePoolUpdateSettings) String added in v1.52.0

func (r *NodePoolUpdateSettings) String() string

func (*NodePoolUpdateSettings) UnmarshalJSON added in v1.52.0

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

type NodePoolUpdateSettingsSurgeSettings added in v1.52.0

type NodePoolUpdateSettingsSurgeSettings struct {
	MaxSurge       *int64 `json:"maxSurge"`
	MaxUnavailable *int64 `json:"maxUnavailable"`
	// contains filtered or unexported fields
}
var EmptyNodePoolUpdateSettingsSurgeSettings *NodePoolUpdateSettingsSurgeSettings = &NodePoolUpdateSettingsSurgeSettings{empty: true}

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

func (*NodePoolUpdateSettingsSurgeSettings) Empty added in v1.52.0

func (*NodePoolUpdateSettingsSurgeSettings) HashCode added in v1.52.0

func (*NodePoolUpdateSettingsSurgeSettings) String added in v1.52.0

func (*NodePoolUpdateSettingsSurgeSettings) UnmarshalJSON added in v1.52.0

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

Jump to

Keyboard shortcuts

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