container - ActiveState ActiveGo 1.8
...

Package container

import "google.golang.org/genproto/googleapis/container/v1"
Overview
Index

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
AddonsConfig
HttpLoadBalancing
HorizontalPodAutoscaling
LegacyAbac
Cluster
ClusterUpdate
Operation
CreateClusterRequest
GetClusterRequest
UpdateClusterRequest
SetMasterAuthRequest
DeleteClusterRequest
ListClustersRequest
ListClustersResponse
GetOperationRequest
ListOperationsRequest
CancelOperationRequest
ListOperationsResponse
GetServerConfigRequest
ServerConfig
CreateNodePoolRequest
DeleteNodePoolRequest
ListNodePoolsRequest
GetNodePoolRequest
NodePool
NodeManagement
AutoUpgradeOptions
SetNodePoolManagementRequest
RollbackNodePoolUpgradeRequest
ListNodePoolsResponse
NodePoolAutoscaling
SetLabelsRequest
SetLegacyAbacRequest
StartIPRotationRequest
CompleteIPRotationRequest

Index ▾

Variables
func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)
type AddonsConfig
    func (*AddonsConfig) Descriptor() ([]byte, []int)
    func (m *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling
    func (m *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing
    func (*AddonsConfig) ProtoMessage()
    func (m *AddonsConfig) Reset()
    func (m *AddonsConfig) String() string
type AutoUpgradeOptions
    func (*AutoUpgradeOptions) Descriptor() ([]byte, []int)
    func (m *AutoUpgradeOptions) GetAutoUpgradeStartTime() string
    func (m *AutoUpgradeOptions) GetDescription() string
    func (*AutoUpgradeOptions) ProtoMessage()
    func (m *AutoUpgradeOptions) Reset()
    func (m *AutoUpgradeOptions) String() string
type CancelOperationRequest
    func (*CancelOperationRequest) Descriptor() ([]byte, []int)
    func (m *CancelOperationRequest) GetOperationId() string
    func (m *CancelOperationRequest) GetProjectId() string
    func (m *CancelOperationRequest) GetZone() string
    func (*CancelOperationRequest) ProtoMessage()
    func (m *CancelOperationRequest) Reset()
    func (m *CancelOperationRequest) String() string
type Cluster
    func (*Cluster) Descriptor() ([]byte, []int)
    func (m *Cluster) GetAddonsConfig() *AddonsConfig
    func (m *Cluster) GetClusterIpv4Cidr() string
    func (m *Cluster) GetCreateTime() string
    func (m *Cluster) GetCurrentMasterVersion() string
    func (m *Cluster) GetCurrentNodeCount() int32
    func (m *Cluster) GetCurrentNodeVersion() string
    func (m *Cluster) GetDescription() string
    func (m *Cluster) GetEnableKubernetesAlpha() bool
    func (m *Cluster) GetEndpoint() string
    func (m *Cluster) GetExpireTime() string
    func (m *Cluster) GetInitialClusterVersion() string
    func (m *Cluster) GetInitialNodeCount() int32
    func (m *Cluster) GetInstanceGroupUrls() []string
    func (m *Cluster) GetLabelFingerprint() string
    func (m *Cluster) GetLegacyAbac() *LegacyAbac
    func (m *Cluster) GetLocations() []string
    func (m *Cluster) GetLoggingService() string
    func (m *Cluster) GetMasterAuth() *MasterAuth
    func (m *Cluster) GetMonitoringService() string
    func (m *Cluster) GetName() string
    func (m *Cluster) GetNetwork() string
    func (m *Cluster) GetNodeConfig() *NodeConfig
    func (m *Cluster) GetNodeIpv4CidrSize() int32
    func (m *Cluster) GetNodePools() []*NodePool
    func (m *Cluster) GetResourceLabels() map[string]string
    func (m *Cluster) GetSelfLink() string
    func (m *Cluster) GetServicesIpv4Cidr() string
    func (m *Cluster) GetStatus() Cluster_Status
    func (m *Cluster) GetStatusMessage() string
    func (m *Cluster) GetSubnetwork() string
    func (m *Cluster) GetZone() string
    func (*Cluster) ProtoMessage()
    func (m *Cluster) Reset()
    func (m *Cluster) String() string
type ClusterManagerClient
    func NewClusterManagerClient(cc *grpc.ClientConn) ClusterManagerClient
type ClusterManagerServer
type ClusterUpdate
    func (*ClusterUpdate) Descriptor() ([]byte, []int)
    func (m *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig
    func (m *ClusterUpdate) GetDesiredImageType() string
    func (m *ClusterUpdate) GetDesiredLocations() []string
    func (m *ClusterUpdate) GetDesiredMasterVersion() string
    func (m *ClusterUpdate) GetDesiredMonitoringService() string
    func (m *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling
    func (m *ClusterUpdate) GetDesiredNodePoolId() string
    func (m *ClusterUpdate) GetDesiredNodeVersion() string
    func (*ClusterUpdate) ProtoMessage()
    func (m *ClusterUpdate) Reset()
    func (m *ClusterUpdate) String() string
type Cluster_Status
    func (Cluster_Status) EnumDescriptor() ([]byte, []int)
    func (x Cluster_Status) String() string
type CompleteIPRotationRequest
    func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)
    func (m *CompleteIPRotationRequest) GetClusterId() string
    func (m *CompleteIPRotationRequest) GetProjectId() string
    func (m *CompleteIPRotationRequest) GetZone() string
    func (*CompleteIPRotationRequest) ProtoMessage()
    func (m *CompleteIPRotationRequest) Reset()
    func (m *CompleteIPRotationRequest) String() string
type CreateClusterRequest
    func (*CreateClusterRequest) Descriptor() ([]byte, []int)
    func (m *CreateClusterRequest) GetCluster() *Cluster
    func (m *CreateClusterRequest) GetProjectId() string
    func (m *CreateClusterRequest) GetZone() string
    func (*CreateClusterRequest) ProtoMessage()
    func (m *CreateClusterRequest) Reset()
    func (m *CreateClusterRequest) String() string
type CreateNodePoolRequest
    func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)
    func (m *CreateNodePoolRequest) GetClusterId() string
    func (m *CreateNodePoolRequest) GetNodePool() *NodePool
    func (m *CreateNodePoolRequest) GetProjectId() string
    func (m *CreateNodePoolRequest) GetZone() string
    func (*CreateNodePoolRequest) ProtoMessage()
    func (m *CreateNodePoolRequest) Reset()
    func (m *CreateNodePoolRequest) String() string
type DeleteClusterRequest
    func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
    func (m *DeleteClusterRequest) GetClusterId() string
    func (m *DeleteClusterRequest) GetProjectId() string
    func (m *DeleteClusterRequest) GetZone() string
    func (*DeleteClusterRequest) ProtoMessage()
    func (m *DeleteClusterRequest) Reset()
    func (m *DeleteClusterRequest) String() string
type DeleteNodePoolRequest
    func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)
    func (m *DeleteNodePoolRequest) GetClusterId() string
    func (m *DeleteNodePoolRequest) GetNodePoolId() string
    func (m *DeleteNodePoolRequest) GetProjectId() string
    func (m *DeleteNodePoolRequest) GetZone() string
    func (*DeleteNodePoolRequest) ProtoMessage()
    func (m *DeleteNodePoolRequest) Reset()
    func (m *DeleteNodePoolRequest) String() string
type GetClusterRequest
    func (*GetClusterRequest) Descriptor() ([]byte, []int)
    func (m *GetClusterRequest) GetClusterId() string
    func (m *GetClusterRequest) GetProjectId() string
    func (m *GetClusterRequest) GetZone() string
    func (*GetClusterRequest) ProtoMessage()
    func (m *GetClusterRequest) Reset()
    func (m *GetClusterRequest) String() string
type GetNodePoolRequest
    func (*GetNodePoolRequest) Descriptor() ([]byte, []int)
    func (m *GetNodePoolRequest) GetClusterId() string
    func (m *GetNodePoolRequest) GetNodePoolId() string
    func (m *GetNodePoolRequest) GetProjectId() string
    func (m *GetNodePoolRequest) GetZone() string
    func (*GetNodePoolRequest) ProtoMessage()
    func (m *GetNodePoolRequest) Reset()
    func (m *GetNodePoolRequest) String() string
type GetOperationRequest
    func (*GetOperationRequest) Descriptor() ([]byte, []int)
    func (m *GetOperationRequest) GetOperationId() string
    func (m *GetOperationRequest) GetProjectId() string
    func (m *GetOperationRequest) GetZone() string
    func (*GetOperationRequest) ProtoMessage()
    func (m *GetOperationRequest) Reset()
    func (m *GetOperationRequest) String() string
type GetServerConfigRequest
    func (*GetServerConfigRequest) Descriptor() ([]byte, []int)
    func (m *GetServerConfigRequest) GetProjectId() string
    func (m *GetServerConfigRequest) GetZone() string
    func (*GetServerConfigRequest) ProtoMessage()
    func (m *GetServerConfigRequest) Reset()
    func (m *GetServerConfigRequest) String() string
type HorizontalPodAutoscaling
    func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int)
    func (m *HorizontalPodAutoscaling) GetDisabled() bool
    func (*HorizontalPodAutoscaling) ProtoMessage()
    func (m *HorizontalPodAutoscaling) Reset()
    func (m *HorizontalPodAutoscaling) String() string
