container

package
v0.0.0-...-51c3e5b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NodeTaint_Effect_name = map[int32]string{
		0: "EFFECT_UNSPECIFIED",
		1: "NO_SCHEDULE",
		2: "PREFER_NO_SCHEDULE",
		3: "NO_EXECUTE",
	}
	NodeTaint_Effect_value = map[string]int32{
		"EFFECT_UNSPECIFIED": 0,
		"NO_SCHEDULE":        1,
		"PREFER_NO_SCHEDULE": 2,
		"NO_EXECUTE":         3,
	}
)

Enum value maps for NodeTaint_Effect.

View Source
var (
	NetworkPolicy_Provider_name = map[int32]string{
		0: "PROVIDER_UNSPECIFIED",
		1: "CALICO",
	}
	NetworkPolicy_Provider_value = map[string]int32{
		"PROVIDER_UNSPECIFIED": 0,
		"CALICO":               1,
	}
)

Enum value maps for NetworkPolicy_Provider.

View Source
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		3: "RECONCILING",
		4: "STOPPING",
		5: "ERROR",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PROVISIONING":       1,
		"RUNNING":            2,
		"RECONCILING":        3,
		"STOPPING":           4,
		"ERROR":              5,
	}
)

Enum value maps for Cluster_Status.

View Source
var (
	Operation_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
		4: "ABORTING",
	}
	Operation_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"RUNNING":            2,
		"DONE":               3,
		"ABORTING":           4,
	}
)

Enum value maps for Operation_Status.

View Source
var (
	Operation_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "CREATE_CLUSTER",
		2:  "DELETE_CLUSTER",
		3:  "UPGRADE_MASTER",
		4:  "UPGRADE_NODES",
		5:  "REPAIR_CLUSTER",
		6:  "UPDATE_CLUSTER",
		7:  "CREATE_NODE_POOL",
		8:  "DELETE_NODE_POOL",
		9:  "SET_NODE_POOL_MANAGEMENT",
		10: "AUTO_REPAIR_NODES",
		11: "AUTO_UPGRADE_NODES",
		12: "SET_LABELS",
		13: "SET_MASTER_AUTH",
		14: "SET_NODE_POOL_SIZE",
		15: "SET_NETWORK_POLICY",
		16: "SET_MAINTENANCE_POLICY",
	}
	Operation_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":         0,
		"CREATE_CLUSTER":           1,
		"DELETE_CLUSTER":           2,
		"UPGRADE_MASTER":           3,
		"UPGRADE_NODES":            4,
		"REPAIR_CLUSTER":           5,
		"UPDATE_CLUSTER":           6,
		"CREATE_NODE_POOL":         7,
		"DELETE_NODE_POOL":         8,
		"SET_NODE_POOL_MANAGEMENT": 9,
		"AUTO_REPAIR_NODES":        10,
		"AUTO_UPGRADE_NODES":       11,
		"SET_LABELS":               12,
		"SET_MASTER_AUTH":          13,
		"SET_NODE_POOL_SIZE":       14,
		"SET_NETWORK_POLICY":       15,
		"SET_MAINTENANCE_POLICY":   16,
	}
)

Enum value maps for Operation_Type.

View Source
var (
	SetMasterAuthRequest_Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "SET_PASSWORD",
		2: "GENERATE_PASSWORD",
		3: "SET_USERNAME",
	}
	SetMasterAuthRequest_Action_value = map[string]int32{
		"UNKNOWN":           0,
		"SET_PASSWORD":      1,
		"GENERATE_PASSWORD": 2,
		"SET_USERNAME":      3,
	}
)

Enum value maps for SetMasterAuthRequest_Action.

View Source
var (
	NodePool_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		3: "RUNNING_WITH_ERROR",
		4: "RECONCILING",
		5: "STOPPING",
		6: "ERROR",
	}
	NodePool_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PROVISIONING":       1,
		"RUNNING":            2,
		"RUNNING_WITH_ERROR": 3,
		"RECONCILING":        4,
		"STOPPING":           5,
		"ERROR":              6,
	}
)

Enum value maps for NodePool_Status.

View Source
var File_google_container_v1alpha1_cluster_service_proto protoreflect.FileDescriptor

Functions

func RegisterClusterManagerServer

func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)

Types

type AcceleratorConfig

type AcceleratorConfig struct {

	// The number of the accelerator cards exposed to an instance.
	AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
	// The accelerator type resource name. List of supported accelerators
	// [here](/compute/docs/gpus/#Introduction)
	AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"`
	// contains filtered or unexported fields
}

AcceleratorConfig represents a Hardware Accelerator request.

func (*AcceleratorConfig) Descriptor deprecated

func (*AcceleratorConfig) Descriptor() ([]byte, []int)

Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.

func (*AcceleratorConfig) GetAcceleratorCount

func (x *AcceleratorConfig) GetAcceleratorCount() int64

func (*AcceleratorConfig) GetAcceleratorType

func (x *AcceleratorConfig) GetAcceleratorType() string

func (*AcceleratorConfig) ProtoMessage

func (*AcceleratorConfig) ProtoMessage()

func (*AcceleratorConfig) ProtoReflect

func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message

func (*AcceleratorConfig) Reset

func (x *AcceleratorConfig) Reset()

func (*AcceleratorConfig) String

func (x *AcceleratorConfig) String() string

type AddonsConfig

