import "google.golang.org/genproto/googleapis/container/v1"
var ( SandboxConfig_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "GVISOR", } SandboxConfig_Type_value = map[string]int32{ "UNSPECIFIED": 0, "GVISOR": 1, } )
Enum value maps for SandboxConfig_Type.
var ( ReservationAffinity_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NO_RESERVATION", 2: "ANY_RESERVATION", 3: "SPECIFIC_RESERVATION", } ReservationAffinity_Type_value = map[string]int32{ "UNSPECIFIED": 0, "NO_RESERVATION": 1, "ANY_RESERVATION": 2, "SPECIFIC_RESERVATION": 3, } )
Enum value maps for ReservationAffinity_Type.
var ( NodeTaint_Effect_name = map[int32]string{ 0: "EFFECT_UNSPECIFIED", 1: "NO_SCHEDULE", 2: "PREFER_NO_SCHEDULE", 3: "NO_EXECUTE", } NodeTaint_Effect_value = map[string]int32{ "EFFECT_UNSPECIFIED": 0, "NO_SCHEDULE": 1, "PREFER_NO_SCHEDULE": 2, "NO_EXECUTE": 3, } )
Enum value maps for NodeTaint_Effect.
var ( CloudRunConfig_LoadBalancerType_name = map[int32]string{ 0: "LOAD_BALANCER_TYPE_UNSPECIFIED", 1: "LOAD_BALANCER_TYPE_EXTERNAL", 2: "LOAD_BALANCER_TYPE_INTERNAL", } CloudRunConfig_LoadBalancerType_value = map[string]int32{ "LOAD_BALANCER_TYPE_UNSPECIFIED": 0, "LOAD_BALANCER_TYPE_EXTERNAL": 1, "LOAD_BALANCER_TYPE_INTERNAL": 2, } )
Enum value maps for CloudRunConfig_LoadBalancerType.
var ( NetworkPolicy_Provider_name = map[int32]string{ 0: "PROVIDER_UNSPECIFIED", 1: "CALICO", } NetworkPolicy_Provider_value = map[string]int32{ "PROVIDER_UNSPECIFIED": 0, "CALICO": 1, } )
Enum value maps for NetworkPolicy_Provider.
var ( Cluster_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PROVISIONING", 2: "RUNNING", 3: "RECONCILING", 4: "STOPPING", 5: "ERROR", 6: "DEGRADED", } Cluster_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "RECONCILING": 3, "STOPPING": 4, "ERROR": 5, "DEGRADED": 6, } )
Enum value maps for Cluster_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_Status.
var ( Operation_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CREATE_CLUSTER", 2: "DELETE_CLUSTER", 3: "UPGRADE_MASTER", 4: "UPGRADE_NODES", 5: "REPAIR_CLUSTER", 6: "UPDATE_CLUSTER", 7: "CREATE_NODE_POOL", 8: "DELETE_NODE_POOL", 9: "SET_NODE_POOL_MANAGEMENT", 10: "AUTO_REPAIR_NODES", 11: "AUTO_UPGRADE_NODES", 12: "SET_LABELS", 13: "SET_MASTER_AUTH", 14: "SET_NODE_POOL_SIZE", 15: "SET_NETWORK_POLICY", 16: "SET_MAINTENANCE_POLICY", } Operation_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CREATE_CLUSTER": 1, "DELETE_CLUSTER": 2, "UPGRADE_MASTER": 3, "UPGRADE_NODES": 4, "REPAIR_CLUSTER": 5, "UPDATE_CLUSTER": 6, "CREATE_NODE_POOL": 7, "DELETE_NODE_POOL": 8, "SET_NODE_POOL_MANAGEMENT": 9, "AUTO_REPAIR_NODES": 10, "AUTO_UPGRADE_NODES": 11, "SET_LABELS": 12, "SET_MASTER_AUTH": 13, "SET_NODE_POOL_SIZE": 14, "SET_NETWORK_POLICY": 15, "SET_MAINTENANCE_POLICY": 16, } )
Enum value maps for Operation_Type.
var ( SetMasterAuthRequest_Action_name = map[int32]string{ 0: "UNKNOWN", 1: "SET_PASSWORD", 2: "GENERATE_PASSWORD", 3: "SET_USERNAME", } SetMasterAuthRequest_Action_value = map[string]int32{ "UNKNOWN": 0, "SET_PASSWORD": 1, "GENERATE_PASSWORD": 2, "SET_USERNAME": 3, } )
Enum value maps for SetMasterAuthRequest_Action.
var ( NodePool_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "PROVISIONING", 2: "RUNNING", 3: "RUNNING_WITH_ERROR", 4: "RECONCILING", 5: "STOPPING", 6: "ERROR", } NodePool_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "RUNNING_WITH_ERROR": 3, "RECONCILING": 4, "STOPPING": 5, "ERROR": 6, } )
Enum value maps for NodePool_Status.
var ( WorkloadMetadataConfig_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "GCE_METADATA", 2: "GKE_METADATA", } WorkloadMetadataConfig_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "GCE_METADATA": 1, "GKE_METADATA": 2, } )
Enum value maps for WorkloadMetadataConfig_Mode.
var ( StatusCondition_Code_name = map[int32]string{ 0: "UNKNOWN", 1: "GCE_STOCKOUT", 2: "GKE_SERVICE_ACCOUNT_DELETED", 3: "GCE_QUOTA_EXCEEDED", 4: "SET_BY_OPERATOR", 7: "CLOUD_KMS_KEY_ERROR", } StatusCondition_Code_value = map[string]int32{ "UNKNOWN": 0, "GCE_STOCKOUT": 1, "GKE_SERVICE_ACCOUNT_DELETED": 2, "GCE_QUOTA_EXCEEDED": 3, "SET_BY_OPERATOR": 4, "CLOUD_KMS_KEY_ERROR": 7, } )
Enum value maps for StatusCondition_Code.
var ( ReleaseChannel_Channel_name = map[int32]string{ 0: "UNSPECIFIED", 1: "RAPID", 2: "REGULAR", 3: "STABLE", } ReleaseChannel_Channel_value = map[string]int32{ "UNSPECIFIED": 0, "RAPID": 1, "REGULAR": 2, "STABLE": 3, } )
Enum value maps for ReleaseChannel_Channel.
var ( DatabaseEncryption_State_name = map[int32]string{ 0: "UNKNOWN", 1: "ENCRYPTED", 2: "DECRYPTED", } DatabaseEncryption_State_value = map[string]int32{ "UNKNOWN": 0, "ENCRYPTED": 1, "DECRYPTED": 2, } )
Enum value maps for DatabaseEncryption_State.
var ( UsableSubnetworkSecondaryRange_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "UNUSED", 2: "IN_USE_SERVICE", 3: "IN_USE_SHAREABLE_POD", 4: "IN_USE_MANAGED_POD", } UsableSubnetworkSecondaryRange_Status_value = map[string]int32{ "UNKNOWN": 0, "UNUSED": 1, "IN_USE_SERVICE": 2, "IN_USE_SHAREABLE_POD": 3, "IN_USE_MANAGED_POD": 4, } )
Enum value maps for UsableSubnetworkSecondaryRange_Status.
var File_google_container_v1_cluster_service_proto protoreflect.FileDescriptor
func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)
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](https://cloud.google.com/compute/docs/gpus) AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"` // contains filtered or unexported fields }
AcceleratorConfig represents a Hardware Accelerator request.
func (*AcceleratorConfig) Descriptor() ([]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
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. // This addon is deprecated, and will be disabled in 1.15. It is recommended // to use the Cloud Console to manage and monitor your Kubernetes clusters, // workloads and applications. For more information, see: // https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards // // Deprecated: Do not use. 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"` // Configuration for the Cloud Run addon, which allows the user to use a // managed Knative service. CloudRunConfig *CloudRunConfig `protobuf:"bytes,7,opt,name=cloud_run_config,json=cloudRunConfig,proto3" json:"cloud_run_config,omitempty"` // Configuration for NodeLocalDNS, a dns cache running on cluster nodes DnsCacheConfig *DnsCacheConfig `protobuf:"bytes,8,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"` // Configuration for the ConfigConnector add-on, a Kubernetes // extension to manage hosted GCP services through the Kubernetes API ConfigConnectorConfig *ConfigConnectorConfig `protobuf:"bytes,10,opt,name=config_connector_config,json=configConnectorConfig,proto3" json:"config_connector_config,omitempty"` // contains filtered or unexported fields }
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
func (*AddonsConfig) Descriptor() ([]byte, []int)
Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.
func (x *AddonsConfig) GetCloudRunConfig() *CloudRunConfig
func (x *AddonsConfig) GetConfigConnectorConfig() *ConfigConnectorConfig
func (x *AddonsConfig) GetDnsCacheConfig() *DnsCacheConfig
func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling
func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing
func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard
Deprecated: Do not use.
func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig
func (*AddonsConfig) ProtoMessage()
func (x *AddonsConfig) ProtoReflect() protoreflect.Message
func (x *AddonsConfig) Reset()
func (x *AddonsConfig) String() string
type AuthenticatorGroupsConfig struct { // Whether this cluster should return group membership lookups // during authentication using a group of security groups. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // The name of the security group-of-groups to be used. Only relevant // if enabled = true. SecurityGroup string `protobuf:"bytes,2,opt,name=security_group,json=securityGroup,proto3" json:"security_group,omitempty"` // contains filtered or unexported fields }
Configuration for returning group information from authenticators.
func (*AuthenticatorGroupsConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorGroupsConfig.ProtoReflect.Descriptor instead.
func (x *AuthenticatorGroupsConfig) GetEnabled() bool
func (x *AuthenticatorGroupsConfig) GetSecurityGroup() string
func (*AuthenticatorGroupsConfig) ProtoMessage()
func (x *AuthenticatorGroupsConfig) ProtoReflect() protoreflect.Message
func (x *AuthenticatorGroupsConfig) Reset()
func (x *AuthenticatorGroupsConfig) String() string
type AutoUpgradeOptions struct { // [Output only] This field is set when upgrades are about to commence // with the approximate start time for the upgrades, in // [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"` // [Output only] This field is set when upgrades are about to commence // with the description of the upgrade. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
func (*AutoUpgradeOptions) Descriptor() ([]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
type AutoprovisioningNodePoolDefaults struct { // Scopes that are used by NAP when creating node pools. OauthScopes []string `protobuf:"bytes,1,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"` // The Google Cloud Platform Service Account to be used by the node VMs. ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Specifies the upgrade settings for NAP created node pools UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,3,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"` // Specifies the node management options for NAP created node-pools. Management *NodeManagement `protobuf:"bytes,4,opt,name=management,proto3" json:"management,omitempty"` // Minimum CPU platform to be used for NAP created node pools. // The instance may be scheduled on the specified or newer CPU platform. // Applicable values are the friendly names of CPU platforms, such as // minCpuPlatform: Intel Haswell or // minCpuPlatform: Intel Sandy Bridge. For more // information, read [how to specify min CPU // platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) // To unset the min cpu platform field pass "automatic" // as field value. MinCpuPlatform string `protobuf:"bytes,5,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,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,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` // Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or // 'pd-balanced') // // If unspecified, the default disk type is 'pd-standard' DiskType string `protobuf:"bytes,7,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"` // Shielded Instance options. ShieldedInstanceConfig *ShieldedInstanceConfig `protobuf:"bytes,8,opt,name=shielded_instance_config,json=shieldedInstanceConfig,proto3" json:"shielded_instance_config,omitempty"` // The Customer Managed Encryption Key used to encrypt the boot disk attached // to each node in the node pool. This should be of the form // projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. // For more information about protecting resources with Cloud KMS Keys please // see: // https://cloud.google.com/compute/docs/disks/customer-managed-encryption BootDiskKmsKey string `protobuf:"bytes,9,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"` // contains filtered or unexported fields }
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
func (*AutoprovisioningNodePoolDefaults) Descriptor() ([]byte, []int)
Deprecated: Use AutoprovisioningNodePoolDefaults.ProtoReflect.Descriptor instead.
func (x *AutoprovisioningNodePoolDefaults) GetBootDiskKmsKey() string
func (x *AutoprovisioningNodePoolDefaults) GetDiskSizeGb() int32
func (x *AutoprovisioningNodePoolDefaults) GetDiskType() string
func (x *AutoprovisioningNodePoolDefaults) GetManagement() *NodeManagement
func (x *AutoprovisioningNodePoolDefaults) GetMinCpuPlatform() string
func (x *AutoprovisioningNodePoolDefaults) GetOauthScopes() []string
func (x *AutoprovisioningNodePoolDefaults) GetServiceAccount() string
func (x *AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig() *ShieldedInstanceConfig
func (x *AutoprovisioningNodePoolDefaults) GetUpgradeSettings() *NodePool_UpgradeSettings
func (*AutoprovisioningNodePoolDefaults) ProtoMessage()
func (x *AutoprovisioningNodePoolDefaults) ProtoReflect() protoreflect.Message
func (x *AutoprovisioningNodePoolDefaults) Reset()
func (x *AutoprovisioningNodePoolDefaults) String() string
type BinaryAuthorization struct { // Enable Binary Authorization for this cluster. If enabled, all container // images will be validated by Binary Authorization. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration for Binary Authorization.
func (*BinaryAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use BinaryAuthorization.ProtoReflect.Descriptor instead.
func (x *BinaryAuthorization) GetEnabled() bool
func (*BinaryAuthorization) ProtoMessage()
func (x *BinaryAuthorization) ProtoReflect() protoreflect.Message
func (x *BinaryAuthorization) Reset()
func (x *BinaryAuthorization) String() string
type CancelOperationRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // operation resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // The name (project, location, operation id) of the operation to cancel. // Specified in the format `projects/*/locations/*/operations/*`. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
CancelOperationRequest cancels a single operation.
func (*CancelOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.
func (x *CancelOperationRequest) GetName() string
func (x *CancelOperationRequest) GetOperationId() string
Deprecated: Do not use.
func (x *CancelOperationRequest) GetProjectId() string
Deprecated: Do not use.
func (x *CancelOperationRequest) GetZone() string
Deprecated: Do not use.
func (*CancelOperationRequest) ProtoMessage()
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
func (x *CancelOperationRequest) Reset()
func (x *CancelOperationRequest) String() string
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 }
Configuration for client certificates on the cluster.
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
type CloudRunConfig struct { // Whether Cloud Run addon is enabled for this cluster. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // Which load balancer type is installed for Cloud Run. LoadBalancerType CloudRunConfig_LoadBalancerType `protobuf:"varint,3,opt,name=load_balancer_type,json=loadBalancerType,proto3,enum=google.container.v1.CloudRunConfig_LoadBalancerType" json:"load_balancer_type,omitempty"` // contains filtered or unexported fields }
Configuration options for the Cloud Run feature.
func (*CloudRunConfig) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
func (x *CloudRunConfig) GetDisabled() bool
func (x *CloudRunConfig) GetLoadBalancerType() CloudRunConfig_LoadBalancerType
func (*CloudRunConfig) ProtoMessage()
func (x *CloudRunConfig) ProtoReflect() protoreflect.Message
func (x *CloudRunConfig) Reset()
func (x *CloudRunConfig) String() string
Load balancer type of ingress service of Cloud Run.
const ( // Load balancer type for Cloud Run is unspecified. CloudRunConfig_LOAD_BALANCER_TYPE_UNSPECIFIED CloudRunConfig_LoadBalancerType = 0 // Install external load balancer for Cloud Run. CloudRunConfig_LOAD_BALANCER_TYPE_EXTERNAL CloudRunConfig_LoadBalancerType = 1 // Install internal load balancer for Cloud Run. CloudRunConfig_LOAD_BALANCER_TYPE_INTERNAL CloudRunConfig_LoadBalancerType = 2 )
func (CloudRunConfig_LoadBalancerType) Descriptor() protoreflect.EnumDescriptor
func (x CloudRunConfig_LoadBalancerType) Enum() *CloudRunConfig_LoadBalancerType
func (CloudRunConfig_LoadBalancerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig_LoadBalancerType.Descriptor instead.
func (x CloudRunConfig_LoadBalancerType) Number() protoreflect.EnumNumber
func (x CloudRunConfig_LoadBalancerType) String() string
func (CloudRunConfig_LoadBalancerType) Type() protoreflect.EnumType
type Cluster struct { // The name of this cluster. The name must be unique within this project // and location (e.g. zone or region), 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 [resource quota](https://cloud.google.com/compute/quotas) // 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. // // This field is deprecated, use node_pool.initial_node_count instead. // // Deprecated: Do not use. 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. // 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. (For configuration of each node pool, see // `node_pool.config`) // // If unspecified, the defaults are used. // This field is deprecated, use node_pool.config instead. // // Deprecated: Do not use. NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"` // The authentication information for accessing the master endpoint. // If unspecified, the defaults are used: // For clusters before v1.12, if master_auth is unspecified, `username` will // be set to "admin", a random password will be generated, and a client // certificate will be issued. 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/kubernetes` - The Cloud Logging // service with a Kubernetes-native resource model // * `logging.googleapis.com` - The legacy Cloud Logging service (no longer // available as of GKE 1.15). // * `none` - no logs will be exported from the cluster. // // If left as an empty string,`logging.googleapis.com/kubernetes` will be // used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. 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/kubernetes" - The Cloud Monitoring // service with a Kubernetes-native resource model // * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no // longer available as of GKE 1.15). // * `none` - No metrics will be exported from the cluster. // // If left as an empty string,`monitoring.googleapis.com/kubernetes` will be // used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"` // The name of the Google Compute Engine // [network](https://cloud.google.com/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](https://cloud.google.com/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 // [zones](https://cloud.google.com/compute/docs/zones#available) in which the // cluster's nodes should be located. // // This field provides a default value if // [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) // are not specified during node pool creation. // // Warning: changing cluster locations will update the // [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) // of all node pools and will result in nodes being added and/or removed. 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"` // The resource labels for the cluster to use to annotate any related // Google Compute Engine resources. ResourceLabels map[string]string `protobuf:"bytes,15,rep,name=resource_labels,json=resourceLabels,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 set of labels for this cluster. LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"` // Configuration for the legacy ABAC authorization mode. LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,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 Binary Authorization. BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,24,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"` // Cluster-level autoscaling configuration. Autoscaling *ClusterAutoscaling `protobuf:"bytes,26,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` // Configuration for cluster networking. NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` // The default constraint on the maximum number of pods that can be run // simultaneously on a node in the node pool of this cluster. Only honored // if cluster created with IP Alias support. DefaultMaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,30,opt,name=default_max_pods_constraint,json=defaultMaxPodsConstraint,proto3" json:"default_max_pods_constraint,omitempty"` // Configuration for exporting resource usages. Resource usage export is // disabled when this config is unspecified. ResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,33,opt,name=resource_usage_export_config,json=resourceUsageExportConfig,proto3" json:"resource_usage_export_config,omitempty"` // Configuration controlling RBAC group membership information. AuthenticatorGroupsConfig *AuthenticatorGroupsConfig `protobuf:"bytes,34,opt,name=authenticator_groups_config,json=authenticatorGroupsConfig,proto3" json:"authenticator_groups_config,omitempty"` // Configuration for private cluster. PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"` // Configuration of etcd encryption. DatabaseEncryption *DatabaseEncryption `protobuf:"bytes,38,opt,name=database_encryption,json=databaseEncryption,proto3" json:"database_encryption,omitempty"` // Cluster-level Vertical Pod Autoscaling configuration. VerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,39,opt,name=vertical_pod_autoscaling,json=verticalPodAutoscaling,proto3" json:"vertical_pod_autoscaling,omitempty"` // Shielded Nodes configuration. ShieldedNodes *ShieldedNodes `protobuf:"bytes,40,opt,name=shielded_nodes,json=shieldedNodes,proto3" json:"shielded_nodes,omitempty"` // Release channel configuration. ReleaseChannel *ReleaseChannel `protobuf:"bytes,41,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"` // Configuration for the use of Kubernetes Service Accounts in GCP IAM // policies. WorkloadIdentityConfig *WorkloadIdentityConfig `protobuf:"bytes,43,opt,name=workload_identity_config,json=workloadIdentityConfig,proto3" json:"workload_identity_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](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field is deprecated, use location instead. // // Deprecated: Do not use. 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. // // Users may specify either explicit versions offered by // Kubernetes Engine or version aliases, which have the following behavior: // // - "latest": picks the highest valid Kubernetes version // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version // - "1.X.Y-gke.N": picks an explicit Kubernetes version // - "","-": picks the default Kubernetes version 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] Deprecated, use // [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools) // instead. 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. // // Deprecated: Do not use. 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.v1.Cluster_Status" json:"status,omitempty"` // [Output only] Deprecated. Use conditions instead. // Additional information about the current status of this // cluster, if available. // // Deprecated: Do not use. 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. This field will only be set when cluster is in route-based network // mode. 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"` // Deprecated. Use node_pools.instance_group_urls. // // Deprecated: Do not use. 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. Deprecated. // Call Kubernetes API directly to retrieve node information. // // Deprecated: Do not use. 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](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) // or // [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) // in which the cluster resides. Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"` // Enable the ability to use Cloud TPUs in this cluster. EnableTpu bool `protobuf:"varint,115,opt,name=enable_tpu,json=enableTpu,proto3" json:"enable_tpu,omitempty"` // [Output only] The IP address range of the Cloud TPUs in this cluster, in // [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) // notation (e.g. `1.2.3.4/29`). TpuIpv4CidrBlock string `protobuf:"bytes,116,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"` // Which conditions caused the current cluster state. Conditions []*StatusCondition `protobuf:"bytes,118,rep,name=conditions,proto3" json:"conditions,omitempty"` // contains filtered or unexported fields }
A Google Kubernetes Engine cluster.
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (x *Cluster) GetAddonsConfig() *AddonsConfig
func (x *Cluster) GetAuthenticatorGroupsConfig() *AuthenticatorGroupsConfig
func (x *Cluster) GetAutoscaling() *ClusterAutoscaling
func (x *Cluster) GetBinaryAuthorization() *BinaryAuthorization
func (x *Cluster) GetConditions() []*StatusCondition
Deprecated: Do not use.
Deprecated: Do not use.
func (x *Cluster) GetDatabaseEncryption() *DatabaseEncryption
func (x *Cluster) GetDefaultMaxPodsConstraint() *MaxPodsConstraint
Deprecated: Do not use.
Deprecated: Do not use.
func (x *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy
func (x *Cluster) GetLegacyAbac() *LegacyAbac
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy
func (x *Cluster) GetMasterAuth() *MasterAuth
func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig
func (x *Cluster) GetNetworkConfig() *NetworkConfig
func (x *Cluster) GetNetworkPolicy() *NetworkPolicy
func (x *Cluster) GetNodeConfig() *NodeConfig
Deprecated: Do not use.
func (x *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig
func (x *Cluster) GetReleaseChannel() *ReleaseChannel
func (x *Cluster) GetResourceUsageExportConfig() *ResourceUsageExportConfig
func (x *Cluster) GetShieldedNodes() *ShieldedNodes
func (x *Cluster) GetStatus() Cluster_Status
Deprecated: Do not use.
func (x *Cluster) GetVerticalPodAutoscaling() *VerticalPodAutoscaling
func (x *Cluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig
Deprecated: Do not use.
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterAutoscaling struct { // Enables automatic node pool creation and deletion. EnableNodeAutoprovisioning bool `protobuf:"varint,1,opt,name=enable_node_autoprovisioning,json=enableNodeAutoprovisioning,proto3" json:"enable_node_autoprovisioning,omitempty"` // Contains global constraints regarding minimum and maximum // amount of resources in the cluster. ResourceLimits []*ResourceLimit `protobuf:"bytes,2,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"` // AutoprovisioningNodePoolDefaults contains defaults for a node pool // created by NAP. AutoprovisioningNodePoolDefaults *AutoprovisioningNodePoolDefaults `protobuf:"bytes,4,opt,name=autoprovisioning_node_pool_defaults,json=autoprovisioningNodePoolDefaults,proto3" json:"autoprovisioning_node_pool_defaults,omitempty"` // The list of Google Compute Engine // [zones](https://cloud.google.com/compute/docs/zones#available) in which the // NodePool's nodes can be created by NAP. AutoprovisioningLocations []string `protobuf:"bytes,5,rep,name=autoprovisioning_locations,json=autoprovisioningLocations,proto3" json:"autoprovisioning_locations,omitempty"` // contains filtered or unexported fields }
ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
func (*ClusterAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use ClusterAutoscaling.ProtoReflect.Descriptor instead.
func (x *ClusterAutoscaling) GetAutoprovisioningLocations() []string
func (x *ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults() *AutoprovisioningNodePoolDefaults
func (x *ClusterAutoscaling) GetEnableNodeAutoprovisioning() bool
func (x *ClusterAutoscaling) GetResourceLimits() []*ResourceLimit
func (*ClusterAutoscaling) ProtoMessage()
func (x *ClusterAutoscaling) ProtoReflect() protoreflect.Message
func (x *ClusterAutoscaling) Reset()
func (x *ClusterAutoscaling) String() string
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](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). // // One firewall is added for the cluster. After cluster creation, // the Kubelet 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 the cluster is using. CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the version and/or image type for the specified node pool. UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the autoscaling settings for the specified node pool. SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the logging service for a specific cluster. SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the monitoring service for a specific cluster. SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error) // Sets the addons for a specific cluster. SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error) // Deprecated: Do not use. // Sets the locations for a specific cluster. // Deprecated. Use // [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) // instead. SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error) // Updates the master for a specific cluster. UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error) // Sets master auth materials. Currently supports changing the admin password // or a specific cluster, either via password generation or explicitly setting // the password. SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker // nodes. // // Firewalls and routes that were configured during cluster creation // are also deleted. // // Other Google Compute Engine resources that might be in use by the cluster, // such as load balancer resources, are not deleted if they weren't present // when the cluster was initially created. 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 Google Kubernetes Engine service. GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error) // Gets the public component of the cluster signing keys in // JSON Web Key format. // This API is not yet intended for general use, and is not available for all // clusters. GetJSONWebKeys(ctx context.Context, in *GetJSONWebKeysRequest, opts ...grpc.CallOption) (*GetJSONWebKeysResponse, error) // Lists the node pools for a cluster. ListNodePools(ctx context.Context, in *ListNodePoolsRequest, opts ...grpc.CallOption) (*ListNodePoolsResponse, error) // Retrieves the requested node pool. 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) // Rolls back a previously Aborted or Failed NodePool upgrade. // This makes no changes 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) // Starts 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 for a specific node pool. SetNodePoolSize(ctx context.Context, in *SetNodePoolSizeRequest, opts ...grpc.CallOption) (*Operation, error) // Enables or 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) // Lists subnetworks that are usable for creating clusters in a project. ListUsableSubnetworks(ctx context.Context, in *ListUsableSubnetworksRequest, opts ...grpc.CallOption) (*ListUsableSubnetworksResponse, error) }
ClusterManagerClient is the client API for ClusterManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterManagerClient(cc grpc.ClientConnInterface) ClusterManagerClient
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](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). // // One firewall is added for the cluster. After cluster creation, // the Kubelet 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 the cluster is using. CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error) // Updates the settings of a specific cluster. UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error) // Updates the version and/or image type for the specified node pool. UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error) // Sets the autoscaling settings for the specified node pool. SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error) // Sets the logging service for a specific cluster. SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error) // Sets the monitoring service for a specific cluster. SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error) // Sets the addons for a specific cluster. SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error) // Deprecated: Do not use. // Sets the locations for a specific cluster. // Deprecated. Use // [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update) // instead. SetLocations(context.Context, *SetLocationsRequest) (*Operation, error) // Updates the master for a specific cluster. UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error) // Sets master auth materials. Currently supports changing the admin password // or a specific cluster, either via password generation or explicitly setting // the password. SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error) // Deletes the cluster, including the Kubernetes endpoint and all worker // nodes. // // Firewalls and routes that were configured during cluster creation // are also deleted. // // Other Google Compute Engine resources that might be in use by the cluster, // such as load balancer resources, are not deleted if they weren't present // when the cluster was initially created. 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 Google Kubernetes Engine service. GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error) // Gets the public component of the cluster signing keys in // JSON Web Key format. // This API is not yet intended for general use, and is not available for all // clusters. GetJSONWebKeys(context.Context, *GetJSONWebKeysRequest) (*GetJSONWebKeysResponse, error) // Lists the node pools for a cluster. ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error) // Retrieves the requested node pool. 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) // Rolls back a previously Aborted or Failed NodePool upgrade. // This makes no changes 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) // Starts master IP rotation. StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error) // Completes master IP rotation. CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error) // Sets the size for a specific node pool. SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error) // Enables or 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) // Lists subnetworks that are usable for creating clusters in a project. ListUsableSubnetworks(context.Context, *ListUsableSubnetworksRequest) (*ListUsableSubnetworksResponse, error) }
ClusterManagerServer is the server API for ClusterManager service.
type ClusterUpdate struct { // The Kubernetes version to change the nodes to (typically an // upgrade). // // Users may specify either explicit versions offered by // Kubernetes Engine or version aliases, which have the following behavior: // // - "latest": picks the highest valid Kubernetes version // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version // - "1.X.Y-gke.N": picks an explicit Kubernetes version // - "-": picks the Kubernetes master version 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/kubernetes" - The Cloud Monitoring // service with a Kubernetes-native resource model // * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no // longer available as of GKE 1.15). // * `none` - No metrics will be exported from the cluster. // // If left as an empty string,`monitoring.googleapis.com/kubernetes` will be // used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions. 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"` // Configuration of etcd encryption. DesiredDatabaseEncryption *DatabaseEncryption `protobuf:"bytes,46,opt,name=desired_database_encryption,json=desiredDatabaseEncryption,proto3" json:"desired_database_encryption,omitempty"` // Configuration for Workload Identity. DesiredWorkloadIdentityConfig *WorkloadIdentityConfig `protobuf:"bytes,47,opt,name=desired_workload_identity_config,json=desiredWorkloadIdentityConfig,proto3" json:"desired_workload_identity_config,omitempty"` // Configuration for Shielded Nodes. DesiredShieldedNodes *ShieldedNodes `protobuf:"bytes,48,opt,name=desired_shielded_nodes,json=desiredShieldedNodes,proto3" json:"desired_shielded_nodes,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 // [zones](https://cloud.google.com/compute/docs/zones#available) in which the // cluster's nodes should be located. // // This list must always include the cluster's primary zone. // // Warning: changing cluster locations will update the locations of all node // pools and will result in nodes being added and/or removed. 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"` // Cluster-level autoscaling configuration. DesiredClusterAutoscaling *ClusterAutoscaling `protobuf:"bytes,15,opt,name=desired_cluster_autoscaling,json=desiredClusterAutoscaling,proto3" json:"desired_cluster_autoscaling,omitempty"` // The desired configuration options for the Binary Authorization feature. DesiredBinaryAuthorization *BinaryAuthorization `protobuf:"bytes,16,opt,name=desired_binary_authorization,json=desiredBinaryAuthorization,proto3" json:"desired_binary_authorization,omitempty"` // The logging service the cluster should use to write logs. // Currently available options: // // * `logging.googleapis.com/kubernetes` - The Cloud Logging // service with a Kubernetes-native resource model // * `logging.googleapis.com` - The legacy Cloud Logging service (no longer // available as of GKE 1.15). // * `none` - no logs will be exported from the cluster. // // If left as an empty string,`logging.googleapis.com/kubernetes` will be // used for GKE 1.14+ or `logging.googleapis.com` for earlier versions. DesiredLoggingService string `protobuf:"bytes,19,opt,name=desired_logging_service,json=desiredLoggingService,proto3" json:"desired_logging_service,omitempty"` // The desired configuration for exporting resource usage. DesiredResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,21,opt,name=desired_resource_usage_export_config,json=desiredResourceUsageExportConfig,proto3" json:"desired_resource_usage_export_config,omitempty"` // Cluster-level Vertical Pod Autoscaling configuration. DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,22,opt,name=desired_vertical_pod_autoscaling,json=desiredVerticalPodAutoscaling,proto3" json:"desired_vertical_pod_autoscaling,omitempty"` // The desired private cluster configuration. DesiredPrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,25,opt,name=desired_private_cluster_config,json=desiredPrivateClusterConfig,proto3" json:"desired_private_cluster_config,omitempty"` // The desired config of Intra-node visibility. DesiredIntraNodeVisibilityConfig *IntraNodeVisibilityConfig `protobuf:"bytes,26,opt,name=desired_intra_node_visibility_config,json=desiredIntraNodeVisibilityConfig,proto3" json:"desired_intra_node_visibility_config,omitempty"` // The desired status of whether to disable default sNAT for this cluster. DesiredDefaultSnatStatus *DefaultSnatStatus `protobuf:"bytes,28,opt,name=desired_default_snat_status,json=desiredDefaultSnatStatus,proto3" json:"desired_default_snat_status,omitempty"` // The desired release channel configuration. DesiredReleaseChannel *ReleaseChannel `protobuf:"bytes,31,opt,name=desired_release_channel,json=desiredReleaseChannel,proto3" json:"desired_release_channel,omitempty"` // The Kubernetes version to change the master to. // // Users may specify either explicit versions offered by // Kubernetes Engine or version aliases, which have the following behavior: // // - "latest": picks the highest valid Kubernetes version // - "1.X": picks the highest valid patch+gke.N patch in the 1.X version // - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version // - "1.X.Y-gke.N": picks an explicit Kubernetes version // - "-": picks the default Kubernetes version DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"` // contains filtered or unexported fields }
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
func (*ClusterUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.
func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig
func (x *ClusterUpdate) GetDesiredBinaryAuthorization() *BinaryAuthorization
func (x *ClusterUpdate) GetDesiredClusterAutoscaling() *ClusterAutoscaling
func (x *ClusterUpdate) GetDesiredDatabaseEncryption() *DatabaseEncryption
func (x *ClusterUpdate) GetDesiredDefaultSnatStatus() *DefaultSnatStatus
func (x *ClusterUpdate) GetDesiredImageType() string
func (x *ClusterUpdate) GetDesiredIntraNodeVisibilityConfig() *IntraNodeVisibilityConfig
func (x *ClusterUpdate) GetDesiredLocations() []string
func (x *ClusterUpdate) GetDesiredLoggingService() 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) GetDesiredPrivateClusterConfig() *PrivateClusterConfig
func (x *ClusterUpdate) GetDesiredReleaseChannel() *ReleaseChannel
func (x *ClusterUpdate) GetDesiredResourceUsageExportConfig() *ResourceUsageExportConfig
func (x *ClusterUpdate) GetDesiredShieldedNodes() *ShieldedNodes
func (x *ClusterUpdate) GetDesiredVerticalPodAutoscaling() *VerticalPodAutoscaling
func (x *ClusterUpdate) GetDesiredWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*ClusterUpdate) ProtoMessage()
func (x *ClusterUpdate) ProtoReflect() protoreflect.Message
func (x *ClusterUpdate) Reset()
func (x *ClusterUpdate) String() string
The current status of the cluster.
const ( // Not set. Cluster_STATUS_UNSPECIFIED Cluster_Status = 0 // The PROVISIONING state indicates the cluster is being created. Cluster_PROVISIONING Cluster_Status = 1 // The RUNNING state indicates the cluster has been created and is fully // usable. Cluster_RUNNING Cluster_Status = 2 // The RECONCILING state indicates that some work is actively being done on // the cluster, such as upgrading the master or node software. Details can // be found in the `statusMessage` field. Cluster_RECONCILING Cluster_Status = 3 // The STOPPING state indicates the cluster is being deleted. Cluster_STOPPING Cluster_Status = 4 // The ERROR state indicates the cluster is unusable. It will be // automatically deleted. Details can be found in the `statusMessage` field. Cluster_ERROR Cluster_Status = 5 // The DEGRADED state indicates the cluster requires user action to restore // full functionality. Details can be found in the `statusMessage` field. Cluster_DEGRADED Cluster_Status = 6 )
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
type CompleteIPRotationRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster id) of the cluster to complete IP // rotation. Specified in the format `projects/*/locations/*/clusters/*`. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
CompleteIPRotationRequest moves the cluster master back into single-IP mode.
func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteIPRotationRequest.ProtoReflect.Descriptor instead.
func (x *CompleteIPRotationRequest) GetClusterId() string
Deprecated: Do not use.
func (x *CompleteIPRotationRequest) GetName() string
func (x *CompleteIPRotationRequest) GetProjectId() string
Deprecated: Do not use.
func (x *CompleteIPRotationRequest) GetZone() string
Deprecated: Do not use.
func (*CompleteIPRotationRequest) ProtoMessage()
func (x *CompleteIPRotationRequest) ProtoReflect() protoreflect.Message
func (x *CompleteIPRotationRequest) Reset()
func (x *CompleteIPRotationRequest) String() string
type ConfigConnectorConfig struct { // Whether Cloud Connector is enabled for this cluster. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration options for the Config Connector add-on.
func (*ConfigConnectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConfigConnectorConfig.ProtoReflect.Descriptor instead.
func (x *ConfigConnectorConfig) GetEnabled() bool
func (*ConfigConnectorConfig) ProtoMessage()
func (x *ConfigConnectorConfig) ProtoReflect() protoreflect.Message
func (x *ConfigConnectorConfig) Reset()
func (x *ConfigConnectorConfig) String() string
type CreateClusterRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the parent // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Required. A [cluster // resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters) Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` // The parent (project and location) where the cluster will be created. // Specified in the format `projects/*/locations/*`. Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
CreateClusterRequest creates a cluster.
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (x *CreateClusterRequest) GetCluster() *Cluster
func (x *CreateClusterRequest) GetParent() string
func (x *CreateClusterRequest) GetProjectId() string
Deprecated: Do not use.
func (x *CreateClusterRequest) GetZone() string
Deprecated: Do not use.
func (*CreateClusterRequest) ProtoMessage()
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (x *CreateClusterRequest) Reset()
func (x *CreateClusterRequest) String() string
type CreateNodePoolRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the parent // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Required. 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/*`. Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
CreateNodePoolRequest creates a node pool for a cluster.
func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *CreateNodePoolRequest) GetClusterId() string
Deprecated: Do not use.
func (x *CreateNodePoolRequest) GetNodePool() *NodePool
func (x *CreateNodePoolRequest) GetParent() string
func (x *CreateNodePoolRequest) GetProjectId() string
Deprecated: Do not use.
func (x *CreateNodePoolRequest) GetZone() string
Deprecated: Do not use.
func (*CreateNodePoolRequest) ProtoMessage()
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *CreateNodePoolRequest) Reset()
func (x *CreateNodePoolRequest) String() string
type DailyMaintenanceWindow struct { // Time within the maintenance window to start the maintenance operations. // Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) // 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 will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) // format "PTnHnMnS". Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"` // contains filtered or unexported fields }
Time window specified for daily maintenance operations.
func (*DailyMaintenanceWindow) Descriptor() ([]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
type DatabaseEncryption struct { // Denotes the state of etcd encryption. State DatabaseEncryption_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.container.v1.DatabaseEncryption_State" json:"state,omitempty"` // Name of CloudKMS key to use for the encryption of secrets in etcd. // Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"` // contains filtered or unexported fields }
Configuration of etcd encryption.
func (*DatabaseEncryption) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseEncryption.ProtoReflect.Descriptor instead.
func (x *DatabaseEncryption) GetKeyName() string
func (x *DatabaseEncryption) GetState() DatabaseEncryption_State
func (*DatabaseEncryption) ProtoMessage()
func (x *DatabaseEncryption) ProtoReflect() protoreflect.Message
func (x *DatabaseEncryption) Reset()
func (x *DatabaseEncryption) String() string
State of etcd encryption.
const ( // Should never be set DatabaseEncryption_UNKNOWN DatabaseEncryption_State = 0 // Secrets in etcd are encrypted. DatabaseEncryption_ENCRYPTED DatabaseEncryption_State = 1 // Secrets in etcd are stored in plain text (at etcd level) - this is // unrelated to Compute Engine level full disk encryption. DatabaseEncryption_DECRYPTED DatabaseEncryption_State = 2 )
func (DatabaseEncryption_State) Descriptor() protoreflect.EnumDescriptor
func (x DatabaseEncryption_State) Enum() *DatabaseEncryption_State
func (DatabaseEncryption_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseEncryption_State.Descriptor instead.
func (x DatabaseEncryption_State) Number() protoreflect.EnumNumber
func (x DatabaseEncryption_State) String() string
func (DatabaseEncryption_State) Type() protoreflect.EnumType
type DefaultSnatStatus struct { // Disables cluster default sNAT rules. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.
func (*DefaultSnatStatus) Descriptor() ([]byte, []int)
Deprecated: Use DefaultSnatStatus.ProtoReflect.Descriptor instead.
func (x *DefaultSnatStatus) GetDisabled() bool
func (*DefaultSnatStatus) ProtoMessage()
func (x *DefaultSnatStatus) ProtoReflect() protoreflect.Message
func (x *DefaultSnatStatus) Reset()
func (x *DefaultSnatStatus) String() string
type DeleteClusterRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster to delete. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster) of the cluster to delete. // Specified in the format `projects/*/locations/*/clusters/*`. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeleteClusterRequest deletes a cluster.
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (x *DeleteClusterRequest) GetClusterId() string
Deprecated: Do not use.
func (x *DeleteClusterRequest) GetName() string
func (x *DeleteClusterRequest) GetProjectId() string
Deprecated: Do not use.
func (x *DeleteClusterRequest) GetZone() string
Deprecated: Do not use.
func (*DeleteClusterRequest) ProtoMessage()
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (x *DeleteClusterRequest) Reset()
func (x *DeleteClusterRequest) String() string
type DeleteNodePoolRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated. The name of the node pool to delete. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to // delete. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DeleteNodePoolRequest deletes a node pool for a cluster.
func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *DeleteNodePoolRequest) GetClusterId() string
Deprecated: Do not use.
func (x *DeleteNodePoolRequest) GetName() string
func (x *DeleteNodePoolRequest) GetNodePoolId() string
Deprecated: Do not use.
func (x *DeleteNodePoolRequest) GetProjectId() string
Deprecated: Do not use.
func (x *DeleteNodePoolRequest) GetZone() string
Deprecated: Do not use.
func (*DeleteNodePoolRequest) ProtoMessage()
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *DeleteNodePoolRequest) Reset()
func (x *DeleteNodePoolRequest) String() string
type DnsCacheConfig struct { // Whether NodeLocal DNSCache is enabled for this cluster. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration for NodeLocal DNSCache
func (*DnsCacheConfig) Descriptor() ([]byte, []int)
Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.
func (x *DnsCacheConfig) GetEnabled() bool
func (*DnsCacheConfig) ProtoMessage()
func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message
func (x *DnsCacheConfig) Reset()
func (x *DnsCacheConfig) String() string
type GetClusterRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster to retrieve. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The name (project, location, cluster) of the cluster to retrieve. // Specified in the format `projects/*/locations/*/clusters/*`. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetClusterRequest gets the settings of a cluster.
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (x *GetClusterRequest) GetClusterId() string
Deprecated: Do not use.
func (x *GetClusterRequest) GetName() string
func (x *GetClusterRequest) GetProjectId() string
Deprecated: Do not use.
func (x *GetClusterRequest) GetZone() string
Deprecated: Do not use.
func (*GetClusterRequest) ProtoMessage()
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (x *GetClusterRequest) Reset()
func (x *GetClusterRequest) String() string
type GetJSONWebKeysRequest struct { // The cluster (project, location, cluster id) to get keys for. Specified in // the format `projects/*/locations/*/clusters/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
GetJSONWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetJSONWebKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJSONWebKeysRequest.ProtoReflect.Descriptor instead.
func (x *GetJSONWebKeysRequest) GetParent() string
func (*GetJSONWebKeysRequest) ProtoMessage()
func (x *GetJSONWebKeysRequest) ProtoReflect() protoreflect.Message
func (x *GetJSONWebKeysRequest) Reset()
func (x *GetJSONWebKeysRequest) String() string
type GetJSONWebKeysResponse struct { // The public component of the keys used by the cluster to sign token // requests. Keys []*Jwk `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
func (*GetJSONWebKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJSONWebKeysResponse.ProtoReflect.Descriptor instead.
func (x *GetJSONWebKeysResponse) GetKeys() []*Jwk
func (*GetJSONWebKeysResponse) ProtoMessage()
func (x *GetJSONWebKeysResponse) ProtoReflect() protoreflect.Message
func (x *GetJSONWebKeysResponse) Reset()
func (x *GetJSONWebKeysResponse) String() string
type GetNodePoolRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // Deprecated. The name of the node pool. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"` // The name (project, location, cluster, node pool id) of the node pool to // get. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetNodePoolRequest retrieves a node pool for a cluster.
func (*GetNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.
func (x *GetNodePoolRequest) GetClusterId() string
Deprecated: Do not use.
func (x *GetNodePoolRequest) GetName() string
func (x *GetNodePoolRequest) GetNodePoolId() string
Deprecated: Do not use.
func (x *GetNodePoolRequest) GetProjectId() string
Deprecated: Do not use.
func (x *GetNodePoolRequest) GetZone() string
Deprecated: Do not use.
func (*GetNodePoolRequest) ProtoMessage()
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message
func (x *GetNodePoolRequest) Reset()
func (x *GetNodePoolRequest) String() string
type GetOpenIDConfigRequest struct { // The cluster (project, location, cluster id) to get the discovery document // for. Specified in the format `projects/*/locations/*/clusters/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
GetOpenIDConfigRequest gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetOpenIDConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenIDConfigRequest.ProtoReflect.Descriptor instead.
func (x *GetOpenIDConfigRequest) GetParent() string
func (*GetOpenIDConfigRequest) ProtoMessage()
func (x *GetOpenIDConfigRequest) ProtoReflect() protoreflect.Message
func (x *GetOpenIDConfigRequest) Reset()
func (x *GetOpenIDConfigRequest) String() string
type GetOpenIDConfigResponse struct { // OIDC Issuer. Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` // JSON Web Key uri. JwksUri string `protobuf:"bytes,2,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"` // Supported response types. ResponseTypesSupported []string `protobuf:"bytes,3,rep,name=response_types_supported,json=responseTypesSupported,proto3" json:"response_types_supported,omitempty"` // Supported subject types. SubjectTypesSupported []string `protobuf:"bytes,4,rep,name=subject_types_supported,json=subjectTypesSupported,proto3" json:"subject_types_supported,omitempty"` // supported ID Token signing Algorithms. IdTokenSigningAlgValuesSupported []string `protobuf:"bytes,5,rep,name=id_token_signing_alg_values_supported,json=idTokenSigningAlgValuesSupported,proto3" json:"id_token_signing_alg_values_supported,omitempty"` // Supported claims. ClaimsSupported []string `protobuf:"bytes,6,rep,name=claims_supported,json=claimsSupported,proto3" json:"claims_supported,omitempty"` // Supported grant types. GrantTypes []string `protobuf:"bytes,7,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"` // contains filtered or unexported fields }
GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetOpenIDConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenIDConfigResponse.ProtoReflect.Descriptor instead.
func (x *GetOpenIDConfigResponse) GetClaimsSupported() []string
func (x *GetOpenIDConfigResponse) GetGrantTypes() []string
func (x *GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported() []string
func (x *GetOpenIDConfigResponse) GetIssuer() string
func (x *GetOpenIDConfigResponse) GetJwksUri() string
func (x *GetOpenIDConfigResponse) GetResponseTypesSupported() []string
func (x *GetOpenIDConfigResponse) GetSubjectTypesSupported() []string
func (*GetOpenIDConfigResponse) ProtoMessage()
func (x *GetOpenIDConfigResponse) ProtoReflect() protoreflect.Message
func (x *GetOpenIDConfigResponse) Reset()
func (x *GetOpenIDConfigResponse) String() string
type GetOperationRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` // The name (project, location, operation id) of the operation to get. // Specified in the format `projects/*/locations/*/operations/*`. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
GetOperationRequest gets a single operation.
func (*GetOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.
func (x *GetOperationRequest) GetName() string
func (x *GetOperationRequest) GetOperationId() string
Deprecated: Do not use.
func (x *GetOperationRequest) GetProjectId() string
Deprecated: Do not use.
func (x *GetOperationRequest) GetZone() string
Deprecated: Do not use.
func (*GetOperationRequest) ProtoMessage()
func (x *GetOperationRequest) ProtoReflect() protoreflect.Message
func (x *GetOperationRequest) Reset()
func (x *GetOperationRequest) String() string
type GetServerConfigRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the name field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) to return // operations for. This field has been deprecated and replaced by the name // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The name (project and location) of the server config to get, // specified in the format `projects/*/locations/*`. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Gets the current Kubernetes Engine service configuration.
func (*GetServerConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.
func (x *GetServerConfigRequest) GetName() string
func (x *GetServerConfigRequest) GetProjectId() string
Deprecated: Do not use.
func (x *GetServerConfigRequest) GetZone() string
Deprecated: Do not use.
func (*GetServerConfigRequest) ProtoMessage()
func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message
func (x *GetServerConfigRequest) Reset()
func (x *GetServerConfigRequest) String() string
type HorizontalPodAutoscaling struct { // Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. // When enabled, it ensures that metrics are collected into Stackdriver // Monitoring. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
func (*HorizontalPodAutoscaling) Descriptor() ([]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
type HttpLoadBalancing struct { // Whether the HTTP Load Balancing controller is enabled in the cluster. // When enabled, it runs a small pod in the cluster that manages the load // balancers. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
func (*HttpLoadBalancing) Descriptor() ([]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
type IPAllocationPolicy struct { // Whether alias IPs will be used for pod IPs in the cluster. // This is used in conjunction with use_routes. It cannot // be true if use_routes is true. If both use_ip_aliases and use_routes are // false, then the server picks the default IP allocation mode 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. // // Deprecated: Do not use. 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. // // Deprecated: Do not use. 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. // // Deprecated: Do not use. 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 with 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"` // The IP address range of the Cloud TPUs in this cluster. If unspecified, a // range will be automatically chosen with the default size. // // This field is only applicable when `use_ip_aliases` is true. // // If unspecified, the range will use 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. TpuIpv4CidrBlock string `protobuf:"bytes,13,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"` // Whether routes will be used for pod IPs in the cluster. // This is used in conjunction with use_ip_aliases. It cannot be true if // use_ip_aliases is true. If both use_ip_aliases and use_routes are false, // then the server picks the default IP allocation mode UseRoutes bool `protobuf:"varint,15,opt,name=use_routes,json=useRoutes,proto3" json:"use_routes,omitempty"` // contains filtered or unexported fields }
Configuration for controlling how IPs are allocated in the cluster.
func (*IPAllocationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use IPAllocationPolicy.ProtoReflect.Descriptor instead.
func (x *IPAllocationPolicy) GetClusterIpv4Cidr() string
Deprecated: Do not use.
func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() string
func (x *IPAllocationPolicy) GetCreateSubnetwork() bool
func (x *IPAllocationPolicy) GetNodeIpv4Cidr() string
Deprecated: Do not use.
func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetServicesIpv4Cidr() string
Deprecated: Do not use.
func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() string
func (x *IPAllocationPolicy) GetSubnetworkName() string
func (x *IPAllocationPolicy) GetTpuIpv4CidrBlock() string
func (x *IPAllocationPolicy) GetUseIpAliases() bool
func (x *IPAllocationPolicy) GetUseRoutes() bool
func (*IPAllocationPolicy) ProtoMessage()
func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Message
func (x *IPAllocationPolicy) Reset()
func (x *IPAllocationPolicy) String() string
type IntraNodeVisibilityConfig struct { // Enables intra node visibility for this cluster. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.
func (*IntraNodeVisibilityConfig) Descriptor() ([]byte, []int)
Deprecated: Use IntraNodeVisibilityConfig.ProtoReflect.Descriptor instead.
func (x *IntraNodeVisibilityConfig) GetEnabled() bool
func (*IntraNodeVisibilityConfig) ProtoMessage()
func (x *IntraNodeVisibilityConfig) ProtoReflect() protoreflect.Message
func (x *IntraNodeVisibilityConfig) Reset()
func (x *IntraNodeVisibilityConfig) String() string
type Jwk struct { // Key Type. Kty string `protobuf:"bytes,1,opt,name=kty,proto3" json:"kty,omitempty"` // Algorithm. Alg string `protobuf:"bytes,2,opt,name=alg,proto3" json:"alg,omitempty"` // Permitted uses for the public keys. Use string `protobuf:"bytes,3,opt,name=use,proto3" json:"use,omitempty"` // Key ID. Kid string `protobuf:"bytes,4,opt,name=kid,proto3" json:"kid,omitempty"` // Used for RSA keys. N string `protobuf:"bytes,5,opt,name=n,proto3" json:"n,omitempty"` // Used for RSA keys. E string `protobuf:"bytes,6,opt,name=e,proto3" json:"e,omitempty"` // Used for ECDSA keys. X string `protobuf:"bytes,7,opt,name=x,proto3" json:"x,omitempty"` // Used for ECDSA keys. Y string `protobuf:"bytes,8,opt,name=y,proto3" json:"y,omitempty"` // Used for ECDSA keys. Crv string `protobuf:"bytes,9,opt,name=crv,proto3" json:"crv,omitempty"` // contains filtered or unexported fields }
Jwk is a JSON Web Key as specified in RFC 7517
Deprecated: Use Jwk.ProtoReflect.Descriptor instead.
func (x *Jwk) ProtoReflect() protoreflect.Message
type KubernetesDashboard struct { // Whether the Kubernetes Dashboard is enabled for this cluster. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
Configuration for the Kubernetes Dashboard.
func (*KubernetesDashboard) Descriptor() ([]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
type LegacyAbac struct { // Whether the ABAC authorizer is enabled for this cluster. When enabled, // identities in the system, including service accounts, nodes, and // controllers, will have statically granted permissions beyond those // provided by the RBAC configuration or IAM. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration for the legacy Attribute Based Access Control authorization mode.
func (*LegacyAbac) Descriptor() ([]byte, []int)
Deprecated: Use LegacyAbac.ProtoReflect.Descriptor instead.
func (x *LegacyAbac) GetEnabled() bool
func (*LegacyAbac) ProtoMessage()
func (x *LegacyAbac) ProtoReflect() protoreflect.Message
func (x *LegacyAbac) Reset()
func (x *LegacyAbac) String() string
type ListClustersRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides, or "-" for all zones. This field has been deprecated and // replaced by the parent field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The parent (project and location) where the clusters will be listed. // Specified in the format `projects/*/locations/*`. // Location "-" matches all zones and all regions. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
ListClustersRequest lists clusters.
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (x *ListClustersRequest) GetParent() string
func (x *ListClustersRequest) GetProjectId() string
Deprecated: Do not use.
func (x *ListClustersRequest) GetZone() string
Deprecated: Do not use.
func (*ListClustersRequest) ProtoMessage()
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (x *ListClustersRequest) Reset()
func (x *ListClustersRequest) String() string
type ListClustersResponse struct { // A list of clusters in the project in the specified zone, or // across all ones. Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // If any zones are listed here, the list of clusters returned // may be missing those zones. MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` // contains filtered or unexported fields }
ListClustersResponse is the result of ListClustersRequest.
func (*ListClustersResponse) Descriptor() ([]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
type ListNodePoolsRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber). // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in which the // cluster resides. This field has been deprecated and replaced by the parent // field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // Deprecated. The name of the cluster. // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // The parent (project, location, cluster id) where the node pools will be // listed. Specified in the format `projects/*/locations/*/clusters/*`. Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
ListNodePoolsRequest lists the node pool(s) for a cluster.
func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.
func (x *ListNodePoolsRequest) GetClusterId() string
Deprecated: Do not use.
func (x *ListNodePoolsRequest) GetParent() string
func (x *ListNodePoolsRequest) GetProjectId() string
Deprecated: Do not use.
func (x *ListNodePoolsRequest) GetZone() string
Deprecated: Do not use.
func (*ListNodePoolsRequest) ProtoMessage()
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message
func (x *ListNodePoolsRequest) Reset()
func (x *ListNodePoolsRequest) String() string
type ListNodePoolsResponse struct { // A list of node pools for a cluster. NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"` // contains filtered or unexported fields }
ListNodePoolsResponse is the result of ListNodePoolsRequest.
func (*ListNodePoolsResponse) Descriptor() ([]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
type ListOperationsRequest struct { // Deprecated. The Google Developers Console [project ID or project // number](https://support.google.com/cloud/answer/6158840). // This field has been deprecated and replaced by the parent field. // // Deprecated: Do not use. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Deprecated. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) to return // operations for, or `-` for all zones. This field has been deprecated and // replaced by the parent field. // // Deprecated: Do not use. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // The parent (project and location) where the operations will be listed. // Specified in the format `projects/*/locations/*`. // Location "-" matches all zones and all regions. Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
ListOperationsRequest lists operations.
func (*ListOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (x *ListOperationsRequest) GetParent() string
func (x *ListOperationsRequest) GetProjectId() string
Deprecated: Do not use.
func (x *ListOperationsRequest) GetZone() string
Deprecated: Do not use.
func (*ListOperationsRequest) ProtoMessage()
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
func (x *ListOperationsRequest) Reset()
func (x *ListOperationsRequest) String() string
type ListOperationsResponse struct { // A list of operations in the project in the specified zone. Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // If any zones are listed here, the list of operations returned // may be missing the operations from those zones. MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"` // contains filtered or unexported fields }
ListOperationsResponse is the result of ListOperationsRequest.
func (*ListOperationsResponse) Descriptor() ([]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
type ListUsableSubnetworksRequest struct { // The parent project where subnetworks are usable. // Specified in the format `projects/*`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Filtering currently only supports equality on the networkProjectId and must // be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId` // is the project which owns the listed subnetworks. This defaults to the // parent project ID. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The max number of results per page that should be returned. If the number // of available results is larger than `page_size`, a `next_page_token` is // returned which can be used to get the next page of results in subsequent // requests. Acceptable values are 0 to 500, inclusive. (Default: 500) PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Specifies a page token to use. Set this to the nextPageToken returned by // previous list requests to get the next page of results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
ListUsableSubnetworksRequest requests the list of usable subnetworks available to a user for creating clusters.
func (*ListUsableSubnetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableSubnetworksRequest.ProtoReflect.Descriptor instead.
func (x *ListUsableSubnetworksRequest) GetFilter() string
func (x *ListUsableSubnetworksRequest) GetPageSize() int32
func (x *ListUsableSubnetworksRequest) GetPageToken() string
func (x *ListUsableSubnetworksRequest) GetParent() string
func (*ListUsableSubnetworksRequest) ProtoMessage()
func (x *ListUsableSubnetworksRequest) ProtoReflect() protoreflect.Message
func (x *ListUsableSubnetworksRequest) Reset()
func (x *ListUsableSubnetworksRequest) String() string
type ListUsableSubnetworksResponse struct { // A list of usable subnetworks in the specified network project. Subnetworks []*UsableSubnetwork `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"` // This token allows you to get the next page of results for list requests. // If the number of results is larger than `page_size`, use the // `next_page_token` as a value for the query parameter `page_token` in the // next request. The value will become empty when there are no more pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
func (*ListUsableSubnetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableSubnetworksResponse.ProtoReflect.Descriptor instead.
func (x *ListUsableSubnetworksResponse) GetNextPageToken() string
func (x *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetwork
func (*ListUsableSubnetworksResponse) ProtoMessage()
func (x *ListUsableSubnetworksResponse) ProtoReflect() protoreflect.Message
func (x *ListUsableSubnetworksResponse) Reset()
func (x *ListUsableSubnetworksResponse) String() string
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"` // A hash identifying the version of this policy, so that updates to fields of // the policy won't accidentally undo intermediate changes (and so that users // of the API unaware of some fields won't accidentally remove other fields). // Make a `get()` request to the cluster to get the current // resource version and include it with requests to set the policy. ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // contains filtered or unexported fields }
MaintenancePolicy defines the maintenance policy to be used for the cluster.
func (*MaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.
func (x *MaintenancePolicy) GetResourceVersion() string
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow
func (*MaintenancePolicy) ProtoMessage()
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message
func (x *MaintenancePolicy) Reset()
func (x *MaintenancePolicy) String() string
type MaintenanceWindow struct { // Types that are assignable to Policy: // *MaintenanceWindow_DailyMaintenanceWindow // *MaintenanceWindow_RecurringWindow Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"` // Exceptions to maintenance window. Non-emergency maintenance should not // occur in these windows. MaintenanceExclusions map[string]*TimeWindow `protobuf:"bytes,4,rep,name=maintenance_exclusions,json=maintenanceExclusions,proto3" json:"maintenance_exclusions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
MaintenanceWindow defines the maintenance window to be used for the cluster.
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow
func (x *MaintenanceWindow) GetMaintenanceExclusions() map[string]*TimeWindow
func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindow
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"` }
type MaintenanceWindow_RecurringWindow struct { // RecurringWindow specifies some number of recurring time periods for // maintenance to occur. The time windows may be overlapping. If no // maintenance windows are set, maintenance can occur at any time. RecurringWindow *RecurringTimeWindow `protobuf:"bytes,3,opt,name=recurring_window,json=recurringWindow,proto3,oneof"` }
type MasterAuth struct { // The username to use for HTTP basic authentication to the master endpoint. // For clusters v1.6.0 and later, basic authentication can be disabled by // leaving username unspecified (or setting it to the empty string). // // Warning: basic authentication is deprecated, and will be removed in GKE // control plane versions 1.19 and newer. For a list of recommended // authentication methods, see: // https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication // // Deprecated: Do not use. 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. // // Warning: basic authentication is deprecated, and will be removed in GKE // control plane versions 1.19 and newer. For a list of recommended // authentication methods, see: // https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication // // Deprecated: Do not use. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // Configuration for client certificate authentication on the cluster. For // clusters before v1.12, 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 }
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
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
Deprecated: Do not use.
func (x *MasterAuth) GetUsername() string
Deprecated: Do not use.
func (*MasterAuth) ProtoMessage()
func (x *MasterAuth) ProtoReflect() protoreflect.Message
func (x *MasterAuth) Reset()
func (x *MasterAuth) String() string
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 50 external networks that could access // Kubernetes master through HTTPS. CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` // contains filtered or unexported fields }
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
func (*MasterAuthorizedNetworksConfig) Descriptor() ([]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
type MasterAuthorizedNetworksConfig_CidrBlock struct { // display_name is an optional field for users to identify CIDR blocks. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // cidr_block must be specified in CIDR notation. CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"` // contains filtered or unexported fields }
CidrBlock contains an optional name and one CIDR block.
func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]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
type MaxPodsConstraint struct { // Constraint enforced on the max num of pods per node. MaxPodsPerNode int64 `protobuf:"varint,1,opt,name=max_pods_per_node,json=maxPodsPerNode,proto3" json:"max_pods_per_node,omitempty"` // contains filtered or unexported fields }
Constraints applied to pods.
func (*MaxPodsConstraint) Descriptor() ([]byte, []int)
Deprecated: Use MaxPodsConstraint.ProtoReflect.Descriptor instead.
func (x *MaxPodsConstraint) GetMaxPodsPerNode() int64
func (*MaxPodsConstraint) ProtoMessage()
func (x *MaxPodsConstraint) ProtoReflect() protoreflect.Message
func (x *MaxPodsConstraint) Reset()
func (x *MaxPodsConstraint) String() string
type NetworkConfig struct { // Output only. The relative name of the Google Compute Engine // [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) // to which the cluster is connected. Example: // projects/my-project/global/networks/my-network Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // Output only. The relative name of the Google Compute Engine // [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the // cluster is connected. Example: // projects/my-project/regions/us-central1/subnetworks/my-subnet Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` // Whether Intra-node visibility is enabled for this cluster. // This makes same node pod to pod traffic visible for VPC network. EnableIntraNodeVisibility bool `protobuf:"varint,5,opt,name=enable_intra_node_visibility,json=enableIntraNodeVisibility,proto3" json:"enable_intra_node_visibility,omitempty"` // Whether the cluster disables default in-node sNAT rules. In-node sNAT rules // will be disabled when default_snat_status is disabled. When disabled is set // to false, default IP masquerade rules will be applied to the nodes to // prevent sNAT on cluster internal traffic. DefaultSnatStatus *DefaultSnatStatus `protobuf:"bytes,7,opt,name=default_snat_status,json=defaultSnatStatus,proto3" json:"default_snat_status,omitempty"` // contains filtered or unexported fields }
NetworkConfig reports the relative names of network & subnetwork.
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (x *NetworkConfig) GetDefaultSnatStatus() *DefaultSnatStatus
func (x *NetworkConfig) GetEnableIntraNodeVisibility() bool
func (x *NetworkConfig) GetNetwork() string
func (x *NetworkConfig) GetSubnetwork() string
func (*NetworkConfig) ProtoMessage()
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (x *NetworkConfig) Reset()
func (x *NetworkConfig) String() string
type NetworkPolicy struct { // The selected network policy provider. Provider NetworkPolicy_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=google.container.v1.NetworkPolicy_Provider" json:"provider,omitempty"` // Whether network policy is enabled on the cluster. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
func (*NetworkPolicy) Descriptor() ([]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
type NetworkPolicyConfig struct { // Whether NetworkPolicy is enabled for this cluster. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // contains filtered or unexported fields }
Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
func (*NetworkPolicyConfig) Descriptor() ([]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.
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
type NodeConfig struct { // The name of a Google Compute Engine [machine // type](https://cloud.google.com/compute/docs/machine-types) // // If unspecified, the default machine type is `e2-medium`. 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](https://cloud.google.com/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. // Specify the email address of the Service Account; otherwise, 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 reserved keys: // - "cluster-location" // - "cluster-name" // - "cluster-uid" // - "configure-sh" // - "containerd-configure-sh" // - "enable-os-login" // - "gci-ensure-gke-docker" // - "gci-metrics-enabled" // - "gci-update-strategy" // - "instance-template" // - "kube-env" // - "startup-script" // - "user-data" // - "disable-address-manager" // - "windows-startup-script-ps1" // - "common-psm1" // - "k8s-node-setup-psm1" // - "install-ssh-psm1" // - "user-profile-psm1" // // The following keys are reserved for Windows nodes: // - "serial-port-logging-enable" // // 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 dependent upon the maximum number of // disks available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd // 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 // information 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"` // Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or // 'pd-balanced') // // If unspecified, the default disk type is 'pd-standard' DiskType string `protobuf:"bytes,12,opt,name=disk_type,json=diskType,proto3" json:"disk_type,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 // `minCpuPlatform: "Intel Haswell"` or // `minCpuPlatform: "Intel Sandy Bridge"`. 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"` // The workload metadata configuration for this node. WorkloadMetadataConfig *WorkloadMetadataConfig `protobuf:"bytes,14,opt,name=workload_metadata_config,json=workloadMetadataConfig,proto3" json:"workload_metadata_config,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"` // Sandbox configuration for this node. SandboxConfig *SandboxConfig `protobuf:"bytes,17,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"` // Setting this field will assign instances of this // pool to run on the specified node group. This is useful for running // workloads on [sole tenant // nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes). NodeGroup string `protobuf:"bytes,18,opt,name=node_group,json=nodeGroup,proto3" json:"node_group,omitempty"` // The optional reservation affinity. Setting this field will apply // the specified [Zonal Compute // Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) // to this node pool. ReservationAffinity *ReservationAffinity `protobuf:"bytes,19,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"` // Shielded Instance options. ShieldedInstanceConfig *ShieldedInstanceConfig `protobuf:"bytes,20,opt,name=shielded_instance_config,json=shieldedInstanceConfig,proto3" json:"shielded_instance_config,omitempty"` // // The Customer Managed Encryption Key used to encrypt the boot disk attached // to each node in the node pool. This should be of the form // projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. // For more information about protecting resources with Cloud KMS Keys please // see: // https://cloud.google.com/compute/docs/disks/customer-managed-encryption BootDiskKmsKey string `protobuf:"bytes,23,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"` // contains filtered or unexported fields }
Parameters that describe the nodes in a cluster.
func (*NodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.
func (x *NodeConfig) GetAccelerators() []*AcceleratorConfig
func (x *NodeConfig) GetBootDiskKmsKey() string
func (x *NodeConfig) GetDiskSizeGb() int32
func (x *NodeConfig) GetDiskType() string
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) GetNodeGroup() string
func (x *NodeConfig) GetOauthScopes() []string
func (x *NodeConfig) GetPreemptible() bool
func (x *NodeConfig) GetReservationAffinity() *ReservationAffinity
func (x *NodeConfig) GetSandboxConfig() *SandboxConfig
func (x *NodeConfig) GetServiceAccount() string
func (x *NodeConfig) GetShieldedInstanceConfig() *ShieldedInstanceConfig
func (x *NodeConfig) GetTags() []string
func (x *NodeConfig) GetTaints() []*NodeTaint
func (x *NodeConfig) GetWorkloadMetadataConfig() *WorkloadMetadataConfig
func (*NodeConfig) ProtoMessage()
func (x *NodeConfig) ProtoReflect() protoreflect.Message
func (x *NodeConfig) Reset()
func (x *NodeConfig) String() string
type NodeManagement struct { // A flag that specifies whether node auto-upgrade is enabled for the node // pool. If enabled, node auto-upgrade helps keep the nodes in your node pool // up to date with the latest release version of Kubernetes. AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"` // A flag that specifies whether the node auto-repair is enabled for the node // pool. If enabled, the nodes in this node pool will be monitored and, if // they fail health checks too many times, an automatic repair action will be // triggered. AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"` // Specifies the Auto Upgrade knobs for the node pool. UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"` // contains filtered or unexported fields }
NodeManagement defines the set of node management services turned on for the node pool.
func (*NodeManagement) Descriptor() ([]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
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 [resource quota](https://cloud.google.com/compute/quotas) // 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"` // The list of Google Compute Engine // [zones](https://cloud.google.com/compute/docs/zones#available) in which the // NodePool's nodes should be located. // // If this value is unspecified during node pool creation, the // [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) // value will be used, instead. // // Warning: changing node pool locations will result in nodes being added // and/or removed. Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,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"` // 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 the [managed instance // groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) // 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.v1.NodePool_Status" json:"status,omitempty"` // [Output only] Deprecated. Use conditions instead. // Additional information about the current status of this // node pool instance, if available. // // Deprecated: Do not use. StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Autoscaler configuration for this NodePool. Autoscaler is enabled // only if a valid configuration is present. Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"` // NodeManagement configuration for this NodePool. Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"` // The constraint on the maximum number of pods that can be run // simultaneously on a node in the node pool. MaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,6,opt,name=max_pods_constraint,json=maxPodsConstraint,proto3" json:"max_pods_constraint,omitempty"` // Which conditions caused the current node pool state. Conditions []*StatusCondition `protobuf:"bytes,105,rep,name=conditions,proto3" json:"conditions,omitempty"` // [Output only] The pod CIDR block size per node in this node pool. PodIpv4CidrSize int32 `protobuf:"varint,7,opt,name=pod_ipv4_cidr_size,json=podIpv4CidrSize,proto3" json:"pod_ipv4_cidr_size,omitempty"` // Upgrade settings control disruption and speed of the upgrade. UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,107,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"` // contains filtered or unexported fields }
NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
Deprecated: Use NodePool.ProtoReflect.Descriptor instead.
func (x *NodePool) GetAutoscaling() *NodePoolAutoscaling
func (x *NodePool) GetConditions() []*StatusCondition
func (x *NodePool) GetConfig() *NodeConfig
func (x *NodePool) GetManagement() *NodeManagement
func (x *NodePool) GetMaxPodsConstraint() *MaxPodsConstraint
func (x *NodePool) GetStatus() NodePool_Status
Deprecated: Do not use.
func (x *NodePool) GetUpgradeSettings() *NodePool_UpgradeSettings
func (x *NodePool) ProtoReflect() protoreflect.Message
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"` // Can this node pool be deleted automatically. Autoprovisioned bool `protobuf:"varint,4,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"` // contains filtered or unexported fields }
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.
func (x *NodePoolAutoscaling) GetAutoprovisioned() bool
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.
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
type NodePool_UpgradeSettings struct { // The maximum number of nodes that can be created beyond the current size // of the node pool during the upgrade process. MaxSurge int32 `protobuf:"varint,1,opt,name=max_surge,json=maxSurge,proto3" json:"max_surge,omitempty"` // The maximum number of nodes that can be simultaneously unavailable during // the upgrade process. A node is considered available if its status is // Ready. int32 `protobuf:"varint,2,opt,name=max_unavailable,json=maxUnavailable,proto3" json:"max_unavailable,omitempty"` // contains filtered or unexported fields }
These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade.
maxUnavailable controls the number of nodes that can be simultaneously unavailable.
maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes.
(maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time).
Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.)
Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
func (*NodePool_UpgradeSettings) Descriptor() ([]byte, []int)
Deprecated: Use NodePool_UpgradeSettings.ProtoReflect.Descriptor instead.
func (x *NodePool_UpgradeSettings) GetMaxSurge() int32
func (x *NodePool_UpgradeSettings) GetMaxUnavailable() int32
func (*NodePool_UpgradeSettings) ProtoMessage()
func (x *NodePool_UpgradeSettings) ProtoReflect() protoreflect.Message
func (x *NodePool_UpgradeSettings) Reset()
func (x *NodePool_UpgradeSettings) String() string
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.v1.NodeTaint_Effect" json:"effect,omitempty"` // contains filtered or unexported fields }
Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
Deprecated: Use NodeTaint.ProtoReflect.Descriptor instead.
func (x *NodeTaint) GetEffect() NodeTaint_Effect
func (x *NodeTaint) ProtoReflect() protoreflect.Message
Possible values for Effect in taint.
const ( // Not set NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0 // NoSchedule NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1 // PreferNoSchedule NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2 // NoExecute NodeTaint_NO_EXECUTE NodeTaint_Effect = 3 )
func (NodeTaint_Effect) Descriptor() 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
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](https://cloud.google.com/compute/docs/zones#available) in which the // operation is taking place. This field is deprecated, use location instead. // // Deprecated: Do not use. 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.v1.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.v1.Operation_Status" json:"status,omitempty"` // Detailed operation progress, if available. Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"` // Output only. 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](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) // or // [region](https://cloud.google.com/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"` // Output only. [Output only] Progress information for an operation. Progress *OperationProgress `protobuf:"bytes,12,opt,name=progress,proto3" json:"progress,omitempty"` // Which conditions caused the current cluster state. ClusterConditions []*StatusCondition `protobuf:"bytes,13,rep,name=cluster_conditions,json=clusterConditions,proto3" json:"cluster_conditions,omitempty"` // Which conditions caused the current node pool state. NodepoolConditions []*StatusCondition `protobuf:"bytes,14,rep,name=nodepool_conditions,json=nodepoolConditions,proto3" json:"nodepool_conditions,omitempty"` // contains filtered or unexported fields }
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Deprecated: Use Operation.ProtoReflect.Descriptor instead.
func (x *Operation) GetClusterConditions() []*StatusCondition
func (x *Operation) GetNodepoolConditions() []*StatusCondition
func (x *Operation) GetOperationType() Operation_Type
func (x *Operation) GetProgress() *OperationProgress
func (x *Operation) GetStatus() Operation_Status
Deprecated: Do not use.
func (x *Operation) ProtoReflect() protoreflect.Message
type OperationProgress struct { // A non-parameterized string describing an operation stage. // Unset for single-stage operations. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Status of an operation stage. // Unset for single-stage operations. Status Operation_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"` // Progress metric bundle, for example: // metrics: [{name: "nodes done", int_value: 15}, // {name: "nodes total", int_value: 32}] // or // metrics: [{name: "progress", double_value: 0.56}, // {name: "progress scale", double_value: 1.0}] Metrics []*OperationProgress_Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty"` // Substages of an operation or a stage. Stages []*OperationProgress `protobuf:"bytes,4,rep,name=stages,proto3" json:"stages,omitempty"` // contains filtered or unexported fields }
Information about operation (or operation stage) progress.
func (*OperationProgress) Descriptor() ([]byte, []int)
Deprecated: Use OperationProgress.ProtoReflect.Descriptor instead.
func (x *OperationProgress) GetMetrics() []*OperationProgress_Metric
func (x *OperationProgress) GetName() string
func (x *OperationProgress) GetStages() []*OperationProgress
func (x *OperationProgress) GetStatus() Operation_Status
func (*OperationProgress) ProtoMessage()
func (x *OperationProgress) ProtoReflect() protoreflect.Message
func (x *OperationProgress) Reset()
func (x *OperationProgress) String() string
type OperationProgress_Metric struct { // Required. Metric name, e.g., "nodes total", "percent done". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Strictly one of the values is required. // // Types that are assignable to Value: // *OperationProgress_Metric_IntValue // *OperationProgress_Metric_DoubleValue // *OperationProgress_Metric_StringValue Value isOperationProgress_Metric_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
Progress metric is (string, int|float|string) pair.
func (*OperationProgress_Metric) Descriptor() ([]byte, []int)
Deprecated: Use OperationProgress_Metric.ProtoReflect.Descriptor instead.
func (x *OperationProgress_Metric) GetDoubleValue() float64
func (x *OperationProgress_Metric) GetIntValue() int64
func (x *OperationProgress_Metric) GetName() string
func (x *OperationProgress_Metric) GetStringValue() string
func (m *OperationProgress_Metric) GetValue() isOperationProgress_Metric_Value
func (*OperationProgress_Metric) ProtoMessage()
func (x *OperationProgress_Metric) ProtoReflect() protoreflect.Message
func (x *OperationProgress_Metric) Reset()
func (x *OperationProgress_Metric) String() string
type OperationProgress_Metric_DoubleValue struct { // For metrics with floating point value. DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type OperationProgress_Metric_IntValue struct { // For metrics with integer value. IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"` }
type OperationProgress_Metric_StringValue struct { // For metrics with custom values (ratios, visual progress, etc.). StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"` }
Current status of the operation.
const ( // Not set. Operation_STATUS_UNSPECIFIED Operation_Status = 0 // The operation has been created. Operation_PENDING Operation_Status = 1 // The operation is currently running. Operation_RUNNING Operation_Status = 2 // The operation is done, either cancelled or completed. Operation_DONE Operation_Status = 3 // The operation is aborting. Operation_ABORTING Operation_Status = 4 )
func (Operation_Status) Descriptor() 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.
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
type PrivateClusterConfig struct { // Whether nodes have internal IP addresses only. If enabled, all nodes are // given only RFC 1918 private addresses and communicate with the master via // private networking. EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"` // Whether the master's internal IP address is used as the cluster endpoint. EnablePrivateEndpoint bool `protobuf:"varint,2,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"` // The IP range in CIDR notation to use for the hosted master network. This // range will be used for assigning internal IP addresses to the master or // set of masters, as well as the ILB VIP. This range must not overlap with // any other ranges in use within the cluster's network. MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"` // Output only. The internal IP address of this cluster's master endpoint. PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"` // Output only. The external IP address of this cluster's master endpoint. PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"` // Output only. The peering name in the customer VPC used by this cluster. PeeringName string `protobuf:"bytes,7,opt,name=peering_name,json=peeringName,proto3" json:"peering_name,omitempty"` // Controls master global access settings. MasterGlobalAccessConfig *PrivateClusterMasterGlobalAccessConfig `protobuf:"bytes,8,opt,name=master_global_access_config,json=masterGlobalAccessConfig,proto3" json:"master_global_access_config,omitempty"` // contains filtered or unexported fields }
Configuration options for private clusters.
func (*PrivateClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivateClusterConfig.ProtoReflect.Descriptor instead.
func (x *PrivateClusterConfig) GetEnablePrivateEndpoint() bool
func (x *PrivateClusterConfig) GetEnablePrivateNodes() bool
func (x *PrivateClusterConfig) GetMasterGlobalAccessConfig() *PrivateClusterMasterGlobalAccessConfig
func (x *PrivateClusterConfig) GetMasterIpv4CidrBlock() string
func (x *PrivateClusterConfig) GetPeeringName() string
func (x *PrivateClusterConfig) GetPrivateEndpoint() string
func (x *PrivateClusterConfig) GetPublicEndpoint() string
func (*PrivateClusterConfig) ProtoMessage()
func (x *PrivateClusterConfig) ProtoReflect() protoreflect.Message
func (x *PrivateClusterConfig) Reset()
func (x *PrivateClusterConfig) String() string
type PrivateClusterMasterGlobalAccessConfig struct { // Whenever master is accessible globally or not. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // contains filtered or unexported fields }
Configuration for controlling master global access settings.
func (*PrivateClusterMasterGlobalAccessConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivateClusterMasterGlobalAccessConfig.ProtoReflect.Descriptor instead.
func (x *PrivateClusterMasterGlobalAccessConfig) GetEnabled() bool
func (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage()
func (x *PrivateClusterMasterGlobalAccessConfig) ProtoReflect() protoreflect.Message
func (x *PrivateClusterMasterGlobalAccessConfig) Reset()
func (x *PrivateClusterMasterGlobalAccessConfig) String() string
type RecurringTimeWindow struct { // The window of the first recurrence. Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"` // An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how // this window reccurs. They go on for the spa