type HttpLoadBalancing
    func (*HttpLoadBalancing) Descriptor() ([]byte, []int)
    func (m *HttpLoadBalancing) GetDisabled() bool
    func (*HttpLoadBalancing) ProtoMessage()
    func (m *HttpLoadBalancing) Reset()
    func (m *HttpLoadBalancing) String() string
type LegacyAbac
    func (*LegacyAbac) Descriptor() ([]byte, []int)
    func (m *LegacyAbac) GetEnabled() bool
    func (*LegacyAbac) ProtoMessage()
    func (m *LegacyAbac) Reset()
    func (m *LegacyAbac) String() string
type ListClustersRequest
    func (*ListClustersRequest) Descriptor() ([]byte, []int)
    func (m *ListClustersRequest) GetProjectId() string
    func (m *ListClustersRequest) GetZone() string
    func (*ListClustersRequest) ProtoMessage()
    func (m *ListClustersRequest) Reset()
    func (m *ListClustersRequest) String() string
type ListClustersResponse
    func (*ListClustersResponse) Descriptor() ([]byte, []int)
    func (m *ListClustersResponse) GetClusters() []*Cluster
    func (m *ListClustersResponse) GetMissingZones() []string
    func (*ListClustersResponse) ProtoMessage()
    func (m *ListClustersResponse) Reset()
    func (m *ListClustersResponse) String() string
