container

package
v0.0.0-...-52d6a69 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package container is a generated protocol buffer package.

It is generated from these files:

google/container/v1/cluster_service.proto

It has these top-level messages:

NodeConfig
MasterAuth
ClientCertificateConfig
AddonsConfig
HttpLoadBalancing
HorizontalPodAutoscaling
KubernetesDashboard
MasterAuthorizedNetworksConfig
LegacyAbac
NetworkPolicy
IPAllocationPolicy
Cluster
ClusterUpdate
Operation
CreateClusterRequest
GetClusterRequest
UpdateClusterRequest
UpdateNodePoolRequest
SetNodePoolAutoscalingRequest
SetLoggingServiceRequest
SetMonitoringServiceRequest
SetAddonsConfigRequest
SetLocationsRequest
UpdateMasterRequest
SetMasterAuthRequest
DeleteClusterRequest
ListClustersRequest
ListClustersResponse
GetOperationRequest
ListOperationsRequest
CancelOperationRequest
ListOperationsResponse
GetServerConfigRequest
ServerConfig
CreateNodePoolRequest
DeleteNodePoolRequest
ListNodePoolsRequest
GetNodePoolRequest
NodePool
NodeManagement
AutoUpgradeOptions
SetNodePoolManagementRequest
SetNodePoolSizeRequest
RollbackNodePoolUpgradeRequest
ListNodePoolsResponse
NodePoolAutoscaling
SetLabelsRequest
SetLegacyAbacRequest
StartIPRotationRequest
CompleteIPRotationRequest
AcceleratorConfig
SetNetworkPolicyRequest

Index

Constants

This section is empty.

Variables

View Source
var Cluster_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "PROVISIONING",
	2: "RUNNING",
	3: "RECONCILING",
	4: "STOPPING",
	5: "ERROR",
}
View Source
var Cluster_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"PROVISIONING":       1,
	"RUNNING":            2,
	"RECONCILING":        3,
	"STOPPING":           4,
	"ERROR":              5,
}
View Source
var NetworkPolicy_Provider_name = map[int32]string{
	0: "PROVIDER_UNSPECIFIED",
	1: "CALICO",
}
View Source
var NetworkPolicy_Provider_value = map[string]int32{
	"PROVIDER_UNSPECIFIED": 0,
	"CALICO":               1,
}
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",
}
View Source
var NodePool_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"PROVISIONING":       1,
	"RUNNING":            2,
	"RUNNING_WITH_ERROR": 3,
	"RECONCILING":        4,
	"STOPPING":           5,
	"ERROR":              6,
}
View Source
var Operation_Status_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "PENDING",
	2: "RUNNING",
	3: "DONE",
	4: "ABORTING",
}
View Source
var Operation_Status_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"PENDING":            1,
	"RUNNING":            2,
	"DONE":               3,
	"ABORTING":           4,
}
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",
}
View Source
var 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,
}
View Source
var SetMasterAuthRequest_Action_name = map[int32]string{
	0: "UNKNOWN",
	1: "SET_PASSWORD",
	2: "GENERATE_PASSWORD",
}
View Source
var SetMasterAuthRequest_Action_value = map[string]int32{
	"UNKNOWN":           0,
	"SET_PASSWORD":      1,
	"GENERATE_PASSWORD": 2,
}

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" 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" json:"accelerator_type,omitempty"`
}

AcceleratorConfig represents a Hardware Accelerator request.

func (*AcceleratorConfig) Descriptor

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

func (*AcceleratorConfig) GetAcceleratorCount

func (m *AcceleratorConfig) GetAcceleratorCount() int64

func (*AcceleratorConfig) GetAcceleratorType

func (m *AcceleratorConfig) GetAcceleratorType() string

func (*AcceleratorConfig) ProtoMessage

func (*AcceleratorConfig) ProtoMessage()

func (*AcceleratorConfig) Reset

func (m *AcceleratorConfig) Reset()

func (*AcceleratorConfig) String

func (m *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" 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 `` /* 128-byte string literal not displayed */
	// Configuration for the Kubernetes Dashboard.
	KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard" json:"kubernetes_dashboard,omitempty"`
}

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

func (*AddonsConfig) Descriptor

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

func (*AddonsConfig) GetHorizontalPodAutoscaling

func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling

func (*AddonsConfig) GetHttpLoadBalancing

func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing

func (*AddonsConfig) GetKubernetesDashboard