type AddonsConfig struct {

	// Configuration for the HTTP (L7) load balancing controller addon, which
	// makes it easy to set up HTTP load balancers for services in a cluster.
	HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"`
	// Configuration for the horizontal pod autoscaling feature, which
	// increases or decreases the number of replica pods a replication controller
	// has based on the resource usage of the existing pods.
	HorizontalPodAutoscaling *HorizontalPodAutoscaling `` /* 135-byte string literal not displayed */
	// Configuration for the Kubernetes Dashboard.
	KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"`
	// Configuration for NetworkPolicy. This only tracks whether the addon
	// is enabled or not on the Master, it does not track whether network policy
	// is enabled for the nodes.
	NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

func (*AddonsConfig) Descriptor deprecated

func (*AddonsConfig) Descriptor() ([]byte, []int)

Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.

func (*AddonsConfig) GetHorizontalPodAutoscaling

func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling

func (*AddonsConfig) GetHttpLoadBalancing

func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing

func (*AddonsConfig) GetKubernetesDashboard

func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard

func (*AddonsConfig) GetNetworkPolicyConfig

func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig

func (*AddonsConfig) ProtoMessage

func (*AddonsConfig) ProtoMessage()

func (*AddonsConfig) ProtoReflect

func (x *AddonsConfig) ProtoReflect() protoreflect.Message

func (*AddonsConfig) Reset

func (x *AddonsConfig) Reset()

func (*AddonsConfig) String

func (x *AddonsConfig) String() string

type AutoUpgradeOptions

type AutoUpgradeOptions struct {

	// [Output only] This field is set when upgrades are about to commence
	// with the approximate start time for the upgrades, in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"`
	// [Output only] This field is set when upgrades are about to commence
	// with the description of the upgrade.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.

func (*AutoUpgradeOptions) Descriptor deprecated

func (*AutoUpgradeOptions) Descriptor() ([]byte, []int)

Deprecated: Use AutoUpgradeOptions.ProtoReflect.Descriptor instead.

func (*AutoUpgradeOptions) GetAutoUpgradeStartTime

func (x *AutoUpgradeOptions) GetAutoUpgradeStartTime() string

func (*AutoUpgradeOptions) GetDescription

func (x *AutoUpgradeOptions) GetDescription() string

func (*AutoUpgradeOptions) ProtoMessage

func (*AutoUpgradeOptions) ProtoMessage()

func (*AutoUpgradeOptions) ProtoReflect

func (x *AutoUpgradeOptions) ProtoReflect() protoreflect.Message

func (*AutoUpgradeOptions) Reset

func (x *AutoUpgradeOptions) Reset()

func (*AutoUpgradeOptions) String

func (x *AutoUpgradeOptions) String() string

type CancelOperationRequest

type CancelOperationRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the operation resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The server-assigned `name` of the operation.
	// This field is deprecated, use name instead.
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// The name (project, location, operation id) of the operation to cancel.
	// Specified in the format 'projects/*/locations/*/operations/*'.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CancelOperationRequest cancels a single operation.

func (*CancelOperationRequest) Descriptor deprecated

func (*CancelOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.

func (*CancelOperationRequest) GetName

func (x *CancelOperationRequest) GetName() string

func (*CancelOperationRequest) GetOperationId

func (x *CancelOperationRequest) GetOperationId() string

func (*CancelOperationRequest) GetProjectId

func (x *CancelOperationRequest) GetProjectId() string

func (*CancelOperationRequest) GetZone

func (x *CancelOperationRequest) GetZone() string

func (*CancelOperationRequest) ProtoMessage

func (*CancelOperationRequest) ProtoMessage()

func (*CancelOperationRequest) ProtoReflect

func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message

func (*CancelOperationRequest) Reset

func (x *CancelOperationRequest) Reset()

func (*CancelOperationRequest) String

func (x *CancelOperationRequest) String() string

type ClientCertificateConfig

type ClientCertificateConfig struct {

	// Issue a client certificate.
	IssueClientCertificate bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for client certificates on the cluster.

func (*ClientCertificateConfig) Descriptor deprecated

func (*ClientCertificateConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientCertificateConfig.ProtoReflect.Descriptor instead.

func (*ClientCertificateConfig) GetIssueClientCertificate

func (x *ClientCertificateConfig) GetIssueClientCertificate() bool

func (*ClientCertificateConfig) ProtoMessage

func (*ClientCertificateConfig) ProtoMessage()

func (*ClientCertificateConfig) ProtoReflect

func (x *ClientCertificateConfig) ProtoReflect() protoreflect.Message

func (*ClientCertificateConfig) Reset

func (x *ClientCertificateConfig) Reset()

func (*ClientCertificateConfig) String

func (x *ClientCertificateConfig) String() string

type Cluster

type Cluster struct {

	// The name of this cluster. The name must be unique within this project
	// and zone, and can be up to 40 characters with the following restrictions:
	//
	// * Lowercase letters, numbers, and hyphens only.
	// * Must start with a letter.
	// * Must end with a number or a letter.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An optional description of this cluster.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The number of nodes to create in this cluster. You must ensure that your
	// Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
	// is sufficient for this number of instances. You must also have available
	// firewall and routes quota.
	// For requests, this field should only be used in lieu of a
	// "node_pool" object, since this configuration (along with the
	// "node_config") will be used to create a "NodePool" object with an
	// auto-generated name. Do not use this and a node_pool at the same time.
	InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
	// Parameters used in creating the cluster's nodes.
	// See `nodeConfig` for the description of its properties.
	// For requests, this field should only be used in lieu of a
	// "node_pool" object, since this configuration (along with the
	// "initial_node_count") will be used to create a "NodePool" object with an
	// auto-generated name. Do not use this and a node_pool at the same time.
	// For responses, this field will be populated with the node configuration of
	// the first node pool.
	//
	// If unspecified, the defaults are used.
	NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
	// The authentication information for accessing the master endpoint.
	MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"`
	// The logging service the cluster should use to write logs.
	// Currently available options:
	//
	// * `logging.googleapis.com` - the Google Cloud Logging service.
	// * `none` - no logs will be exported from the cluster.
	// * if left as an empty string,`logging.googleapis.com` will be used.
	LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
	// The monitoring service the cluster should use to write metrics.
	// Currently available options:
	//
	// * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
	// * `none` - no metrics will be exported from the cluster.
	// * if left as an empty string, `monitoring.googleapis.com` will be used.
	MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
	// The name of the Google Compute Engine
	// [network](/compute/docs/networks-and-firewalls#networks) to which the
	// cluster is connected. If left unspecified, the `default` network
	// will be used.
	Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
	// The IP address range of the container pods in this cluster, in
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`). Leave blank to have
	// one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
	ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
	// Configurations for the various addons available to run in the cluster.
	AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
	// The name of the Google Compute Engine
	// [subnetwork](/compute/docs/subnetworks) to which the
	// cluster is connected.
	Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// The node pools associated with this cluster.
	// This field should not be set if "node_config" or "initial_node_count" are
	// specified.
	NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
	// The list of Google Compute Engine
	// [locations](/compute/docs/zones#available) in which the cluster's nodes
	// should be located.
	Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
	// Kubernetes alpha features are enabled on this cluster. This includes alpha
	// API groups (e.g. v1alpha1) and features that may not be production ready in
	// the kubernetes version of the master and nodes.
	// The cluster has no SLA for uptime and master/node upgrades are disabled.
	// Alpha enabled clusters are automatically deleted thirty days after
	// creation.
	EnableKubernetesAlpha bool `` /* 128-byte string literal not displayed */
	// Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
	// Configuration for cluster IP allocation.
	IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"`
	// The configuration options for master authorized networks feature.
	MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 156-byte string literal not displayed */
	// Configure the maintenance policy for this cluster.
	MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
	// Configuration for the PodSecurityPolicy feature.
	PodSecurityPolicyConfig *PodSecurityPolicyConfig `` /* 135-byte string literal not displayed */
	// [Output only] Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// [Output only] The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use location instead.
	Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"`
	// [Output only] The IP address of this cluster's master endpoint.
	// The endpoint can be accessed from the internet at
	// `https://username:password@endpoint/`.
	//
	// See the `masterAuth` property of this resource for username and
	// password information.
	Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// The initial Kubernetes version for this cluster.  Valid versions are those
	// found in validMasterVersions returned by getServerConfig.  The version can
	// be upgraded over time; such upgrades are reflected in
	// currentMasterVersion and currentNodeVersion.
	InitialClusterVersion string `` /* 128-byte string literal not displayed */
	// [Output only] The current software version of the master endpoint.
	CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"`
	// [Output only] The current version of the node software components.
	// If they are currently at multiple versions because they're in the process
	// of being upgraded, this reflects the minimum version of all nodes.
	CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"`
	// [Output only] The time the cluster was created, in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// [Output only] The current status of this cluster.
	Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1alpha1.Cluster_Status" json:"status,omitempty"`
	// [Output only] Additional information about the current status of this
	// cluster, if available.
	StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// [Output only] The size of the address space on each node for hosting
	// containers. This is provisioned from within the `container_ipv4_cidr`
	// range.
	NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"`
	// [Output only] The IP address range of the Kubernetes services in
	// this cluster, in
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `1.2.3.4/29`). Service addresses are
	// typically put in the last `/16` from the container CIDR.
	ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
	// [Output only] The resource URLs of [instance
	// groups](/compute/docs/instance-groups/) associated with this
	// cluster.
	InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
	// [Output only] The number of nodes currently in the cluster.
	CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"`
	// [Output only] The time the cluster will be automatically
	// deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// [Output only] The name of the Google Compute Engine
	// [zone](/compute/docs/regions-zones/regions-zones#available) or
	// [region](/compute/docs/regions-zones/regions-zones#available) in which
	// the cluster resides.
	Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

A Google Container Engine cluster.

func (*Cluster) Descriptor deprecated

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAddonsConfig

func (x *Cluster) GetAddonsConfig() *AddonsConfig

func (*Cluster) GetClusterIpv4Cidr

func (x *Cluster) GetClusterIpv4Cidr() string

func (*Cluster) GetCreateTime

func (x *Cluster) GetCreateTime() string

func (*Cluster) GetCurrentMasterVersion

func (x *Cluster) GetCurrentMasterVersion() string

func (*Cluster) GetCurrentNodeCount

func (x *Cluster) GetCurrentNodeCount() int32

func (*Cluster) GetCurrentNodeVersion

func (x *Cluster) GetCurrentNodeVersion() string

func (*Cluster) GetDescription

func (x *Cluster) GetDescription() string

func (*Cluster) GetEnableKubernetesAlpha

func (x *Cluster) GetEnableKubernetesAlpha() bool

func (*Cluster) GetEndpoint

func (x *Cluster) GetEndpoint() string

func (*Cluster) GetExpireTime

func (x *Cluster) GetExpireTime() string

func (*Cluster) GetInitialClusterVersion

func (x *Cluster) GetInitialClusterVersion() string

func (*Cluster) GetInitialNodeCount

func (x *Cluster) GetInitialNodeCount() int32

func (*Cluster) GetInstanceGroupUrls

func (x *Cluster) GetInstanceGroupUrls() []string

func (*Cluster) GetIpAllocationPolicy

func (x *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy

func (*Cluster) GetLocation

func (x *Cluster) GetLocation() string

func (*Cluster) GetLocations

func (x *Cluster) GetLocations() []string

func (*Cluster) GetLoggingService

func (x *Cluster) GetLoggingService() string

func (*Cluster) GetMaintenancePolicy

func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy

func (*Cluster) GetMasterAuth

func (x *Cluster) GetMasterAuth() *MasterAuth

func (*Cluster) GetMasterAuthorizedNetworksConfig

func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*Cluster) GetMonitoringService

func (x *Cluster) GetMonitoringService() string

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetwork

func (x *Cluster) GetNetwork() string

func (*Cluster) GetNetworkPolicy

func (x *Cluster) GetNetworkPolicy() *NetworkPolicy

func (*Cluster) GetNodeConfig

func (x *Cluster) GetNodeConfig() *NodeConfig

func (*Cluster) GetNodeIpv4CidrSize

func (x *Cluster) GetNodeIpv4CidrSize() int32

func (*Cluster) GetNodePools

func (x *Cluster) GetNodePools() []*NodePool

func (*Cluster) GetPodSecurityPolicyConfig

func (x *Cluster) GetPodSecurityPolicyConfig() *PodSecurityPolicyConfig
func (x *Cluster) GetSelfLink() string

func (*Cluster) GetServicesIpv4Cidr

func (x *Cluster) GetServicesIpv4Cidr() string

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) GetStatusMessage

func (x *Cluster) GetStatusMessage() string

func (*Cluster) GetSubnetwork

func (x *Cluster) GetSubnetwork() string

func (*Cluster) GetZone

func (x *Cluster) GetZone() string

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

type ClusterManagerClient

type ClusterManagerClient interface {
	// Lists all clusters owned by a project in either the specified zone or all
	// zones.
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Gets the details of a specific cluster.
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Creates a cluster, consisting of the specified number and type of Google
	// Compute Engine instances.
	//
	// By default, the cluster is created in the project's
	// [default network](/compute/docs/networks-and-firewalls#networks).
	//
	// One firewall is added for the cluster. After cluster creation,
	// the cluster creates routes for each node to allow the containers
	// on that node to communicate with all other instances in the
	// cluster.
	//
	// Finally, an entry is added to the project's global metadata indicating
	// which CIDR range is being used by the cluster.
	CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the settings of a specific cluster.
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the version and/or iamge type of a specific node pool.
	UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the autoscaling settings of a specific node pool.
	SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the logging service of a specific cluster.
	SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the monitoring service of a specific cluster.
	SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the addons of a specific cluster.
	SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the locations of a specific cluster.
	SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the master of a specific cluster.
	UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Used to set master auth materials. Currently supports :-
	// Changing the admin password of a specific cluster.
	// This can be either via password generation or explicitly set.
	// Modify basic_auth.csv and reset the K8S API server.
	SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deletes the cluster, including the Kubernetes endpoint and all worker
	// nodes.
	//
	// Firewalls and routes that were configured during cluster creation
	// are also deleted.
	//
	// Other Google Compute Engine resources that might be in use by the cluster
	// (e.g. load balancer resources) will not be deleted if they weren't present
	// at the initial create time.
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists all operations in a project in a specific zone or all zones.
	ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error)
	// Gets the specified operation.
	GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error)
	// Cancels the specified operation.
	CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns configuration info about the Container Engine service.
	GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error)
	// Lists the node pools for a cluster.
	ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error)
	// Retrieves the node pool requested.
	GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error)
	// Creates a node pool for a cluster.
	CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deletes a node pool from a cluster.
	DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
	// Roll back the previously Aborted or Failed NodePool upgrade.
	// This will be an no-op if the last upgrade successfully completed.
	RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the NodeManagement options for a node pool.
	SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets labels on a cluster.
	SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error)
	// Enables or disables the ABAC authorization mechanism on a cluster.
	SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error)
	// Start master IP rotation.
	StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error)
	// Completes master IP rotation.
	CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the size of a specific node pool.
	SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error)
	// Enables/Disables Network Policy for a cluster.
	SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the maintenance policy for a cluster.
	SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error)
}

ClusterManagerClient is the client API for ClusterManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ClusterManagerServer

type ClusterManagerServer interface {
	// Lists all clusters owned by a project in either the specified zone or all
	// zones.
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Gets the details of a specific cluster.
	GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
	// Creates a cluster, consisting of the specified number and type of Google
	// Compute Engine instances.
	//
	// By default, the cluster is created in the project's
	// [default network](/compute/docs/networks-and-firewalls#networks).
	//
	// One firewall is added for the cluster. After cluster creation,
	// the cluster creates routes for each node to allow the containers
	// on that node to communicate with all other instances in the
	// cluster.
	//
	// Finally, an entry is added to the project's global metadata indicating
	// which CIDR range is being used by the cluster.
	CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error)
	// Updates the settings of a specific cluster.
	UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error)
	// Updates the version and/or iamge type of a specific node pool.
	UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error)
	// Sets the autoscaling settings of a specific node pool.
	SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error)
	// Sets the logging service of a specific cluster.
	SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error)
	// Sets the monitoring service of a specific cluster.
	SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error)
	// Sets the addons of a specific cluster.
	SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error)
	// Sets the locations of a specific cluster.
	SetLocations(context.Context, *SetLocationsRequest) (*Operation, error)
	// Updates the master of a specific cluster.
	UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error)
	// Used to set master auth materials. Currently supports :-
	// Changing the admin password of a specific cluster.
	// This can be either via password generation or explicitly set.
	// Modify basic_auth.csv and reset the K8S API server.
	SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error)
	// Deletes the cluster, including the Kubernetes endpoint and all worker
	// nodes.
	//
	// Firewalls and routes that were configured during cluster creation
	// are also deleted.
	//
	// Other Google Compute Engine resources that might be in use by the cluster
	// (e.g. load balancer resources) will not be deleted if they weren't present
	// at the initial create time.
	DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error)
	// Lists all operations in a project in a specific zone or all zones.
	ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
	// Gets the specified operation.
	GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
	// Cancels the specified operation.
	CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error)
	// Returns configuration info about the Container Engine service.
	GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
	// Lists the node pools for a cluster.
	ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
	// Retrieves the node pool requested.
	GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
	// Creates a node pool for a cluster.
	CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error)
	// Deletes a node pool from a cluster.
	DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error)
	// Roll back the previously Aborted or Failed NodePool upgrade.
	// This will be an no-op if the last upgrade successfully completed.
	RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error)
	// Sets the NodeManagement options for a node pool.
	SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error)
	// Sets labels on a cluster.
	SetLabels(context.Context, *SetLabelsRequest) (*Operation, error)
	// Enables or disables the ABAC authorization mechanism on a cluster.
	SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error)
	// Start master IP rotation.
	StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error)
	// Completes master IP rotation.
	CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error)
	// Sets the size of a specific node pool.
	SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error)
	// Enables/Disables Network Policy for a cluster.
	SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error)
	// Sets the maintenance policy for a cluster.
	SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error)
}

ClusterManagerServer is the server API for ClusterManager service.

type ClusterUpdate

type ClusterUpdate struct {

	// The Kubernetes version to change the nodes to (typically an
	// upgrade). Use `-` to upgrade to the latest version supported by
	// the server.
	DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"`
	// The monitoring service the cluster should use to write metrics.
	// Currently available options:
	//
	// * "monitoring.googleapis.com" - the Google Cloud Monitoring service
	// * "none" - no metrics will be exported from the cluster
	DesiredMonitoringService string `` /* 135-byte string literal not displayed */
	// Configurations for the various addons available to run in the cluster.
	DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"`
	// The node pool to be upgraded. This field is mandatory if
	// "desired_node_version", "desired_image_family" or
	// "desired_node_pool_autoscaling" is specified and there is more than one
	// node pool on the cluster.
	DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"`
	// The desired image type for the node pool.
	// NOTE: Set the "desired_node_pool" field as well.
	DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"`
	// Autoscaler configuration for the node pool specified in
	// desired_node_pool_id. If there is only one pool in the
	// cluster and desired_node_pool_id is not provided then
	// the change applies to that single node pool.
	DesiredNodePoolAutoscaling *NodePoolAutoscaling `` /* 143-byte string literal not displayed */
	// The desired list of Google Compute Engine
	// [locations](/compute/docs/zones#available) in which the cluster's nodes
	// should be located. Changing the locations a cluster is in will result
	// in nodes being either created or removed from the cluster, depending on
	// whether locations are being added or removed.
	//
	// This list must always include the cluster's primary zone.
	DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"`
	// The desired configuration options for master authorized networks feature.
	DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 179-byte string literal not displayed */
	// The desired configuration options for the PodSecurityPolicy feature.
	DesiredPodSecurityPolicyConfig *PodSecurityPolicyConfig `` /* 158-byte string literal not displayed */
	// The Kubernetes version to change the master to. The only valid value is the
	// latest supported version. Use "-" to have the server automatically select
	// the latest version.
	DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"`
	// contains filtered or unexported fields
}

ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.

func (*ClusterUpdate) Descriptor deprecated