type ListNodePoolsRequest
    func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)
    func (m *ListNodePoolsRequest) GetClusterId() string
    func (m *ListNodePoolsRequest) GetProjectId() string
    func (m *ListNodePoolsRequest) GetZone() string
    func (*ListNodePoolsRequest) ProtoMessage()
    func (m *ListNodePoolsRequest) Reset()
    func (m *ListNodePoolsRequest) String() string
type ListNodePoolsResponse
    func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)
    func (m *ListNodePoolsResponse) GetNodePools() []*NodePool
    func (*ListNodePoolsResponse) ProtoMessage()
    func (m *ListNodePoolsResponse) Reset()
    func (m *ListNodePoolsResponse) String() string
type ListOperationsRequest
    func (*ListOperationsRequest) Descriptor() ([]byte, []int)
    func (m *ListOperationsRequest) GetProjectId() string
    func (m *ListOperationsRequest) GetZone() string
    func (*ListOperationsRequest) ProtoMessage()
    func (m *ListOperationsRequest) Reset()
    func (m *ListOperationsRequest) String() string
type ListOperationsResponse
    func (*ListOperationsResponse) Descriptor() ([]byte, []int)
    func (m *ListOperationsResponse) GetMissingZones() []string
    func (m *ListOperationsResponse) GetOperations() []*Operation
    func (*ListOperationsResponse) ProtoMessage()
    func (m *ListOperationsResponse) Reset()
    func (m *ListOperationsResponse) String() string
type MasterAuth
    func (*MasterAuth) Descriptor() ([]byte, []int)
    func (m *MasterAuth) GetClientCertificate() string
    func (m *MasterAuth) GetClientKey() string
    func (m *MasterAuth) GetClusterCaCertificate() string
    func (m *MasterAuth) GetPassword() string
    func (m *MasterAuth) GetUsername() string
    func (*MasterAuth) ProtoMessage()
    func (m *MasterAuth) Reset()
    func (m *MasterAuth) String() string