func (m *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard

func (*AddonsConfig) ProtoMessage

func (*AddonsConfig) ProtoMessage()

func (*AddonsConfig) Reset

func (m *AddonsConfig) Reset()

func (*AddonsConfig) String

func (m *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" 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" json:"description,omitempty"`
}

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

func (*AutoUpgradeOptions) Descriptor

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

func (*AutoUpgradeOptions) GetAutoUpgradeStartTime

func (m *AutoUpgradeOptions) GetAutoUpgradeStartTime() string

func (*AutoUpgradeOptions) GetDescription

func (m *AutoUpgradeOptions) GetDescription() string

func (*AutoUpgradeOptions) ProtoMessage

func (*AutoUpgradeOptions) ProtoMessage()

func (*AutoUpgradeOptions) Reset

func (m *AutoUpgradeOptions) Reset()

func (*AutoUpgradeOptions) String

func (m *AutoUpgradeOptions) String() string

type CancelOperationRequest

type CancelOperationRequest 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" json:"project_id,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the operation resides.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
	// The server-assigned `name` of the operation.
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
}

CancelOperationRequest cancels a single operation.

func (*CancelOperationRequest) Descriptor

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

func (*CancelOperationRequest) GetOperationId

func (m *CancelOperationRequest) GetOperationId() string

func (*CancelOperationRequest) GetProjectId

func (m *CancelOperationRequest) GetProjectId() string

func (*CancelOperationRequest) GetZone

func (m *CancelOperationRequest) GetZone() string

func (*CancelOperationRequest) ProtoMessage

func (*CancelOperationRequest) ProtoMessage()

func (*CancelOperationRequest) Reset

func (m *CancelOperationRequest) Reset()

func (*CancelOperationRequest) String

func (m *CancelOperationRequest) String() string

type ClientCertificateConfig

type ClientCertificateConfig struct {
	// Issue a client certificate.
	IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate" json:"issue_client_certificate,omitempty"`
}

Configuration for client certificates on the cluster.

func (*ClientCertificateConfig) Descriptor

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

func (*ClientCertificateConfig) GetIssueClientCertificate

func (m *ClientCertificateConfig) GetIssueClientCertificate() bool

func (*ClientCertificateConfig) ProtoMessage

func (*ClientCertificateConfig) ProtoMessage()

func (*ClientCertificateConfig) Reset

func (m *ClientCertificateConfig) Reset()

func (*ClientCertificateConfig) String

func (m *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" json:"name,omitempty"`
	// An optional description of this cluster.
	Description string `protobuf:"bytes,2,opt,name=description" 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" 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" json:"node_config,omitempty"`
	// The authentication information for accessing the master endpoint.
	MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth" 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" 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" 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" 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" 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" 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" 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" 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" 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 `protobuf:"varint,14,opt,name=enable_kubernetes_alpha,json=enableKubernetesAlpha" json:"enable_kubernetes_alpha,omitempty"`
	// The resource labels for the cluster to use to annotate any related
	// Google Compute Engine resources.
	ResourceLabels map[string]string `` /* 171-byte string literal not displayed */
	// The fingerprint of the set of labels for this cluster.
	LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint" json:"label_fingerprint,omitempty"`
	// Configuration for the legacy ABAC authorization mode.
	LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac" json:"legacy_abac,omitempty"`
	// Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy" json:"network_policy,omitempty"`
	// Configuration for cluster IP allocation.
	IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy" json:"ip_allocation_policy,omitempty"`
	// Master authorized networks is a Beta feature.
	// The configuration options for master authorized networks feature.
	MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 149-byte string literal not displayed */
	// [Output only] Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink" json:"self_link,omitempty"`
	// [Output only] The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the cluster
	// resides.
	Zone string `protobuf:"bytes,101,opt,name=zone" 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" 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 `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion" json:"initial_cluster_version,omitempty"`
	// [Output only] The current software version of the master endpoint.
	CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion" 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" 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" json:"create_time,omitempty"`
	// [Output only] The current status of this cluster.
	Status Cluster_Status `protobuf:"varint,107,opt,name=status,enum=google.container.v1.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" 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" 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" 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" 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" 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" json:"expire_time,omitempty"`
}

A Google Container Engine cluster.

func (*Cluster) Descriptor

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

func (*Cluster) GetAddonsConfig

func (m *Cluster) GetAddonsConfig() *AddonsConfig

func (*Cluster) GetClusterIpv4Cidr

func (m *Cluster) GetClusterIpv4Cidr() string

func (*Cluster) GetCreateTime

func (m *Cluster) GetCreateTime() string

func (*Cluster) GetCurrentMasterVersion

func (m *Cluster) GetCurrentMasterVersion() string

func (*Cluster) GetCurrentNodeCount

func (m *Cluster) GetCurrentNodeCount() int32

func (*Cluster) GetCurrentNodeVersion

func (m *Cluster) GetCurrentNodeVersion() string

func (*Cluster) GetDescription

func (m *Cluster) GetDescription() string

func (*Cluster) GetEnableKubernetesAlpha

func (m *Cluster) GetEnableKubernetesAlpha() bool

func (*Cluster) GetEndpoint

func (m *Cluster) GetEndpoint() string

func (*Cluster) GetExpireTime

func (m *Cluster) GetExpireTime() string

func (*Cluster) GetInitialClusterVersion

func (m *Cluster) GetInitialClusterVersion() string

func (*Cluster) GetInitialNodeCount

func (m *Cluster) GetInitialNodeCount() int32

func (*Cluster) GetInstanceGroupUrls

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

func (*Cluster) GetIpAllocationPolicy

func (m *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy

func (*Cluster) GetLabelFingerprint

func (m *Cluster) GetLabelFingerprint() string

func (*Cluster) GetLegacyAbac

func (m *Cluster) GetLegacyAbac() *LegacyAbac

func (*Cluster) GetLocations

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

func (*Cluster) GetLoggingService

func (m *Cluster) GetLoggingService() string

func (*Cluster) GetMasterAuth

func (m *Cluster) GetMasterAuth() *MasterAuth

func (*Cluster) GetMasterAuthorizedNetworksConfig

func (m *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*Cluster) GetMonitoringService

func (m *Cluster) GetMonitoringService() string

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetNetwork

func (m *Cluster) GetNetwork() string

func (*Cluster) GetNetworkPolicy

func (m *Cluster) GetNetworkPolicy() *NetworkPolicy

func (*Cluster) GetNodeConfig

func (m *Cluster) GetNodeConfig() *NodeConfig

func (*Cluster) GetNodeIpv4CidrSize

func (m *Cluster) GetNodeIpv4CidrSize() int32

func (*Cluster) GetNodePools

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

func (*Cluster) GetResourceLabels

func (m *Cluster) GetResourceLabels() map[string]string
func (m *Cluster) GetSelfLink() string

func (*Cluster) GetServicesIpv4Cidr

func (m *Cluster) GetServicesIpv4Cidr() string

func (*Cluster) GetStatus

func (m *Cluster) GetStatus() Cluster_Status

func (*Cluster) GetStatusMessage

func (m *Cluster) GetStatusMessage() string

func (*Cluster) GetSubnetwork

func (m *Cluster) GetSubnetwork() string

func (*Cluster) GetZone

func (m *Cluster) GetZone() string

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) String

func (m *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 image 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 the password.
	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) (*google_protobuf1.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)
}

func NewClusterManagerClient