func (*ClusterUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.

func (*ClusterUpdate) GetDesiredAddonsConfig

func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig

func (*ClusterUpdate) GetDesiredImageType

func (x *ClusterUpdate) GetDesiredImageType() string

func (*ClusterUpdate) GetDesiredLocations

func (x *ClusterUpdate) GetDesiredLocations() []string

func (*ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig

func (x *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*ClusterUpdate) GetDesiredMasterVersion

func (x *ClusterUpdate) GetDesiredMasterVersion() string

func (*ClusterUpdate) GetDesiredMonitoringService

func (x *ClusterUpdate) GetDesiredMonitoringService() string

func (*ClusterUpdate) GetDesiredNodePoolAutoscaling

func (x *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling

func (*ClusterUpdate) GetDesiredNodePoolId

func (x *ClusterUpdate) GetDesiredNodePoolId() string

func (*ClusterUpdate) GetDesiredNodeVersion

func (x *ClusterUpdate) GetDesiredNodeVersion() string

func (*ClusterUpdate) GetDesiredPodSecurityPolicyConfig

func (x *ClusterUpdate) GetDesiredPodSecurityPolicyConfig() *PodSecurityPolicyConfig

func (*ClusterUpdate) ProtoMessage

func (*ClusterUpdate) ProtoMessage()

func (*ClusterUpdate) ProtoReflect

func (x *ClusterUpdate) ProtoReflect() protoreflect.Message

func (*ClusterUpdate) Reset

func (x *ClusterUpdate) Reset()

func (*ClusterUpdate) String

func (x *ClusterUpdate) String() string

type Cluster_Status

type Cluster_Status int32

The current status of the cluster.

const (
	// Not set.
	Cluster_STATUS_UNSPECIFIED Cluster_Status = 0
	// The PROVISIONING state indicates the cluster is being created.
	Cluster_PROVISIONING Cluster_Status = 1
	// The RUNNING state indicates the cluster has been created and is fully
	// usable.
	Cluster_RUNNING Cluster_Status = 2
	// The RECONCILING state indicates that some work is actively being done on
	// the cluster, such as upgrading the master or node software. Details can
	// be found in the `statusMessage` field.
	Cluster_RECONCILING Cluster_Status = 3
	// The STOPPING state indicates the cluster is being deleted.
	Cluster_STOPPING Cluster_Status = 4
	// The ERROR state indicates the cluster may be unusable. Details
	// can be found in the `statusMessage` field.
	Cluster_ERROR Cluster_Status = 5
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

func (Cluster_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type CompleteIPRotationRequest

type CompleteIPRotationRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster id) of the cluster to complete IP rotation.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CompleteIPRotationRequest moves the cluster master back into single-IP mode.

func (*CompleteIPRotationRequest) Descriptor deprecated

func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteIPRotationRequest.ProtoReflect.Descriptor instead.

func (*CompleteIPRotationRequest) GetClusterId

func (x *CompleteIPRotationRequest) GetClusterId() string

func (*CompleteIPRotationRequest) GetName

func (x *CompleteIPRotationRequest) GetName() string

func (*CompleteIPRotationRequest) GetProjectId

func (x *CompleteIPRotationRequest) GetProjectId() string

func (*CompleteIPRotationRequest) GetZone

func (x *CompleteIPRotationRequest) GetZone() string

func (*CompleteIPRotationRequest) ProtoMessage

func (*CompleteIPRotationRequest) ProtoMessage()

func (*CompleteIPRotationRequest) ProtoReflect

func (*CompleteIPRotationRequest) Reset

func (x *CompleteIPRotationRequest) Reset()

func (*CompleteIPRotationRequest) String

func (x *CompleteIPRotationRequest) String() string

type CreateClusterRequest

type CreateClusterRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use parent instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use parent instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// A [cluster
	// resource](/container-engine/reference/rest/v1alpha1/projects.zones.clusters)
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// The parent (project and location) where the cluster will be created.
	// Specified in the format 'projects/*/locations/*'.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateClusterRequest creates a cluster.

func (*CreateClusterRequest) Descriptor deprecated

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetParent

func (x *CreateClusterRequest) GetParent() string

func (*CreateClusterRequest) GetProjectId

func (x *CreateClusterRequest) GetProjectId() string

func (*CreateClusterRequest) GetZone

func (x *CreateClusterRequest) GetZone() string

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type CreateNodePoolRequest

type CreateNodePoolRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use parent instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use parent instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use parent instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The node pool to create.
	NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
	// The parent (project, location, cluster id) where the node pool will be created.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateNodePoolRequest creates a node pool for a cluster.

func (*CreateNodePoolRequest) Descriptor deprecated

func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*CreateNodePoolRequest) GetClusterId

func (x *CreateNodePoolRequest) GetClusterId() string

func (*CreateNodePoolRequest) GetNodePool

func (x *CreateNodePoolRequest) GetNodePool() *NodePool

func (*CreateNodePoolRequest) GetParent

func (x *CreateNodePoolRequest) GetParent() string

func (*CreateNodePoolRequest) GetProjectId

func (x *CreateNodePoolRequest) GetProjectId() string

func (*CreateNodePoolRequest) GetZone

func (x *CreateNodePoolRequest) GetZone() string

func (*CreateNodePoolRequest) ProtoMessage

func (*CreateNodePoolRequest) ProtoMessage()

func (*CreateNodePoolRequest) ProtoReflect

func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*CreateNodePoolRequest) Reset

func (x *CreateNodePoolRequest) Reset()

func (*CreateNodePoolRequest) String

func (x *CreateNodePoolRequest) String() string

type DailyMaintenanceWindow

type DailyMaintenanceWindow struct {

	// Time within the maintenance window to start the maintenance operations.
	// It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
	StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// [Output only] Duration of the time window, automatically chosen to be
	// smallest possible in the given scenario.
	Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Time window specified for daily maintenance operations.

func (*DailyMaintenanceWindow) Descriptor deprecated

func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use DailyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*DailyMaintenanceWindow) GetDuration

func (x *DailyMaintenanceWindow) GetDuration() string

func (*DailyMaintenanceWindow) GetStartTime

func (x *DailyMaintenanceWindow) GetStartTime() string

func (*DailyMaintenanceWindow) ProtoMessage

func (*DailyMaintenanceWindow) ProtoMessage()

func (*DailyMaintenanceWindow) ProtoReflect

func (x *DailyMaintenanceWindow) ProtoReflect() protoreflect.Message

func (*DailyMaintenanceWindow) Reset

func (x *DailyMaintenanceWindow) Reset()

func (*DailyMaintenanceWindow) String

func (x *DailyMaintenanceWindow) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to delete.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster) of the cluster to delete.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteClusterRequest deletes a cluster.

func (*DeleteClusterRequest) Descriptor deprecated

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetClusterId

func (x *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) GetName

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) GetProjectId

func (x *DeleteClusterRequest) GetProjectId() string

func (*DeleteClusterRequest) GetZone

func (x *DeleteClusterRequest) GetZone() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteNodePoolRequest

type DeleteNodePoolRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to delete.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to delete.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteNodePoolRequest deletes a node pool for a cluster.

func (*DeleteNodePoolRequest) Descriptor deprecated

func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodePoolRequest) GetClusterId

func (x *DeleteNodePoolRequest) GetClusterId() string

func (*DeleteNodePoolRequest) GetName

func (x *DeleteNodePoolRequest) GetName() string

func (*DeleteNodePoolRequest) GetNodePoolId

func (x *DeleteNodePoolRequest) GetNodePoolId() string

func (*DeleteNodePoolRequest) GetProjectId

func (x *DeleteNodePoolRequest) GetProjectId() string

func (*DeleteNodePoolRequest) GetZone

func (x *DeleteNodePoolRequest) GetZone() string

func (*DeleteNodePoolRequest) ProtoMessage

func (*DeleteNodePoolRequest) ProtoMessage()

func (*DeleteNodePoolRequest) ProtoReflect

func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message

func (*DeleteNodePoolRequest) Reset

func (x *DeleteNodePoolRequest) Reset()

func (*DeleteNodePoolRequest) String

func (x *DeleteNodePoolRequest) String() string

type GetClusterRequest

type GetClusterRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to retrieve.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster) of the cluster to retrieve.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetClusterRequest gets the settings of a cluster.

func (*GetClusterRequest) Descriptor deprecated

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetClusterId

func (x *GetClusterRequest) GetClusterId() string

func (*GetClusterRequest) GetName

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) GetProjectId

func (x *GetClusterRequest) GetProjectId() string

func (*GetClusterRequest) GetZone

func (x *GetClusterRequest) GetZone() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetNodePoolRequest

type GetNodePoolRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to get.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetNodePoolRequest retrieves a node pool for a cluster.

func (*GetNodePoolRequest) Descriptor deprecated