type NodeConfig
    func (*NodeConfig) Descriptor() ([]byte, []int)
    func (m *NodeConfig) GetDiskSizeGb() int32
    func (m *NodeConfig) GetImageType() string
    func (m *NodeConfig) GetLabels() map[string]string
    func (m *NodeConfig) GetLocalSsdCount() int32
    func (m *NodeConfig) GetMachineType() string
    func (m *NodeConfig) GetMetadata() map[string]string
    func (m *NodeConfig) GetOauthScopes() []string
    func (m *NodeConfig) GetPreemptible() bool
    func (m *NodeConfig) GetServiceAccount() string
    func (m *NodeConfig) GetTags() []string
    func (*NodeConfig) ProtoMessage()
    func (m *NodeConfig) Reset()
    func (m *NodeConfig) String() string
type NodeManagement
    func (*NodeManagement) Descriptor() ([]byte, []int)
    func (m *NodeManagement) GetAutoRepair() bool
    func (m *NodeManagement) GetAutoUpgrade() bool
    func (m *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions
    func (*NodeManagement) ProtoMessage()
    func (m *NodeManagement) Reset()
    func (m *NodeManagement) String() string
type NodePool
    func (*NodePool) Descriptor() ([]byte, []int)
    func (m *NodePool) GetAutoscaling() *NodePoolAutoscaling
    func (m *NodePool) GetConfig() *NodeConfig
    func (m *NodePool) GetInitialNodeCount() int32
    func (m *NodePool) GetInstanceGroupUrls() []string
    func (m *NodePool) GetManagement() *NodeManagement
    func (m *NodePool) GetName() string
    func (m *NodePool) GetSelfLink() string
    func (m *NodePool) GetStatus() NodePool_Status
    func (m *NodePool) GetStatusMessage() string
    func (m *NodePool) GetVersion() string
    func (*NodePool) ProtoMessage()
    func (m *NodePool) Reset()
    func (m *NodePool) String() string
type NodePoolAutoscaling
    func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)
    func (m *NodePoolAutoscaling) GetEnabled() bool
    func (m *NodePoolAutoscaling) GetMaxNodeCount() int32
    func (m *NodePoolAutoscaling) GetMinNodeCount() int32
    func (*NodePoolAutoscaling) ProtoMessage()
    func (m *NodePoolAutoscaling) Reset()
    func (m *NodePoolAutoscaling) String() string
type NodePool_Status
    func (NodePool_Status) EnumDescriptor() ([]byte, []int)
    func (x NodePool_Status) String() string
type Operation
    func (*Operation) Descriptor() ([]byte, []int)
    func (m *Operation) GetDetail() string
    func (m *Operation) GetName() string
    func (m *Operation) GetOperationType() Operation_Type
    func (m *Operation) GetSelfLink() string
    func (m *Operation) GetStatus() Operation_Status
    func (m *Operation) GetStatusMessage() string
    func (m *Operation) GetTargetLink() string
    func (m *Operation) GetZone() string
    func (*Operation) ProtoMessage()
    func (m *Operation) Reset()
    func (m *Operation) String() string
type Operation_Status
    func (Operation_Status) EnumDescriptor() ([]byte, []int)
    func (x Operation_Status) String() string
type Operation_Type
    func (Operation_Type) EnumDescriptor() ([]byte, []int)
    func (x Operation_Type) String() string
type RollbackNodePoolUpgradeRequest
    func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int)
    func (m *RollbackNodePoolUpgradeRequest) GetClusterId() string
    func (m *RollbackNodePoolUpgradeRequest) GetNodePoolId() string
    func (m *RollbackNodePoolUpgradeRequest) GetProjectId() string
    func (m *RollbackNodePoolUpgradeRequest) GetZone() string
    func (*RollbackNodePoolUpgradeRequest) ProtoMessage()
    func (m *RollbackNodePoolUpgradeRequest) Reset()
    func (m *RollbackNodePoolUpgradeRequest) String() string
type ServerConfig
    func (*ServerConfig) Descriptor() ([]byte, []int)
    func (m *ServerConfig) GetDefaultClusterVersion() string
    func (m *ServerConfig) GetDefaultImageType() string
    func (m *ServerConfig) GetValidImageTypes() []string
    func (m *ServerConfig) GetValidMasterVersions() []string
    func (m *ServerConfig) GetValidNodeVersions() []string
    func (*ServerConfig) ProtoMessage()
    func (m *ServerConfig) Reset()
    func (m *ServerConfig) String() string
