Enum value maps for NodeTaint_Effect.
var ( NodeTaint_Effect_name = map[int32]string{ 0: "EFFECT_UNSPECIFIED", 1: "NO_SCHEDULE", 2: "PREFER_NO_SCHEDULE", 3: "NO_EXECUTE", } NodeTaint_Effect_value = map[string]int32{ "EFFECT_UNSPECIFIED": 0, "NO_SCHEDULE": 1, "PREFER_NO_SCHEDULE": 2, "NO_EXECUTE": 3, } )
Enum value maps for NetworkPolicy_Provider.
var ( NetworkPolicy_Provider_name = map[int32]string{ 0: "PROVIDER_UNSPECIFIED", 1: "CALICO", } NetworkPolicy_Provider_value = map[string]int32{ "PROVIDER_UNSPECIFIED": 0, "CALICO": 1, } )
Enum value maps for Cluster_Status.
var ( Cluster_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PROVISIONING", 2: "RUNNING", 3: "RECONCILING", 4: "STOPPING", 5: "ERROR", } Cluster_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "RECONCILING": 3, "STOPPING": 4, "ERROR": 5, } )
Enum value maps for Operation_Status.
var ( Operation_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PENDING", 2: "RUNNING", 3: "DONE", 4: "ABORTING", } Operation_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PENDING": 1, "RUNNING": 2, "DONE": 3, "ABORTING": 4, } )
Enum value maps for Operation_Type.
var ( Operation_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CREATE_CLUSTER", 2: "DELETE_CLUSTER", 3: "UPGRADE_MASTER", 4: "UPGRADE_NODES", 5: "REPAIR_CLUSTER", 6: "UPDATE_CLUSTER", 7: "CREATE_NODE_POOL", 8: "DELETE_NODE_POOL", 9: "SET_NODE_POOL_MANAGEMENT", 10: "AUTO_REPAIR_NODES", 11: "AUTO_UPGRADE_NODES", 12: "SET_LABELS", 13: "SET_MASTER_AUTH", 14: "SET_NODE_POOL_SIZE", 15: "SET_NETWORK_POLICY", 16: "SET_MAINTENANCE_POLICY", } Operation_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CREATE_CLUSTER": 1, "DELETE_CLUSTER": 2, "UPGRADE_MASTER": 3, "UPGRADE_NODES": 4, "REPAIR_CLUSTER": 5, "UPDATE_CLUSTER": 6, "CREATE_NODE_POOL": 7, "DELETE_NODE_POOL": 8, "SET_NODE_POOL_MANAGEMENT": 9, "AUTO_REPAIR_NODES": 10, "AUTO_UPGRADE_NODES": 11, "SET_LABELS": 12, "SET_MASTER_AUTH": 13, "SET_NODE_POOL_SIZE": 14, "SET_NETWORK_POLICY": 15, "SET_MAINTENANCE_POLICY": 16, } )
Enum value maps for SetMasterAuthRequest_Action.
var ( SetMasterAuthRequest_Action_name = map[int32]string{ 0: "UNKNOWN", 1: "SET_PASSWORD", 2: "GENERATE_PASSWORD", 3: "SET_USERNAME", } SetMasterAuthRequest_Action_value = map[string]int32{ "UNKNOWN": 0, "SET_PASSWORD": 1, "GENERATE_PASSWORD": 2, "SET_USERNAME": 3, } )
Enum value maps for NodePool_Status.
var ( NodePool_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PROVISIONING", 2: "RUNNING", 3: "RUNNING_WITH_ERROR", 4: "RECONCILING", 5: "STOPPING", 6: "ERROR", } NodePool_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "RUNNING_WITH_ERROR": 3, "RECONCILING": 4, "STOPPING": 5, "ERROR": 6, } )
var File_google_container_v1alpha1_cluster_service_proto protoreflect.FileDescriptor
func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)
AcceleratorConfig represents a Hardware Accelerator request.
type AcceleratorConfig struct { // The number of the accelerator cards exposed to an instance. AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` // The accelerator type resource name. List of supported accelerators // [here](/compute/docs/gpus/#Introduction) AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"` // contains filtered or unexported fields }
func (*AcceleratorConfig) Descriptor() ([]byte, []int)
Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.
func (x *AcceleratorConfig) GetAcceleratorCount() int64
func (x *AcceleratorConfig) GetAcceleratorType() string
func (*AcceleratorConfig) ProtoMessage()
func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message
func (x *AcceleratorConfig) Reset()
func (x *AcceleratorConfig) String() string
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,proto3" json:"http_load_balancing,omitempty"` // Configuration for the horizontal pod autoscaling feature, which // increases or decreases the number of replica pods a replication controller // has based on the resource usage of the existing pods. HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"` // Configuration for the Kubernetes Dashboard. KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"` // Configuration for NetworkPolicy. This only tracks whether the addon // is enabled or not on the Master, it does not track whether network policy // is enabled for the nodes. NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"` // contains filtered or unexported fields }
func (*AddonsConfig) Descriptor() ([]byte, []int)
Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.
func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling
func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing
func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard
func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig
func (*AddonsConfig) ProtoMessage()
func (x *AddonsConfig) ProtoReflect() protoreflect.Message
func (x *AddonsConfig) Reset()
func (x *AddonsConfig) String() string
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,proto3" json:"auto_upgrade_start_time,omitempty"` // [Output only] This field is set when upgrades are about to commence // with the description of the upgrade. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*AutoUpgradeOptions) Descriptor() ([]byte, []int)
Deprecated: Use AutoUpgradeOptions.ProtoReflect.Descriptor instead.
func (x *AutoUpgradeOptions) GetAutoUpgradeStartTime() string
func (x *AutoUpgradeOptions) GetDescription() string
func (*AutoUpgradeOptions) ProtoMessage()
func (x *AutoUpgradeOptions) ProtoReflect() protoreflect.Message
func (x *AutoUpgradeOptions) Reset()
func (x *AutoUpgradeOptions) String() string
CancelOperationRequest cancels a single operation.
type CancelOperationRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The server-assigned `name` of the operation. // This field is deprecated, use name instead. OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // The name (project, location, operation id) of the operation to cancel. // Specified in the format 'projects/*/locations/*/operations/*'. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CancelOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.
func (x *CancelOperationRequest) GetName() string
func (x *CancelOperationRequest) GetOperationId() string
func (x *CancelOperationRequest) GetProjectId() string
func (x *CancelOperationRequest) GetZone() string
func (*CancelOperationRequest) ProtoMessage()
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
func (x *CancelOperationRequest) Reset()
func (x *CancelOperationRequest) String() string
Configuration for client certificates on the cluster.
type ClientCertificateConfig struct { // Issue a client certificate. IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"` // contains filtered or unexported fields }
func (*ClientCertificateConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClientCertificateConfig.ProtoReflect.Descriptor instead.
func (x *ClientCertificateConfig) GetIssueClientCertificate() bool
func (*ClientCertificateConfig) ProtoMessage()
func (x *ClientCertificateConfig) ProtoReflect() protoreflect.Message
func (x *ClientCertificateConfig) Reset()
func (x *ClientCertificateConfig) String() string
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,proto3" json:"name,omitempty"` // An optional description of this cluster. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The number of nodes to create in this cluster. You must ensure that your // Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> // is sufficient for this number of instances. You must also have available // firewall and routes quota. // For requests, this field should only be used in lieu of a // "node_pool" object, since this configuration (along with the // "node_config") will be used to create a "NodePool" object with an // auto-generated name. Do not use this and a node_pool at the same time. InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` // Parameters used in creating the cluster's nodes. // See `nodeConfig` for the description of its properties. // For requests, this field should only be used in lieu of a // "node_pool" object, since this configuration (along with the // "initial_node_count") will be used to create a "NodePool" object with an // auto-generated name. Do not use this and a node_pool at the same time. // For responses, this field will be populated with the node configuration of // the first node pool. // // If unspecified, the defaults are used. NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"` // The authentication information for accessing the master endpoint. MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"` // The logging service the cluster should use to write logs. // Currently available options: // // * `logging.googleapis.com` - the Google Cloud Logging service. // * `none` - no logs will be exported from the cluster. // * if left as an empty string,`logging.googleapis.com` will be used. LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` // The monitoring service the cluster should use to write metrics. // Currently available options: // // * `monitoring.googleapis.com` - the Google Cloud Monitoring service. // * `none` - no metrics will be exported from the cluster. // * if left as an empty string, `monitoring.googleapis.com` will be used. MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` // The name of the Google Compute Engine // [network](/compute/docs/networks-and-firewalls#networks) to which the // cluster is connected. If left unspecified, the `default` network // will be used. Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"` // The IP address range of the container pods in this cluster, in // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `10.96.0.0/14`). Leave blank to have // one automatically chosen or specify a `/14` block in `10.0.0.0/8`. ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` // Configurations for the various addons available to run in the cluster. AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` // The name of the Google Compute Engine // [subnetwork](/compute/docs/subnetworks) to which the // cluster is connected. Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` // The node pools associated with this cluster. // This field should not be set if "node_config" or "initial_node_count" are // specified. NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` // The list of Google Compute Engine // [locations](/compute/docs/zones#available) in which the cluster's nodes // should be located. Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"` // Kubernetes alpha features are enabled on this cluster. This includes alpha // API groups (e.g. v1alpha1) and features that may not be production ready in // the kubernetes version of the master and nodes. // The cluster has no SLA for uptime and master/node upgrades are disabled. // Alpha enabled clusters are automatically deleted thirty days after // creation. EnableKubernetesAlpha bool `protobuf:"varint,14,opt,name=enable_kubernetes_alpha,json=enableKubernetesAlpha,proto3" json:"enable_kubernetes_alpha,omitempty"` // Configuration options for the NetworkPolicy feature. NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` // Configuration for cluster IP allocation. IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"` // The configuration options for master authorized networks feature. MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,22,opt,name=master_authorized_networks_config,json=masterAuthorizedNetworksConfig,proto3" json:"master_authorized_networks_config,omitempty"` // Configure the maintenance policy for this cluster. MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` // Configuration for the PodSecurityPolicy feature. PodSecurityPolicyConfig *PodSecurityPolicyConfig `protobuf:"bytes,25,opt,name=pod_security_policy_config,json=podSecurityPolicyConfig,proto3" json:"pod_security_policy_config,omitempty"` // [Output only] Server-defined URL for the resource. SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // [Output only] The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use location instead. Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"` // [Output only] The IP address of this cluster's master endpoint. // The endpoint can be accessed from the internet at // `https://username:password@endpoint/`. // // See the `masterAuth` property of this resource for username and // password information. Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // The initial Kubernetes version for this cluster. Valid versions are those // found in validMasterVersions returned by getServerConfig. The version can // be upgraded over time; such upgrades are reflected in // currentMasterVersion and currentNodeVersion. InitialClusterVersion string `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion,proto3" 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,proto3" json:"current_master_version,omitempty"` // [Output only] The current version of the node software components. // If they are currently at multiple versions because they're in the process // of being upgraded, this reflects the minimum version of all nodes. CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"` // [Output only] The time the cluster was created, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // [Output only] The current status of this cluster. Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1alpha1.Cluster_Status" json:"status,omitempty"` // [Output only] Additional information about the current status of this // cluster, if available. StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // [Output only] The size of the address space on each node for hosting // containers. This is provisioned from within the `container_ipv4_cidr` // range. NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"` // [Output only] The IP address range of the Kubernetes services in // this cluster, in // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `1.2.3.4/29`). Service addresses are // typically put in the last `/16` from the container CIDR. ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // [Output only] The resource URLs of [instance // groups](/compute/docs/instance-groups/) associated with this // cluster. InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` // [Output only] The number of nodes currently in the cluster. CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"` // [Output only] The time the cluster will be automatically // deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // [Output only] The name of the Google Compute Engine // [zone](/compute/docs/regions-zones/regions-zones#available) or // [region](/compute/docs/regions-zones/regions-zones#available) in which // the cluster resides. Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"` // contains filtered or unexported fields }
func (*Cluster) Descriptor() ([]byte, []int)
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (x *Cluster) GetAddonsConfig() *AddonsConfig
func (x *Cluster) GetClusterIpv4Cidr() string
func (x *Cluster) GetCreateTime() string
func (x *Cluster) GetCurrentMasterVersion() string
func (x *Cluster) GetCurrentNodeCount() int32
func (x *Cluster) GetCurrentNodeVersion() string
func (x *Cluster) GetDescription() string
func (x *Cluster) GetEnableKubernetesAlpha() bool
func (x *Cluster) GetEndpoint() string
func (x *Cluster) GetExpireTime() string
func (x *Cluster) GetInitialClusterVersion() string
func (x *Cluster) GetInitialNodeCount() int32
func (x *Cluster) GetInstanceGroupUrls() []string
func (x *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy
func (x *Cluster) GetLocation() string
func (x *Cluster) GetLocations() []string
func (x *Cluster) GetLoggingService() string
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy
func (x *Cluster) GetMasterAuth() *MasterAuth
func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig
func (x *Cluster) GetMonitoringService() string
func (x *Cluster) GetName() string
func (x *Cluster) GetNetwork() string
func (x *Cluster) GetNetworkPolicy() *NetworkPolicy
func (x *Cluster) GetNodeConfig() *NodeConfig
func (x *Cluster) GetNodeIpv4CidrSize() int32
func (x *Cluster) GetNodePools() []*NodePool
func (x *Cluster) GetPodSecurityPolicyConfig() *PodSecurityPolicyConfig
func (x *Cluster) GetSelfLink() string
func (x *Cluster) GetServicesIpv4Cidr() string
func (x *Cluster) GetStatus() Cluster_Status
func (x *Cluster) GetStatusMessage() string
func (x *Cluster) GetSubnetwork() string
func (x *Cluster) GetZone() string
func (*Cluster) ProtoMessage()
func (x *Cluster) ProtoReflect() protoreflect.Message
func (x *Cluster) Reset()
func (x *Cluster) String() string
ClusterManagerClient is the client API for ClusterManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ClusterManagerClient interface { // Lists all clusters owned by a project in either the specified zone or all // zones. ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) // Gets the details of a specific cluster. GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error) // Creates a cluster, consisting of the specified number and type of Google // Compute Engine instances. // // By default, the cluster is created in the project's // [default network](/compute/docs/networks-and-firewalls#networks). // // One firewall is added for the cluster. After cluster creation, // the cluster creates routes for each node to allow the containers // on that node to communicate with all other instances in the // cluster. // // Finally, an entry is added to the project's global metadata indicating // which CIDR range is being used by the cluster. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the version and/or iamge type of a specific node pool. UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the autoscaling settings of a specific node pool. SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the logging service of a specific cluster. SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the monitoring service of a specific cluster. SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the addons of a specific cluster. SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the locations of a specific cluster. SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the master of a specific cluster. UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) // Used to set master auth materials. Currently supports :- // Changing the admin password of a specific cluster. // This can be either via password generation or explicitly set. // Modify basic_auth.csv and reset the K8S API server. SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker // nodes. // // Firewalls and routes that were configured during cluster creation // are also deleted. // // Other Google Compute Engine resources that might be in use by the cluster // (e.g. load balancer resources) will not be deleted if they weren't present // at the initial create time. DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Lists all operations in a project in a specific zone or all zones. ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error) // Gets the specified operation. GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error) // Cancels the specified operation. CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Returns configuration info about the Container Engine service. GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) // Retrieves the node pool requested. GetNodePool(ctx context.Context, in *GetNodePoolRequest, opts ...grpc.CallOption) (*NodePool, error) // Creates a node pool for a cluster. CreateNodePool(ctx context.Context, in *CreateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) // Deletes a node pool from a cluster. DeleteNodePool(ctx context.Context, in *DeleteNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) // Roll back the previously Aborted or Failed NodePool upgrade. // This will be an no-op if the last upgrade successfully completed. RollbackNodePoolUpgrade(ctx context.Context, in *RollbackNodePoolUpgradeRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the NodeManagement options for a node pool. SetNodePoolManagement(ctx context.Context, in *SetNodePoolManagementRequest, opts ...grpc.CallOption) (*Operation, error) // Sets labels on a cluster. SetLabels(ctx context.Context, in *SetLabelsRequest, opts ...grpc.CallOption) (*Operation, error) // Enables or disables the ABAC authorization mechanism on a cluster. SetLegacyAbac(ctx context.Context, in *SetLegacyAbacRequest, opts ...grpc.CallOption) (*Operation, error) // Start master IP rotation. StartIPRotation(ctx context.Context, in *StartIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(ctx context.Context, in *CompleteIPRotationRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the size of a specific node pool. SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(ctx context.Context, in *SetNetworkPolicyRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the maintenance policy for a cluster. SetMaintenancePolicy(ctx context.Context, in *SetMaintenancePolicyRequest, opts ...grpc.CallOption) (*Operation, error) }
func NewClusterManagerClient(cc grpc.ClientConnInterface) ClusterManagerClient
ClusterManagerServer is the server API for ClusterManager service.
type ClusterManagerServer interface { // Lists all clusters owned by a project in either the specified zone or all // zones. ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error) // Gets the details of a specific cluster. GetCluster(context.Context, *GetClusterRequest) (*Cluster, error) // Creates a cluster, consisting of the specified number and type of Google // Compute Engine instances. // // By default, the cluster is created in the project's // [default network](/compute/docs/networks-and-firewalls#networks). // // One firewall is added for the cluster. After cluster creation, // the cluster creates routes for each node to allow the containers // on that node to communicate with all other instances in the // cluster. // // Finally, an entry is added to the project's global metadata indicating // which CIDR range is being used by the cluster. CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) // Updates the version and/or iamge type of a specific node pool. UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error) // Sets the autoscaling settings of a specific node pool. SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error) // Sets the logging service of a specific cluster. SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error) // Sets the monitoring service of a specific cluster. SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error) // Sets the addons of a specific cluster. SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error) // Sets the locations of a specific cluster. SetLocations(context.Context, *SetLocationsRequest) (*Operation, error) // Updates the master of a specific cluster. UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error) // Used to set master auth materials. Currently supports :- // Changing the admin password of a specific cluster. // This can be either via password generation or explicitly set. // Modify basic_auth.csv and reset the K8S API server. SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker // nodes. // // Firewalls and routes that were configured during cluster creation // are also deleted. // // Other Google Compute Engine resources that might be in use by the cluster // (e.g. load balancer resources) will not be deleted if they weren't present // at the initial create time. DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error) // Lists all operations in a project in a specific zone or all zones. ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error) // Gets the specified operation. GetOperation(context.Context, *GetOperationRequest) (*Operation, error) // Cancels the specified operation. CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error) // Returns configuration info about the Container Engine service. GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error) // Lists the node pools for a cluster. ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error) // Retrieves the node pool requested. GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error) // Creates a node pool for a cluster. CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error) // Deletes a node pool from a cluster. DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error) // Roll back the previously Aborted or Failed NodePool upgrade. // This will be an no-op if the last upgrade successfully completed. RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error) // Sets the NodeManagement options for a node pool. SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error) // Sets labels on a cluster. SetLabels(context.Context, *SetLabelsRequest) (*Operation, error) // Enables or disables the ABAC authorization mechanism on a cluster. SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error) // Start master IP rotation. StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error) // Sets the size of a specific node pool. SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error) // Enables/Disables Network Policy for a cluster. SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error) // Sets the maintenance policy for a cluster. SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error) }
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,proto3" json:"desired_node_version,omitempty"` // The monitoring service the cluster should use to write metrics. // Currently available options: // // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster DesiredMonitoringService string `protobuf:"bytes,5,opt,name=desired_monitoring_service,json=desiredMonitoringService,proto3" 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,proto3" json:"desired_addons_config,omitempty"` // The node pool to be upgraded. This field is mandatory if // "desired_node_version", "desired_image_family" or // "desired_node_pool_autoscaling" is specified and there is more than one // node pool on the cluster. DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"` // The desired image type for the node pool. // NOTE: Set the "desired_node_pool" field as well. DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"` // Autoscaler configuration for the node pool specified in // desired_node_pool_id. If there is only one pool in the // cluster and desired_node_pool_id is not provided then // the change applies to that single node pool. DesiredNodePoolAutoscaling *NodePoolAutoscaling `protobuf:"bytes,9,opt,name=desired_node_pool_autoscaling,json=desiredNodePoolAutoscaling,proto3" 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,proto3" json:"desired_locations,omitempty"` // The desired configuration options for master authorized networks feature. DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,12,opt,name=desired_master_authorized_networks_config,json=desiredMasterAuthorizedNetworksConfig,proto3" json:"desired_master_authorized_networks_config,omitempty"` // The desired configuration options for the PodSecurityPolicy feature. DesiredPodSecurityPolicyConfig *PodSecurityPolicyConfig `protobuf:"bytes,14,opt,name=desired_pod_security_policy_config,json=desiredPodSecurityPolicyConfig,proto3" json:"desired_pod_security_policy_config,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,proto3" json:"desired_master_version,omitempty"` // contains filtered or unexported fields }
func (*ClusterUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.
func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig
func (x *ClusterUpdate) GetDesiredImageType() string
func (x *ClusterUpdate) GetDesiredLocations() []string
func (x *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig
func (x *ClusterUpdate) GetDesiredMasterVersion() string
func (x *ClusterUpdate) GetDesiredMonitoringService() string
func (x *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling
func (x *ClusterUpdate) GetDesiredNodePoolId() string
func (x *ClusterUpdate) GetDesiredNodeVersion() string
func (x *ClusterUpdate) GetDesiredPodSecurityPolicyConfig() *PodSecurityPolicyConfig
func (*ClusterUpdate) ProtoMessage()
func (x *ClusterUpdate) ProtoReflect() protoreflect.Message
func (x *ClusterUpdate) Reset()
func (x *ClusterUpdate) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (x Cluster_Status) Enum() *Cluster_Status
func (Cluster_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Status.Descriptor instead.
func (x Cluster_Status) Number() protoreflect.EnumNumber
func (x Cluster_Status) String() string
func (Cluster_Status) Type() protoreflect.EnumType
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster id) of the cluster to complete IP rotation. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteIPRotationRequest.ProtoReflect.Descriptor instead.
func (x *CompleteIPRotationRequest) GetClusterId() string
func (x *CompleteIPRotationRequest) GetName() string
func (x *CompleteIPRotationRequest) GetProjectId() string
func (x *CompleteIPRotationRequest) GetZone() string
func (*CompleteIPRotationRequest) ProtoMessage()
func (x *CompleteIPRotationRequest) ProtoReflect() protoreflect.Message
func (x *CompleteIPRotationRequest) Reset()
func (x *CompleteIPRotationRequest) String() string
CreateClusterRequest creates a cluster.
type CreateClusterRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use parent instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use parent instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // A [cluster // resource](/container-engine/reference/rest/v1alpha1/projects.zones.clusters) Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` // The parent (project and location) where the cluster will be created. // Specified in the format 'projects/*/locations/*'. Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (x *CreateClusterRequest) GetCluster() *Cluster
func (x *CreateClusterRequest) GetParent() string
func (x *CreateClusterRequest) GetProjectId() string
func (x *CreateClusterRequest) GetZone() string
func (*CreateClusterRequest) ProtoMessage()
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (x *CreateClusterRequest) Reset()
func (x *CreateClusterRequest) String() string
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). // This field is deprecated, use parent instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use parent instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use parent instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The node pool to create. NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"` // The parent (project, location, cluster id) where the node pool will be created. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *CreateNodePoolRequest) GetClusterId() string
func (x *CreateNodePoolRequest) GetNodePool() *NodePool
func (x *CreateNodePoolRequest) GetParent() string
func (x *CreateNodePoolRequest) GetProjectId() string
func (x *CreateNodePoolRequest) GetZone() string
func (*CreateNodePoolRequest) ProtoMessage()
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *CreateNodePoolRequest) Reset()
func (x *CreateNodePoolRequest) String() string
Time window specified for daily maintenance operations.
type DailyMaintenanceWindow struct { // Time within the maintenance window to start the maintenance operations. // It must be in format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT. StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // [Output only] Duration of the time window, automatically chosen to be // smallest possible in the given scenario. Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use DailyMaintenanceWindow.ProtoReflect.Descriptor instead.
func (x *DailyMaintenanceWindow) GetDuration() string
func (x *DailyMaintenanceWindow) GetStartTime() string
func (*DailyMaintenanceWindow) ProtoMessage()
func (x *DailyMaintenanceWindow) ProtoReflect() protoreflect.Message
func (x *DailyMaintenanceWindow) Reset()
func (x *DailyMaintenanceWindow) String() string
DeleteClusterRequest deletes a cluster.
type DeleteClusterRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to delete. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster) of the cluster to delete. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (x *DeleteClusterRequest) GetClusterId() string
func (x *DeleteClusterRequest) GetName() string
func (x *DeleteClusterRequest) GetProjectId() string
func (x *DeleteClusterRequest) GetZone() string
func (*DeleteClusterRequest) ProtoMessage()
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (x *DeleteClusterRequest) Reset()
func (x *DeleteClusterRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to delete. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to delete. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *DeleteNodePoolRequest) GetClusterId() string
func (x *DeleteNodePoolRequest) GetName() string
func (x *DeleteNodePoolRequest) GetNodePoolId() string
func (x *DeleteNodePoolRequest) GetProjectId() string
func (x *DeleteNodePoolRequest) GetZone() string
func (*DeleteNodePoolRequest) ProtoMessage()
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *DeleteNodePoolRequest) Reset()
func (x *DeleteNodePoolRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to retrieve. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (x *GetClusterRequest) GetClusterId() string
func (x *GetClusterRequest) GetName() string
func (x *GetClusterRequest) GetProjectId() string
func (x *GetClusterRequest) GetZone() string
func (*GetClusterRequest) ProtoMessage()
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (x *GetClusterRequest) Reset()
func (x *GetClusterRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to get. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *GetNodePoolRequest) GetClusterId() string
func (x *GetNodePoolRequest) GetName() string
func (x *GetNodePoolRequest) GetNodePoolId() string
func (x *GetNodePoolRequest) GetProjectId() string
func (x *GetNodePoolRequest) GetZone() string
func (*GetNodePoolRequest) ProtoMessage()
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *GetNodePoolRequest) Reset()
func (x *GetNodePoolRequest) String() string
GetOperationRequest gets a single operation.
type GetOperationRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The server-assigned `name` of the operation. // This field is deprecated, use name instead. OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // The name (project, location, operation id) of the operation to get. // Specified in the format 'projects/*/locations/*/operations/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.
func (x *GetOperationRequest) GetName() string
func (x *GetOperationRequest) GetOperationId() string
func (x *GetOperationRequest) GetProjectId() string
func (x *GetOperationRequest) GetZone() string
func (*GetOperationRequest) ProtoMessage()
func (x *GetOperationRequest) ProtoReflect() protoreflect.Message
func (x *GetOperationRequest) Reset()
func (x *GetOperationRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine [zone](/compute/docs/zones#available) // to return operations for. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name (project and location) of the server config to get // Specified in the format 'projects/*/locations/*'. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetServerConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.
func (x *GetServerConfigRequest) GetName() string
func (x *GetServerConfigRequest) GetProjectId() string
func (x *GetServerConfigRequest) GetZone() string
func (*GetServerConfigRequest) ProtoMessage()
func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message
func (x *GetServerConfigRequest) Reset()
func (x *GetServerConfigRequest) String() string
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,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalPodAutoscaling.ProtoReflect.Descriptor instead.
func (x *HorizontalPodAutoscaling) GetDisabled() bool
func (*HorizontalPodAutoscaling) ProtoMessage()
func (x *HorizontalPodAutoscaling) ProtoReflect() protoreflect.Message
func (x *HorizontalPodAutoscaling) Reset()
func (x *HorizontalPodAutoscaling) String() string
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,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*HttpLoadBalancing) Descriptor() ([]byte, []int)
Deprecated: Use HttpLoadBalancing.ProtoReflect.Descriptor instead.
func (x *HttpLoadBalancing) GetDisabled() bool
func (*HttpLoadBalancing) ProtoMessage()
func (x *HttpLoadBalancing) ProtoReflect() protoreflect.Message
func (x *HttpLoadBalancing) Reset()
func (x *HttpLoadBalancing) String() string
Configuration for controlling how IPs are allocated in the cluster.
type IPAllocationPolicy struct { // Whether alias IPs will be used for pod IPs in the cluster. UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"` // Whether a new subnetwork will be created automatically for the cluster. // // This field is only applicable when `use_ip_aliases` is true. CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"` // A custom subnetwork name to be used if `create_subnetwork` is true. If // this field is empty, then an automatic name will be chosen for the new // subnetwork. SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"` // This field is deprecated, use cluster_ipv4_cidr_block. ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"` // This field is deprecated, use node_ipv4_cidr_block. NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"` // This field is deprecated, use services_ipv4_cidr_block. ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"` // The name of the secondary range to be used for the cluster CIDR // block. The secondary range will be used for pod IP // addresses. This must be an existing secondary range associated // with the cluster subnetwork. // // This field is only applicable if use_ip_aliases is true and // create_subnetwork is false. ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"` // The name of the secondary range to be used as for the services // CIDR block. The secondary range will be used for service // ClusterIPs. This must be an existing secondary range associated // with the cluster subnetwork. // // This field is only applicable with use_ip_aliases is true and // create_subnetwork is false. ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"` // The IP address range for the cluster pod IPs. If this field is set, then // `cluster.cluster_ipv4_cidr` must be left blank. // // This field is only applicable when `use_ip_aliases` is true. // // Set to blank to have a range chosen with the default size. // // Set to /netmask (e.g. `/14`) to have a range chosen with a specific // netmask. // // Set to a // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range // to use. ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"` // The IP address range of the instance IPs in this cluster. // // This is applicable only if `create_subnetwork` is true. // // Set to blank to have a range chosen with the default size. // // Set to /netmask (e.g. `/14`) to have a range chosen with a specific // netmask. // // Set to a // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range // to use. NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"` // The IP address range of the services IPs in this cluster. If blank, a range // will be automatically chosen with the default size. // // This field is only applicable when `use_ip_aliases` is true. // // Set to blank to have a range chosen with the default size. // // Set to /netmask (e.g. `/14`) to have a range chosen with a specific // netmask. // // Set to a // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. // `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range // to use. ServicesIpv4CidrBlock string `protobuf:"bytes,11,opt,name=services_ipv4_cidr_block,json=servicesIpv4CidrBlock,proto3" json:"services_ipv4_cidr_block,omitempty"` // contains filtered or unexported fields }
func (*IPAllocationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use IPAllocationPolicy.ProtoReflect.Descriptor instead.
func (x *IPAllocationPolicy) GetClusterIpv4Cidr() string
func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() string
func (x *IPAllocationPolicy) GetCreateSubnetwork() bool
func (x *IPAllocationPolicy) GetNodeIpv4Cidr() string
func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetServicesIpv4Cidr() string
func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() string
func (x *IPAllocationPolicy) GetSubnetworkName() string
func (x *IPAllocationPolicy) GetUseIpAliases() bool
func (*IPAllocationPolicy) ProtoMessage()
func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Message
func (x *IPAllocationPolicy) Reset()
func (x *IPAllocationPolicy) String() string
Configuration for the Kubernetes Dashboard.
type KubernetesDashboard struct { // Whether the Kubernetes Dashboard is enabled for this cluster. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*KubernetesDashboard) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDashboard.ProtoReflect.Descriptor instead.
func (x *KubernetesDashboard) GetDisabled() bool
func (*KubernetesDashboard) ProtoMessage()
func (x *KubernetesDashboard) ProtoReflect() protoreflect.Message
func (x *KubernetesDashboard) Reset()
func (x *KubernetesDashboard) String() string
ListClustersRequest lists clusters.
type ListClustersRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use parent instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides, or "-" for all zones. // This field is deprecated, use parent instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The parent (project and location) where the clusters will be listed. // Specified in the format 'projects/*/locations/*'. // Location "-" matches all zones and all regions. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (x *ListClustersRequest) GetParent() string
func (x *ListClustersRequest) GetProjectId() string
func (x *ListClustersRequest) GetZone() string
func (*ListClustersRequest) ProtoMessage()
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (x *ListClustersRequest) Reset()
func (x *ListClustersRequest) String() string
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,proto3" json:"clusters,omitempty"` // If any zones are listed here, the list of clusters returned // may be missing those zones. MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` // contains filtered or unexported fields }
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (x *ListClustersResponse) GetClusters() []*Cluster
func (x *ListClustersResponse) GetMissingZones() []string
func (*ListClustersResponse) ProtoMessage()
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (x *ListClustersResponse) Reset()
func (x *ListClustersResponse) String() string
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). // This field is deprecated, use parent instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use parent instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use parent instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The parent (project, location, cluster id) where the node pools will be listed. // Specified in the format 'projects/*/locations/*/clusters/*'. Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.
func (x *ListNodePoolsRequest) GetClusterId() string
func (x *ListNodePoolsRequest) GetParent() string
func (x *ListNodePoolsRequest) GetProjectId() string
func (x *ListNodePoolsRequest) GetZone() string
func (*ListNodePoolsRequest) ProtoMessage()
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message
func (x *ListNodePoolsRequest) Reset()
func (x *ListNodePoolsRequest) String() string
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,proto3" json:"node_pools,omitempty"` // contains filtered or unexported fields }
func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.
func (x *ListNodePoolsResponse) GetNodePools() []*NodePool
func (*ListNodePoolsResponse) ProtoMessage()
func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message
func (x *ListNodePoolsResponse) Reset()
func (x *ListNodePoolsResponse) String() string
ListOperationsRequest lists operations.
type ListOperationsRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use parent instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine [zone](/compute/docs/zones#available) // to return operations for, or `-` for all zones. // This field is deprecated, use parent instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The parent (project and location) where the operations will be listed. // Specified in the format 'projects/*/locations/*'. // Location "-" matches all zones and all regions. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
func (*ListOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (x *ListOperationsRequest) GetParent() string
func (x *ListOperationsRequest) GetProjectId() string
func (x *ListOperationsRequest) GetZone() string
func (*ListOperationsRequest) ProtoMessage()
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
func (x *ListOperationsRequest) Reset()
func (x *ListOperationsRequest) String() string
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,proto3" json:"operations,omitempty"` // If any zones are listed here, the list of operations returned // may be missing the operations from those zones. MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` // contains filtered or unexported fields }
func (*ListOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (x *ListOperationsResponse) GetMissingZones() []string
func (x *ListOperationsResponse) GetOperations() []*Operation
func (*ListOperationsResponse) ProtoMessage()
func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
func (x *ListOperationsResponse) Reset()
func (x *ListOperationsResponse) String() string
MaintenancePolicy defines the maintenance policy to be used for the cluster.
type MaintenancePolicy struct { // Specifies the maintenance window in which maintenance may be performed. Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` // contains filtered or unexported fields }
func (*MaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow
func (*MaintenancePolicy) ProtoMessage()
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message
func (x *MaintenancePolicy) Reset()
func (x *MaintenancePolicy) String() string
MaintenanceWindow defines the maintenance window to be used for the cluster.
type MaintenanceWindow struct { // Unimplemented, reserved for future use. // HourlyMaintenanceWindow hourly_maintenance_window = 1; // // Types that are assignable to Policy: // // *MaintenanceWindow_DailyMaintenanceWindow Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"` // contains filtered or unexported fields }
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow
func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
func (*MaintenanceWindow) ProtoMessage()
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (x *MaintenanceWindow) Reset()
func (x *MaintenanceWindow) String() string
type MaintenanceWindow_DailyMaintenanceWindow struct { // DailyMaintenanceWindow specifies a daily maintenance operation window. DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"` }
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,proto3" json:"username,omitempty"` // The password to use for HTTP basic authentication to the master endpoint. // Because the master endpoint is open to the Internet, you should create a // strong password. If a password is provided for cluster creation, username // must be non-empty. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Configuration for client certificate authentication on the cluster. If no // configuration is specified, a client certificate is issued. ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig,proto3" json:"client_certificate_config,omitempty"` // [Output only] Base64-encoded public certificate that is the root of // trust for the cluster. ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"` // [Output only] Base64-encoded public certificate used by clients to // authenticate to the cluster endpoint. ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"` // [Output only] Base64-encoded private key used by clients to authenticate // to the cluster endpoint. ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` // contains filtered or unexported fields }
func (*MasterAuth) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuth.ProtoReflect.Descriptor instead.
func (x *MasterAuth) GetClientCertificate() string
func (x *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig
func (x *MasterAuth) GetClientKey() string
func (x *MasterAuth) GetClusterCaCertificate() string
func (x *MasterAuth) GetPassword() string
func (x *MasterAuth) GetUsername() string
func (*MasterAuth) ProtoMessage()
func (x *MasterAuth) ProtoReflect() protoreflect.Message
func (x *MasterAuth) Reset()
func (x *MasterAuth) String() string
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
type MasterAuthorizedNetworksConfig struct { // Whether or not master authorized networks is enabled. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // cidr_blocks define up to 10 external networks that could access // Kubernetes master through HTTPS. CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` // contains filtered or unexported fields }
func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuthorizedNetworksConfig.ProtoReflect.Descriptor instead.
func (x *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock
func (x *MasterAuthorizedNetworksConfig) GetEnabled() bool
func (*MasterAuthorizedNetworksConfig) ProtoMessage()
func (x *MasterAuthorizedNetworksConfig) ProtoReflect() protoreflect.Message
func (x *MasterAuthorizedNetworksConfig) Reset()
func (x *MasterAuthorizedNetworksConfig) String() string
CidrBlock contains an optional name and one CIDR block.
type MasterAuthorizedNetworksConfig_CidrBlock struct { // display_name is an optional field for users to identify CIDR blocks. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // cidr_block must be specified in CIDR notation. CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` // contains filtered or unexported fields }
func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuthorizedNetworksConfig_CidrBlock.ProtoReflect.Descriptor instead.
func (x *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string
func (x *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string
func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage()
func (x *MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect() protoreflect.Message
func (x *MasterAuthorizedNetworksConfig_CidrBlock) Reset()
func (x *MasterAuthorizedNetworksConfig_CidrBlock) String() string
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
type NetworkPolicy struct { // The selected network policy provider. Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1alpha1.NetworkPolicy_Provider" json:"provider,omitempty"` // Whether network policy is enabled on the cluster. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*NetworkPolicy) Descriptor() ([]byte, []int)
Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead.
func (x *NetworkPolicy) GetEnabled() bool
func (x *NetworkPolicy) GetProvider() NetworkPolicy_Provider
func (*NetworkPolicy) ProtoMessage()
func (x *NetworkPolicy) ProtoReflect() protoreflect.Message
func (x *NetworkPolicy) Reset()
func (x *NetworkPolicy) String() string
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
type NetworkPolicyConfig struct { // Whether NetworkPolicy is enabled for this cluster. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
func (*NetworkPolicyConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkPolicyConfig.ProtoReflect.Descriptor instead.
func (x *NetworkPolicyConfig) GetDisabled() bool
func (*NetworkPolicyConfig) ProtoMessage()
func (x *NetworkPolicyConfig) ProtoReflect() protoreflect.Message
func (x *NetworkPolicyConfig) Reset()
func (x *NetworkPolicyConfig) String() string
Allowed Network Policy providers.
type NetworkPolicy_Provider int32
const ( // Not set NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0 // Tigera (Calico Felix). NetworkPolicy_CALICO NetworkPolicy_Provider = 1 )
func (NetworkPolicy_Provider) Descriptor() protoreflect.EnumDescriptor
func (x NetworkPolicy_Provider) Enum() *NetworkPolicy_Provider
func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkPolicy_Provider.Descriptor instead.
func (x NetworkPolicy_Provider) Number() protoreflect.EnumNumber
func (x NetworkPolicy_Provider) String() string
func (NetworkPolicy_Provider) Type() protoreflect.EnumType
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,proto3" json:"machine_type,omitempty"` // Size of the disk attached to each node, specified in GB. // The smallest allowed disk size is 10GB. // // If unspecified, the default disk size is 100GB. DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` // The set of Google API scopes to be made available on all of the // node VMs under the "default" service account. // // The following scopes are recommended, but not required, and by default are // not included: // // * `https://www.googleapis.com/auth/compute` is required for mounting // persistent storage on your nodes. // * `https://www.googleapis.com/auth/devstorage.read_only` is required for // communicating with **gcr.io** // (the [Google Container Registry](/container-registry/)). // // If unspecified, no scopes are added, unless Cloud Logging or Cloud // Monitoring are enabled, in which case their required scopes will be added. OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` // The Google Cloud Platform Service Account to be used by the node VMs. If // no Service Account is specified, the "default" service account is used. ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The metadata key/value pairs assigned to instances in the cluster. // // Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes // in length. These are reflected as part of a URL in the metadata server. // Additionally, to avoid ambiguity, keys must not conflict with any other // metadata keys for the project or be one of the four reserved keys: // "instance-template", "kube-env", "startup-script", and "user-data" // // Values are free-form strings, and only have meaning as interpreted by // the image running in the instance. The only restriction placed on them is // that each value's size must be less than or equal to 32 KB. // // The total size of all keys and values must be less than 512 KB. Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The image type to use for this node. Note that for a given image type, // the latest version of it will be used. ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` // The map of Kubernetes labels (key/value pairs) to be applied to each node. // These will added in addition to any default label(s) that // Kubernetes may apply to the node. // In case of conflict in label keys, the applied set may differ depending on // the Kubernetes version -- it's best to assume the behavior is undefined // and conflicts should be avoided. // For more information, including usage and the valid values, see: // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The number of local SSD disks to be attached to the node. // // The limit for this value is dependant upon the maximum number of // disks available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits // for more information. LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"` // The list of instance tags applied to all nodes. Tags are used to identify // valid sources or targets for network firewalls and are specified by // the client during cluster or node pool creation. Each tag within the list // must comply with RFC1035. Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"` // Whether the nodes are created as preemptible VM instances. See: // https://cloud.google.com/compute/docs/instances/preemptible for more // inforamtion about preemptible VM instances. Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"` // A list of hardware accelerators to be attached to each node. // See https://cloud.google.com/compute/docs/gpus for more information about // support for GPUs. Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"` // Minimum CPU platform to be used by this instance. The instance may be // scheduled on the specified or newer CPU platform. Applicable values are the // friendly names of CPU platforms, such as // <code>minCpuPlatform: "Intel Haswell"</code> or // <code>minCpuPlatform: "Intel Sandy Bridge"</code>. For more // information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"` // List of kubernetes taints to be applied to each node. // // For more information, including usage and the valid values, see: // https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"` // contains filtered or unexported fields }
func (*NodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.
func (x *NodeConfig) GetAccelerators() []*AcceleratorConfig
func (x *NodeConfig) GetDiskSizeGb() int32
func (x *NodeConfig) GetImageType() string
func (x *NodeConfig) GetLabels() map[string]string
func (x *NodeConfig) GetLocalSsdCount() int32
func (x *NodeConfig) GetMachineType() string
func (x *NodeConfig) GetMetadata() map[string]string
func (x *NodeConfig) GetMinCpuPlatform() string
func (x *NodeConfig) GetOauthScopes() []string
func (x *NodeConfig) GetPreemptible() bool
func (x *NodeConfig) GetServiceAccount() string
func (x *NodeConfig) GetTags() []string
func (x *NodeConfig) GetTaints() []*NodeTaint
func (*NodeConfig) ProtoMessage()
func (x *NodeConfig) ProtoReflect() protoreflect.Message
func (x *NodeConfig) Reset()
func (x *NodeConfig) String() string
NodeManagement defines the set of node management services turned on for the node pool.
type NodeManagement struct { // Whether the nodes will be automatically upgraded. AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"` // Whether the nodes will be automatically repaired. AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"` // Specifies the Auto Upgrade knobs for the node pool. UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"` // contains filtered or unexported fields }
func (*NodeManagement) Descriptor() ([]byte, []int)
Deprecated: Use NodeManagement.ProtoReflect.Descriptor instead.
func (x *NodeManagement) GetAutoRepair() bool
func (x *NodeManagement) GetAutoUpgrade() bool
func (x *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions
func (*NodeManagement) ProtoMessage()
func (x *NodeManagement) ProtoReflect() protoreflect.Message
func (x *NodeManagement) Reset()
func (x *NodeManagement) String() string
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,proto3" json:"name,omitempty"` // The node configuration of the pool. Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // The initial node count for the pool. You must ensure that your // Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> // is sufficient for this number of instances. You must also have available // firewall and routes quota. InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"` // Autoscaler configuration for this NodePool. Autoscaler is enabled // only if a valid configuration is present. Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` // NodeManagement configuration for this NodePool. Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` // [Output only] Server-defined URL for the resource. SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // [Output only] The version of the Kubernetes of this node. Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"` // [Output only] The resource URLs of [instance // groups](/compute/docs/instance-groups/) associated with this // node pool. InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"` // [Output only] The status of the nodes in this pool instance. Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1alpha1.NodePool_Status" json:"status,omitempty"` // [Output only] Additional information about the current status of this // node pool instance, if available. StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*NodePool) Descriptor() ([]byte, []int)
Deprecated: Use NodePool.ProtoReflect.Descriptor instead.
func (x *NodePool) GetAutoscaling() *NodePoolAutoscaling
func (x *NodePool) GetConfig() *NodeConfig
func (x *NodePool) GetInitialNodeCount() int32
func (x *NodePool) GetInstanceGroupUrls() []string
func (x *NodePool) GetManagement() *NodeManagement
func (x *NodePool) GetName() string
func (x *NodePool) GetSelfLink() string
func (x *NodePool) GetStatus() NodePool_Status
func (x *NodePool) GetStatusMessage() string
func (x *NodePool) GetVersion() string
func (*NodePool) ProtoMessage()
func (x *NodePool) ProtoReflect() protoreflect.Message
func (x *NodePool) Reset()
func (x *NodePool) String() string
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,proto3" json:"enabled,omitempty"` // Minimum number of nodes in the NodePool. Must be >= 1 and <= // max_node_count. MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"` // Maximum number of nodes in the NodePool. Must be >= min_node_count. There // has to enough quota to scale up the cluster. MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"` // contains filtered or unexported fields }
func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.
func (x *NodePoolAutoscaling) GetEnabled() bool
func (x *NodePoolAutoscaling) GetMaxNodeCount() int32
func (x *NodePoolAutoscaling) GetMinNodeCount() int32
func (*NodePoolAutoscaling) ProtoMessage()
func (x *NodePoolAutoscaling) ProtoReflect() protoreflect.Message
func (x *NodePoolAutoscaling) Reset()
func (x *NodePoolAutoscaling) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (x NodePool_Status) Enum() *NodePool_Status
func (NodePool_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePool_Status.Descriptor instead.
func (x NodePool_Status) Number() protoreflect.EnumNumber
func (x NodePool_Status) String() string
func (NodePool_Status) Type() protoreflect.EnumType
Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
type NodeTaint struct { // Key for taint. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Value for taint. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Effect for taint. Effect NodeTaint_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.container.v1alpha1.NodeTaint_Effect" json:"effect,omitempty"` // contains filtered or unexported fields }
func (*NodeTaint) Descriptor() ([]byte, []int)
Deprecated: Use NodeTaint.ProtoReflect.Descriptor instead.
func (x *NodeTaint) GetEffect() NodeTaint_Effect
func (x *NodeTaint) GetKey() string
func (x *NodeTaint) GetValue() string
func (*NodeTaint) ProtoMessage()
func (x *NodeTaint) ProtoReflect() protoreflect.Message
func (x *NodeTaint) Reset()
func (x *NodeTaint) String() string
Possible values for Effect in taint.
type NodeTaint_Effect int32
const ( // Not set NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0 // NoSchedule NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1 // PreferNoSchedule NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2 // NoExecute NodeTaint_NO_EXECUTE NodeTaint_Effect = 3 )
func (NodeTaint_Effect) Descriptor() protoreflect.EnumDescriptor
func (x NodeTaint_Effect) Enum() *NodeTaint_Effect
func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeTaint_Effect.Descriptor instead.
func (x NodeTaint_Effect) Number() protoreflect.EnumNumber
func (x NodeTaint_Effect) String() string
func (NodeTaint_Effect) Type() protoreflect.EnumType
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,proto3" json:"name,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the operation // is taking place. // This field is deprecated, use location instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The operation type. OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1alpha1.Operation_Type" json:"operation_type,omitempty"` // The current status of the operation. Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1alpha1.Operation_Status" json:"status,omitempty"` // Detailed operation progress, if available. Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` // If an error has occurred, a textual description of the error. StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Server-defined URL for the resource. SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"` // Server-defined URL for the target of the operation. TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"` // [Output only] The name of the Google Compute Engine // [zone](/compute/docs/regions-zones/regions-zones#available) or // [region](/compute/docs/regions-zones/regions-zones#available) in which // the cluster resides. Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"` // [Output only] The time the operation started, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // [Output only] The time the operation completed, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
func (*Operation) Descriptor() ([]byte, []int)
Deprecated: Use Operation.ProtoReflect.Descriptor instead.
func (x *Operation) GetDetail() string
func (x *Operation) GetEndTime() string
func (x *Operation) GetLocation() string
func (x *Operation) GetName() string
func (x *Operation) GetOperationType() Operation_Type
func (x *Operation) GetSelfLink() string
func (x *Operation) GetStartTime() string
func (x *Operation) GetStatus() Operation_Status
func (x *Operation) GetStatusMessage() string
func (x *Operation) GetTargetLink() string
func (x *Operation) GetZone() string
func (*Operation) ProtoMessage()
func (x *Operation) ProtoReflect() protoreflect.Message
func (x *Operation) Reset()
func (x *Operation) String() string
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) Descriptor() protoreflect.EnumDescriptor
func (x Operation_Status) Enum() *Operation_Status
func (Operation_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Status.Descriptor instead.
func (x Operation_Status) Number() protoreflect.EnumNumber
func (x Operation_Status) String() string
func (Operation_Status) Type() protoreflect.EnumType
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 // Set node pool size. Operation_SET_NODE_POOL_SIZE Operation_Type = 14 // Updates network policy for a cluster. Operation_SET_NETWORK_POLICY Operation_Type = 15 // Set the maintenance policy. Operation_SET_MAINTENANCE_POLICY Operation_Type = 16 )
func (Operation_Type) Descriptor() protoreflect.EnumDescriptor
func (x Operation_Type) Enum() *Operation_Type
func (Operation_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Type.Descriptor instead.
func (x Operation_Type) Number() protoreflect.EnumNumber
func (x Operation_Type) String() string
func (Operation_Type) Type() protoreflect.EnumType
Configuration for the PodSecurityPolicy feature.
type PodSecurityPolicyConfig struct { // Enable the PodSecurityPolicy controller for this cluster. If enabled, pods // must be valid under a PodSecurityPolicy to be created. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
func (*PodSecurityPolicyConfig) Descriptor() ([]byte, []int)
Deprecated: Use PodSecurityPolicyConfig.ProtoReflect.Descriptor instead.
func (x *PodSecurityPolicyConfig) GetEnabled() bool
func (*PodSecurityPolicyConfig) ProtoMessage()
func (x *PodSecurityPolicyConfig) ProtoReflect() protoreflect.Message
func (x *PodSecurityPolicyConfig) Reset()
func (x *PodSecurityPolicyConfig) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to rollback. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to rollback. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The name (project, location, cluster, node pool id) of the node poll to // rollback upgrade. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.
func (x *RollbackNodePoolUpgradeRequest) GetClusterId() string
func (x *RollbackNodePoolUpgradeRequest) GetName() string
func (x *RollbackNodePoolUpgradeRequest) GetNodePoolId() string
func (x *RollbackNodePoolUpgradeRequest) GetProjectId() string
func (x *RollbackNodePoolUpgradeRequest) GetZone() string
func (*RollbackNodePoolUpgradeRequest) ProtoMessage()
func (x *RollbackNodePoolUpgradeRequest) ProtoReflect() protoreflect.Message
func (x *RollbackNodePoolUpgradeRequest) Reset()
func (x *RollbackNodePoolUpgradeRequest) String() string
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,proto3" json:"default_cluster_version,omitempty"` // List of valid node upgrade target versions. ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"` // Default image type. DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"` // List of valid image types. ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"` // List of valid master versions. ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"` // contains filtered or unexported fields }
func (*ServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (x *ServerConfig) GetDefaultClusterVersion() string
func (x *ServerConfig) GetDefaultImageType() string
func (x *ServerConfig) GetValidImageTypes() []string
func (x *ServerConfig) GetValidMasterVersions() []string
func (x *ServerConfig) GetValidNodeVersions() []string
func (*ServerConfig) ProtoMessage()
func (x *ServerConfig) ProtoReflect() protoreflect.Message
func (x *ServerConfig) Reset()
func (x *ServerConfig) String() string
SetAddonsRequest sets the addons associated with the cluster.
type SetAddonsConfigRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The desired configurations for the various addons available to run in the // cluster. AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"` // The name (project, location, cluster) of the cluster to set addons. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAddonsConfigRequest.ProtoReflect.Descriptor instead.
func (x *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig
func (x *SetAddonsConfigRequest) GetClusterId() string
func (x *SetAddonsConfigRequest) GetName() string
func (x *SetAddonsConfigRequest) GetProjectId() string
func (x *SetAddonsConfigRequest) GetZone() string
func (*SetAddonsConfigRequest) ProtoMessage()
func (x *SetAddonsConfigRequest) ProtoReflect() protoreflect.Message
func (x *SetAddonsConfigRequest) Reset()
func (x *SetAddonsConfigRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The labels to set for that cluster. ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The fingerprint of the previous set of labels for this resource, // used to detect conflicts. The fingerprint is initially generated by // Container Engine and changes after every request to modify or update // labels. You must always provide an up-to-date fingerprint hash when // updating or changing labels. Make a <code>get()</code> request to the // resource to get the latest fingerprint. LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` // The name (project, location, cluster id) of the cluster to set labels. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLabelsRequest.ProtoReflect.Descriptor instead.
func (x *SetLabelsRequest) GetClusterId() string
func (x *SetLabelsRequest) GetLabelFingerprint() string
func (x *SetLabelsRequest) GetName() string
func (x *SetLabelsRequest) GetProjectId() string
func (x *SetLabelsRequest) GetResourceLabels() map[string]string
func (x *SetLabelsRequest) GetZone() string
func (*SetLabelsRequest) ProtoMessage()
func (x *SetLabelsRequest) ProtoReflect() protoreflect.Message
func (x *SetLabelsRequest) Reset()
func (x *SetLabelsRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to update. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Whether ABAC authorization will be enabled in the cluster. Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` // The name (project, location, cluster id) of the cluster to set legacy abac. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLegacyAbacRequest.ProtoReflect.Descriptor instead.
func (x *SetLegacyAbacRequest) GetClusterId() string
func (x *SetLegacyAbacRequest) GetEnabled() bool
func (x *SetLegacyAbacRequest) GetName() string
func (x *SetLegacyAbacRequest) GetProjectId() string
func (x *SetLegacyAbacRequest) GetZone() string
func (*SetLegacyAbacRequest) ProtoMessage()
func (x *SetLegacyAbacRequest) ProtoReflect() protoreflect.Message
func (x *SetLegacyAbacRequest) Reset()
func (x *SetLegacyAbacRequest) String() string
SetLocationsRequest sets the locations of the cluster.
type SetLocationsRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The desired list of Google Compute Engine // [locations](/compute/docs/zones#available) in which the cluster's nodes // should be located. Changing the locations a cluster is in will result // in nodes being either created or removed from the cluster, depending on // whether locations are being added or removed. // // This list must always include the cluster's primary zone. Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"` // The name (project, location, cluster) of the cluster to set locations. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetLocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLocationsRequest.ProtoReflect.Descriptor instead.
func (x *SetLocationsRequest) GetClusterId() string
func (x *SetLocationsRequest) GetLocations() []string
func (x *SetLocationsRequest) GetName() string
func (x *SetLocationsRequest) GetProjectId() string
func (x *SetLocationsRequest) GetZone() string
func (*SetLocationsRequest) ProtoMessage()
func (x *SetLocationsRequest) ProtoReflect() protoreflect.Message
func (x *SetLocationsRequest) Reset()
func (x *SetLocationsRequest) String() string
SetLoggingServiceRequest sets the logging service of a cluster.
type SetLoggingServiceRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The logging service the cluster should use to write metrics. // Currently available options: // // * "logging.googleapis.com" - the Google Cloud Logging service // * "none" - no metrics will be exported from the cluster LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"` // The name (project, location, cluster) of the cluster to set logging. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLoggingServiceRequest.ProtoReflect.Descriptor instead.
func (x *SetLoggingServiceRequest) GetClusterId() string
func (x *SetLoggingServiceRequest) GetLoggingService() string
func (x *SetLoggingServiceRequest) GetName() string
func (x *SetLoggingServiceRequest) GetProjectId() string
func (x *SetLoggingServiceRequest) GetZone() string
func (*SetLoggingServiceRequest) ProtoMessage()
func (x *SetLoggingServiceRequest) ProtoReflect() protoreflect.Message
func (x *SetLoggingServiceRequest) Reset()
func (x *SetLoggingServiceRequest) String() string
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
type SetMaintenancePolicyRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to update. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The maintenance policy to be set for the cluster. An empty field // clears the existing maintenance policy. MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"` // The name (project, location, cluster id) of the cluster to set maintenance // policy. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMaintenancePolicyRequest.ProtoReflect.Descriptor instead.
func (x *SetMaintenancePolicyRequest) GetClusterId() string
func (x *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy
func (x *SetMaintenancePolicyRequest) GetName() string
func (x *SetMaintenancePolicyRequest) GetProjectId() string
func (x *SetMaintenancePolicyRequest) GetZone() string
func (*SetMaintenancePolicyRequest) ProtoMessage()
func (x *SetMaintenancePolicyRequest) ProtoReflect() protoreflect.Message
func (x *SetMaintenancePolicyRequest) Reset()
func (x *SetMaintenancePolicyRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The exact form of action to be taken on the master auth. Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1alpha1.SetMasterAuthRequest_Action" json:"action,omitempty"` // A description of the update. Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"` // The name (project, location, cluster) of the cluster to set auth. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetMasterAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMasterAuthRequest.ProtoReflect.Descriptor instead.
func (x *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action
func (x *SetMasterAuthRequest) GetClusterId() string
func (x *SetMasterAuthRequest) GetName() string
func (x *SetMasterAuthRequest) GetProjectId() string
func (x *SetMasterAuthRequest) GetUpdate() *MasterAuth
func (x *SetMasterAuthRequest) GetZone() string
func (*SetMasterAuthRequest) ProtoMessage()
func (x *SetMasterAuthRequest) ProtoReflect() protoreflect.Message
func (x *SetMasterAuthRequest) Reset()
func (x *SetMasterAuthRequest) String() string
Operation type: what type update to perform.
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 // Set the username. If an empty username is provided, basic authentication // is disabled for the cluster. If a non-empty username is provided, basic // authentication is enabled, with either a provided password or a generated // one. SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3 )
func (SetMasterAuthRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (x SetMasterAuthRequest_Action) Enum() *SetMasterAuthRequest_Action
func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetMasterAuthRequest_Action.Descriptor instead.
func (x SetMasterAuthRequest_Action) Number() protoreflect.EnumNumber
func (x SetMasterAuthRequest_Action) String() string
func (SetMasterAuthRequest_Action) Type() protoreflect.EnumType
SetMonitoringServiceRequest sets the monitoring service of a cluster.
type SetMonitoringServiceRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The monitoring service the cluster should use to write metrics. // Currently available options: // // * "monitoring.googleapis.com" - the Google Cloud Monitoring service // * "none" - no metrics will be exported from the cluster MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` // The name (project, location, cluster) of the cluster to set monitoring. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMonitoringServiceRequest.ProtoReflect.Descriptor instead.
func (x *SetMonitoringServiceRequest) GetClusterId() string
func (x *SetMonitoringServiceRequest) GetMonitoringService() string
func (x *SetMonitoringServiceRequest) GetName() string
func (x *SetMonitoringServiceRequest) GetProjectId() string
func (x *SetMonitoringServiceRequest) GetZone() string
func (*SetMonitoringServiceRequest) ProtoMessage()
func (x *SetMonitoringServiceRequest) ProtoReflect() protoreflect.Message
func (x *SetMonitoringServiceRequest) Reset()
func (x *SetMonitoringServiceRequest) String() string
SetNetworkPolicyRequest enables/disables network policy for a cluster.
type SetNetworkPolicyRequest struct { // The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Configuration options for the NetworkPolicy feature. NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"` // The name (project, location, cluster id) of the cluster to set networking // policy. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNetworkPolicyRequest.ProtoReflect.Descriptor instead.
func (x *SetNetworkPolicyRequest) GetClusterId() string
func (x *SetNetworkPolicyRequest) GetName() string
func (x *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy
func (x *SetNetworkPolicyRequest) GetProjectId() string
func (x *SetNetworkPolicyRequest) GetZone() string
func (*SetNetworkPolicyRequest) ProtoMessage()
func (x *SetNetworkPolicyRequest) ProtoReflect() protoreflect.Message
func (x *SetNetworkPolicyRequest) Reset()
func (x *SetNetworkPolicyRequest) String() string
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
type SetNodePoolAutoscalingRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to upgrade. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // Autoscaling configuration for the node pool. Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` // The name (project, location, cluster, node pool) of the node pool to set // autoscaler settings. Specified in the format // 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolAutoscalingRequest.ProtoReflect.Descriptor instead.
func (x *SetNodePoolAutoscalingRequest) GetAutoscaling() *NodePoolAutoscaling
func (x *SetNodePoolAutoscalingRequest) GetClusterId() string
func (x *SetNodePoolAutoscalingRequest) GetName() string
func (x *SetNodePoolAutoscalingRequest) GetNodePoolId() string
func (x *SetNodePoolAutoscalingRequest) GetProjectId() string
func (x *SetNodePoolAutoscalingRequest) GetZone() string
func (*SetNodePoolAutoscalingRequest) ProtoMessage()
func (x *SetNodePoolAutoscalingRequest) ProtoReflect() protoreflect.Message
func (x *SetNodePoolAutoscalingRequest) Reset()
func (x *SetNodePoolAutoscalingRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to update. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to update. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // NodeManagement configuration for the node pool. Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to set // management properties. Specified in the format // 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolManagementRequest.ProtoReflect.Descriptor instead.
func (x *SetNodePoolManagementRequest) GetClusterId() string
func (x *SetNodePoolManagementRequest) GetManagement() *NodeManagement
func (x *SetNodePoolManagementRequest) GetName() string
func (x *SetNodePoolManagementRequest) GetNodePoolId() string
func (x *SetNodePoolManagementRequest) GetProjectId() string
func (x *SetNodePoolManagementRequest) GetZone() string
func (*SetNodePoolManagementRequest) ProtoMessage()
func (x *SetNodePoolManagementRequest) ProtoReflect() protoreflect.Message
func (x *SetNodePoolManagementRequest) Reset()
func (x *SetNodePoolManagementRequest) String() string
SetNodePoolSizeRequest sets the size a node pool.
type SetNodePoolSizeRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to update. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to update. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The desired node count for the pool. NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to set // size. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolSizeRequest.ProtoReflect.Descriptor instead.
func (x *SetNodePoolSizeRequest) GetClusterId() string
func (x *SetNodePoolSizeRequest) GetName() string
func (x *SetNodePoolSizeRequest) GetNodeCount() int32
func (x *SetNodePoolSizeRequest) GetNodePoolId() string
func (x *SetNodePoolSizeRequest) GetProjectId() string
func (x *SetNodePoolSizeRequest) GetZone() string
func (*SetNodePoolSizeRequest) ProtoMessage()
func (x *SetNodePoolSizeRequest) ProtoReflect() protoreflect.Message
func (x *SetNodePoolSizeRequest) Reset()
func (x *SetNodePoolSizeRequest) String() string
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster id) of the cluster to start IP rotation. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*StartIPRotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartIPRotationRequest.ProtoReflect.Descriptor instead.
func (x *StartIPRotationRequest) GetClusterId() string
func (x *StartIPRotationRequest) GetName() string
func (x *StartIPRotationRequest) GetProjectId() string
func (x *StartIPRotationRequest) GetZone() string
func (*StartIPRotationRequest) ProtoMessage()
func (x *StartIPRotationRequest) ProtoReflect() protoreflect.Message
func (x *StartIPRotationRequest) Reset()
func (x *StartIPRotationRequest) String() string
UnimplementedClusterManagerServer can be embedded to have forward compatible implementations.
type UnimplementedClusterManagerServer struct { }
func (*UnimplementedClusterManagerServer) CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error)
func (*UnimplementedClusterManagerServer) CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (*UnimplementedClusterManagerServer) GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
func (*UnimplementedClusterManagerServer) GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
func (*UnimplementedClusterManagerServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedClusterManagerServer) ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
func (*UnimplementedClusterManagerServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLabels(context.Context, *SetLabelsRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLocations(context.Context, *SetLocationsRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error)
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). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // A description of the update. Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"` // The name (project, location, cluster) of the cluster to update. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (x *UpdateClusterRequest) GetClusterId() string
func (x *UpdateClusterRequest) GetName() string
func (x *UpdateClusterRequest) GetProjectId() string
func (x *UpdateClusterRequest) GetUpdate() *ClusterUpdate
func (x *UpdateClusterRequest) GetZone() string
func (*UpdateClusterRequest) ProtoMessage()
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (x *UpdateClusterRequest) Reset()
func (x *UpdateClusterRequest) String() string
UpdateMasterRequest updates the master of the cluster.
type UpdateMasterRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The Kubernetes version to change the master to. The only valid value is the // latest supported version. Use "-" to have the server automatically select // the latest version. MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"` // The name (project, location, cluster) of the cluster to update. // Specified in the format 'projects/*/locations/*/clusters/*'. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateMasterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMasterRequest.ProtoReflect.Descriptor instead.
func (x *UpdateMasterRequest) GetClusterId() string
func (x *UpdateMasterRequest) GetMasterVersion() string
func (x *UpdateMasterRequest) GetName() string
func (x *UpdateMasterRequest) GetProjectId() string
func (x *UpdateMasterRequest) GetZone() string
func (*UpdateMasterRequest) ProtoMessage()
func (x *UpdateMasterRequest) ProtoReflect() protoreflect.Message
func (x *UpdateMasterRequest) Reset()
func (x *UpdateMasterRequest) String() string
SetNodePoolVersionRequest updates the version of a node pool.
type UpdateNodePoolRequest struct { // The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field is deprecated, use name instead. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The name of the Google Compute Engine // [zone](/compute/docs/zones#available) in which the cluster // resides. // This field is deprecated, use name instead. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name of the cluster to upgrade. // This field is deprecated, use name instead. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name of the node pool to upgrade. // This field is deprecated, use name instead. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The Kubernetes version to change the nodes to (typically an // upgrade). Use `-` to upgrade to the latest version supported by // the server. NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` // The desired image type for the node pool. ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"` // The name (project, location, cluster, node pool) of the node pool to update. // Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *UpdateNodePoolRequest) GetClusterId() string
func (x *UpdateNodePoolRequest) GetImageType() string
func (x *UpdateNodePoolRequest) GetName() string
func (x *UpdateNodePoolRequest) GetNodePoolId() string
func (x *UpdateNodePoolRequest) GetNodeVersion() string
func (x *UpdateNodePoolRequest) GetProjectId() string
func (x *UpdateNodePoolRequest) GetZone() string
func (*UpdateNodePoolRequest) ProtoMessage()
func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *UpdateNodePoolRequest) Reset()
func (x *UpdateNodePoolRequest) String() string