Variables
PrivateIPv6GoogleAccess_name, PrivateIPv6GoogleAccess_value
var (
PrivateIPv6GoogleAccess_name = map[int32]string{
0: "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
1: "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED",
2: "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE",
3: "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL",
}
PrivateIPv6GoogleAccess_value = map[string]int32{
"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED": 0,
"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED": 1,
"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE": 2,
"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL": 3,
}
)
Enum value maps for PrivateIPv6GoogleAccess.
UpgradeResourceType_name, UpgradeResourceType_value
var (
UpgradeResourceType_name = map[int32]string{
0: "UPGRADE_RESOURCE_TYPE_UNSPECIFIED",
1: "MASTER",
2: "NODE_POOL",
}
UpgradeResourceType_value = map[string]int32{
"UPGRADE_RESOURCE_TYPE_UNSPECIFIED": 0,
"MASTER": 1,
"NODE_POOL": 2,
}
)
Enum value maps for UpgradeResourceType.
DatapathProvider_name, DatapathProvider_value
var (
DatapathProvider_name = map[int32]string{
0: "DATAPATH_PROVIDER_UNSPECIFIED",
1: "LEGACY_DATAPATH",
2: "ADVANCED_DATAPATH",
}
DatapathProvider_value = map[string]int32{
"DATAPATH_PROVIDER_UNSPECIFIED": 0,
"LEGACY_DATAPATH": 1,
"ADVANCED_DATAPATH": 2,
}
)
Enum value maps for DatapathProvider.
NodePoolUpdateStrategy_name, NodePoolUpdateStrategy_value
var (
NodePoolUpdateStrategy_name = map[int32]string{
0: "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED",
2: "BLUE_GREEN",
3: "SURGE",
}
NodePoolUpdateStrategy_value = map[string]int32{
"NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED": 0,
"BLUE_GREEN": 2,
"SURGE": 3,
}
)
Enum value maps for NodePoolUpdateStrategy.
StackType_name, StackType_value
var (
StackType_name = map[int32]string{
0: "STACK_TYPE_UNSPECIFIED",
1: "IPV4",
2: "IPV4_IPV6",
}
StackType_value = map[string]int32{
"STACK_TYPE_UNSPECIFIED": 0,
"IPV4": 1,
"IPV4_IPV6": 2,
}
)
Enum value maps for StackType.
IPv6AccessType_name, IPv6AccessType_value
var (
IPv6AccessType_name = map[int32]string{
0: "IPV6_ACCESS_TYPE_UNSPECIFIED",
1: "INTERNAL",
2: "EXTERNAL",
}
IPv6AccessType_value = map[string]int32{
"IPV6_ACCESS_TYPE_UNSPECIFIED": 0,
"INTERNAL": 1,
"EXTERNAL": 2,
}
)
Enum value maps for IPv6AccessType.
LinuxNodeConfig_CgroupMode_name, LinuxNodeConfig_CgroupMode_value
var (
LinuxNodeConfig_CgroupMode_name = map[int32]string{
0: "CGROUP_MODE_UNSPECIFIED",
1: "CGROUP_MODE_V1",
2: "CGROUP_MODE_V2",
}
LinuxNodeConfig_CgroupMode_value = map[string]int32{
"CGROUP_MODE_UNSPECIFIED": 0,
"CGROUP_MODE_V1": 1,
"CGROUP_MODE_V2": 2,
}
)
Enum value maps for LinuxNodeConfig_CgroupMode.
WindowsNodeConfig_OSVersion_name, WindowsNodeConfig_OSVersion_value
var (
WindowsNodeConfig_OSVersion_name = map[int32]string{
0: "OS_VERSION_UNSPECIFIED",
1: "OS_VERSION_LTSC2019",
2: "OS_VERSION_LTSC2022",
}
WindowsNodeConfig_OSVersion_value = map[string]int32{
"OS_VERSION_UNSPECIFIED": 0,
"OS_VERSION_LTSC2019": 1,
"OS_VERSION_LTSC2022": 2,
}
)
Enum value maps for WindowsNodeConfig_OSVersion.
NodeNetworkConfig_NetworkPerformanceConfig_Tier_name, NodeNetworkConfig_NetworkPerformanceConfig_Tier_value
var (
NodeNetworkConfig_NetworkPerformanceConfig_Tier_name = map[int32]string{
0: "TIER_UNSPECIFIED",
1: "TIER_1",
}
NodeNetworkConfig_NetworkPerformanceConfig_Tier_value = map[string]int32{
"TIER_UNSPECIFIED": 0,
"TIER_1": 1,
}
)
Enum value maps for NodeNetworkConfig_NetworkPerformanceConfig_Tier.
SandboxConfig_Type_name, SandboxConfig_Type_value
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.
ReservationAffinity_Type_name, ReservationAffinity_Type_value
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.
NodeTaint_Effect_name, NodeTaint_Effect_value
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.
CloudRunConfig_LoadBalancerType_name, CloudRunConfig_LoadBalancerType_value
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.
NetworkPolicy_Provider_name, NetworkPolicy_Provider_value
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.
BinaryAuthorization_EvaluationMode_name, BinaryAuthorization_EvaluationMode_value
var (
BinaryAuthorization_EvaluationMode_name = map[int32]string{
0: "EVALUATION_MODE_UNSPECIFIED",
1: "DISABLED",
2: "PROJECT_SINGLETON_POLICY_ENFORCE",
}
BinaryAuthorization_EvaluationMode_value = map[string]int32{
"EVALUATION_MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"PROJECT_SINGLETON_POLICY_ENFORCE": 2,
}
)
Enum value maps for BinaryAuthorization_EvaluationMode.
Cluster_Status_name, Cluster_Status_value
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.
Operation_Status_name, Operation_Status_value
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.
Operation_Type_name, Operation_Type_value
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.
SetMasterAuthRequest_Action_name, SetMasterAuthRequest_Action_value
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.
NodePool_Status_name, NodePool_Status_value
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.
NodePool_UpdateInfo_BlueGreenInfo_Phase_name, NodePool_UpdateInfo_BlueGreenInfo_Phase_value
var (
NodePool_UpdateInfo_BlueGreenInfo_Phase_name = map[int32]string{
0: "PHASE_UNSPECIFIED",
1: "UPDATE_STARTED",
2: "CREATING_GREEN_POOL",
3: "CORDONING_BLUE_POOL",
4: "DRAINING_BLUE_POOL",
5: "NODE_POOL_SOAKING",
6: "DELETING_BLUE_POOL",
7: "ROLLBACK_STARTED",
}
NodePool_UpdateInfo_BlueGreenInfo_Phase_value = map[string]int32{
"PHASE_UNSPECIFIED": 0,
"UPDATE_STARTED": 1,
"CREATING_GREEN_POOL": 2,
"CORDONING_BLUE_POOL": 3,
"DRAINING_BLUE_POOL": 4,
"NODE_POOL_SOAKING": 5,
"DELETING_BLUE_POOL": 6,
"ROLLBACK_STARTED": 7,
}
)
Enum value maps for NodePool_UpdateInfo_BlueGreenInfo_Phase.
NodePool_PlacementPolicy_Type_name, NodePool_PlacementPolicy_Type_value
var (
NodePool_PlacementPolicy_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "COMPACT",
}
NodePool_PlacementPolicy_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"COMPACT": 1,
}
)
Enum value maps for NodePool_PlacementPolicy_Type.
MaintenanceExclusionOptions_Scope_name, MaintenanceExclusionOptions_Scope_value
var (
MaintenanceExclusionOptions_Scope_name = map[int32]string{
0: "NO_UPGRADES",
1: "NO_MINOR_UPGRADES",
2: "NO_MINOR_OR_NODE_UPGRADES",
}
MaintenanceExclusionOptions_Scope_value = map[string]int32{
"NO_UPGRADES": 0,
"NO_MINOR_UPGRADES": 1,
"NO_MINOR_OR_NODE_UPGRADES": 2,
}
)
Enum value maps for MaintenanceExclusionOptions_Scope.
ClusterAutoscaling_AutoscalingProfile_name, ClusterAutoscaling_AutoscalingProfile_value
var (
ClusterAutoscaling_AutoscalingProfile_name = map[int32]string{
0: "PROFILE_UNSPECIFIED",
1: "OPTIMIZE_UTILIZATION",
2: "BALANCED",
}
ClusterAutoscaling_AutoscalingProfile_value = map[string]int32{
"PROFILE_UNSPECIFIED": 0,
"OPTIMIZE_UTILIZATION": 1,
"BALANCED": 2,
}
)
Enum value maps for ClusterAutoscaling_AutoscalingProfile.
NodePoolAutoscaling_LocationPolicy_name, NodePoolAutoscaling_LocationPolicy_value
var (
NodePoolAutoscaling_LocationPolicy_name = map[int32]string{
0: "LOCATION_POLICY_UNSPECIFIED",
1: "BALANCED",
2: "ANY",
}
NodePoolAutoscaling_LocationPolicy_value = map[string]int32{
"LOCATION_POLICY_UNSPECIFIED": 0,
"BALANCED": 1,
"ANY": 2,
}
)
Enum value maps for NodePoolAutoscaling_LocationPolicy.
GPUSharingConfig_GPUSharingStrategy_name, GPUSharingConfig_GPUSharingStrategy_value
var (
GPUSharingConfig_GPUSharingStrategy_name = map[int32]string{
0: "GPU_SHARING_STRATEGY_UNSPECIFIED",
1: "TIME_SHARING",
}
GPUSharingConfig_GPUSharingStrategy_value = map[string]int32{
"GPU_SHARING_STRATEGY_UNSPECIFIED": 0,
"TIME_SHARING": 1,
}
)
Enum value maps for GPUSharingConfig_GPUSharingStrategy.
WorkloadMetadataConfig_Mode_name, WorkloadMetadataConfig_Mode_value
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.
StatusCondition_Code_name, StatusCondition_Code_value
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",
9: "CA_EXPIRING",
}
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,
"CA_EXPIRING": 9,
}
)
Enum value maps for StatusCondition_Code.
GatewayAPIConfig_Channel_name, GatewayAPIConfig_Channel_value
var (
GatewayAPIConfig_Channel_name = map[int32]string{
0: "CHANNEL_UNSPECIFIED",
1: "CHANNEL_DISABLED",
3: "CHANNEL_EXPERIMENTAL",
4: "CHANNEL_STANDARD",
}
GatewayAPIConfig_Channel_value = map[string]int32{
"CHANNEL_UNSPECIFIED": 0,
"CHANNEL_DISABLED": 1,
"CHANNEL_EXPERIMENTAL": 3,
"CHANNEL_STANDARD": 4,
}
)
Enum value maps for GatewayAPIConfig_Channel.
ReleaseChannel_Channel_name, ReleaseChannel_Channel_value
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.
DNSConfig_Provider_name, DNSConfig_Provider_value
var (
DNSConfig_Provider_name = map[int32]string{
0: "PROVIDER_UNSPECIFIED",
1: "PLATFORM_DEFAULT",
2: "CLOUD_DNS",
}
DNSConfig_Provider_value = map[string]int32{
"PROVIDER_UNSPECIFIED": 0,
"PLATFORM_DEFAULT": 1,
"CLOUD_DNS": 2,
}
)
Enum value maps for DNSConfig_Provider.
DNSConfig_DNSScope_name, DNSConfig_DNSScope_value
var (
DNSConfig_DNSScope_name = map[int32]string{
0: "DNS_SCOPE_UNSPECIFIED",
1: "CLUSTER_SCOPE",
2: "VPC_SCOPE",
}
DNSConfig_DNSScope_value = map[string]int32{
"DNS_SCOPE_UNSPECIFIED": 0,
"CLUSTER_SCOPE": 1,
"VPC_SCOPE": 2,
}
)
Enum value maps for DNSConfig_DNSScope.
DatabaseEncryption_State_name, DatabaseEncryption_State_value
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.
UsableSubnetworkSecondaryRange_Status_name, UsableSubnetworkSecondaryRange_Status_value
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.
NotificationConfig_EventType_name, NotificationConfig_EventType_value
var (
NotificationConfig_EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
1: "UPGRADE_AVAILABLE_EVENT",
2: "UPGRADE_EVENT",
3: "SECURITY_BULLETIN_EVENT",
}
NotificationConfig_EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"UPGRADE_AVAILABLE_EVENT": 1,
"UPGRADE_EVENT": 2,
"SECURITY_BULLETIN_EVENT": 3,
}
)
Enum value maps for NotificationConfig_EventType.
LoggingComponentConfig_Component_name, LoggingComponentConfig_Component_value
var (
LoggingComponentConfig_Component_name = map[int32]string{
0: "COMPONENT_UNSPECIFIED",
1: "SYSTEM_COMPONENTS",
2: "WORKLOADS",
3: "APISERVER",
4: "SCHEDULER",
5: "CONTROLLER_MANAGER",
}
LoggingComponentConfig_Component_value = map[string]int32{
"COMPONENT_UNSPECIFIED": 0,
"SYSTEM_COMPONENTS": 1,
"WORKLOADS": 2,
"APISERVER": 3,
"SCHEDULER": 4,
"CONTROLLER_MANAGER": 5,
}
)
Enum value maps for LoggingComponentConfig_Component.
LoggingVariantConfig_Variant_name, LoggingVariantConfig_Variant_value
var (
LoggingVariantConfig_Variant_name = map[int32]string{
0: "VARIANT_UNSPECIFIED",
1: "DEFAULT",
2: "MAX_THROUGHPUT",
}
LoggingVariantConfig_Variant_value = map[string]int32{
"VARIANT_UNSPECIFIED": 0,
"DEFAULT": 1,
"MAX_THROUGHPUT": 2,
}
)
Enum value maps for LoggingVariantConfig_Variant.
MonitoringComponentConfig_Component_name, MonitoringComponentConfig_Component_value
var (
MonitoringComponentConfig_Component_name = map[int32]string{
0: "COMPONENT_UNSPECIFIED",
1: "SYSTEM_COMPONENTS",
3: "APISERVER",
4: "SCHEDULER",
5: "CONTROLLER_MANAGER",
}
MonitoringComponentConfig_Component_value = map[string]int32{
"COMPONENT_UNSPECIFIED": 0,
"SYSTEM_COMPONENTS": 1,
"APISERVER": 3,
"SCHEDULER": 4,
"CONTROLLER_MANAGER": 5,
}
)
Enum value maps for MonitoringComponentConfig_Component.
File_google_container_v1_cluster_service_proto
var File_google_container_v1_cluster_service_proto protoreflect.FileDescriptor
Functions
func RegisterClusterManagerServer
func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)
AcceleratorConfig
type AcceleratorConfig struct {
// The number of the accelerator cards exposed to an instance.
AcceleratorCount int64 `protobuf:"varint,1,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"`
// The accelerator type resource name. List of supported accelerators
// [here](https://cloud.google.com/compute/docs/gpus)
AcceleratorType string `protobuf:"bytes,2,opt,name=accelerator_type,json=acceleratorType,proto3" json:"accelerator_type,omitempty"`
// Size of partitions to create on the GPU. Valid values are described in the
// NVIDIA [mig user
// guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
GpuPartitionSize string `protobuf:"bytes,3,opt,name=gpu_partition_size,json=gpuPartitionSize,proto3" json:"gpu_partition_size,omitempty"`
// The configuration for GPU sharing options.
GpuSharingConfig *GPUSharingConfig `protobuf:"bytes,5,opt,name=gpu_sharing_config,json=gpuSharingConfig,proto3,oneof" json:"gpu_sharing_config,omitempty"`
// contains filtered or unexported fields
}
AcceleratorConfig represents a Hardware Accelerator request.
func (*AcceleratorConfig) Descriptor
func (*AcceleratorConfig) Descriptor() ([]byte, []int)
Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.
func (*AcceleratorConfig) GetAcceleratorCount
func (x *AcceleratorConfig) GetAcceleratorCount() int64
func (*AcceleratorConfig) GetAcceleratorType
func (x *AcceleratorConfig) GetAcceleratorType() string
func (*AcceleratorConfig) GetGpuPartitionSize
func (x *AcceleratorConfig) GetGpuPartitionSize() string
func (*AcceleratorConfig) GetGpuSharingConfig
func (x *AcceleratorConfig) GetGpuSharingConfig() *GPUSharingConfig
func (*AcceleratorConfig) ProtoMessage
func (*AcceleratorConfig) ProtoMessage()
func (*AcceleratorConfig) ProtoReflect
func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message
func (*AcceleratorConfig) Reset
func (x *AcceleratorConfig) Reset()
func (*AcceleratorConfig) String
func (x *AcceleratorConfig) String() string
AdditionalPodRangesConfig
type AdditionalPodRangesConfig struct {
// contains filtered or unexported fields
}
AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.
func (*AdditionalPodRangesConfig) Descriptor
func (*AdditionalPodRangesConfig) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalPodRangesConfig.ProtoReflect.Descriptor instead.
func (*AdditionalPodRangesConfig) ProtoMessage
func (*AdditionalPodRangesConfig) ProtoMessage()
func (*AdditionalPodRangesConfig) ProtoReflect
func (x *AdditionalPodRangesConfig) ProtoReflect() protoreflect.Message
func (*AdditionalPodRangesConfig) Reset
func (x *AdditionalPodRangesConfig) Reset()
func (*AdditionalPodRangesConfig) String
func (x *AdditionalPodRangesConfig) String() string
AddonsConfig
type AddonsConfig struct {
HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"`
HorizontalPodAutoscaling *HorizontalPodAutoscaling "" /* 135 byte string literal not displayed */
KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"`
NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"`
CloudRunConfig *CloudRunConfig `protobuf:"bytes,7,opt,name=cloud_run_config,json=cloudRunConfig,proto3" json:"cloud_run_config,omitempty"`
DnsCacheConfig *DnsCacheConfig `protobuf:"bytes,8,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"`
ConfigConnectorConfig *ConfigConnectorConfig "" /* 127 byte string literal not displayed */
GcePersistentDiskCsiDriverConfig *GcePersistentDiskCsiDriverConfig "" /* 166 byte string literal not displayed */
GcpFilestoreCsiDriverConfig *GcpFilestoreCsiDriverConfig "" /* 149 byte string literal not displayed */
GkeBackupAgentConfig *GkeBackupAgentConfig `protobuf:"bytes,16,opt,name=gke_backup_agent_config,json=gkeBackupAgentConfig,proto3" json:"gke_backup_agent_config,omitempty"`
}
Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
func (*AddonsConfig) Descriptor
func (*AddonsConfig) Descriptor() ([]byte, []int)
Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.
func (*AddonsConfig) GetCloudRunConfig
func (x *AddonsConfig) GetCloudRunConfig() *CloudRunConfig
func (*AddonsConfig) GetConfigConnectorConfig
func (x *AddonsConfig) GetConfigConnectorConfig() *ConfigConnectorConfig
func (*AddonsConfig) GetDnsCacheConfig
func (x *AddonsConfig) GetDnsCacheConfig() *DnsCacheConfig
func (*AddonsConfig) GetGcePersistentDiskCsiDriverConfig
func (x *AddonsConfig) GetGcePersistentDiskCsiDriverConfig() *GcePersistentDiskCsiDriverConfig
func (*AddonsConfig) GetGcpFilestoreCsiDriverConfig
func (x *AddonsConfig) GetGcpFilestoreCsiDriverConfig() *GcpFilestoreCsiDriverConfig
func (*AddonsConfig) GetGkeBackupAgentConfig
func (x *AddonsConfig) GetGkeBackupAgentConfig() *GkeBackupAgentConfig
func (*AddonsConfig) GetHorizontalPodAutoscaling
func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling
func (*AddonsConfig) GetHttpLoadBalancing
func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing
func (*AddonsConfig) GetKubernetesDashboard
func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*AddonsConfig) GetNetworkPolicyConfig
func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig
func (*AddonsConfig) ProtoMessage
func (*AddonsConfig) ProtoMessage()
func (*AddonsConfig) ProtoReflect
func (x *AddonsConfig) ProtoReflect() protoreflect.Message
func (*AddonsConfig) Reset
func (x *AddonsConfig) Reset()
func (*AddonsConfig) String
func (x *AddonsConfig) String() string
AdvancedMachineFeatures
type AdvancedMachineFeatures struct {
// The number of threads per physical core. To disable simultaneous
// multithreading (SMT) set this to 1. If unset, the maximum number of threads
// supported per core by the underlying processor is assumed.
ThreadsPerCore *int64 `protobuf:"varint,1,opt,name=threads_per_core,json=threadsPerCore,proto3,oneof" json:"threads_per_core,omitempty"`
// contains filtered or unexported fields
}
Specifies options for controlling advanced machine features.
func (*AdvancedMachineFeatures) Descriptor
func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.
func (*AdvancedMachineFeatures) GetThreadsPerCore
func (x *AdvancedMachineFeatures) GetThreadsPerCore() int64
func (*AdvancedMachineFeatures) ProtoMessage
func (*AdvancedMachineFeatures) ProtoMessage()
func (*AdvancedMachineFeatures) ProtoReflect
func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message
func (*AdvancedMachineFeatures) Reset
func (x *AdvancedMachineFeatures) Reset()
func (*AdvancedMachineFeatures) String
func (x *AdvancedMachineFeatures) String() string
AuthenticatorGroupsConfig
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
func (*AuthenticatorGroupsConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthenticatorGroupsConfig.ProtoReflect.Descriptor instead.
func (*AuthenticatorGroupsConfig) GetEnabled
func (x *AuthenticatorGroupsConfig) GetEnabled() bool
func (*AuthenticatorGroupsConfig) GetSecurityGroup
func (x *AuthenticatorGroupsConfig) GetSecurityGroup() string
func (*AuthenticatorGroupsConfig) ProtoMessage
func (*AuthenticatorGroupsConfig) ProtoMessage()
func (*AuthenticatorGroupsConfig) ProtoReflect
func (x *AuthenticatorGroupsConfig) ProtoReflect() protoreflect.Message
func (*AuthenticatorGroupsConfig) Reset
func (x *AuthenticatorGroupsConfig) Reset()
func (*AuthenticatorGroupsConfig) String
func (x *AuthenticatorGroupsConfig) String() string
AutoUpgradeOptions
type AutoUpgradeOptions struct {
// [Output only] This field is set when upgrades are about to commence
// with the approximate start time for the upgrades, in
// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"`
// [Output only] This field is set when upgrades are about to commence
// with the description of the upgrade.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
func (*AutoUpgradeOptions) Descriptor
func (*AutoUpgradeOptions) Descriptor() ([]byte, []int)
Deprecated: Use AutoUpgradeOptions.ProtoReflect.Descriptor instead.
func (*AutoUpgradeOptions) GetAutoUpgradeStartTime
func (x *AutoUpgradeOptions) GetAutoUpgradeStartTime() string
func (*AutoUpgradeOptions) GetDescription
func (x *AutoUpgradeOptions) GetDescription() string
func (*AutoUpgradeOptions) ProtoMessage
func (*AutoUpgradeOptions) ProtoMessage()
func (*AutoUpgradeOptions) ProtoReflect
func (x *AutoUpgradeOptions) ProtoReflect() protoreflect.Message
func (*AutoUpgradeOptions) Reset
func (x *AutoUpgradeOptions) Reset()
func (*AutoUpgradeOptions) String
func (x *AutoUpgradeOptions) String() string
Autopilot
type Autopilot struct {
// Enable Autopilot
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Autopilot is the configuration for Autopilot settings on the cluster.
func (*Autopilot) Descriptor
Deprecated: Use Autopilot.ProtoReflect.Descriptor instead.
func (*Autopilot) GetEnabled
func (*Autopilot) ProtoMessage
func (*Autopilot) ProtoMessage()
func (*Autopilot) ProtoReflect
func (x *Autopilot) ProtoReflect() protoreflect.Message
func (*Autopilot) Reset
func (x *Autopilot) Reset()
func (*Autopilot) String
AutoprovisioningNodePoolDefaults
type AutoprovisioningNodePoolDefaults struct {
OauthScopes []string `protobuf:"bytes,1,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,3,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"`
Management *NodeManagement `protobuf:"bytes,4,opt,name=management,proto3" json:"management,omitempty"`
MinCpuPlatform string `protobuf:"bytes,5,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
DiskSizeGb int32 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
DiskType string `protobuf:"bytes,7,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
ShieldedInstanceConfig *ShieldedInstanceConfig "" /* 129 byte string literal not displayed */
BootDiskKmsKey string `protobuf:"bytes,9,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"`
ImageType string `protobuf:"bytes,10,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
}
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
func (*AutoprovisioningNodePoolDefaults) Descriptor
func (*AutoprovisioningNodePoolDefaults) Descriptor() ([]byte, []int)
Deprecated: Use AutoprovisioningNodePoolDefaults.ProtoReflect.Descriptor instead.
func (*AutoprovisioningNodePoolDefaults) GetBootDiskKmsKey
func (x *AutoprovisioningNodePoolDefaults) GetBootDiskKmsKey() string
func (*AutoprovisioningNodePoolDefaults) GetDiskSizeGb
func (x *AutoprovisioningNodePoolDefaults) GetDiskSizeGb() int32
func (*AutoprovisioningNodePoolDefaults) GetDiskType
func (x *AutoprovisioningNodePoolDefaults) GetDiskType() string
func (*AutoprovisioningNodePoolDefaults) GetImageType
func (x *AutoprovisioningNodePoolDefaults) GetImageType() string
func (*AutoprovisioningNodePoolDefaults) GetManagement
func (x *AutoprovisioningNodePoolDefaults) GetManagement() *NodeManagement
func (*AutoprovisioningNodePoolDefaults) GetMinCpuPlatform
func (x *AutoprovisioningNodePoolDefaults) GetMinCpuPlatform() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*AutoprovisioningNodePoolDefaults) GetOauthScopes
func (x *AutoprovisioningNodePoolDefaults) GetOauthScopes() []string
func (*AutoprovisioningNodePoolDefaults) GetServiceAccount
func (x *AutoprovisioningNodePoolDefaults) GetServiceAccount() string
func (*AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig
func (x *AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig() *ShieldedInstanceConfig
func (*AutoprovisioningNodePoolDefaults) GetUpgradeSettings
func (x *AutoprovisioningNodePoolDefaults) GetUpgradeSettings() *NodePool_UpgradeSettings
func (*AutoprovisioningNodePoolDefaults) ProtoMessage
func (*AutoprovisioningNodePoolDefaults) ProtoMessage()
func (*AutoprovisioningNodePoolDefaults) ProtoReflect
func (x *AutoprovisioningNodePoolDefaults) ProtoReflect() protoreflect.Message
func (*AutoprovisioningNodePoolDefaults) Reset
func (x *AutoprovisioningNodePoolDefaults) Reset()
func (*AutoprovisioningNodePoolDefaults) String
func (x *AutoprovisioningNodePoolDefaults) String() string
BinaryAuthorization
type BinaryAuthorization struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
EvaluationMode BinaryAuthorization_EvaluationMode "" /* 164 byte string literal not displayed */
}
Configuration for Binary Authorization.
func (*BinaryAuthorization) Descriptor
func (*BinaryAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use BinaryAuthorization.ProtoReflect.Descriptor instead.
func (*BinaryAuthorization) GetEnabled
func (x *BinaryAuthorization) GetEnabled() bool
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*BinaryAuthorization) GetEvaluationMode
func (x *BinaryAuthorization) GetEvaluationMode() BinaryAuthorization_EvaluationMode
func (*BinaryAuthorization) ProtoMessage
func (*BinaryAuthorization) ProtoMessage()
func (*BinaryAuthorization) ProtoReflect
func (x *BinaryAuthorization) ProtoReflect() protoreflect.Message
func (*BinaryAuthorization) Reset
func (x *BinaryAuthorization) Reset()
func (*BinaryAuthorization) String
func (x *BinaryAuthorization) String() string
BinaryAuthorization_EvaluationMode
type BinaryAuthorization_EvaluationMode int32
Binary Authorization mode of operation.
BinaryAuthorization_EVALUATION_MODE_UNSPECIFIED, BinaryAuthorization_DISABLED, BinaryAuthorization_PROJECT_SINGLETON_POLICY_ENFORCE
const (
// Default value
BinaryAuthorization_EVALUATION_MODE_UNSPECIFIED BinaryAuthorization_EvaluationMode = 0
// Disable BinaryAuthorization
BinaryAuthorization_DISABLED BinaryAuthorization_EvaluationMode = 1
// Enforce Kubernetes admission requests with BinaryAuthorization using the
// project's singleton policy. This is equivalent to setting the
// enabled boolean to true.
BinaryAuthorization_PROJECT_SINGLETON_POLICY_ENFORCE BinaryAuthorization_EvaluationMode = 2
)
func (BinaryAuthorization_EvaluationMode) Descriptor
func (BinaryAuthorization_EvaluationMode) Descriptor() protoreflect.EnumDescriptor
func (BinaryAuthorization_EvaluationMode) Enum
func (x BinaryAuthorization_EvaluationMode) Enum() *BinaryAuthorization_EvaluationMode
func (BinaryAuthorization_EvaluationMode) EnumDescriptor
func (BinaryAuthorization_EvaluationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinaryAuthorization_EvaluationMode.Descriptor instead.
func (BinaryAuthorization_EvaluationMode) Number
func (x BinaryAuthorization_EvaluationMode) Number() protoreflect.EnumNumber
func (BinaryAuthorization_EvaluationMode) String
func (x BinaryAuthorization_EvaluationMode) String() string
func (BinaryAuthorization_EvaluationMode) Type
func (BinaryAuthorization_EvaluationMode) Type() protoreflect.EnumType
BlueGreenSettings
type BlueGreenSettings struct {
RolloutPolicy isBlueGreenSettings_RolloutPolicy `protobuf_oneof:"rollout_policy"`
NodePoolSoakDuration *durationpb.Duration "" /* 131 byte string literal not displayed */
}
Settings for blue-green upgrade.
func (*BlueGreenSettings) Descriptor
func (*BlueGreenSettings) Descriptor() ([]byte, []int)
Deprecated: Use BlueGreenSettings.ProtoReflect.Descriptor instead.
func (*BlueGreenSettings) GetNodePoolSoakDuration
func (x *BlueGreenSettings) GetNodePoolSoakDuration() *durationpb.Duration
func (*BlueGreenSettings) GetRolloutPolicy
func (m *BlueGreenSettings) GetRolloutPolicy() isBlueGreenSettings_RolloutPolicy
func (*BlueGreenSettings) GetStandardRolloutPolicy
func (x *BlueGreenSettings) GetStandardRolloutPolicy() *BlueGreenSettings_StandardRolloutPolicy
func (*BlueGreenSettings) ProtoMessage
func (*BlueGreenSettings) ProtoMessage()
func (*BlueGreenSettings) ProtoReflect
func (x *BlueGreenSettings) ProtoReflect() protoreflect.Message
func (*BlueGreenSettings) Reset
func (x *BlueGreenSettings) Reset()
func (*BlueGreenSettings) String
func (x *BlueGreenSettings) String() string
BlueGreenSettings_StandardRolloutPolicy
type BlueGreenSettings_StandardRolloutPolicy struct {
// Blue pool size to drain in a batch.
//
// Types that are assignable to UpdateBatchSize:
// *BlueGreenSettings_StandardRolloutPolicy_BatchPercentage
// *BlueGreenSettings_StandardRolloutPolicy_BatchNodeCount
UpdateBatchSize isBlueGreenSettings_StandardRolloutPolicy_UpdateBatchSize `protobuf_oneof:"update_batch_size"`
// Soak time after each batch gets drained. Default to zero.
BatchSoakDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=batch_soak_duration,json=batchSoakDuration,proto3,oneof" json:"batch_soak_duration,omitempty"`
// contains filtered or unexported fields
}
Standard rollout policy is the default policy for blue-green.
func (*BlueGreenSettings_StandardRolloutPolicy) Descriptor
func (*BlueGreenSettings_StandardRolloutPolicy) Descriptor() ([]byte, []int)
Deprecated: Use BlueGreenSettings_StandardRolloutPolicy.ProtoReflect.Descriptor instead.
func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchNodeCount
func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchNodeCount() int32
func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage
func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage() float32
func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration
func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration() *durationpb.Duration
func (*BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize
func (m *BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize() isBlueGreenSettings_StandardRolloutPolicy_UpdateBatchSize
func (*BlueGreenSettings_StandardRolloutPolicy) ProtoMessage
func (*BlueGreenSettings_StandardRolloutPolicy) ProtoMessage()
func (*BlueGreenSettings_StandardRolloutPolicy) ProtoReflect
func (x *BlueGreenSettings_StandardRolloutPolicy) ProtoReflect() protoreflect.Message
func (*BlueGreenSettings_StandardRolloutPolicy) Reset
func (x *BlueGreenSettings_StandardRolloutPolicy) Reset()
func (*BlueGreenSettings_StandardRolloutPolicy) String
func (x *BlueGreenSettings_StandardRolloutPolicy) String() string
BlueGreenSettings_StandardRolloutPolicy_
type BlueGreenSettings_StandardRolloutPolicy_ struct {
// Standard policy for the blue-green upgrade.
StandardRolloutPolicy *BlueGreenSettings_StandardRolloutPolicy `protobuf:"bytes,1,opt,name=standard_rollout_policy,json=standardRolloutPolicy,proto3,oneof"`
}
BlueGreenSettings_StandardRolloutPolicy_BatchNodeCount
type BlueGreenSettings_StandardRolloutPolicy_BatchNodeCount struct {
// Number of blue nodes to drain in a batch.
BatchNodeCount int32 `protobuf:"varint,2,opt,name=batch_node_count,json=batchNodeCount,proto3,oneof"`
}
BlueGreenSettings_StandardRolloutPolicy_BatchPercentage
type BlueGreenSettings_StandardRolloutPolicy_BatchPercentage struct {
// Percentage of the blue pool nodes to drain in a batch.
// The range of this field should be (0.0, 1.0].
BatchPercentage float32 `protobuf:"fixed32,1,opt,name=batch_percentage,json=batchPercentage,proto3,oneof"`
}
CancelOperationRequest
type CancelOperationRequest struct {
// Deprecated. The Google Developers Console [project ID or project
// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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: Marked as deprecated in google/container/v1/cluster_service.proto.
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: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*CancelOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.
func (*CancelOperationRequest) GetName
func (x *CancelOperationRequest) GetName() string
func (*CancelOperationRequest) GetOperationId
func (x *CancelOperationRequest) GetOperationId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) GetProjectId
func (x *CancelOperationRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) GetZone
func (x *CancelOperationRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) ProtoMessage
func (*CancelOperationRequest) ProtoMessage()
func (*CancelOperationRequest) ProtoReflect
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message
func (*CancelOperationRequest) Reset
func (x *CancelOperationRequest) Reset()
func (*CancelOperationRequest) String
func (x *CancelOperationRequest) String() string
ClientCertificateConfig
type ClientCertificateConfig struct {
IssueClientCertificate bool "" /* 130 byte string literal not displayed */
}
Configuration for client certificates on the cluster.
func (*ClientCertificateConfig) Descriptor
func (*ClientCertificateConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClientCertificateConfig.ProtoReflect.Descriptor instead.
func (*ClientCertificateConfig) GetIssueClientCertificate
func (x *ClientCertificateConfig) GetIssueClientCertificate() bool
func (*ClientCertificateConfig) ProtoMessage
func (*ClientCertificateConfig) ProtoMessage()
func (*ClientCertificateConfig) ProtoReflect
func (x *ClientCertificateConfig) ProtoReflect() protoreflect.Message
func (*ClientCertificateConfig) Reset
func (x *ClientCertificateConfig) Reset()
func (*ClientCertificateConfig) String
func (x *ClientCertificateConfig) String() string
CloudRunConfig
type CloudRunConfig struct {
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
LoadBalancerType CloudRunConfig_LoadBalancerType "" /* 169 byte string literal not displayed */
}
Configuration options for the Cloud Run feature.
func (*CloudRunConfig) Descriptor
func (*CloudRunConfig) Descriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
func (*CloudRunConfig) GetDisabled
func (x *CloudRunConfig) GetDisabled() bool
func (*CloudRunConfig) GetLoadBalancerType
func (x *CloudRunConfig) GetLoadBalancerType() CloudRunConfig_LoadBalancerType
func (*CloudRunConfig) ProtoMessage
func (*CloudRunConfig) ProtoMessage()
func (*CloudRunConfig) ProtoReflect
func (x *CloudRunConfig) ProtoReflect() protoreflect.Message
func (*CloudRunConfig) Reset
func (x *CloudRunConfig) Reset()
func (*CloudRunConfig) String
func (x *CloudRunConfig) String() string
CloudRunConfig_LoadBalancerType
type CloudRunConfig_LoadBalancerType int32
Load balancer type of ingress service of Cloud Run.
CloudRunConfig_LOAD_BALANCER_TYPE_UNSPECIFIED, CloudRunConfig_LOAD_BALANCER_TYPE_EXTERNAL, CloudRunConfig_LOAD_BALANCER_TYPE_INTERNAL
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
func (CloudRunConfig_LoadBalancerType) Descriptor() protoreflect.EnumDescriptor
func (CloudRunConfig_LoadBalancerType) Enum
func (x CloudRunConfig_LoadBalancerType) Enum() *CloudRunConfig_LoadBalancerType
func (CloudRunConfig_LoadBalancerType) EnumDescriptor
func (CloudRunConfig_LoadBalancerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CloudRunConfig_LoadBalancerType.Descriptor instead.
func (CloudRunConfig_LoadBalancerType) Number
func (x CloudRunConfig_LoadBalancerType) Number() protoreflect.EnumNumber
func (CloudRunConfig_LoadBalancerType) String
func (x CloudRunConfig_LoadBalancerType) String() string
func (CloudRunConfig_LoadBalancerType) Type
func (CloudRunConfig_LoadBalancerType) Type() protoreflect.EnumType
Cluster
type Cluster struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"`
LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
EnableKubernetesAlpha bool "" /* 128 byte string literal not displayed */
ResourceLabels map[string]string "" /* 192 byte string literal not displayed */
LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,omitempty"`
NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"`
MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig "" /* 156 byte string literal not displayed */
MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,24,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`
Autoscaling *ClusterAutoscaling `protobuf:"bytes,26,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
DefaultMaxPodsConstraint *MaxPodsConstraint "" /* 138 byte string literal not displayed */
ResourceUsageExportConfig *ResourceUsageExportConfig "" /* 141 byte string literal not displayed */
AuthenticatorGroupsConfig *AuthenticatorGroupsConfig "" /* 139 byte string literal not displayed */
PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
DatabaseEncryption *DatabaseEncryption `protobuf:"bytes,38,opt,name=database_encryption,json=databaseEncryption,proto3" json:"database_encryption,omitempty"`
VerticalPodAutoscaling *VerticalPodAutoscaling "" /* 130 byte string literal not displayed */
ShieldedNodes *ShieldedNodes `protobuf:"bytes,40,opt,name=shielded_nodes,json=shieldedNodes,proto3" json:"shielded_nodes,omitempty"`
ReleaseChannel *ReleaseChannel `protobuf:"bytes,41,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
WorkloadIdentityConfig *WorkloadIdentityConfig "" /* 130 byte string literal not displayed */
MeshCertificates *MeshCertificates `protobuf:"bytes,67,opt,name=mesh_certificates,json=meshCertificates,proto3" json:"mesh_certificates,omitempty"`
CostManagementConfig *CostManagementConfig `protobuf:"bytes,45,opt,name=cost_management_config,json=costManagementConfig,proto3" json:"cost_management_config,omitempty"`
NotificationConfig *NotificationConfig `protobuf:"bytes,49,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,50,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
IdentityServiceConfig *IdentityServiceConfig "" /* 127 byte string literal not displayed */
SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"`
Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
InitialClusterVersion string "" /* 128 byte string literal not displayed */
CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"`
CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"`
CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1.Cluster_Status" json:"status,omitempty"`
StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"`
ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"`
ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"`
EnableTpu bool `protobuf:"varint,115,opt,name=enable_tpu,json=enableTpu,proto3" json:"enable_tpu,omitempty"`
TpuIpv4CidrBlock string `protobuf:"bytes,116,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
Conditions []*StatusCondition `protobuf:"bytes,118,rep,name=conditions,proto3" json:"conditions,omitempty"`
Autopilot *Autopilot `protobuf:"bytes,128,opt,name=autopilot,proto3" json:"autopilot,omitempty"`
Id string `protobuf:"bytes,129,opt,name=id,proto3" json:"id,omitempty"`
NodePoolDefaults *NodePoolDefaults `protobuf:"bytes,131,opt,name=node_pool_defaults,json=nodePoolDefaults,proto3,oneof" json:"node_pool_defaults,omitempty"`
LoggingConfig *LoggingConfig `protobuf:"bytes,132,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
MonitoringConfig *MonitoringConfig `protobuf:"bytes,133,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
NodePoolAutoConfig *NodePoolAutoConfig `protobuf:"bytes,136,opt,name=node_pool_auto_config,json=nodePoolAutoConfig,proto3" json:"node_pool_auto_config,omitempty"`
Etag string `protobuf:"bytes,139,opt,name=etag,proto3" json:"etag,omitempty"`
Fleet *Fleet `protobuf:"bytes,140,opt,name=fleet,proto3" json:"fleet,omitempty"`
}
A Google Kubernetes Engine cluster.
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAddonsConfig
func (x *Cluster) GetAddonsConfig() *AddonsConfig
func (*Cluster) GetAuthenticatorGroupsConfig
func (x *Cluster) GetAuthenticatorGroupsConfig() *AuthenticatorGroupsConfig
func (*Cluster) GetAutopilot
func (*Cluster) GetAutoscaling
func (x *Cluster) GetAutoscaling() *ClusterAutoscaling
func (*Cluster) GetBinaryAuthorization
func (x *Cluster) GetBinaryAuthorization() *BinaryAuthorization
func (*Cluster) GetClusterIpv4Cidr
func (*Cluster) GetConditions
func (x *Cluster) GetConditions() []*StatusCondition
func (*Cluster) GetConfidentialNodes
func (x *Cluster) GetConfidentialNodes() *ConfidentialNodes
func (*Cluster) GetCostManagementConfig
func (x *Cluster) GetCostManagementConfig() *CostManagementConfig
func (*Cluster) GetCreateTime
func (*Cluster) GetCurrentMasterVersion
func (*Cluster) GetCurrentNodeCount
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetCurrentNodeVersion
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetDatabaseEncryption
func (x *Cluster) GetDatabaseEncryption() *DatabaseEncryption
func (*Cluster) GetDefaultMaxPodsConstraint
func (x *Cluster) GetDefaultMaxPodsConstraint() *MaxPodsConstraint
func (*Cluster) GetDescription
func (*Cluster) GetEnableKubernetesAlpha
func (*Cluster) GetEnableTpu
func (*Cluster) GetEndpoint
func (*Cluster) GetEtag
func (*Cluster) GetExpireTime
func (*Cluster) GetFleet
func (*Cluster) GetId
func (*Cluster) GetIdentityServiceConfig
func (x *Cluster) GetIdentityServiceConfig() *IdentityServiceConfig
func (*Cluster) GetInitialClusterVersion
func (*Cluster) GetInitialNodeCount
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetInstanceGroupUrls
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetIpAllocationPolicy
func (x *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy
func (*Cluster) GetLabelFingerprint
func (*Cluster) GetLegacyAbac
func (x *Cluster) GetLegacyAbac() *LegacyAbac
func (*Cluster) GetLocation
func (*Cluster) GetLocations
func (*Cluster) GetLoggingConfig
func (x *Cluster) GetLoggingConfig() *LoggingConfig
func (*Cluster) GetLoggingService
func (*Cluster) GetMaintenancePolicy
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy
func (*Cluster) GetMasterAuth
func (x *Cluster) GetMasterAuth() *MasterAuth
func (*Cluster) GetMasterAuthorizedNetworksConfig
func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig
func (*Cluster) GetMeshCertificates
func (x *Cluster) GetMeshCertificates() *MeshCertificates
func (*Cluster) GetMonitoringConfig
func (x *Cluster) GetMonitoringConfig() *MonitoringConfig
func (*Cluster) GetMonitoringService
func (*Cluster) GetName
func (*Cluster) GetNetwork
func (*Cluster) GetNetworkConfig
func (x *Cluster) GetNetworkConfig() *NetworkConfig
func (*Cluster) GetNetworkPolicy
func (x *Cluster) GetNetworkPolicy() *NetworkPolicy
func (*Cluster) GetNodeConfig
func (x *Cluster) GetNodeConfig() *NodeConfig
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetNodeIpv4CidrSize
func (*Cluster) GetNodePoolAutoConfig
func (x *Cluster) GetNodePoolAutoConfig() *NodePoolAutoConfig
func (*Cluster) GetNodePoolDefaults
func (x *Cluster) GetNodePoolDefaults() *NodePoolDefaults
func (*Cluster) GetNodePools
func (*Cluster) GetNotificationConfig
func (x *Cluster) GetNotificationConfig() *NotificationConfig
func (*Cluster) GetPrivateClusterConfig
func (x *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig
func (*Cluster) GetReleaseChannel
func (x *Cluster) GetReleaseChannel() *ReleaseChannel
func (*Cluster) GetResourceLabels
func (*Cluster) GetResourceUsageExportConfig
func (x *Cluster) GetResourceUsageExportConfig() *ResourceUsageExportConfig
func (*Cluster) GetSelfLink
func (*Cluster) GetServicesIpv4Cidr
func (*Cluster) GetShieldedNodes
func (x *Cluster) GetShieldedNodes() *ShieldedNodes
func (*Cluster) GetStatus
func (x *Cluster) GetStatus() Cluster_Status
func (*Cluster) GetStatusMessage
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetSubnetwork
func (*Cluster) GetTpuIpv4CidrBlock
func (*Cluster) GetVerticalPodAutoscaling
func (x *Cluster) GetVerticalPodAutoscaling() *VerticalPodAutoscaling
func (*Cluster) GetWorkloadIdentityConfig
func (x *Cluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*Cluster) GetZone
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) ProtoMessage
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Reset
func (x *Cluster) Reset()
func (*Cluster) String
ClusterAutoscaling
type ClusterAutoscaling struct {
EnableNodeAutoprovisioning bool "" /* 142 byte string literal not displayed */
ResourceLimits []*ResourceLimit `protobuf:"bytes,2,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"`
AutoscalingProfile ClusterAutoscaling_AutoscalingProfile "" /* 179 byte string literal not displayed */
AutoprovisioningNodePoolDefaults *AutoprovisioningNodePoolDefaults "" /* 161 byte string literal not displayed */
AutoprovisioningLocations []string "" /* 136 byte string literal not displayed */
}
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
func (*ClusterAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use ClusterAutoscaling.ProtoReflect.Descriptor instead.
func (*ClusterAutoscaling) GetAutoprovisioningLocations
func (x *ClusterAutoscaling) GetAutoprovisioningLocations() []string
func (*ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults
func (x *ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults() *AutoprovisioningNodePoolDefaults
func (*ClusterAutoscaling) GetAutoscalingProfile
func (x *ClusterAutoscaling) GetAutoscalingProfile() ClusterAutoscaling_AutoscalingProfile
func (*ClusterAutoscaling) GetEnableNodeAutoprovisioning
func (x *ClusterAutoscaling) GetEnableNodeAutoprovisioning() bool
func (*ClusterAutoscaling) GetResourceLimits
func (x *ClusterAutoscaling) GetResourceLimits() []*ResourceLimit
func (*ClusterAutoscaling) ProtoMessage
func (*ClusterAutoscaling) ProtoMessage()
func (*ClusterAutoscaling) ProtoReflect
func (x *ClusterAutoscaling) ProtoReflect() protoreflect.Message
func (*ClusterAutoscaling) Reset
func (x *ClusterAutoscaling) Reset()
func (*ClusterAutoscaling) String
func (x *ClusterAutoscaling) String() string
ClusterAutoscaling_AutoscalingProfile
type ClusterAutoscaling_AutoscalingProfile int32
Defines possible options for autoscaling_profile field.
ClusterAutoscaling_PROFILE_UNSPECIFIED, ClusterAutoscaling_OPTIMIZE_UTILIZATION, ClusterAutoscaling_BALANCED
const (
// No change to autoscaling configuration.
ClusterAutoscaling_PROFILE_UNSPECIFIED ClusterAutoscaling_AutoscalingProfile = 0
// Prioritize optimizing utilization of resources.
ClusterAutoscaling_OPTIMIZE_UTILIZATION ClusterAutoscaling_AutoscalingProfile = 1
// Use default (balanced) autoscaling configuration.
ClusterAutoscaling_BALANCED ClusterAutoscaling_AutoscalingProfile = 2
)
func (ClusterAutoscaling_AutoscalingProfile) Descriptor
func (ClusterAutoscaling_AutoscalingProfile) Descriptor() protoreflect.EnumDescriptor
func (ClusterAutoscaling_AutoscalingProfile) Enum
func (ClusterAutoscaling_AutoscalingProfile) EnumDescriptor
func (ClusterAutoscaling_AutoscalingProfile) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterAutoscaling_AutoscalingProfile.Descriptor instead.
func (ClusterAutoscaling_AutoscalingProfile) Number
func (x ClusterAutoscaling_AutoscalingProfile) Number() protoreflect.EnumNumber
func (ClusterAutoscaling_AutoscalingProfile) String
func (x ClusterAutoscaling_AutoscalingProfile) String() string
func (ClusterAutoscaling_AutoscalingProfile) Type
func (ClusterAutoscaling_AutoscalingProfile) Type() protoreflect.EnumType
ClusterManagerClient
type ClusterManagerClient interface {
// Lists all clusters owned by a project in either the specified zone or all
// zones.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Gets the details of a specific cluster.
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
// Creates a cluster, consisting of the specified number and type of Google
// Compute Engine instances.
//
// By default, the cluster is created in the project's
// [default
// network](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)
// CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
// complete.
CompleteNodePoolUpgrade(ctx context.Context, in *CompleteNodePoolUpgradeRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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. The new size will be used for all
// replicas, including future replicas created by modifying
// [NodePool.locations][google.container.v1.NodePool.locations].
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
func NewClusterManagerClient(cc grpc.ClientConnInterface) ClusterManagerClient
ClusterManagerServer
type ClusterManagerServer interface {
// Lists all clusters owned by a project in either the specified zone or all
// zones.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Gets the details of a specific cluster.
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
// Creates a cluster, consisting of the specified number and type of Google
// Compute Engine instances.
//
// By default, the cluster is created in the project's
// [default
// network](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)
// CompleteNodePoolUpgrade will signal an on-going node pool upgrade to
// complete.
CompleteNodePoolUpgrade(context.Context, *CompleteNodePoolUpgradeRequest) (*emptypb.Empty, 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. The new size will be used for all
// replicas, including future replicas created by modifying
// [NodePool.locations][google.container.v1.NodePool.locations].
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.
ClusterUpdate
type ClusterUpdate struct {
DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"`
DesiredMonitoringService string "" /* 135 byte string literal not displayed */
DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"`
DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"`
DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"`
DesiredDatabaseEncryption *DatabaseEncryption "" /* 139 byte string literal not displayed */
DesiredWorkloadIdentityConfig *WorkloadIdentityConfig "" /* 153 byte string literal not displayed */
DesiredMeshCertificates *MeshCertificates "" /* 133 byte string literal not displayed */
DesiredShieldedNodes *ShieldedNodes `protobuf:"bytes,48,opt,name=desired_shielded_nodes,json=desiredShieldedNodes,proto3" json:"desired_shielded_nodes,omitempty"`
DesiredCostManagementConfig *CostManagementConfig "" /* 147 byte string literal not displayed */
DesiredDnsConfig *DNSConfig `protobuf:"bytes,53,opt,name=desired_dns_config,json=desiredDnsConfig,proto3" json:"desired_dns_config,omitempty"`
DesiredNodePoolAutoscaling *NodePoolAutoscaling "" /* 143 byte string literal not displayed */
DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"`
DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig "" /* 179 byte string literal not displayed */
DesiredClusterAutoscaling *ClusterAutoscaling "" /* 139 byte string literal not displayed */
DesiredBinaryAuthorization *BinaryAuthorization "" /* 142 byte string literal not displayed */
DesiredLoggingService string "" /* 127 byte string literal not displayed */
DesiredResourceUsageExportConfig *ResourceUsageExportConfig "" /* 164 byte string literal not displayed */
DesiredVerticalPodAutoscaling *VerticalPodAutoscaling "" /* 153 byte string literal not displayed */
DesiredPrivateClusterConfig *PrivateClusterConfig "" /* 147 byte string literal not displayed */
DesiredIntraNodeVisibilityConfig *IntraNodeVisibilityConfig "" /* 164 byte string literal not displayed */
DesiredDefaultSnatStatus *DefaultSnatStatus "" /* 138 byte string literal not displayed */
DesiredReleaseChannel *ReleaseChannel "" /* 127 byte string literal not displayed */
DesiredL4IlbSubsettingConfig *ILBSubsettingConfig "" /* 150 byte string literal not displayed */
DesiredDatapathProvider DatapathProvider "" /* 176 byte string literal not displayed */
DesiredPrivateIpv6GoogleAccess PrivateIPv6GoogleAccess "" /* 208 byte string literal not displayed */
DesiredNotificationConfig *NotificationConfig "" /* 139 byte string literal not displayed */
DesiredAuthenticatorGroupsConfig *AuthenticatorGroupsConfig "" /* 162 byte string literal not displayed */
DesiredLoggingConfig *LoggingConfig `protobuf:"bytes,64,opt,name=desired_logging_config,json=desiredLoggingConfig,proto3" json:"desired_logging_config,omitempty"`
DesiredMonitoringConfig *MonitoringConfig "" /* 133 byte string literal not displayed */
DesiredIdentityServiceConfig *IdentityServiceConfig "" /* 150 byte string literal not displayed */
DesiredServiceExternalIpsConfig *ServiceExternalIPsConfig "" /* 161 byte string literal not displayed */
DesiredEnablePrivateEndpoint *bool "" /* 157 byte string literal not displayed */
DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"`
DesiredGcfsConfig *GcfsConfig `protobuf:"bytes,109,opt,name=desired_gcfs_config,json=desiredGcfsConfig,proto3" json:"desired_gcfs_config,omitempty"`
DesiredNodePoolAutoConfigNetworkTags *NetworkTags "" /* 181 byte string literal not displayed */
DesiredGatewayApiConfig *GatewayAPIConfig "" /* 136 byte string literal not displayed */
Etag string `protobuf:"bytes,115,opt,name=etag,proto3" json:"etag,omitempty"`
DesiredNodePoolLoggingConfig *NodePoolLoggingConfig "" /* 153 byte string literal not displayed */
DesiredStackType StackType "" /* 149 byte string literal not displayed */
AdditionalPodRangesConfig *AdditionalPodRangesConfig "" /* 142 byte string literal not displayed */
RemovedAdditionalPodRangesConfig *AdditionalPodRangesConfig "" /* 165 byte string literal not displayed */
}
ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
func (*ClusterUpdate) Descriptor
func (*ClusterUpdate) Descriptor() ([]byte, []int)
Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.
func (*ClusterUpdate) GetAdditionalPodRangesConfig
func (x *ClusterUpdate) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfig
func (*ClusterUpdate) GetDesiredAddonsConfig
func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig
func (*ClusterUpdate) GetDesiredAuthenticatorGroupsConfig
func (x *ClusterUpdate) GetDesiredAuthenticatorGroupsConfig() *AuthenticatorGroupsConfig
func (*ClusterUpdate) GetDesiredBinaryAuthorization
func (x *ClusterUpdate) GetDesiredBinaryAuthorization() *BinaryAuthorization
func (*ClusterUpdate) GetDesiredClusterAutoscaling
func (x *ClusterUpdate) GetDesiredClusterAutoscaling() *ClusterAutoscaling
func (*ClusterUpdate) GetDesiredCostManagementConfig
func (x *ClusterUpdate) GetDesiredCostManagementConfig() *CostManagementConfig
func (*ClusterUpdate) GetDesiredDatabaseEncryption
func (x *ClusterUpdate) GetDesiredDatabaseEncryption() *DatabaseEncryption
func (*ClusterUpdate) GetDesiredDatapathProvider
func (x *ClusterUpdate) GetDesiredDatapathProvider() DatapathProvider
func (*ClusterUpdate) GetDesiredDefaultSnatStatus
func (x *ClusterUpdate) GetDesiredDefaultSnatStatus() *DefaultSnatStatus
func (*ClusterUpdate) GetDesiredDnsConfig
func (x *ClusterUpdate) GetDesiredDnsConfig() *DNSConfig
func (*ClusterUpdate) GetDesiredEnablePrivateEndpoint
func (x *ClusterUpdate) GetDesiredEnablePrivateEndpoint() bool