type SetLabelsRequest
    func (*SetLabelsRequest) Descriptor() ([]byte, []int)
    func (m *SetLabelsRequest) GetClusterId() string
    func (m *SetLabelsRequest) GetLabelFingerprint() string
    func (m *SetLabelsRequest) GetProjectId() string
    func (m *SetLabelsRequest) GetResourceLabels() map[string]string
    func (m *SetLabelsRequest) GetZone() string
    func (*SetLabelsRequest) ProtoMessage()
    func (m *SetLabelsRequest) Reset()
    func (m *SetLabelsRequest) String() string
type SetLegacyAbacRequest
    func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int)
    func (m *SetLegacyAbacRequest) GetClusterId() string
    func (m *SetLegacyAbacRequest) GetEnabled() bool
    func (m *SetLegacyAbacRequest) GetProjectId() string
    func (m *SetLegacyAbacRequest) GetZone() string
    func (*SetLegacyAbacRequest) ProtoMessage()
    func (m *SetLegacyAbacRequest) Reset()
    func (m *SetLegacyAbacRequest) String() string
type SetMasterAuthRequest
    func (*SetMasterAuthRequest) Descriptor() ([]byte, []int)
    func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action
    func (m *SetMasterAuthRequest) GetClusterId() string
    func (m *SetMasterAuthRequest) GetProjectId() string
    func (m *SetMasterAuthRequest) GetUpdate() *MasterAuth
    func (m *SetMasterAuthRequest) GetZone() string
    func (*SetMasterAuthRequest) ProtoMessage()
    func (m *SetMasterAuthRequest) Reset()
    func (m *SetMasterAuthRequest) String() string
type SetMasterAuthRequest_Action
    func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int)
    func (x SetMasterAuthRequest_Action) String() string
type SetNodePoolManagementRequest
    func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int)
    func (m *SetNodePoolManagementRequest) GetClusterId() string
    func (m *SetNodePoolManagementRequest) GetManagement() *NodeManagement
    func (m *SetNodePoolManagementRequest) GetNodePoolId() string
    func (m *SetNodePoolManagementRequest) GetProjectId() string
    func (m *SetNodePoolManagementRequest) GetZone() string
    func (*SetNodePoolManagementRequest) ProtoMessage()
    func (m *SetNodePoolManagementRequest) Reset()
    func (m *SetNodePoolManagementRequest) String() string
type StartIPRotationRequest
    func (*StartIPRotationRequest) Descriptor() ([]byte, []int)
    func (m *StartIPRotationRequest) GetClusterId() string
    func (m *StartIPRotationRequest) GetProjectId() string
    func (m *StartIPRotationRequest) GetZone() string
    func (*StartIPRotationRequest) ProtoMessage()
    func (m *StartIPRotationRequest) Reset()
    func (m *StartIPRotationRequest) String() string
type UpdateClusterRequest
    func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
    func (m *UpdateClusterRequest) GetClusterId() string
    func (m *UpdateClusterRequest) GetProjectId() string
    func (m *UpdateClusterRequest) GetUpdate() *ClusterUpdate
    func (m *UpdateClusterRequest) GetZone() string
    func (*UpdateClusterRequest) ProtoMessage()
    func (m *UpdateClusterRequest) Reset()
    func (m *UpdateClusterRequest) String() string

Package files

cluster_service.pb.go

Variables

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

func RegisterClusterManagerServer

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

type AddonsConfig

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

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 `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling" json:"horizontal_pod_autoscaling,omitempty"`
}

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) ProtoMessage

func (*AddonsConfig) ProtoMessage()

func (*AddonsConfig) Reset

func (m *AddonsConfig) Reset()

func (*AddonsConfig) String

func (m *AddonsConfig) String() string

type AutoUpgradeOptions

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

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"`
}

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

CancelOperationRequest cancels a single operation.

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"`
}

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 Cluster

A Google Container Engine 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 `protobuf:"bytes,15,rep,name=resource_labels,json=resourceLabels" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // 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"`
    // [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"`
}

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) 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) GetMonitoringService

func (m *Cluster) GetMonitoringService() string

func (*Cluster) GetName