func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient

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 image 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 the password.
	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) (*google_protobuf1.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)
}

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" 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 `` /* 128-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" 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" 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" 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 `` /* 136-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" json:"desired_locations,omitempty"`
	// Master authorized networks is a Beta feature.
	// The desired configuration options for master authorized networks feature.
	DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 172-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" json:"desired_master_version,omitempty"`
}

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

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

func (*ClusterUpdate) GetDesiredAddonsConfig

func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig

func (*ClusterUpdate) GetDesiredImageType

func (m *ClusterUpdate) GetDesiredImageType() string

func (*ClusterUpdate) GetDesiredLocations

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

func (*ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig

func (m *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*ClusterUpdate) GetDesiredMasterVersion

func (m *ClusterUpdate) GetDesiredMasterVersion() string

func (*ClusterUpdate) GetDesiredMonitoringService

func (m *ClusterUpdate) GetDesiredMonitoringService() string

func (*ClusterUpdate) GetDesiredNodePoolAutoscaling

func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling

func (*ClusterUpdate) GetDesiredNodePoolId

func (m *ClusterUpdate) GetDesiredNodePoolId() string

func (*ClusterUpdate) GetDesiredNodeVersion

func (m *ClusterUpdate) GetDesiredNodeVersion() string

func (*ClusterUpdate) ProtoMessage

func (*ClusterUpdate) ProtoMessage()

func (*ClusterUpdate) Reset

func (m *ClusterUpdate) Reset()

func (*ClusterUpdate) String

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

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

func (Cluster_Status) String

func (x Cluster_Status) String() string

type CompleteIPRotationRequest

type CompleteIPRotationRequest struct {
	// The Google Developers Console [project ID or project
	// number](https://developers.google.com/console/help/new/#projectnumber).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
}

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

func (*CompleteIPRotationRequest) Descriptor

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

func (*CompleteIPRotationRequest) GetClusterId

func (m *CompleteIPRotationRequest) GetClusterId() string

func (*CompleteIPRotationRequest) GetProjectId

func (m *CompleteIPRotationRequest) GetProjectId() string

func (*CompleteIPRotationRequest) GetZone

func (m *CompleteIPRotationRequest) GetZone() string

func (*CompleteIPRotationRequest) ProtoMessage

func (*CompleteIPRotationRequest) ProtoMessage()

func (*CompleteIPRotationRequest) Reset

func (m *CompleteIPRotationRequest) Reset()

func (*CompleteIPRotationRequest) String

func (m *CompleteIPRotationRequest) String() string

type CreateClusterRequest

type CreateClusterRequest 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" 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" json:"zone,omitempty"`
	// A [cluster
	// resource](/container-engine/reference/rest/v1/projects.zones.clusters)
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster" json:"cluster,omitempty"`
}

CreateClusterRequest creates a cluster.

func (*CreateClusterRequest) Descriptor

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

func (*CreateClusterRequest) GetCluster

func (m *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetProjectId

func (m *CreateClusterRequest) GetProjectId() string

func (*CreateClusterRequest) GetZone

func (m *CreateClusterRequest) GetZone() string

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) Reset

func (m *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The node pool to create.
	NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool" json:"node_pool,omitempty"`
}

CreateNodePoolRequest creates a node pool for a cluster.

func (*CreateNodePoolRequest) Descriptor

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

func (*CreateNodePoolRequest) GetClusterId

func (m *CreateNodePoolRequest) GetClusterId() string

func (*CreateNodePoolRequest) GetNodePool

func (m *CreateNodePoolRequest) GetNodePool() *NodePool

func (*CreateNodePoolRequest) GetProjectId

func (m *CreateNodePoolRequest) GetProjectId() string

func (*CreateNodePoolRequest) GetZone

func (m *CreateNodePoolRequest) GetZone() string

func (*CreateNodePoolRequest) ProtoMessage

func (*CreateNodePoolRequest) ProtoMessage()

func (*CreateNodePoolRequest) Reset

func (m *CreateNodePoolRequest) Reset()

func (*CreateNodePoolRequest) String

func (m *CreateNodePoolRequest) String() string

type DeleteClusterRequest

type DeleteClusterRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to delete.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
}

DeleteClusterRequest deletes a cluster.

func (*DeleteClusterRequest) Descriptor

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

func (*DeleteClusterRequest) GetClusterId

func (m *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) GetProjectId

func (m *DeleteClusterRequest) GetProjectId() string

func (*DeleteClusterRequest) GetZone

func (m *DeleteClusterRequest) GetZone() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) Reset

func (m *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to delete.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
}

DeleteNodePoolRequest deletes a node pool for a cluster.

func (*DeleteNodePoolRequest) Descriptor

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

func (*DeleteNodePoolRequest) GetClusterId

func (m *DeleteNodePoolRequest) GetClusterId() string

func (*DeleteNodePoolRequest) GetNodePoolId

func (m *DeleteNodePoolRequest) GetNodePoolId() string

func (*DeleteNodePoolRequest) GetProjectId

func (m *DeleteNodePoolRequest) GetProjectId() string

func (*DeleteNodePoolRequest) GetZone

func (m *DeleteNodePoolRequest) GetZone() string

func (*DeleteNodePoolRequest) ProtoMessage

func (*DeleteNodePoolRequest) ProtoMessage()

func (*DeleteNodePoolRequest) Reset

func (m *DeleteNodePoolRequest) Reset()

func (*DeleteNodePoolRequest) String

func (m *DeleteNodePoolRequest) String() string

type GetClusterRequest

type GetClusterRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to retrieve.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
}

GetClusterRequest gets the settings of a cluster.

func (*GetClusterRequest) Descriptor

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

func (*GetClusterRequest) GetClusterId

func (m *GetClusterRequest) GetClusterId() string

func (*GetClusterRequest) GetProjectId

func (m *GetClusterRequest) GetProjectId() string

func (*GetClusterRequest) GetZone

func (m *GetClusterRequest) GetZone() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) Reset

func (m *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
}

GetNodePoolRequest retrieves a node pool for a cluster.

func (*GetNodePoolRequest) Descriptor

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

func (*GetNodePoolRequest) GetClusterId

func (m *GetNodePoolRequest) GetClusterId() string

func (*GetNodePoolRequest) GetNodePoolId

func (m *GetNodePoolRequest) GetNodePoolId() string

func (*GetNodePoolRequest) GetProjectId

func (m *GetNodePoolRequest) GetProjectId() string

func (*GetNodePoolRequest) GetZone

func (m *GetNodePoolRequest) GetZone() string

func (*GetNodePoolRequest) ProtoMessage

func (*GetNodePoolRequest) ProtoMessage()

func (*GetNodePoolRequest) Reset

func (m *GetNodePoolRequest) Reset()

func (*GetNodePoolRequest) String

func (m *GetNodePoolRequest) String() string

type GetOperationRequest

type GetOperationRequest 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" 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" json:"zone,omitempty"`
	// The server-assigned `name` of the operation.
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId" json:"operation_id,omitempty"`
}

GetOperationRequest gets a single operation.

func (*GetOperationRequest) Descriptor

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

func (*GetOperationRequest) GetOperationId

func (m *GetOperationRequest) GetOperationId() string

func (*GetOperationRequest) GetProjectId

func (m *GetOperationRequest) GetProjectId() string

func (*GetOperationRequest) GetZone

func (m *GetOperationRequest) GetZone() string

func (*GetOperationRequest) ProtoMessage

func (*GetOperationRequest) ProtoMessage()

func (*GetOperationRequest) Reset

func (m *GetOperationRequest) Reset()

func (*GetOperationRequest) String

func (m *GetOperationRequest) String() string

type GetServerConfigRequest

type GetServerConfigRequest 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" json:"project_id,omitempty"`
	// The name of the Google Compute Engine [zone](/compute/docs/zones#available)
	// to return operations for.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
}

Gets the current Container Engine service configuration.

func (*GetServerConfigRequest) Descriptor

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

func (*GetServerConfigRequest) GetProjectId

func (m *GetServerConfigRequest) GetProjectId() string

func (*GetServerConfigRequest) GetZone

func (m *GetServerConfigRequest) GetZone() string

func (*GetServerConfigRequest) ProtoMessage

func (*GetServerConfigRequest) ProtoMessage()

func (*GetServerConfigRequest) Reset

func (m *GetServerConfigRequest) Reset()

func (*GetServerConfigRequest) String

func (m *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" json:"disabled,omitempty"`
}

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

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

func (*HorizontalPodAutoscaling) GetDisabled

func (m *HorizontalPodAutoscaling) GetDisabled() bool

func (*HorizontalPodAutoscaling) ProtoMessage

func (*HorizontalPodAutoscaling) ProtoMessage()

func (*HorizontalPodAutoscaling) Reset

func (m *HorizontalPodAutoscaling) Reset()

func (*HorizontalPodAutoscaling) String

func (m *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" json:"disabled,omitempty"`
}

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

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

func (*HttpLoadBalancing) GetDisabled

func (m *HttpLoadBalancing) GetDisabled() bool

func (*HttpLoadBalancing) ProtoMessage

func (*HttpLoadBalancing) ProtoMessage()

func (*HttpLoadBalancing) Reset

func (m *HttpLoadBalancing) Reset()

func (*HttpLoadBalancing) String

func (m *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" 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" 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" json:"subnetwork_name,omitempty"`
	// 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 will be chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range be 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.
	ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr" json:"cluster_ipv4_cidr,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 will be chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range be 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.
	NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr" json:"node_ipv4_cidr,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 will be chosen with the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range be 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.
	ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr" json:"services_ipv4_cidr,omitempty"`
}

Configuration for controlling how IPs are allocated in the cluster.

func (*IPAllocationPolicy) Descriptor

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

func (*IPAllocationPolicy) GetClusterIpv4Cidr

func (m *IPAllocationPolicy) GetClusterIpv4Cidr() string

func (*IPAllocationPolicy) GetCreateSubnetwork

func (m *IPAllocationPolicy) GetCreateSubnetwork() bool

func (*IPAllocationPolicy) GetNodeIpv4Cidr

func (m *IPAllocationPolicy) GetNodeIpv4Cidr() string

func (*IPAllocationPolicy) GetServicesIpv4Cidr

func (m *IPAllocationPolicy) GetServicesIpv4Cidr() string

func (*IPAllocationPolicy) GetSubnetworkName

func (m *IPAllocationPolicy) GetSubnetworkName() string

func (*IPAllocationPolicy) GetUseIpAliases

func (m *IPAllocationPolicy) GetUseIpAliases() bool

func (*IPAllocationPolicy) ProtoMessage

func (*IPAllocationPolicy) ProtoMessage()

func (*IPAllocationPolicy) Reset

func (m *IPAllocationPolicy) Reset()

func (*IPAllocationPolicy) String

func (m *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" json:"disabled,omitempty"`
}

Configuration for the Kubernetes Dashboard.

func (*KubernetesDashboard) Descriptor

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

func (*KubernetesDashboard) GetDisabled

func (m *KubernetesDashboard) GetDisabled() bool

func (*KubernetesDashboard) ProtoMessage

func (*KubernetesDashboard) ProtoMessage()

func (*KubernetesDashboard) Reset

func (m *KubernetesDashboard) Reset()

func (*KubernetesDashboard) String

func (m *KubernetesDashboard) String() string

type LegacyAbac

type LegacyAbac struct {
	// Whether the ABAC authorizer is enabled for this cluster. When enabled,
	// identities in the system, including service accounts, nodes, and
	// controllers, will have statically granted permissions beyond those
	// provided by the RBAC configuration or IAM.
	Enabled bool `protobuf:"varint,1,opt,name=enabled" json:"enabled,omitempty"`
}

Configuration for the legacy Attribute Based Access Control authorization mode.

func (*LegacyAbac) Descriptor

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

func (*LegacyAbac) GetEnabled

func (m *LegacyAbac) GetEnabled() bool

func (*LegacyAbac) ProtoMessage

func (*LegacyAbac) ProtoMessage()

func (*LegacyAbac) Reset

func (m *LegacyAbac) Reset()

func (*LegacyAbac) String

func (m *LegacyAbac) String() string

type ListClustersRequest

type ListClustersRequest 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" 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.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
}

ListClustersRequest lists clusters.

func (*ListClustersRequest) Descriptor

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

func (*ListClustersRequest) GetProjectId

func (m *ListClustersRequest) GetProjectId() string

func (*ListClustersRequest) GetZone

func (m *ListClustersRequest) GetZone() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) Reset

func (m *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (m *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" 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" json:"missing_zones,omitempty"`
}

ListClustersResponse is the result of ListClustersRequest.

func (*ListClustersResponse) Descriptor

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

func (*ListClustersResponse) GetClusters

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

func (*ListClustersResponse) GetMissingZones

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

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) Reset

func (m *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
}

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

func (*ListNodePoolsRequest) Descriptor

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

func (*ListNodePoolsRequest) GetClusterId

func (m *ListNodePoolsRequest) GetClusterId() string

func (*ListNodePoolsRequest) GetProjectId

func (m *ListNodePoolsRequest) GetProjectId() string

func (*ListNodePoolsRequest) GetZone

func (m *ListNodePoolsRequest) GetZone() string

func (*ListNodePoolsRequest) ProtoMessage

func (*ListNodePoolsRequest) ProtoMessage()

func (*ListNodePoolsRequest) Reset

func (m *ListNodePoolsRequest) Reset()

func (*ListNodePoolsRequest) String

func (m *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" json:"node_pools,omitempty"`
}

ListNodePoolsResponse is the result of ListNodePoolsRequest.

func (*ListNodePoolsResponse) Descriptor

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

func (*ListNodePoolsResponse) GetNodePools

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

func (*ListNodePoolsResponse) ProtoMessage

func (*ListNodePoolsResponse) ProtoMessage()

func (*ListNodePoolsResponse) Reset

func (m *ListNodePoolsResponse) Reset()

func (*ListNodePoolsResponse) String

func (m *ListNodePoolsResponse) String() string

type ListOperationsRequest

type ListOperationsRequest 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" json:"project_id,omitempty"`
	// The name of the Google Compute Engine [zone](/compute/docs/zones#available)
	// to return operations for, or `-` for all zones.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
}

ListOperationsRequest lists operations.

func (*ListOperationsRequest) Descriptor

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

func (*ListOperationsRequest) GetProjectId

func (m *ListOperationsRequest) GetProjectId() string

func (*ListOperationsRequest) GetZone

func (m *ListOperationsRequest) GetZone() string

func (*ListOperationsRequest) ProtoMessage

func (*ListOperationsRequest) ProtoMessage()

func (*ListOperationsRequest) Reset

func (m *ListOperationsRequest) Reset()

func (*ListOperationsRequest) String

func (m *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" 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" json:"missing_zones,omitempty"`
}

ListOperationsResponse is the result of ListOperationsRequest.

func (*ListOperationsResponse) Descriptor

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

func (*ListOperationsResponse) GetMissingZones

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

func (*ListOperationsResponse) GetOperations

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

func (*ListOperationsResponse) ProtoMessage

func (*ListOperationsResponse) ProtoMessage()

func (*ListOperationsResponse) Reset

func (m *ListOperationsResponse) Reset()

func (*ListOperationsResponse) String

func (m *ListOperationsResponse) String() string

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" 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" json:"password,omitempty"`
	// Configuration for client certificate authentication on the cluster.  If no
	// configuration is specified, a client certificate is issued.
	ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig" json:"client_certificate_config,omitempty"`
	// [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" 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" 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" json:"client_key,omitempty"`
}

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

func (*MasterAuth) Descriptor

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

func (*MasterAuth) GetClientCertificate

func (m *MasterAuth) GetClientCertificate() string

func (*MasterAuth) GetClientCertificateConfig

func (m *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig

func (*MasterAuth) GetClientKey

func (m *MasterAuth) GetClientKey() string

func (*MasterAuth) GetClusterCaCertificate

func (m *MasterAuth) GetClusterCaCertificate() string

func (*MasterAuth) GetPassword

func (m *MasterAuth) GetPassword() string

func (*MasterAuth) GetUsername

func (m *MasterAuth) GetUsername() string

func (*MasterAuth) ProtoMessage

func (*MasterAuth) ProtoMessage()

func (*MasterAuth) Reset

func (m *MasterAuth) Reset()

func (*MasterAuth) String

func (m *MasterAuth) String() string

type MasterAuthorizedNetworksConfig

type MasterAuthorizedNetworksConfig struct {
	// Whether or not master authorized networks is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled" 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" json:"cidr_blocks,omitempty"`
}

Master authorized networks is a Beta feature. 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

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

func (*MasterAuthorizedNetworksConfig) GetCidrBlocks

func (*MasterAuthorizedNetworksConfig) GetEnabled

func (m *MasterAuthorizedNetworksConfig) GetEnabled() bool

func (*MasterAuthorizedNetworksConfig) ProtoMessage

func (*MasterAuthorizedNetworksConfig) ProtoMessage()

func (*MasterAuthorizedNetworksConfig) Reset

func (m *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" json:"display_name,omitempty"`
	// cidr_block must be specified in CIDR notation.
	CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock" json:"cidr_block,omitempty"`
}

CidrBlock contains an optional name and one CIDR block.

func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor

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

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName

func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage

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,enum=google.container.v1.NetworkPolicy_Provider" json:"provider,omitempty"`
	// Whether network policy is enabled on the cluster.
	Enabled bool `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"`
}

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

func (*NetworkPolicy) Descriptor

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

func (*NetworkPolicy) GetEnabled

func (m *NetworkPolicy) GetEnabled() bool

func (*NetworkPolicy) GetProvider

func (m *NetworkPolicy) GetProvider() NetworkPolicy_Provider

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) Reset

func (m *NetworkPolicy) Reset()

func (*NetworkPolicy) String

func (m *NetworkPolicy) 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) EnumDescriptor

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

func (NetworkPolicy_Provider) String

func (x NetworkPolicy_Provider) String() string

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" 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" 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" 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" 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 `` /* 136-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" 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:
	// http://kubernetes.io/v1.1/docs/user-guide/labels.html
	Labels map[string]string `` /* 132-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" 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" json:"tags,omitempty"`
	// Whether the nodes are created as preemptible VM instances. See:
	// https://cloud.google.com/compute/docs/instances/preemptible for more
	// information about preemptible VM instances.
	Preemptible bool `protobuf:"varint,10,opt,name=preemptible" 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" json:"accelerators,omitempty"`
}

Parameters that describe the nodes in a cluster.

func (*NodeConfig) Descriptor

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

func (*NodeConfig) GetAccelerators

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

func (*NodeConfig) GetDiskSizeGb

func (m *NodeConfig) GetDiskSizeGb() int32

func (*NodeConfig) GetImageType

func (m *NodeConfig) GetImageType() string

func (*NodeConfig) GetLabels

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

func (*NodeConfig) GetLocalSsdCount

func (m *NodeConfig) GetLocalSsdCount() int32

func (*NodeConfig) GetMachineType

func (m *NodeConfig) GetMachineType() string

func (*NodeConfig) GetMetadata

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

func (*NodeConfig) GetOauthScopes

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

func (*NodeConfig) GetPreemptible

func (m *NodeConfig) GetPreemptible() bool

func (*NodeConfig) GetServiceAccount

func (m *NodeConfig) GetServiceAccount() string

func (*NodeConfig) GetTags

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

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) Reset

func (m *NodeConfig) Reset()

func (*NodeConfig) String

func (m *NodeConfig) String() string

type NodeManagement

type NodeManagement struct {
	// A flag that specifies whether node auto-upgrade is enabled for the node
	// pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
	// up to date with the latest release version of Kubernetes.
	AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade" json:"auto_upgrade,omitempty"`
	// A flag that specifies whether the node auto-repair is enabled for the node
	// pool. If enabled, the nodes in this node pool will be monitored and, if
	// they fail health checks too many times, an automatic repair action will be
	// triggered.
	AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair" json:"auto_repair,omitempty"`
	// Specifies the Auto Upgrade knobs for the node pool.
	UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions" json:"upgrade_options,omitempty"`
}

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

func (*NodeManagement) Descriptor

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

func (*NodeManagement) GetAutoRepair

func (m *NodeManagement) GetAutoRepair() bool

func (*NodeManagement) GetAutoUpgrade

func (m *NodeManagement) GetAutoUpgrade() bool

func (*NodeManagement) GetUpgradeOptions

func (m *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions

func (*NodeManagement) ProtoMessage

func (*NodeManagement) ProtoMessage()

func (*NodeManagement) Reset

func (m *NodeManagement) Reset()

func (*NodeManagement) String

func (m *NodeManagement) String() string

type NodePool

type NodePool struct {
	// The name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The node configuration of the pool.
	Config *NodeConfig `protobuf:"bytes,2,opt,name=config" 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" json:"initial_node_count,omitempty"`
	// [Output only] Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink" json:"self_link,omitempty"`
	// [Output only] The version of the Kubernetes of this node.
	Version string `protobuf:"bytes,101,opt,name=version" 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" 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,enum=google.container.v1.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" json:"status_message,omitempty"`
	// Autoscaler configuration for this NodePool. Autoscaler is enabled
	// only if a valid configuration is present.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling" json:"autoscaling,omitempty"`
	// NodeManagement configuration for this NodePool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management" json:"management,omitempty"`
}

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

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

func (*NodePool) GetAutoscaling

func (m *NodePool) GetAutoscaling() *NodePoolAutoscaling

func (*NodePool) GetConfig

func (m *NodePool) GetConfig() *NodeConfig

func (*NodePool) GetInitialNodeCount

func (m *NodePool) GetInitialNodeCount() int32

func (*NodePool) GetInstanceGroupUrls

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

func (*NodePool) GetManagement

func (m *NodePool) GetManagement() *NodeManagement

func (*NodePool) GetName

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

func (*NodePool) GetStatus

func (m *NodePool) GetStatus() NodePool_Status

func (*NodePool) GetStatusMessage

func (m *NodePool) GetStatusMessage() string

func (*NodePool) GetVersion

func (m *NodePool) GetVersion() string

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) Reset

func (m *NodePool) Reset()

func (*NodePool) String

func (m *NodePool) String() string

type NodePoolAutoscaling

type NodePoolAutoscaling struct {
	// Is autoscaling enabled for this node pool.
	Enabled bool `protobuf:"varint,1,opt,name=enabled" 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" 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" json:"max_node_count,omitempty"`
}

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

func (*NodePoolAutoscaling) Descriptor

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

func (*NodePoolAutoscaling) GetEnabled

func (m *NodePoolAutoscaling) GetEnabled() bool

func (*NodePoolAutoscaling) GetMaxNodeCount

func (m *NodePoolAutoscaling) GetMaxNodeCount() int32

func (*NodePoolAutoscaling) GetMinNodeCount

func (m *NodePoolAutoscaling) GetMinNodeCount() int32

func (*NodePoolAutoscaling) ProtoMessage

func (*NodePoolAutoscaling) ProtoMessage()

func (*NodePoolAutoscaling) Reset

func (m *NodePoolAutoscaling) Reset()

func (*NodePoolAutoscaling) String

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

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

func (NodePool_Status) String

func (x NodePool_Status) String() string

type Operation

type Operation struct {
	// The server-assigned ID for the operation.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The name of the Google Compute Engine
	// [zone](/compute/docs/zones#available) in which the operation
	// is taking place.
	Zone string `protobuf:"bytes,2,opt,name=zone" json:"zone,omitempty"`
	// The operation type.
	OperationType Operation_Type `` /* 134-byte string literal not displayed */
	// The current status of the operation.
	Status Operation_Status `protobuf:"varint,4,opt,name=status,enum=google.container.v1.Operation_Status" json:"status,omitempty"`
	// Detailed operation progress, if available.
	Detail string `protobuf:"bytes,8,opt,name=detail" 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" json:"status_message,omitempty"`
	// Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink" json:"self_link,omitempty"`
	// Server-defined URL for the target of the operation.
	TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink" json:"target_link,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" 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" json:"end_time,omitempty"`
}

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

func (*Operation) Descriptor

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

func (*Operation) GetDetail

func (m *Operation) GetDetail() string

func (*Operation) GetEndTime

func (m *Operation) GetEndTime() string

func (*Operation) GetName

func (m *Operation) GetName() string

func (*Operation) GetOperationType

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

func (*Operation) GetStartTime

func (m *Operation) GetStartTime() string

func (*Operation) GetStatus

func (m *Operation) GetStatus() Operation_Status

func (*Operation) GetStatusMessage

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

func (*Operation) GetZone

func (m *Operation) GetZone() string

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) Reset

func (m *Operation) Reset()

func (*Operation) String

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

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

func (Operation_Status) String

func (x Operation_Status) String() string

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
)

func (Operation_Type) EnumDescriptor

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

func (Operation_Type) String

func (x Operation_Type) String() string

type RollbackNodePoolUpgradeRequest

type RollbackNodePoolUpgradeRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to rollback.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to rollback.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
}

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

func (*RollbackNodePoolUpgradeRequest) Descriptor

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

func (*RollbackNodePoolUpgradeRequest) GetClusterId

func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string

func (*RollbackNodePoolUpgradeRequest) GetNodePoolId

func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string

func (*RollbackNodePoolUpgradeRequest) GetProjectId

func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string

func (*RollbackNodePoolUpgradeRequest) GetZone

func (*RollbackNodePoolUpgradeRequest) ProtoMessage

func (*RollbackNodePoolUpgradeRequest) ProtoMessage()

func (*RollbackNodePoolUpgradeRequest) Reset

func (m *RollbackNodePoolUpgradeRequest) Reset()

func (*RollbackNodePoolUpgradeRequest) String

type ServerConfig

type ServerConfig struct {
	// Version of Kubernetes the service deploys by default.
	DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion" json:"default_cluster_version,omitempty"`
	// List of valid node upgrade target versions.
	ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions" json:"valid_node_versions,omitempty"`
	// Default image type.
	DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType" json:"default_image_type,omitempty"`
	// List of valid image types.
	ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes" json:"valid_image_types,omitempty"`
	// List of valid master versions.
	ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions" json:"valid_master_versions,omitempty"`
}