func (*GetNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.

func (*GetNodePoolRequest) GetClusterId

func (x *GetNodePoolRequest) GetClusterId() string

func (*GetNodePoolRequest) GetName

func (x *GetNodePoolRequest) GetName() string

func (*GetNodePoolRequest) GetNodePoolId

func (x *GetNodePoolRequest) GetNodePoolId() string

func (*GetNodePoolRequest) GetProjectId

func (x *GetNodePoolRequest) GetProjectId() string

func (*GetNodePoolRequest) GetZone

func (x *GetNodePoolRequest) GetZone() string

func (*GetNodePoolRequest) ProtoMessage

func (*GetNodePoolRequest) ProtoMessage()

func (*GetNodePoolRequest) ProtoReflect

func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message

func (*GetNodePoolRequest) Reset

func (x *GetNodePoolRequest) Reset()

func (*GetNodePoolRequest) String

func (x *GetNodePoolRequest) String() string

type GetOperationRequest

type GetOperationRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The server-assigned `name` of the operation.
	// This field is deprecated, use name instead.
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// The name (project, location, operation id) of the operation to get.
	// Specified in the format 'projects/*/locations/*/operations/*'.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetOperationRequest gets a single operation.

func (*GetOperationRequest) Descriptor deprecated

func (*GetOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.

func (*GetOperationRequest) GetName

func (x *GetOperationRequest) GetName() string

func (*GetOperationRequest) GetOperationId

func (x *GetOperationRequest) GetOperationId() string

func (*GetOperationRequest) GetProjectId

func (x *GetOperationRequest) GetProjectId() string

func (*GetOperationRequest) GetZone

func (x *GetOperationRequest) GetZone() string

func (*GetOperationRequest) ProtoMessage

func (*GetOperationRequest) ProtoMessage()

func (*GetOperationRequest) ProtoReflect

func (x *GetOperationRequest) ProtoReflect() protoreflect.Message

func (*GetOperationRequest) Reset

func (x *GetOperationRequest) Reset()

func (*GetOperationRequest) String

func (x *GetOperationRequest) String() string

type GetServerConfigRequest

type GetServerConfigRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine [zone](/compute/docs/zones#available)
	// to return operations for.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name (project and location) of the server config to get
	// Specified in the format 'projects/*/locations/*'.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets the current Container Engine service configuration.

func (*GetServerConfigRequest) Descriptor deprecated

func (*GetServerConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.

func (*GetServerConfigRequest) GetName

func (x *GetServerConfigRequest) GetName() string

func (*GetServerConfigRequest) GetProjectId

func (x *GetServerConfigRequest) GetProjectId() string

func (*GetServerConfigRequest) GetZone

func (x *GetServerConfigRequest) GetZone() string

func (*GetServerConfigRequest) ProtoMessage

func (*GetServerConfigRequest) ProtoMessage()

func (*GetServerConfigRequest) ProtoReflect

func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message

func (*GetServerConfigRequest) Reset

func (x *GetServerConfigRequest) Reset()

func (*GetServerConfigRequest) String

func (x *GetServerConfigRequest) String() string

type HorizontalPodAutoscaling

type HorizontalPodAutoscaling struct {

	// Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
	// When enabled, it ensures that a Heapster pod is running in the cluster,
	// which is also used by the Cloud Monitoring service.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

func (*HorizontalPodAutoscaling) Descriptor deprecated

func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use HorizontalPodAutoscaling.ProtoReflect.Descriptor instead.

func (*HorizontalPodAutoscaling) GetDisabled

func (x *HorizontalPodAutoscaling) GetDisabled() bool

func (*HorizontalPodAutoscaling) ProtoMessage

func (*HorizontalPodAutoscaling) ProtoMessage()

func (*HorizontalPodAutoscaling) ProtoReflect

func (x *HorizontalPodAutoscaling) ProtoReflect() protoreflect.Message

func (*HorizontalPodAutoscaling) Reset

func (x *HorizontalPodAutoscaling) Reset()

func (*HorizontalPodAutoscaling) String

func (x *HorizontalPodAutoscaling) String() string

type HttpLoadBalancing

type HttpLoadBalancing struct {

	// Whether the HTTP Load Balancing controller is enabled in the cluster.
	// When enabled, it runs a small pod in the cluster that manages the load
	// balancers.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

func (*HttpLoadBalancing) Descriptor deprecated

func (*HttpLoadBalancing) Descriptor() ([]byte, []int)

Deprecated: Use HttpLoadBalancing.ProtoReflect.Descriptor instead.

func (*HttpLoadBalancing) GetDisabled

func (x *HttpLoadBalancing) GetDisabled() bool

func (*HttpLoadBalancing) ProtoMessage

func (*HttpLoadBalancing) ProtoMessage()

func (*HttpLoadBalancing) ProtoReflect

func (x *HttpLoadBalancing) ProtoReflect() protoreflect.Message

func (*HttpLoadBalancing) Reset

func (x *HttpLoadBalancing) Reset()

func (*HttpLoadBalancing) String

func (x *HttpLoadBalancing) String() string

type IPAllocationPolicy

type IPAllocationPolicy struct {

	// Whether alias IPs will be used for pod IPs in the cluster.
	UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"`
	// Whether a new subnetwork will be created automatically for the cluster.
	//
	// This field is only applicable when `use_ip_aliases` is true.
	CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"`
	// A custom subnetwork name to be used if `create_subnetwork` is true.  If
	// this field is empty, then an automatic name will be chosen for the new
	// subnetwork.
	SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"`
	// This field is deprecated, use cluster_ipv4_cidr_block.
	ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
	// This field is deprecated, use node_ipv4_cidr_block.
	NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"`
	// This field is deprecated, use services_ipv4_cidr_block.
	ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
	// The name of the secondary range to be used for the cluster CIDR
	// block.  The secondary range will be used for pod IP
	// addresses. This must be an existing secondary range associated
	// with the cluster subnetwork.
	//
	// This field is only applicable if use_ip_aliases is true and
	// create_subnetwork is false.
	ClusterSecondaryRangeName string `` /* 140-byte string literal not displayed */
	// The name of the secondary range to be used as for the services
	// CIDR block.  The secondary range will be used for service
	// ClusterIPs. This must be an existing secondary range associated
	// with the cluster subnetwork.
	//
	// This field is only applicable with use_ip_aliases is true and
	// create_subnetwork is false.
	ServicesSecondaryRangeName string `` /* 143-byte string literal not displayed */
	// The IP address range for the cluster pod IPs. If this field is set, then
	// `cluster.cluster_ipv4_cidr` must be left blank.
	//
	// This field is only applicable when `use_ip_aliases` is true.
	//
	// Set to blank to have a range chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
	// netmask.
	//
	// Set to a
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
	// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
	// to use.
	ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"`
	// The IP address range of the instance IPs in this cluster.
	//
	// This is applicable only if `create_subnetwork` is true.
	//
	// Set to blank to have a range chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
	// netmask.
	//
	// Set to a
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
	// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
	// to use.
	NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"`
	// The IP address range of the services IPs in this cluster. If blank, a range
	// will be automatically chosen with the default size.
	//
	// This field is only applicable when `use_ip_aliases` is true.
	//
	// Set to blank to have a range chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
	// netmask.
	//
	// Set to a
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
	// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
	// to use.
	ServicesIpv4CidrBlock string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for controlling how IPs are allocated in the cluster.

func (*IPAllocationPolicy) Descriptor deprecated

func (*IPAllocationPolicy) Descriptor() ([]byte, []int)

Deprecated: Use IPAllocationPolicy.ProtoReflect.Descriptor instead.

func (*IPAllocationPolicy) GetClusterIpv4Cidr

func (x *IPAllocationPolicy) GetClusterIpv4Cidr() string

func (*IPAllocationPolicy) GetClusterIpv4CidrBlock

func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() string

func (*IPAllocationPolicy) GetClusterSecondaryRangeName

func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() string

func (*IPAllocationPolicy) GetCreateSubnetwork

func (x *IPAllocationPolicy) GetCreateSubnetwork() bool

func (*IPAllocationPolicy) GetNodeIpv4Cidr

func (x *IPAllocationPolicy) GetNodeIpv4Cidr() string

func (*IPAllocationPolicy) GetNodeIpv4CidrBlock

func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() string

func (*IPAllocationPolicy) GetServicesIpv4Cidr

func (x *IPAllocationPolicy) GetServicesIpv4Cidr() string

func (*IPAllocationPolicy) GetServicesIpv4CidrBlock

func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() string

func (*IPAllocationPolicy) GetServicesSecondaryRangeName

func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() string

func (*IPAllocationPolicy) GetSubnetworkName

func (x *IPAllocationPolicy) GetSubnetworkName() string

func (*IPAllocationPolicy) GetUseIpAliases

func (x *IPAllocationPolicy) GetUseIpAliases() bool

func (*IPAllocationPolicy) ProtoMessage

func (*IPAllocationPolicy) ProtoMessage()

func (*IPAllocationPolicy) ProtoReflect

func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Message

func (*IPAllocationPolicy) Reset

func (x *IPAllocationPolicy) Reset()

func (*IPAllocationPolicy) String

func (x *IPAllocationPolicy) String() string

type KubernetesDashboard

type KubernetesDashboard struct {

	// Whether the Kubernetes Dashboard is enabled for this cluster.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Kubernetes Dashboard.

func (*KubernetesDashboard) Descriptor deprecated

func (*KubernetesDashboard) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesDashboard.ProtoReflect.Descriptor instead.

func (*KubernetesDashboard) GetDisabled

func (x *KubernetesDashboard) GetDisabled() bool

func (*KubernetesDashboard) ProtoMessage

func (*KubernetesDashboard) ProtoMessage()

func (*KubernetesDashboard) ProtoReflect

func (x *KubernetesDashboard) ProtoReflect() protoreflect.Message

func (*KubernetesDashboard) Reset

func (x *KubernetesDashboard) Reset()

func (*KubernetesDashboard) String

func (x *KubernetesDashboard) String() string

type ListClustersRequest

type ListClustersRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use parent instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides, or "-" for all zones.
	// This field is deprecated, use parent instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The parent (project and location) where the clusters will be listed.
	// Specified in the format 'projects/*/locations/*'.
	// Location "-" matches all zones and all regions.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListClustersRequest lists clusters.

func (*ListClustersRequest) Descriptor deprecated

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetParent

func (x *ListClustersRequest) GetParent() string

func (*ListClustersRequest) GetProjectId

func (x *ListClustersRequest) GetProjectId() string

func (*ListClustersRequest) GetZone

func (x *ListClustersRequest) GetZone() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// A list of clusters in the project in the specified zone, or
	// across all ones.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// If any zones are listed here, the list of clusters returned
	// may be missing those zones.
	MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
	// contains filtered or unexported fields
}

ListClustersResponse is the result of ListClustersRequest.

func (*ListClustersResponse) Descriptor deprecated

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetMissingZones

func (x *ListClustersResponse) GetMissingZones() []string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListNodePoolsRequest

type ListNodePoolsRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use parent instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use parent instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use parent instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The parent (project, location, cluster id) where the node pools will be listed.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListNodePoolsRequest lists the node pool(s) for a cluster.

func (*ListNodePoolsRequest) Descriptor deprecated

func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.

func (*ListNodePoolsRequest) GetClusterId

func (x *ListNodePoolsRequest) GetClusterId() string

func (*ListNodePoolsRequest) GetParent

func (x *ListNodePoolsRequest) GetParent() string

func (*ListNodePoolsRequest) GetProjectId

func (x *ListNodePoolsRequest) GetProjectId() string

func (*ListNodePoolsRequest) GetZone

func (x *ListNodePoolsRequest) GetZone() string

func (*ListNodePoolsRequest) ProtoMessage

func (*ListNodePoolsRequest) ProtoMessage()

func (*ListNodePoolsRequest) ProtoReflect

func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message

func (*ListNodePoolsRequest) Reset

func (x *ListNodePoolsRequest) Reset()

func (*ListNodePoolsRequest) String

func (x *ListNodePoolsRequest) String() string

type ListNodePoolsResponse

type ListNodePoolsResponse struct {

	// A list of node pools for a cluster.
	NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
	// contains filtered or unexported fields
}

ListNodePoolsResponse is the result of ListNodePoolsRequest.

func (*ListNodePoolsResponse) Descriptor deprecated

func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.

func (*ListNodePoolsResponse) GetNodePools

func (x *ListNodePoolsResponse) GetNodePools() []*NodePool

func (*ListNodePoolsResponse) ProtoMessage

func (*ListNodePoolsResponse) ProtoMessage()

func (*ListNodePoolsResponse) ProtoReflect

func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message

func (*ListNodePoolsResponse) Reset

func (x *ListNodePoolsResponse) Reset()

func (*ListNodePoolsResponse) String

func (x *ListNodePoolsResponse) String() string

type ListOperationsRequest

type ListOperationsRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use parent instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine [zone](/compute/docs/zones#available)
	// to return operations for, or `-` for all zones.
	// This field is deprecated, use parent instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The parent (project and location) where the operations will be listed.
	// Specified in the format 'projects/*/locations/*'.
	// Location "-" matches all zones and all regions.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListOperationsRequest lists operations.

func (*ListOperationsRequest) Descriptor deprecated

func (*ListOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListOperationsRequest) GetParent

func (x *ListOperationsRequest) GetParent() string

func (*ListOperationsRequest) GetProjectId

func (x *ListOperationsRequest) GetProjectId() string

func (*ListOperationsRequest) GetZone

func (x *ListOperationsRequest) GetZone() string

func (*ListOperationsRequest) ProtoMessage

func (*ListOperationsRequest) ProtoMessage()

func (*ListOperationsRequest) ProtoReflect

func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message

func (*ListOperationsRequest) Reset

func (x *ListOperationsRequest) Reset()

func (*ListOperationsRequest) String

func (x *ListOperationsRequest) String() string

type ListOperationsResponse

type ListOperationsResponse struct {

	// A list of operations in the project in the specified zone.
	Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// If any zones are listed here, the list of operations returned
	// may be missing the operations from those zones.
	MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
	// contains filtered or unexported fields
}

ListOperationsResponse is the result of ListOperationsRequest.

func (*ListOperationsResponse) Descriptor deprecated

func (*ListOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListOperationsResponse) GetMissingZones

func (x *ListOperationsResponse) GetMissingZones() []string

func (*ListOperationsResponse) GetOperations

func (x *ListOperationsResponse) GetOperations() []*Operation

func (*ListOperationsResponse) ProtoMessage

func (*ListOperationsResponse) ProtoMessage()

func (*ListOperationsResponse) ProtoReflect

func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message

func (*ListOperationsResponse) Reset

func (x *ListOperationsResponse) Reset()

func (*ListOperationsResponse) String

func (x *ListOperationsResponse) String() string

type MaintenancePolicy

type MaintenancePolicy struct {

	// Specifies the maintenance window in which maintenance may be performed.
	Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// contains filtered or unexported fields
}

MaintenancePolicy defines the maintenance policy to be used for the cluster.

func (*MaintenancePolicy) Descriptor deprecated

func (*MaintenancePolicy) Descriptor() ([]byte, []int)

Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.

func (*MaintenancePolicy) GetWindow

func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow

func (*MaintenancePolicy) ProtoMessage

func (*MaintenancePolicy) ProtoMessage()

func (*MaintenancePolicy) ProtoReflect

func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message

func (*MaintenancePolicy) Reset

func (x *MaintenancePolicy) Reset()

func (*MaintenancePolicy) String

func (x *MaintenancePolicy) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// Unimplemented, reserved for future use.
	// HourlyMaintenanceWindow hourly_maintenance_window = 1;
	//
	// Types that are assignable to Policy:
	//	*MaintenanceWindow_DailyMaintenanceWindow
	Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

MaintenanceWindow defines the maintenance window to be used for the cluster.

func (*MaintenanceWindow) Descriptor deprecated

func (*MaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetDailyMaintenanceWindow

func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow

func (*MaintenanceWindow) GetPolicy

func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindow_DailyMaintenanceWindow

type MaintenanceWindow_DailyMaintenanceWindow struct {
	// DailyMaintenanceWindow specifies a daily maintenance operation window.
	DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"`
}

type MasterAuth

type MasterAuth struct {

	// The username to use for HTTP basic authentication to the master endpoint.
	// For clusters v1.6.0 and later, you can disable basic authentication by
	// providing an empty username.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password to use for HTTP basic authentication to the master endpoint.
	// Because the master endpoint is open to the Internet, you should create a
	// strong password.  If a password is provided for cluster creation, username
	// must be non-empty.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Configuration for client certificate authentication on the cluster.  If no
	// configuration is specified, a client certificate is issued.
	ClientCertificateConfig *ClientCertificateConfig `` /* 132-byte string literal not displayed */
	// [Output only] Base64-encoded public certificate that is the root of
	// trust for the cluster.
	ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
	// [Output only] Base64-encoded public certificate used by clients to
	// authenticate to the cluster endpoint.
	ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// [Output only] Base64-encoded private key used by clients to authenticate
	// to the cluster endpoint.
	ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// contains filtered or unexported fields
}

The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.

func (*MasterAuth) Descriptor deprecated

func (*MasterAuth) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuth.ProtoReflect.Descriptor instead.

func (*MasterAuth) GetClientCertificate

func (x *MasterAuth) GetClientCertificate() string

func (*MasterAuth) GetClientCertificateConfig

func (x *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig

func (*MasterAuth) GetClientKey

func (x *MasterAuth) GetClientKey() string

func (*MasterAuth) GetClusterCaCertificate

func (x *MasterAuth) GetClusterCaCertificate() string

func (*MasterAuth) GetPassword

func (x *MasterAuth) GetPassword() string

func (*MasterAuth) GetUsername

func (x *MasterAuth) GetUsername() string

func (*MasterAuth) ProtoMessage

func (*MasterAuth) ProtoMessage()

func (*MasterAuth) ProtoReflect

func (x *MasterAuth) ProtoReflect() protoreflect.Message

func (*MasterAuth) Reset

func (x *MasterAuth) Reset()

func (*MasterAuth) String

func (x *MasterAuth) String() string

type MasterAuthorizedNetworksConfig

type MasterAuthorizedNetworksConfig struct {

	// Whether or not master authorized networks is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// cidr_blocks define up to 10 external networks that could access
	// Kubernetes master through HTTPS.
	CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.

func (*MasterAuthorizedNetworksConfig) Descriptor deprecated

func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuthorizedNetworksConfig.ProtoReflect.Descriptor instead.

func (*MasterAuthorizedNetworksConfig) GetCidrBlocks

func (*MasterAuthorizedNetworksConfig) GetEnabled

func (x *MasterAuthorizedNetworksConfig) GetEnabled() bool

func (*MasterAuthorizedNetworksConfig) ProtoMessage

func (*MasterAuthorizedNetworksConfig) ProtoMessage()

func (*MasterAuthorizedNetworksConfig) ProtoReflect

func (*MasterAuthorizedNetworksConfig) Reset

func (x *MasterAuthorizedNetworksConfig) Reset()

func (*MasterAuthorizedNetworksConfig) String

type MasterAuthorizedNetworksConfig_CidrBlock

type MasterAuthorizedNetworksConfig_CidrBlock struct {

	// display_name is an optional field for users to identify CIDR blocks.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// cidr_block must be specified in CIDR notation.
	CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"`
	// contains filtered or unexported fields
}

CidrBlock contains an optional name and one CIDR block.

func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor deprecated

func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuthorizedNetworksConfig_CidrBlock.ProtoReflect.Descriptor instead.

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName

func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage

func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect

func (*MasterAuthorizedNetworksConfig_CidrBlock) Reset

func (*MasterAuthorizedNetworksConfig_CidrBlock) String

type NetworkPolicy

type NetworkPolicy struct {

	// The selected network policy provider.
	Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1alpha1.NetworkPolicy_Provider" json:"provider,omitempty"`
	// Whether network policy is enabled on the cluster.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/

func (*NetworkPolicy) Descriptor deprecated

func (*NetworkPolicy) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead.

func (*NetworkPolicy) GetEnabled

func (x *NetworkPolicy) GetEnabled() bool

func (*NetworkPolicy) GetProvider

func (x *NetworkPolicy) GetProvider() NetworkPolicy_Provider

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) ProtoReflect

func (x *NetworkPolicy) ProtoReflect() protoreflect.Message

func (*NetworkPolicy) Reset

func (x *NetworkPolicy) Reset()

func (*NetworkPolicy) String

func (x *NetworkPolicy) String() string

type NetworkPolicyConfig

type NetworkPolicyConfig struct {

	// Whether NetworkPolicy is enabled for this cluster.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

func (*NetworkPolicyConfig) Descriptor deprecated

func (*NetworkPolicyConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPolicyConfig.ProtoReflect.Descriptor instead.

func (*NetworkPolicyConfig) GetDisabled

func (x *NetworkPolicyConfig) GetDisabled() bool

func (*NetworkPolicyConfig) ProtoMessage

func (*NetworkPolicyConfig) ProtoMessage()

func (*NetworkPolicyConfig) ProtoReflect

func (x *NetworkPolicyConfig) ProtoReflect() protoreflect.Message

func (*NetworkPolicyConfig) Reset

func (x *NetworkPolicyConfig) Reset()

func (*NetworkPolicyConfig) String

func (x *NetworkPolicyConfig) String() string

type NetworkPolicy_Provider

type NetworkPolicy_Provider int32

Allowed Network Policy providers.

const (
	// Not set
	NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0
	// Tigera (Calico Felix).
	NetworkPolicy_CALICO NetworkPolicy_Provider = 1
)

func (NetworkPolicy_Provider) Descriptor

func (NetworkPolicy_Provider) Enum

func (NetworkPolicy_Provider) EnumDescriptor deprecated

func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkPolicy_Provider.Descriptor instead.

func (NetworkPolicy_Provider) Number

func (NetworkPolicy_Provider) String

func (x NetworkPolicy_Provider) String() string

func (NetworkPolicy_Provider) Type

type NodeConfig

type NodeConfig struct {

	// The name of a Google Compute Engine [machine
	// type](/compute/docs/machine-types) (e.g.
	// `n1-standard-1`).
	//
	// If unspecified, the default machine type is
	// `n1-standard-1`.
	MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// Size of the disk attached to each node, specified in GB.
	// The smallest allowed disk size is 10GB.
	//
	// If unspecified, the default disk size is 100GB.
	DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
	// The set of Google API scopes to be made available on all of the
	// node VMs under the "default" service account.
	//
	// The following scopes are recommended, but not required, and by default are
	// not included:
	//
	// * `https://www.googleapis.com/auth/compute` is required for mounting
	// persistent storage on your nodes.
	// * `https://www.googleapis.com/auth/devstorage.read_only` is required for
	// communicating with **gcr.io**
	// (the [Google Container Registry](/container-registry/)).
	//
	// If unspecified, no scopes are added, unless Cloud Logging or Cloud
	// Monitoring are enabled, in which case their required scopes will be added.
	OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
	// The Google Cloud Platform Service Account to be used by the node VMs. If
	// no Service Account is specified, the "default" service account is used.
	ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// The metadata key/value pairs assigned to instances in the cluster.
	//
	// Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
	// in length. These are reflected as part of a URL in the metadata server.
	// Additionally, to avoid ambiguity, keys must not conflict with any other
	// metadata keys for the project or be one of the four reserved keys:
	// "instance-template", "kube-env", "startup-script", and "user-data"
	//
	// Values are free-form strings, and only have meaning as interpreted by
	// the image running in the instance. The only restriction placed on them is
	// that each value's size must be less than or equal to 32 KB.
	//
	// The total size of all keys and values must be less than 512 KB.
	Metadata map[string]string `` /* 157-byte string literal not displayed */
	// The image type to use for this node. Note that for a given image type,
	// the latest version of it will be used.
	ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
	// The map of Kubernetes labels (key/value pairs) to be applied to each node.
	// These will added in addition to any default label(s) that
	// Kubernetes may apply to the node.
	// In case of conflict in label keys, the applied set may differ depending on
	// the Kubernetes version -- it's best to assume the behavior is undefined
	// and conflicts should be avoided.
	// For more information, including usage and the valid values, see:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// The number of local SSD disks to be attached to the node.
	//
	// The limit for this value is dependant upon the maximum number of
	// disks available on a machine per zone. See:
	// https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits
	// for more information.
	LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
	// The list of instance tags applied to all nodes. Tags are used to identify
	// valid sources or targets for network firewalls and are specified by
	// the client during cluster or node pool creation. Each tag within the list
	// must comply with RFC1035.
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// Whether the nodes are created as preemptible VM instances. See:
	// https://cloud.google.com/compute/docs/instances/preemptible for more
	// inforamtion about preemptible VM instances.
	Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
	// A list of hardware accelerators to be attached to each node.
	// See https://cloud.google.com/compute/docs/gpus for more information about
	// support for GPUs.
	Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
	// Minimum CPU platform to be used by this instance. The instance may be
	// scheduled on the specified or newer CPU platform. Applicable values are the
	// friendly names of CPU platforms, such as
	// <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or
	// <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more
	// information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
	MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
	// List of kubernetes taints to be applied to each node.
	//
	// For more information, including usage and the valid values, see:
	// https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
	Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"`
	// contains filtered or unexported fields
}

Parameters that describe the nodes in a cluster.

func (*NodeConfig) Descriptor deprecated

func (*NodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.

func (*NodeConfig) GetAccelerators

func (x *NodeConfig) GetAccelerators() []*AcceleratorConfig

func (*NodeConfig) GetDiskSizeGb

func (x *NodeConfig) GetDiskSizeGb() int32

func (*NodeConfig) GetImageType

func (x *NodeConfig) GetImageType() string

func (*NodeConfig) GetLabels

func (x *NodeConfig) GetLabels() map[string]string

func (*NodeConfig) GetLocalSsdCount

func (x *NodeConfig) GetLocalSsdCount() int32

func (*NodeConfig) GetMachineType

func (x *NodeConfig) GetMachineType() string

func (*NodeConfig) GetMetadata

func (x *NodeConfig) GetMetadata() map[string]string

func (*NodeConfig) GetMinCpuPlatform

func (x *NodeConfig) GetMinCpuPlatform() string

func (*NodeConfig) GetOauthScopes

func (x *NodeConfig) GetOauthScopes() []string

func (*NodeConfig) GetPreemptible

func (x *NodeConfig) GetPreemptible() bool

func (*NodeConfig) GetServiceAccount

func (x *NodeConfig) GetServiceAccount() string

func (*NodeConfig) GetTags

func (x *NodeConfig) GetTags() []string

func (*NodeConfig) GetTaints

func (x *NodeConfig) GetTaints() []*NodeTaint

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) ProtoReflect

func (x *NodeConfig) ProtoReflect() protoreflect.Message

func (*NodeConfig) Reset

func (x *NodeConfig) Reset()

func (*NodeConfig) String

func (x *NodeConfig) String() string

type NodeManagement

type NodeManagement struct {

	// Whether the nodes will be automatically upgraded.
	AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"`
	// Whether the nodes will be automatically repaired.
	AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"`
	// Specifies the Auto Upgrade knobs for the node pool.
	UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"`
	// contains filtered or unexported fields
}

NodeManagement defines the set of node management services turned on for the node pool.

func (*NodeManagement) Descriptor deprecated

func (*NodeManagement) Descriptor() ([]byte, []int)

Deprecated: Use NodeManagement.ProtoReflect.Descriptor instead.

func (*NodeManagement) GetAutoRepair

func (x *NodeManagement) GetAutoRepair() bool

func (*NodeManagement) GetAutoUpgrade

func (x *NodeManagement) GetAutoUpgrade() bool

func (*NodeManagement) GetUpgradeOptions

func (x *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions

func (*NodeManagement) ProtoMessage

func (*NodeManagement) ProtoMessage()

func (*NodeManagement) ProtoReflect

func (x *NodeManagement) ProtoReflect() protoreflect.Message

func (*NodeManagement) Reset

func (x *NodeManagement) Reset()

func (*NodeManagement) String

func (x *NodeManagement) String() string

type NodePool

type NodePool struct {

	// The name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The node configuration of the pool.
	Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The initial node count for the pool. You must ensure that your
	// Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
	// is sufficient for this number of instances. You must also have available
	// firewall and routes quota.
	InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
	// Autoscaler configuration for this NodePool. Autoscaler is enabled
	// only if a valid configuration is present.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
	// NodeManagement configuration for this NodePool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
	// [Output only] Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// [Output only] The version of the Kubernetes of this node.
	Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"`
	// [Output only] The resource URLs of [instance
	// groups](/compute/docs/instance-groups/) associated with this
	// node pool.
	InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
	// [Output only] The status of the nodes in this pool instance.
	Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1alpha1.NodePool_Status" json:"status,omitempty"`
	// [Output only] Additional information about the current status of this
	// node pool instance, if available.
	StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.

func (*NodePool) Descriptor deprecated

func (*NodePool) Descriptor() ([]byte, []int)

Deprecated: Use NodePool.ProtoReflect.Descriptor instead.

func (*NodePool) GetAutoscaling

func (x *NodePool) GetAutoscaling() *NodePoolAutoscaling

func (*NodePool) GetConfig

func (x *NodePool) GetConfig() *NodeConfig

func (*NodePool) GetInitialNodeCount

func (x *NodePool) GetInitialNodeCount() int32

func (*NodePool) GetInstanceGroupUrls

func (x *NodePool) GetInstanceGroupUrls() []string

func (*NodePool) GetManagement

func (x *NodePool) GetManagement() *NodeManagement

func (*NodePool) GetName

func (x *NodePool) GetName() string
func (x *NodePool) GetSelfLink() string

func (*NodePool) GetStatus

func (x *NodePool) GetStatus() NodePool_Status

func (*NodePool) GetStatusMessage

func (x *NodePool) GetStatusMessage() string

func (*NodePool) GetVersion

func (x *NodePool) GetVersion() string

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) ProtoReflect

func (x *NodePool) ProtoReflect() protoreflect.Message

func (*NodePool) Reset

func (x *NodePool) Reset()

func (*NodePool) String

func (x *NodePool) String() string

type NodePoolAutoscaling

type NodePoolAutoscaling struct {

	// Is autoscaling enabled for this node pool.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Minimum number of nodes in the NodePool. Must be >= 1 and <=
	// max_node_count.
	MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
	// Maximum number of nodes in the NodePool. Must be >= min_node_count. There
	// has to enough quota to scale up the cluster.
	MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
	// contains filtered or unexported fields
}

NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

func (*NodePoolAutoscaling) Descriptor deprecated

func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.

func (*NodePoolAutoscaling) GetEnabled

func (x *NodePoolAutoscaling) GetEnabled() bool

func (*NodePoolAutoscaling) GetMaxNodeCount

func (x *NodePoolAutoscaling) GetMaxNodeCount() int32

func (*NodePoolAutoscaling) GetMinNodeCount

func (x *NodePoolAutoscaling) GetMinNodeCount() int32

func (*NodePoolAutoscaling) ProtoMessage

func (*NodePoolAutoscaling) ProtoMessage()

func (*NodePoolAutoscaling) ProtoReflect

func (x *NodePoolAutoscaling) ProtoReflect() protoreflect.Message

func (*NodePoolAutoscaling) Reset

func (x *NodePoolAutoscaling) Reset()

func (*NodePoolAutoscaling) String

func (x *NodePoolAutoscaling) String() string

type NodePool_Status

type NodePool_Status int32

The current status of the node pool instance.

const (
	// Not set.
	NodePool_STATUS_UNSPECIFIED NodePool_Status = 0
	// The PROVISIONING state indicates the node pool is being created.
	NodePool_PROVISIONING NodePool_Status = 1
	// The RUNNING state indicates the node pool has been created
	// and is fully usable.
	NodePool_RUNNING NodePool_Status = 2
	// The RUNNING_WITH_ERROR state indicates the node pool has been created
	// and is partially usable. Some error state has occurred and some
	// functionality may be impaired. Customer may need to reissue a request
	// or trigger a new update.
	NodePool_RUNNING_WITH_ERROR NodePool_Status = 3
	// The RECONCILING state indicates that some work is actively being done on
	// the node pool, such as upgrading node software. Details can
	// be found in the `statusMessage` field.
	NodePool_RECONCILING NodePool_Status = 4
	// The STOPPING state indicates the node pool is being deleted.
	NodePool_STOPPING NodePool_Status = 5
	// The ERROR state indicates the node pool may be unusable. Details
	// can be found in the `statusMessage` field.
	NodePool_ERROR NodePool_Status = 6
)

func (NodePool_Status) Descriptor

func (NodePool_Status) Enum

func (x NodePool_Status) Enum() *NodePool_Status

func (NodePool_Status) EnumDescriptor deprecated

func (NodePool_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePool_Status.Descriptor instead.

func (NodePool_Status) Number

func (NodePool_Status) String

func (x NodePool_Status) String() string

func (NodePool_Status) Type

type NodeTaint

type NodeTaint struct {

	// Key for taint.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value for taint.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Effect for taint.
	Effect NodeTaint_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.container.v1alpha1.NodeTaint_Effect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/

func (*NodeTaint) Descriptor deprecated

func (*NodeTaint) Descriptor() ([]byte, []int)

Deprecated: Use NodeTaint.ProtoReflect.Descriptor instead.

func (*NodeTaint) GetEffect

func (x *NodeTaint) GetEffect() NodeTaint_Effect

func (*NodeTaint) GetKey

func (x *NodeTaint) GetKey() string

func (*NodeTaint) GetValue

func (x *NodeTaint) GetValue() string

func (*NodeTaint) ProtoMessage

func (*NodeTaint) ProtoMessage()

func (*NodeTaint) ProtoReflect

func (x *NodeTaint) ProtoReflect() protoreflect.Message

func (*NodeTaint) Reset

func (x *NodeTaint) Reset()

func (*NodeTaint) String

func (x *NodeTaint) String() string

type NodeTaint_Effect

type NodeTaint_Effect int32

Possible values for Effect in taint.

const (
	// Not set
	NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0
	// NoSchedule
	NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1
	// PreferNoSchedule
	NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2
	// NoExecute
	NodeTaint_NO_EXECUTE NodeTaint_Effect = 3
)

func (NodeTaint_Effect) Descriptor

func (NodeTaint_Effect) Enum

func (NodeTaint_Effect) EnumDescriptor deprecated

func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeTaint_Effect.Descriptor instead.

func (NodeTaint_Effect) Number

func (NodeTaint_Effect) String

func (x NodeTaint_Effect) String() string

func (NodeTaint_Effect) Type

type Operation

type Operation struct {

	// The server-assigned ID for the operation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the operation
	// is taking place.
	// This field is deprecated, use location instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The operation type.
	OperationType Operation_Type `` /* 147-byte string literal not displayed */
	// The current status of the operation.
	Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1alpha1.Operation_Status" json:"status,omitempty"`
	// Detailed operation progress, if available.
	Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
	// If an error has occurred, a textual description of the error.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// Server-defined URL for the target of the operation.
	TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
	// [Output only] The name of the Google Compute Engine
	// [zone](/compute/docs/regions-zones/regions-zones#available) or
	// [region](/compute/docs/regions-zones/regions-zones#available) in which
	// the cluster resides.
	Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
	// [Output only] The time the operation started, in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// [Output only] The time the operation completed, in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.

func (*Operation) Descriptor deprecated

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetDetail

func (x *Operation) GetDetail() string

func (*Operation) GetEndTime

func (x *Operation) GetEndTime() string

func (*Operation) GetLocation

func (x *Operation) GetLocation() string

func (*Operation) GetName

func (x *Operation) GetName() string

func (*Operation) GetOperationType

func (x *Operation) GetOperationType() Operation_Type
func (x *Operation) GetSelfLink() string

func (*Operation) GetStartTime

func (x *Operation) GetStartTime() string

func (*Operation) GetStatus

func (x *Operation) GetStatus() Operation_Status

func (*Operation) GetStatusMessage

func (x *Operation) GetStatusMessage() string
func (x *Operation) GetTargetLink() string

func (*Operation) GetZone

func (x *Operation) GetZone() string

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type Operation_Status

type Operation_Status int32

Current status of the operation.

const (
	// Not set.
	Operation_STATUS_UNSPECIFIED Operation_Status = 0
	// The operation has been created.
	Operation_PENDING Operation_Status = 1
	// The operation is currently running.
	Operation_RUNNING Operation_Status = 2
	// The operation is done, either cancelled or completed.
	Operation_DONE Operation_Status = 3
	// The operation is aborting.
	Operation_ABORTING Operation_Status = 4
)

func (Operation_Status) Descriptor

func (Operation_Status) Enum

func (Operation_Status) EnumDescriptor deprecated

func (Operation_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation_Status.Descriptor instead.

func (Operation_Status) Number

func (Operation_Status) String

func (x Operation_Status) String() string

func (Operation_Status) Type

type Operation_Type

type Operation_Type int32

Operation type.

const (
	// Not set.
	Operation_TYPE_UNSPECIFIED Operation_Type = 0
	// Cluster create.
	Operation_CREATE_CLUSTER Operation_Type = 1
	// Cluster delete.
	Operation_DELETE_CLUSTER Operation_Type = 2
	// A master upgrade.
	Operation_UPGRADE_MASTER Operation_Type = 3
	// A node upgrade.
	Operation_UPGRADE_NODES Operation_Type = 4
	// Cluster repair.
	Operation_REPAIR_CLUSTER Operation_Type = 5
	// Cluster update.
	Operation_UPDATE_CLUSTER Operation_Type = 6
	// Node pool create.
	Operation_CREATE_NODE_POOL Operation_Type = 7
	// Node pool delete.
	Operation_DELETE_NODE_POOL Operation_Type = 8
	// Set node pool management.
	Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9
	// Automatic node pool repair.
	Operation_AUTO_REPAIR_NODES Operation_Type = 10
	// Automatic node upgrade.
	Operation_AUTO_UPGRADE_NODES Operation_Type = 11
	// Set labels.
	Operation_SET_LABELS Operation_Type = 12
	// Set/generate master auth materials
	Operation_SET_MASTER_AUTH Operation_Type = 13
	// Set node pool size.
	Operation_SET_NODE_POOL_SIZE Operation_Type = 14
	// Updates network policy for a cluster.
	Operation_SET_NETWORK_POLICY Operation_Type = 15
	// Set the maintenance policy.
	Operation_SET_MAINTENANCE_POLICY Operation_Type = 16
)

func (Operation_Type) Descriptor

func (Operation_Type) Enum

func (x Operation_Type) Enum() *Operation_Type

func (Operation_Type) EnumDescriptor deprecated

func (Operation_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation_Type.Descriptor instead.

func (Operation_Type) Number

func (Operation_Type) String

func (x Operation_Type) String() string

func (Operation_Type) Type

type PodSecurityPolicyConfig

type PodSecurityPolicyConfig struct {

	// Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
	// must be valid under a PodSecurityPolicy to be created.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the PodSecurityPolicy feature.

func (*PodSecurityPolicyConfig) Descriptor deprecated

func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int)

Deprecated: Use PodSecurityPolicyConfig.ProtoReflect.Descriptor instead.

func (*PodSecurityPolicyConfig) GetEnabled

func (x *PodSecurityPolicyConfig) GetEnabled() bool

func (*PodSecurityPolicyConfig) ProtoMessage

func (*PodSecurityPolicyConfig) ProtoMessage()

func (*PodSecurityPolicyConfig) ProtoReflect

func (x *PodSecurityPolicyConfig) ProtoReflect() protoreflect.Message

func (*PodSecurityPolicyConfig) Reset

func (x *PodSecurityPolicyConfig) Reset()

func (*PodSecurityPolicyConfig) String

func (x *PodSecurityPolicyConfig) String() string

type RollbackNodePoolUpgradeRequest

type RollbackNodePoolUpgradeRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to rollback.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to rollback.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node poll to
	// rollback upgrade.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.

func (*RollbackNodePoolUpgradeRequest) Descriptor deprecated

func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RollbackNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.

func (*RollbackNodePoolUpgradeRequest) GetClusterId

func (x *RollbackNodePoolUpgradeRequest) GetClusterId() string

func (*RollbackNodePoolUpgradeRequest) GetName

func (*RollbackNodePoolUpgradeRequest) GetNodePoolId

func (x *RollbackNodePoolUpgradeRequest) GetNodePoolId() string

func (*RollbackNodePoolUpgradeRequest) GetProjectId

func (x *RollbackNodePoolUpgradeRequest) GetProjectId() string

func (*RollbackNodePoolUpgradeRequest) GetZone

func (*RollbackNodePoolUpgradeRequest) ProtoMessage

func (*RollbackNodePoolUpgradeRequest) ProtoMessage()

func (*RollbackNodePoolUpgradeRequest) ProtoReflect

func (*RollbackNodePoolUpgradeRequest) Reset

func (x *RollbackNodePoolUpgradeRequest) Reset()

func (*RollbackNodePoolUpgradeRequest) String

type ServerConfig

type ServerConfig struct {

	// Version of Kubernetes the service deploys by default.
	DefaultClusterVersion string `` /* 126-byte string literal not displayed */
	// List of valid node upgrade target versions.
	ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"`
	// Default image type.
	DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"`
	// List of valid image types.
	ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"`
	// List of valid master versions.
	ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"`
	// contains filtered or unexported fields
}

Container Engine service configuration.

func (*ServerConfig) Descriptor deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetDefaultClusterVersion

func (x *ServerConfig) GetDefaultClusterVersion() string

func (*ServerConfig) GetDefaultImageType

func (x *ServerConfig) GetDefaultImageType() string

func (*ServerConfig) GetValidImageTypes

func (x *ServerConfig) GetValidImageTypes() []string

func (*ServerConfig) GetValidMasterVersions

func (x *ServerConfig) GetValidMasterVersions() []string

func (*ServerConfig) GetValidNodeVersions

func (x *ServerConfig) GetValidNodeVersions() []string

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

type SetAddonsConfigRequest

type SetAddonsConfigRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The desired configurations for the various addons available to run in the
	// cluster.
	AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
	// The name (project, location, cluster) of the cluster to set addons.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetAddonsRequest sets the addons associated with the cluster.

func (*SetAddonsConfigRequest) Descriptor deprecated

func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetAddonsConfigRequest.ProtoReflect.Descriptor instead.

func (*SetAddonsConfigRequest) GetAddonsConfig

func (x *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig

func (*SetAddonsConfigRequest) GetClusterId

func (x *SetAddonsConfigRequest) GetClusterId() string

func (*SetAddonsConfigRequest) GetName

func (x *SetAddonsConfigRequest) GetName() string

func (*SetAddonsConfigRequest) GetProjectId

func (x *SetAddonsConfigRequest) GetProjectId() string

func (*SetAddonsConfigRequest) GetZone

func (x *SetAddonsConfigRequest) GetZone() string

func (*SetAddonsConfigRequest) ProtoMessage

func (*SetAddonsConfigRequest) ProtoMessage()

func (*SetAddonsConfigRequest) ProtoReflect

func (x *SetAddonsConfigRequest) ProtoReflect() protoreflect.Message

func (*SetAddonsConfigRequest) Reset

func (x *SetAddonsConfigRequest) Reset()

func (*SetAddonsConfigRequest) String

func (x *SetAddonsConfigRequest) String() string

type SetLabelsRequest

type SetLabelsRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The labels to set for that cluster.
	ResourceLabels map[string]string `` /* 191-byte string literal not displayed */
	// The fingerprint of the previous set of labels for this resource,
	// used to detect conflicts. The fingerprint is initially generated by
	// Container Engine and changes after every request to modify or update
	// labels. You must always provide an up-to-date fingerprint hash when
	// updating or changing labels. Make a <code>get()</code> request to the
	// resource to get the latest fingerprint.
	LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
	// The name (project, location, cluster id) of the cluster to set labels.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster

func (*SetLabelsRequest) Descriptor deprecated

func (*SetLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLabelsRequest.ProtoReflect.Descriptor instead.

func (*SetLabelsRequest) GetClusterId

func (x *SetLabelsRequest) GetClusterId() string

func (*SetLabelsRequest) GetLabelFingerprint

func (x *SetLabelsRequest) GetLabelFingerprint() string

func (*SetLabelsRequest) GetName

func (x *SetLabelsRequest) GetName() string

func (*SetLabelsRequest) GetProjectId

func (x *SetLabelsRequest) GetProjectId() string

func (*SetLabelsRequest) GetResourceLabels

func (x *SetLabelsRequest) GetResourceLabels() map[string]string

func (*SetLabelsRequest) GetZone

func (x *SetLabelsRequest) GetZone() string

func (*SetLabelsRequest) ProtoMessage

func (*SetLabelsRequest) ProtoMessage()

func (*SetLabelsRequest) ProtoReflect

func (x *SetLabelsRequest) ProtoReflect() protoreflect.Message

func (*SetLabelsRequest) Reset

func (x *SetLabelsRequest) Reset()

func (*SetLabelsRequest) String

func (x *SetLabelsRequest) String() string

type SetLegacyAbacRequest

type SetLegacyAbacRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to update.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Whether ABAC authorization will be enabled in the cluster.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The name (project, location, cluster id) of the cluster to set legacy abac.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.

func (*SetLegacyAbacRequest) Descriptor deprecated

func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLegacyAbacRequest.ProtoReflect.Descriptor instead.

func (*SetLegacyAbacRequest) GetClusterId

func (x *SetLegacyAbacRequest) GetClusterId() string

func (*SetLegacyAbacRequest) GetEnabled

func (x *SetLegacyAbacRequest) GetEnabled() bool

func (*SetLegacyAbacRequest) GetName

func (x *SetLegacyAbacRequest) GetName() string

func (*SetLegacyAbacRequest) GetProjectId

func (x *SetLegacyAbacRequest) GetProjectId() string

func (*SetLegacyAbacRequest) GetZone

func (x *SetLegacyAbacRequest) GetZone() string

func (*SetLegacyAbacRequest) ProtoMessage

func (*SetLegacyAbacRequest) ProtoMessage()

func (*SetLegacyAbacRequest) ProtoReflect

func (x *SetLegacyAbacRequest) ProtoReflect() protoreflect.Message

func (*SetLegacyAbacRequest) Reset

func (x *SetLegacyAbacRequest) Reset()

func (*SetLegacyAbacRequest) String

func (x *SetLegacyAbacRequest) String() string

type SetLocationsRequest

type SetLocationsRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The desired list of Google Compute Engine
	// [locations](/compute/docs/zones#available) in which the cluster's nodes
	// should be located. Changing the locations a cluster is in will result
	// in nodes being either created or removed from the cluster, depending on
	// whether locations are being added or removed.
	//
	// This list must always include the cluster's primary zone.
	Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"`
	// The name (project, location, cluster) of the cluster to set locations.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLocationsRequest sets the locations of the cluster.

func (*SetLocationsRequest) Descriptor deprecated

func (*SetLocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLocationsRequest.ProtoReflect.Descriptor instead.

func (*SetLocationsRequest) GetClusterId

func (x *SetLocationsRequest) GetClusterId() string

func (*SetLocationsRequest) GetLocations

func (x *SetLocationsRequest) GetLocations() []string

func (*SetLocationsRequest) GetName

func (x *SetLocationsRequest) GetName() string

func (*SetLocationsRequest) GetProjectId

func (x *SetLocationsRequest) GetProjectId() string

func (*SetLocationsRequest) GetZone

func (x *SetLocationsRequest) GetZone() string

func (*SetLocationsRequest) ProtoMessage

func (*SetLocationsRequest) ProtoMessage()

func (*SetLocationsRequest) ProtoReflect

func (x *SetLocationsRequest) ProtoReflect() protoreflect.Message

func (*SetLocationsRequest) Reset

func (x *SetLocationsRequest) Reset()

func (*SetLocationsRequest) String

func (x *SetLocationsRequest) String() string

type SetLoggingServiceRequest

type SetLoggingServiceRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The logging service the cluster should use to write metrics.
	// Currently available options:
	//
	// * "logging.googleapis.com" - the Google Cloud Logging service
	// * "none" - no metrics will be exported from the cluster
	LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
	// The name (project, location, cluster) of the cluster to set logging.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLoggingServiceRequest sets the logging service of a cluster.

func (*SetLoggingServiceRequest) Descriptor deprecated

func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLoggingServiceRequest.ProtoReflect.Descriptor instead.

func (*SetLoggingServiceRequest) GetClusterId

func (x *SetLoggingServiceRequest) GetClusterId() string

func (*SetLoggingServiceRequest) GetLoggingService

func (x *SetLoggingServiceRequest) GetLoggingService() string

func (*SetLoggingServiceRequest) GetName

func (x *SetLoggingServiceRequest) GetName() string

func (*SetLoggingServiceRequest) GetProjectId

func (x *SetLoggingServiceRequest) GetProjectId() string

func (*SetLoggingServiceRequest) GetZone

func (x *SetLoggingServiceRequest) GetZone() string

func (*SetLoggingServiceRequest) ProtoMessage

func (*SetLoggingServiceRequest) ProtoMessage()

func (*SetLoggingServiceRequest) ProtoReflect

func (x *SetLoggingServiceRequest) ProtoReflect() protoreflect.Message

func (*SetLoggingServiceRequest) Reset

func (x *SetLoggingServiceRequest) Reset()

func (*SetLoggingServiceRequest) String

func (x *SetLoggingServiceRequest) String() string

type SetMaintenancePolicyRequest

type SetMaintenancePolicyRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to update.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maintenance policy to be set for the cluster. An empty field
	// clears the existing maintenance policy.
	MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
	// The name (project, location, cluster id) of the cluster to set maintenance
	// policy.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

func (*SetMaintenancePolicyRequest) Descriptor deprecated

func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMaintenancePolicyRequest.ProtoReflect.Descriptor instead.

func (*SetMaintenancePolicyRequest) GetClusterId

func (x *SetMaintenancePolicyRequest) GetClusterId() string

func (*SetMaintenancePolicyRequest) GetMaintenancePolicy

func (x *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy

func (*SetMaintenancePolicyRequest) GetName

func (x *SetMaintenancePolicyRequest) GetName() string

func (*SetMaintenancePolicyRequest) GetProjectId

func (x *SetMaintenancePolicyRequest) GetProjectId() string

func (*SetMaintenancePolicyRequest) GetZone

func (x *SetMaintenancePolicyRequest) GetZone() string

func (*SetMaintenancePolicyRequest) ProtoMessage

func (*SetMaintenancePolicyRequest) ProtoMessage()

func (*SetMaintenancePolicyRequest) ProtoReflect

func (*SetMaintenancePolicyRequest) Reset

func (x *SetMaintenancePolicyRequest) Reset()

func (*SetMaintenancePolicyRequest) String

func (x *SetMaintenancePolicyRequest) String() string

type SetMasterAuthRequest

type SetMasterAuthRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The exact form of action to be taken on the master auth.
	Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1alpha1.SetMasterAuthRequest_Action" json:"action,omitempty"`
	// A description of the update.
	Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"`
	// The name (project, location, cluster) of the cluster to set auth.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMasterAuthRequest updates the admin password of a cluster.

func (*SetMasterAuthRequest) Descriptor deprecated

func (*SetMasterAuthRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMasterAuthRequest.ProtoReflect.Descriptor instead.

func (*SetMasterAuthRequest) GetAction

func (*SetMasterAuthRequest) GetClusterId

func (x *SetMasterAuthRequest) GetClusterId() string

func (*SetMasterAuthRequest) GetName

func (x *SetMasterAuthRequest) GetName() string

func (*SetMasterAuthRequest) GetProjectId

func (x *SetMasterAuthRequest) GetProjectId() string

func (*SetMasterAuthRequest) GetUpdate

func (x *SetMasterAuthRequest) GetUpdate() *MasterAuth

func (*SetMasterAuthRequest) GetZone

func (x *SetMasterAuthRequest) GetZone() string

func (*SetMasterAuthRequest) ProtoMessage

func (*SetMasterAuthRequest) ProtoMessage()

func (*SetMasterAuthRequest) ProtoReflect

func (x *SetMasterAuthRequest) ProtoReflect() protoreflect.Message

func (*SetMasterAuthRequest) Reset

func (x *SetMasterAuthRequest) Reset()

func (*SetMasterAuthRequest) String

func (x *SetMasterAuthRequest) String() string

type SetMasterAuthRequest_Action

type SetMasterAuthRequest_Action int32

Operation type: what type update to perform.

const (
	// Operation is unknown and will error out.
	SetMasterAuthRequest_UNKNOWN SetMasterAuthRequest_Action = 0
	// Set the password to a user generated value.
	SetMasterAuthRequest_SET_PASSWORD SetMasterAuthRequest_Action = 1
	// Generate a new password and set it to that.
	SetMasterAuthRequest_GENERATE_PASSWORD SetMasterAuthRequest_Action = 2
	// Set the username.  If an empty username is provided, basic authentication
	// is disabled for the cluster.  If a non-empty username is provided, basic
	// authentication is enabled, with either a provided password or a generated
	// one.
	SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3
)

func (SetMasterAuthRequest_Action) Descriptor

func (SetMasterAuthRequest_Action) Enum

func (SetMasterAuthRequest_Action) EnumDescriptor deprecated

func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetMasterAuthRequest_Action.Descriptor instead.

func (SetMasterAuthRequest_Action) Number

func (SetMasterAuthRequest_Action) String

func (SetMasterAuthRequest_Action) Type

type SetMonitoringServiceRequest

type SetMonitoringServiceRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The monitoring service the cluster should use to write metrics.
	// Currently available options:
	//
	// * "monitoring.googleapis.com" - the Google Cloud Monitoring service
	// * "none" - no metrics will be exported from the cluster
	MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
	// The name (project, location, cluster) of the cluster to set monitoring.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMonitoringServiceRequest sets the monitoring service of a cluster.

func (*SetMonitoringServiceRequest) Descriptor deprecated

func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMonitoringServiceRequest.ProtoReflect.Descriptor instead.

func (*SetMonitoringServiceRequest) GetClusterId

func (x *SetMonitoringServiceRequest) GetClusterId() string

func (*SetMonitoringServiceRequest) GetMonitoringService

func (x *SetMonitoringServiceRequest) GetMonitoringService() string

func (*SetMonitoringServiceRequest) GetName

func (x *SetMonitoringServiceRequest) GetName() string

func (*SetMonitoringServiceRequest) GetProjectId

func (x *SetMonitoringServiceRequest) GetProjectId() string

func (*SetMonitoringServiceRequest) GetZone

func (x *SetMonitoringServiceRequest) GetZone() string

func (*SetMonitoringServiceRequest) ProtoMessage

func (*SetMonitoringServiceRequest) ProtoMessage()

func (*SetMonitoringServiceRequest) ProtoReflect

func (*SetMonitoringServiceRequest) Reset

func (x *SetMonitoringServiceRequest) Reset()

func (*SetMonitoringServiceRequest) String

func (x *SetMonitoringServiceRequest) String() string

type SetNetworkPolicyRequest

type SetNetworkPolicyRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
	// The name (project, location, cluster id) of the cluster to set networking
	// policy.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNetworkPolicyRequest enables/disables network policy for a cluster.

func (*SetNetworkPolicyRequest) Descriptor deprecated

func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetNetworkPolicyRequest) GetClusterId

func (x *SetNetworkPolicyRequest) GetClusterId() string

func (*SetNetworkPolicyRequest) GetName

func (x *SetNetworkPolicyRequest) GetName() string

func (*SetNetworkPolicyRequest) GetNetworkPolicy

func (x *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy

func (*SetNetworkPolicyRequest) GetProjectId

func (x *SetNetworkPolicyRequest) GetProjectId() string

func (*SetNetworkPolicyRequest) GetZone

func (x *SetNetworkPolicyRequest) GetZone() string

func (*SetNetworkPolicyRequest) ProtoMessage

func (*SetNetworkPolicyRequest) ProtoMessage()

func (*SetNetworkPolicyRequest) ProtoReflect

func (x *SetNetworkPolicyRequest) ProtoReflect() protoreflect.Message

func (*SetNetworkPolicyRequest) Reset

func (x *SetNetworkPolicyRequest) Reset()

func (*SetNetworkPolicyRequest) String

func (x *SetNetworkPolicyRequest) String() string

type SetNodePoolAutoscalingRequest

type SetNodePoolAutoscalingRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to upgrade.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// Autoscaling configuration for the node pool.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
	// The name (project, location, cluster, node pool) of the node pool to set
	// autoscaler settings. Specified in the format
	// 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

func (*SetNodePoolAutoscalingRequest) Descriptor deprecated

func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolAutoscalingRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolAutoscalingRequest) GetAutoscaling

func (*SetNodePoolAutoscalingRequest) GetClusterId

func (x *SetNodePoolAutoscalingRequest) GetClusterId() string

func (*SetNodePoolAutoscalingRequest) GetName

func (*SetNodePoolAutoscalingRequest) GetNodePoolId

func (x *SetNodePoolAutoscalingRequest) GetNodePoolId() string

func (*SetNodePoolAutoscalingRequest) GetProjectId

func (x *SetNodePoolAutoscalingRequest) GetProjectId() string

func (*SetNodePoolAutoscalingRequest) GetZone

func (*SetNodePoolAutoscalingRequest) ProtoMessage

func (*SetNodePoolAutoscalingRequest) ProtoMessage()

func (*SetNodePoolAutoscalingRequest) ProtoReflect

func (*SetNodePoolAutoscalingRequest) Reset

func (x *SetNodePoolAutoscalingRequest) Reset()

func (*SetNodePoolAutoscalingRequest) String

type SetNodePoolManagementRequest

type SetNodePoolManagementRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to update.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to update.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// NodeManagement configuration for the node pool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to set
	// management properties. Specified in the format
	// 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolManagementRequest sets the node management properties of a node pool.

func (*SetNodePoolManagementRequest) Descriptor deprecated

func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolManagementRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolManagementRequest) GetClusterId

func (x *SetNodePoolManagementRequest) GetClusterId() string

func (*SetNodePoolManagementRequest) GetManagement

func (x *SetNodePoolManagementRequest) GetManagement() *NodeManagement

func (*SetNodePoolManagementRequest) GetName

func (x *SetNodePoolManagementRequest) GetName() string

func (*SetNodePoolManagementRequest) GetNodePoolId

func (x *SetNodePoolManagementRequest) GetNodePoolId() string

func (*SetNodePoolManagementRequest) GetProjectId

func (x *SetNodePoolManagementRequest) GetProjectId() string

func (*SetNodePoolManagementRequest) GetZone

func (x *SetNodePoolManagementRequest) GetZone() string

func (*SetNodePoolManagementRequest) ProtoMessage

func (*SetNodePoolManagementRequest) ProtoMessage()

func (*SetNodePoolManagementRequest) ProtoReflect

func (*SetNodePoolManagementRequest) Reset

func (x *SetNodePoolManagementRequest) Reset()

func (*SetNodePoolManagementRequest) String

type SetNodePoolSizeRequest

type SetNodePoolSizeRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to update.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to update.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The desired node count for the pool.
	NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to set
	// size.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolSizeRequest sets the size a node pool.

func (*SetNodePoolSizeRequest) Descriptor deprecated

func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolSizeRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolSizeRequest) GetClusterId

func (x *SetNodePoolSizeRequest) GetClusterId() string

func (*SetNodePoolSizeRequest) GetName

func (x *SetNodePoolSizeRequest) GetName() string

func (*SetNodePoolSizeRequest) GetNodeCount

func (x *SetNodePoolSizeRequest) GetNodeCount() int32

func (*SetNodePoolSizeRequest) GetNodePoolId

func (x *SetNodePoolSizeRequest) GetNodePoolId() string

func (*SetNodePoolSizeRequest) GetProjectId

func (x *SetNodePoolSizeRequest) GetProjectId() string

func (*SetNodePoolSizeRequest) GetZone

func (x *SetNodePoolSizeRequest) GetZone() string

func (*SetNodePoolSizeRequest) ProtoMessage

func (*SetNodePoolSizeRequest) ProtoMessage()

func (*SetNodePoolSizeRequest) ProtoReflect

func (x *SetNodePoolSizeRequest) ProtoReflect() protoreflect.Message

func (*SetNodePoolSizeRequest) Reset

func (x *SetNodePoolSizeRequest) Reset()

func (*SetNodePoolSizeRequest) String

func (x *SetNodePoolSizeRequest) String() string

type StartIPRotationRequest

type StartIPRotationRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster id) of the cluster to start IP rotation.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.

func (*StartIPRotationRequest) Descriptor deprecated

func (*StartIPRotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartIPRotationRequest.ProtoReflect.Descriptor instead.

func (*StartIPRotationRequest) GetClusterId

func (x *StartIPRotationRequest) GetClusterId() string

func (*StartIPRotationRequest) GetName

func (x *StartIPRotationRequest) GetName() string

func (*StartIPRotationRequest) GetProjectId

func (x *StartIPRotationRequest) GetProjectId() string

func (*StartIPRotationRequest) GetZone

func (x *StartIPRotationRequest) GetZone() string

func (*StartIPRotationRequest) ProtoMessage

func (*StartIPRotationRequest) ProtoMessage()

func (*StartIPRotationRequest) ProtoReflect

func (x *StartIPRotationRequest) ProtoReflect() protoreflect.Message

func (*StartIPRotationRequest) Reset

func (x *StartIPRotationRequest) Reset()

func (*StartIPRotationRequest) String

func (x *StartIPRotationRequest) String() string

type UnimplementedClusterManagerServer

type UnimplementedClusterManagerServer struct {
}

UnimplementedClusterManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterManagerServer) CancelOperation

func (*UnimplementedClusterManagerServer) CompleteIPRotation

func (*UnimplementedClusterManagerServer) CreateCluster

func (*UnimplementedClusterManagerServer) CreateNodePool

func (*UnimplementedClusterManagerServer) DeleteCluster

func (*UnimplementedClusterManagerServer) DeleteNodePool

func (*UnimplementedClusterManagerServer) GetCluster

func (*UnimplementedClusterManagerServer) GetNodePool

func (*UnimplementedClusterManagerServer) GetOperation

func (*UnimplementedClusterManagerServer) GetServerConfig

func (*UnimplementedClusterManagerServer) ListClusters

func (*UnimplementedClusterManagerServer) ListNodePools

func (*UnimplementedClusterManagerServer) ListOperations

func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade

func (*UnimplementedClusterManagerServer) SetAddonsConfig

func (*UnimplementedClusterManagerServer) SetLabels

func (*UnimplementedClusterManagerServer) SetLegacyAbac

func (*UnimplementedClusterManagerServer) SetLocations

func (*UnimplementedClusterManagerServer) SetLoggingService

func (*UnimplementedClusterManagerServer) SetMaintenancePolicy

func (*UnimplementedClusterManagerServer) SetMasterAuth

func (*UnimplementedClusterManagerServer) SetMonitoringService

func (*UnimplementedClusterManagerServer) SetNetworkPolicy

func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling

func (*UnimplementedClusterManagerServer) SetNodePoolManagement

func (*UnimplementedClusterManagerServer) SetNodePoolSize

func (*UnimplementedClusterManagerServer) StartIPRotation

func (*UnimplementedClusterManagerServer) UpdateCluster

func (*UnimplementedClusterManagerServer) UpdateMaster

func (*UnimplementedClusterManagerServer) UpdateNodePool

type UpdateClusterRequest

type UpdateClusterRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// A description of the update.
	Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"`
	// The name (project, location, cluster) of the cluster to update.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UpdateClusterRequest updates the settings of a cluster.

func (*UpdateClusterRequest) Descriptor deprecated

func (*UpdateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetClusterId

func (x *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetName

func (x *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetProjectId

func (x *UpdateClusterRequest) GetProjectId() string

func (*UpdateClusterRequest) GetUpdate

func (x *UpdateClusterRequest) GetUpdate() *ClusterUpdate

func (*UpdateClusterRequest) GetZone

func (x *UpdateClusterRequest) GetZone() string

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateMasterRequest

type UpdateMasterRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The Kubernetes version to change the master to. The only valid value is the
	// latest supported version. Use "-" to have the server automatically select
	// the latest version.
	MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"`
	// The name (project, location, cluster) of the cluster to update.
	// Specified in the format 'projects/*/locations/*/clusters/*'.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UpdateMasterRequest updates the master of the cluster.

func (*UpdateMasterRequest) Descriptor deprecated

func (*UpdateMasterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMasterRequest.ProtoReflect.Descriptor instead.

func (*UpdateMasterRequest) GetClusterId

func (x *UpdateMasterRequest) GetClusterId() string

func (*UpdateMasterRequest) GetMasterVersion

func (x *UpdateMasterRequest) GetMasterVersion() string

func (*UpdateMasterRequest) GetName

func (x *UpdateMasterRequest) GetName() string

func (*UpdateMasterRequest) GetProjectId

func (x *UpdateMasterRequest) GetProjectId() string

func (*UpdateMasterRequest) GetZone

func (x *UpdateMasterRequest) GetZone() string

func (*UpdateMasterRequest) ProtoMessage

func (*UpdateMasterRequest) ProtoMessage()

func (*UpdateMasterRequest) ProtoReflect

func (x *UpdateMasterRequest) ProtoReflect() protoreflect.Message

func (*UpdateMasterRequest) Reset

func (x *UpdateMasterRequest) Reset()

func (*UpdateMasterRequest) String

func (x *UpdateMasterRequest) String() string

type UpdateNodePoolRequest

type UpdateNodePoolRequest struct {

	// The Google Developers Console [project ID or project
	// number](https://support.google.com/cloud/answer/6158840).
	// This field is deprecated, use name instead.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	// This field is deprecated, use name instead.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	// This field is deprecated, use name instead.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name of the node pool to upgrade.
	// This field is deprecated, use name instead.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The Kubernetes version to change the nodes to (typically an
	// upgrade). Use `-` to upgrade to the latest version supported by
	// the server.
	NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
	// The desired image type for the node pool.
	ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
	// The name (project, location, cluster, node pool) of the node pool to update.
	// Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
	Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolVersionRequest updates the version of a node pool.

func (*UpdateNodePoolRequest) Descriptor deprecated

func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodePoolRequest) GetClusterId

func (x *UpdateNodePoolRequest) GetClusterId() string

func (*UpdateNodePoolRequest) GetImageType

func (x *UpdateNodePoolRequest) GetImageType() string

func (*UpdateNodePoolRequest) GetName

func (x *UpdateNodePoolRequest) GetName() string

func (*UpdateNodePoolRequest) GetNodePoolId

func (x *UpdateNodePoolRequest) GetNodePoolId() string

func (*UpdateNodePoolRequest) GetNodeVersion

func (x *UpdateNodePoolRequest) GetNodeVersion() string

func (*UpdateNodePoolRequest) GetProjectId

func (x *UpdateNodePoolRequest) GetProjectId() string

func (*UpdateNodePoolRequest) GetZone

func (x *UpdateNodePoolRequest) GetZone() string

func (*UpdateNodePoolRequest) ProtoMessage

func (*UpdateNodePoolRequest) ProtoMessage()

func (*UpdateNodePoolRequest) ProtoReflect

func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodePoolRequest) Reset

func (x *UpdateNodePoolRequest) Reset()

func (*UpdateNodePoolRequest) String

func (x *UpdateNodePoolRequest) String() string

Jump to

Keyboard shortcuts

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