func (m *Cluster) GetName() string

func (*Cluster) GetNetwork

func (m *Cluster) GetNetwork() string

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)
    // 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)
}

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)
    // 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)
}

type ClusterUpdate

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.

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 `protobuf:"bytes,5,opt,name=desired_monitoring_service,json=desiredMonitoringService" json:"desired_monitoring_service,omitempty"`
    // 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 `protobuf:"bytes,9,opt,name=desired_node_pool_autoscaling,json=desiredNodePoolAutoscaling" json:"desired_node_pool_autoscaling,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.
    DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations" json:"desired_locations,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.
    DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion" json:"desired_master_version,omitempty"`
}

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) 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

The current status of the cluster.

type Cluster_Status int32
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

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

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"`
}

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

CreateClusterRequest creates a cluster.

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"`
}

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

CreateNodePoolRequest creates a node pool for a cluster.

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"`
}

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

DeleteClusterRequest deletes a cluster.

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"`
}

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

DeleteNodePoolRequest deletes a node pool for a cluster.

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"`
}

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

GetClusterRequest gets the settings of a cluster.

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"`
}

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

GetNodePoolRequest retrieves a node pool for a cluster.

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"`
}

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

GetOperationRequest gets a single operation.

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"`
}

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

Gets the current Container Engine service configuration.

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"`
}

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

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.

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"`
}

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

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.

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"`
}

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 LegacyAbac

Configuration for the legacy Attribute Based Access Control authorization mode.

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"`
}

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

ListClustersRequest lists clusters.

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"`
}

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

ListClustersResponse is the result of ListClustersRequest.

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"`
}

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

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

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"`
}

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

ListNodePoolsResponse is the result of ListNodePoolsRequest.

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"`
}

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

ListOperationsRequest lists operations.

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"`
}

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

ListOperationsResponse is the result of ListOperationsRequest.

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"`
}

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

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

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"`
    // [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"`
}

func (*MasterAuth) Descriptor

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

func (*MasterAuth) GetClientCertificate

func (m *MasterAuth) GetClientCertificate() string

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 NodeConfig

Parameters that describe the nodes in a cluster.

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 `protobuf:"bytes,4,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // 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 `protobuf:"bytes,6,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // 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"`
}

func (*NodeConfig) Descriptor

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

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

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

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"`
}

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

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.

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"`
}

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

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

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"`
}

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

The current status of the node pool instance.

type NodePool_Status int32
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

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

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 `protobuf:"varint,3,opt,name=operation_type,json=operationType,enum=google.container.v1.Operation_Type" json:"operation_type,omitempty"`
    // 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"`
}

func (*Operation) Descriptor

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

func (*Operation) GetDetail

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

Current status of the operation.

type Operation_Status int32
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

Operation type.

type Operation_Type int32
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
)

func (Operation_Type) EnumDescriptor

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

func (Operation_Type) String

func (x Operation_Type) String() string

type RollbackNodePoolUpgradeRequest

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

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"`
}

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 (m *RollbackNodePoolUpgradeRequest) GetZone() string

func (*RollbackNodePoolUpgradeRequest) ProtoMessage

func (*RollbackNodePoolUpgradeRequest) ProtoMessage()

func (*RollbackNodePoolUpgradeRequest) Reset

func (m *RollbackNodePoolUpgradeRequest) Reset()

func (*RollbackNodePoolUpgradeRequest) String

func (m *RollbackNodePoolUpgradeRequest) String() string

type ServerConfig

Container Engine service configuration.

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"`
}

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 SetLabelsRequest

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

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 `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
    // 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"`
}

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

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

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"`
}

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 SetMasterAuthRequest

SetMasterAuthRequest updates the admin password of a cluster.

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"`
}

func (*SetMasterAuthRequest) Descriptor

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

func (*SetMasterAuthRequest) GetAction

func (m *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action

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

operation type - what type of key rotation are we performing

type SetMasterAuthRequest_Action int32
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

func (x SetMasterAuthRequest_Action) String() string

type SetNodePoolManagementRequest

SetNodePoolManagementRequest sets the node management properties of a node pool.

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"`
}

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

func (m *SetNodePoolManagementRequest) String() string

type StartIPRotationRequest

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

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"`
}

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

UpdateClusterRequest updates the settings of a cluster.

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"`
}

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