Container Engine service configuration.

func (*ServerConfig) Descriptor

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

func (*ServerConfig) GetDefaultClusterVersion

func (m *ServerConfig) GetDefaultClusterVersion() string

func (*ServerConfig) GetDefaultImageType

func (m *ServerConfig) GetDefaultImageType() string

func (*ServerConfig) GetValidImageTypes

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

func (*ServerConfig) GetValidMasterVersions

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

func (*ServerConfig) GetValidNodeVersions

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

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) Reset

func (m *ServerConfig) Reset()

func (*ServerConfig) String

func (m *ServerConfig) String() string

type SetAddonsConfigRequest

type SetAddonsConfigRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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" json:"addons_config,omitempty"`
}

SetAddonsConfigRequest sets the addons associated with the cluster.

func (*SetAddonsConfigRequest) Descriptor

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

func (*SetAddonsConfigRequest) GetAddonsConfig

func (m *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig

func (*SetAddonsConfigRequest) GetClusterId

func (m *SetAddonsConfigRequest) GetClusterId() string

func (*SetAddonsConfigRequest) GetProjectId

func (m *SetAddonsConfigRequest) GetProjectId() string

func (*SetAddonsConfigRequest) GetZone

func (m *SetAddonsConfigRequest) GetZone() string

func (*SetAddonsConfigRequest) ProtoMessage

func (*SetAddonsConfigRequest) ProtoMessage()

func (*SetAddonsConfigRequest) Reset

func (m *SetAddonsConfigRequest) Reset()

func (*SetAddonsConfigRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The labels to set for that cluster.
	ResourceLabels map[string]string `` /* 170-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" json:"label_fingerprint,omitempty"`
}

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

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

func (*SetLabelsRequest) GetClusterId

func (m *SetLabelsRequest) GetClusterId() string

func (*SetLabelsRequest) GetLabelFingerprint

func (m *SetLabelsRequest) GetLabelFingerprint() string

func (*SetLabelsRequest) GetProjectId

func (m *SetLabelsRequest) GetProjectId() string

func (*SetLabelsRequest) GetResourceLabels

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

func (*SetLabelsRequest) GetZone

func (m *SetLabelsRequest) GetZone() string

func (*SetLabelsRequest) ProtoMessage

func (*SetLabelsRequest) ProtoMessage()

func (*SetLabelsRequest) Reset

func (m *SetLabelsRequest) Reset()

func (*SetLabelsRequest) String

func (m *SetLabelsRequest) String() string

type SetLegacyAbacRequest

type SetLegacyAbacRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to update.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// Whether ABAC authorization will be enabled in the cluster.
	Enabled bool `protobuf:"varint,4,opt,name=enabled" json:"enabled,omitempty"`
}

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

func (*SetLegacyAbacRequest) Descriptor

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

func (*SetLegacyAbacRequest) GetClusterId

func (m *SetLegacyAbacRequest) GetClusterId() string

func (*SetLegacyAbacRequest) GetEnabled

func (m *SetLegacyAbacRequest) GetEnabled() bool

func (*SetLegacyAbacRequest) GetProjectId

func (m *SetLegacyAbacRequest) GetProjectId() string

func (*SetLegacyAbacRequest) GetZone

func (m *SetLegacyAbacRequest) GetZone() string

func (*SetLegacyAbacRequest) ProtoMessage

func (*SetLegacyAbacRequest) ProtoMessage()

func (*SetLegacyAbacRequest) Reset

func (m *SetLegacyAbacRequest) Reset()

func (*SetLegacyAbacRequest) String

func (m *SetLegacyAbacRequest) String() string

type SetLocationsRequest

type SetLocationsRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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" json:"locations,omitempty"`
}

SetLocationsRequest sets the locations of the cluster.

func (*SetLocationsRequest) Descriptor

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

func (*SetLocationsRequest) GetClusterId

func (m *SetLocationsRequest) GetClusterId() string

func (*SetLocationsRequest) GetLocations

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

func (*SetLocationsRequest) GetProjectId

func (m *SetLocationsRequest) GetProjectId() string

func (*SetLocationsRequest) GetZone

func (m *SetLocationsRequest) GetZone() string

func (*SetLocationsRequest) ProtoMessage

func (*SetLocationsRequest) ProtoMessage()

func (*SetLocationsRequest) Reset

func (m *SetLocationsRequest) Reset()

func (*SetLocationsRequest) String

func (m *SetLocationsRequest) String() string

type SetLoggingServiceRequest

type SetLoggingServiceRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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" json:"logging_service,omitempty"`
}

SetLoggingServiceRequest sets the logging service of a cluster.

func (*SetLoggingServiceRequest) Descriptor

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

func (*SetLoggingServiceRequest) GetClusterId

func (m *SetLoggingServiceRequest) GetClusterId() string

func (*SetLoggingServiceRequest) GetLoggingService

func (m *SetLoggingServiceRequest) GetLoggingService() string

func (*SetLoggingServiceRequest) GetProjectId

func (m *SetLoggingServiceRequest) GetProjectId() string

func (*SetLoggingServiceRequest) GetZone

func (m *SetLoggingServiceRequest) GetZone() string

func (*SetLoggingServiceRequest) ProtoMessage

func (*SetLoggingServiceRequest) ProtoMessage()

func (*SetLoggingServiceRequest) Reset

func (m *SetLoggingServiceRequest) Reset()

func (*SetLoggingServiceRequest) String

func (m *SetLoggingServiceRequest) String() string

type SetMasterAuthRequest

type SetMasterAuthRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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,enum=google.container.v1.SetMasterAuthRequest_Action" json:"action,omitempty"`
	// A description of the update.
	Update *MasterAuth `protobuf:"bytes,5,opt,name=update" json:"update,omitempty"`
}

SetMasterAuthRequest updates the admin password of a cluster.

func (*SetMasterAuthRequest) Descriptor

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

func (*SetMasterAuthRequest) GetAction

func (*SetMasterAuthRequest) GetClusterId

func (m *SetMasterAuthRequest) GetClusterId() string

func (*SetMasterAuthRequest) GetProjectId

func (m *SetMasterAuthRequest) GetProjectId() string

func (*SetMasterAuthRequest) GetUpdate

func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth

func (*SetMasterAuthRequest) GetZone

func (m *SetMasterAuthRequest) GetZone() string

func (*SetMasterAuthRequest) ProtoMessage

func (*SetMasterAuthRequest) ProtoMessage()

func (*SetMasterAuthRequest) Reset

func (m *SetMasterAuthRequest) Reset()

func (*SetMasterAuthRequest) String

func (m *SetMasterAuthRequest) String() string

type SetMasterAuthRequest_Action

type SetMasterAuthRequest_Action int32

operation type - what type of key rotation are we performing

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
)

func (SetMasterAuthRequest_Action) EnumDescriptor

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

func (SetMasterAuthRequest_Action) String

type SetMonitoringServiceRequest

type SetMonitoringServiceRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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" json:"monitoring_service,omitempty"`
}

SetMonitoringServiceRequest sets the monitoring service of a cluster.

func (*SetMonitoringServiceRequest) Descriptor

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

func (*SetMonitoringServiceRequest) GetClusterId

func (m *SetMonitoringServiceRequest) GetClusterId() string

func (*SetMonitoringServiceRequest) GetMonitoringService

func (m *SetMonitoringServiceRequest) GetMonitoringService() string

func (*SetMonitoringServiceRequest) GetProjectId

func (m *SetMonitoringServiceRequest) GetProjectId() string

func (*SetMonitoringServiceRequest) GetZone

func (m *SetMonitoringServiceRequest) GetZone() string

func (*SetMonitoringServiceRequest) ProtoMessage

func (*SetMonitoringServiceRequest) ProtoMessage()

func (*SetMonitoringServiceRequest) Reset

func (m *SetMonitoringServiceRequest) Reset()

func (*SetMonitoringServiceRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy" json:"network_policy,omitempty"`
}

SetNetworkPolicyRequest enables/disables network policy for a cluster.

func (*SetNetworkPolicyRequest) Descriptor

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

func (*SetNetworkPolicyRequest) GetClusterId

func (m *SetNetworkPolicyRequest) GetClusterId() string

func (*SetNetworkPolicyRequest) GetNetworkPolicy

func (m *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy

func (*SetNetworkPolicyRequest) GetProjectId

func (m *SetNetworkPolicyRequest) GetProjectId() string

func (*SetNetworkPolicyRequest) GetZone

func (m *SetNetworkPolicyRequest) GetZone() string

func (*SetNetworkPolicyRequest) ProtoMessage

func (*SetNetworkPolicyRequest) ProtoMessage()

func (*SetNetworkPolicyRequest) Reset

func (m *SetNetworkPolicyRequest) Reset()

func (*SetNetworkPolicyRequest) String

func (m *SetNetworkPolicyRequest) String() string

type SetNodePoolAutoscalingRequest

type SetNodePoolAutoscalingRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to upgrade.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
	// Autoscaling configuration for the node pool.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling" json:"autoscaling,omitempty"`
}

SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

func (*SetNodePoolAutoscalingRequest) Descriptor

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

func (*SetNodePoolAutoscalingRequest) GetAutoscaling

func (*SetNodePoolAutoscalingRequest) GetClusterId

func (m *SetNodePoolAutoscalingRequest) GetClusterId() string

func (*SetNodePoolAutoscalingRequest) GetNodePoolId

func (m *SetNodePoolAutoscalingRequest) GetNodePoolId() string

func (*SetNodePoolAutoscalingRequest) GetProjectId

func (m *SetNodePoolAutoscalingRequest) GetProjectId() string

func (*SetNodePoolAutoscalingRequest) GetZone

func (*SetNodePoolAutoscalingRequest) ProtoMessage

func (*SetNodePoolAutoscalingRequest) ProtoMessage()

func (*SetNodePoolAutoscalingRequest) Reset

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster to update.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to update.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
	// NodeManagement configuration for the node pool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management" json:"management,omitempty"`
}

SetNodePoolManagementRequest sets the node management properties of a node pool.

func (*SetNodePoolManagementRequest) Descriptor

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

func (*SetNodePoolManagementRequest) GetClusterId

func (m *SetNodePoolManagementRequest) GetClusterId() string

func (*SetNodePoolManagementRequest) GetManagement

func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement

func (*SetNodePoolManagementRequest) GetNodePoolId

func (m *SetNodePoolManagementRequest) GetNodePoolId() string

func (*SetNodePoolManagementRequest) GetProjectId

func (m *SetNodePoolManagementRequest) GetProjectId() string

func (*SetNodePoolManagementRequest) GetZone

func (m *SetNodePoolManagementRequest) GetZone() string

func (*SetNodePoolManagementRequest) ProtoMessage

func (*SetNodePoolManagementRequest) ProtoMessage()

func (*SetNodePoolManagementRequest) Reset

func (m *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" 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" json:"zone,omitempty"`
	// The name of the cluster to update.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to update.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" json:"node_pool_id,omitempty"`
	// The desired node count for the pool.
	NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount" json:"node_count,omitempty"`
}

SetNodePoolSizeRequest sets the size a node pool.

func (*SetNodePoolSizeRequest) Descriptor

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

func (*SetNodePoolSizeRequest) GetClusterId

func (m *SetNodePoolSizeRequest) GetClusterId() string

func (*SetNodePoolSizeRequest) GetNodeCount

func (m *SetNodePoolSizeRequest) GetNodeCount() int32

func (*SetNodePoolSizeRequest) GetNodePoolId

func (m *SetNodePoolSizeRequest) GetNodePoolId() string

func (*SetNodePoolSizeRequest) GetProjectId

func (m *SetNodePoolSizeRequest) GetProjectId() string

func (*SetNodePoolSizeRequest) GetZone

func (m *SetNodePoolSizeRequest) GetZone() string

func (*SetNodePoolSizeRequest) ProtoMessage

func (*SetNodePoolSizeRequest) ProtoMessage()

func (*SetNodePoolSizeRequest) Reset

func (m *SetNodePoolSizeRequest) Reset()

func (*SetNodePoolSizeRequest) String

func (m *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).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId" 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" json:"zone,omitempty"`
	// The name of the cluster.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
}

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

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

func (*StartIPRotationRequest) GetClusterId

func (m *StartIPRotationRequest) GetClusterId() string

func (*StartIPRotationRequest) GetProjectId

func (m *StartIPRotationRequest) GetProjectId() string

func (*StartIPRotationRequest) GetZone

func (m *StartIPRotationRequest) GetZone() string

func (*StartIPRotationRequest) ProtoMessage

func (*StartIPRotationRequest) ProtoMessage()

func (*StartIPRotationRequest) Reset

func (m *StartIPRotationRequest) Reset()

func (*StartIPRotationRequest) String

func (m *StartIPRotationRequest) String() string

type UpdateClusterRequest

type UpdateClusterRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// A description of the update.
	Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update" json:"update,omitempty"`
}

UpdateClusterRequest updates the settings of a cluster.

func (*UpdateClusterRequest) Descriptor

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

func (*UpdateClusterRequest) GetClusterId

func (m *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetProjectId

func (m *UpdateClusterRequest) GetProjectId() string

func (*UpdateClusterRequest) GetUpdate

func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate

func (*UpdateClusterRequest) GetZone

func (m *UpdateClusterRequest) GetZone() string

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) Reset

func (m *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (m *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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" 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" json:"master_version,omitempty"`
}

UpdateMasterRequest updates the master of the cluster.

func (*UpdateMasterRequest) Descriptor

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

func (*UpdateMasterRequest) GetClusterId

func (m *UpdateMasterRequest) GetClusterId() string

func (*UpdateMasterRequest) GetMasterVersion

func (m *UpdateMasterRequest) GetMasterVersion() string

func (*UpdateMasterRequest) GetProjectId

func (m *UpdateMasterRequest) GetProjectId() string

func (*UpdateMasterRequest) GetZone

func (m *UpdateMasterRequest) GetZone() string

func (*UpdateMasterRequest) ProtoMessage

func (*UpdateMasterRequest) ProtoMessage()

func (*UpdateMasterRequest) Reset

func (m *UpdateMasterRequest) Reset()

func (*UpdateMasterRequest) String

func (m *UpdateMasterRequest) String() string

type UpdateNodePoolRequest

type UpdateNodePoolRequest 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" 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" json:"zone,omitempty"`
	// The name of the cluster to upgrade.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	// The name of the node pool to upgrade.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId" 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" json:"node_version,omitempty"`
	// The desired image type for the node pool.
	ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType" json:"image_type,omitempty"`
}

UpdateNodePoolRequests update a node pool's image and/or version.

func (*UpdateNodePoolRequest) Descriptor

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

func (*UpdateNodePoolRequest) GetClusterId

func (m *UpdateNodePoolRequest) GetClusterId() string

func (*UpdateNodePoolRequest) GetImageType

func (m *UpdateNodePoolRequest) GetImageType() string

func (*UpdateNodePoolRequest) GetNodePoolId

func (m *UpdateNodePoolRequest) GetNodePoolId() string

func (*UpdateNodePoolRequest) GetNodeVersion

func (m *UpdateNodePoolRequest) GetNodeVersion() string

func (*UpdateNodePoolRequest) GetProjectId

func (m *UpdateNodePoolRequest) GetProjectId() string

func (*UpdateNodePoolRequest) GetZone

func (m *UpdateNodePoolRequest) GetZone() string

func (*UpdateNodePoolRequest) ProtoMessage

func (*UpdateNodePoolRequest) ProtoMessage()

func (*UpdateNodePoolRequest) Reset

func (m *UpdateNodePoolRequest) Reset()

func (*UpdateNodePoolRequest) String

func (m *UpdateNodePoolRequest) String() string

Jump to

Keyboard shortcuts

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