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",
18: "RESIZE_CLUSTER",
}
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,
"RESIZE_CLUSTER": 18,
}
)
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 {
// Name for pod secondary ipv4 range which has the actual range defined ahead.
PodRangeNames []string `protobuf:"bytes,1,rep,name=pod_range_names,json=podRangeNames,proto3" json:"pod_range_names,omitempty"`
// 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) GetPodRangeNames
func (x *AdditionalPodRangesConfig) GetPodRangeNames() []string
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 */
DesiredFleet *Fleet `protobuf:"bytes,117,opt,name=desired_fleet,json=desiredFleet,proto3" json:"desired_fleet,omitempty"`
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
func (*ClusterUpdate) GetDesiredFleet
func (x *ClusterUpdate) GetDesiredFleet() *Fleet
func (*ClusterUpdate) GetDesiredGatewayApiConfig
func (x *ClusterUpdate) GetDesiredGatewayApiConfig() *GatewayAPIConfig
func (*ClusterUpdate) GetDesiredGcfsConfig
func (x *ClusterUpdate) GetDesiredGcfsConfig() *GcfsConfig
func (*ClusterUpdate) GetDesiredIdentityServiceConfig
func (x *ClusterUpdate) GetDesiredIdentityServiceConfig() *IdentityServiceConfig
func (*ClusterUpdate) GetDesiredImageType
func (x *ClusterUpdate) GetDesiredImageType() string
func (*ClusterUpdate) GetDesiredIntraNodeVisibilityConfig
func (x *ClusterUpdate) GetDesiredIntraNodeVisibilityConfig() *IntraNodeVisibilityConfig
func (*ClusterUpdate) GetDesiredL4IlbSubsettingConfig
func (x *ClusterUpdate) GetDesiredL4IlbSubsettingConfig() *ILBSubsettingConfig
func (*ClusterUpdate) GetDesiredLocations
func (x *ClusterUpdate) GetDesiredLocations() []string
func (*ClusterUpdate) GetDesiredLoggingConfig
func (x *ClusterUpdate) GetDesiredLoggingConfig() *LoggingConfig
func (*ClusterUpdate) GetDesiredLoggingService
func (x *ClusterUpdate) GetDesiredLoggingService() string
func (*ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig
func (x *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig
func (*ClusterUpdate) GetDesiredMasterVersion
func (x *ClusterUpdate) GetDesiredMasterVersion() string
func (*ClusterUpdate) GetDesiredMeshCertificates
func (x *ClusterUpdate) GetDesiredMeshCertificates() *MeshCertificates
func (*ClusterUpdate) GetDesiredMonitoringConfig
func (x *ClusterUpdate) GetDesiredMonitoringConfig() *MonitoringConfig
func (*ClusterUpdate) GetDesiredMonitoringService
func (x *ClusterUpdate) GetDesiredMonitoringService() string
func (*ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags
func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags() *NetworkTags
func (*ClusterUpdate) GetDesiredNodePoolAutoscaling
func (x *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling
func (*ClusterUpdate) GetDesiredNodePoolId
func (x *ClusterUpdate) GetDesiredNodePoolId() string
func (*ClusterUpdate) GetDesiredNodePoolLoggingConfig
func (x *ClusterUpdate) GetDesiredNodePoolLoggingConfig() *NodePoolLoggingConfig
func (*ClusterUpdate) GetDesiredNodeVersion
func (x *ClusterUpdate) GetDesiredNodeVersion() string
func (*ClusterUpdate) GetDesiredNotificationConfig
func (x *ClusterUpdate) GetDesiredNotificationConfig() *NotificationConfig
func (*ClusterUpdate) GetDesiredPrivateClusterConfig
func (x *ClusterUpdate) GetDesiredPrivateClusterConfig() *PrivateClusterConfig
func (*ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess
func (x *ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccess
func (*ClusterUpdate) GetDesiredReleaseChannel
func (x *ClusterUpdate) GetDesiredReleaseChannel() *ReleaseChannel
func (*ClusterUpdate) GetDesiredResourceUsageExportConfig
func (x *ClusterUpdate) GetDesiredResourceUsageExportConfig() *ResourceUsageExportConfig
func (*ClusterUpdate) GetDesiredServiceExternalIpsConfig
func (x *ClusterUpdate) GetDesiredServiceExternalIpsConfig() *ServiceExternalIPsConfig
func (*ClusterUpdate) GetDesiredShieldedNodes
func (x *ClusterUpdate) GetDesiredShieldedNodes() *ShieldedNodes
func (*ClusterUpdate) GetDesiredStackType
func (x *ClusterUpdate) GetDesiredStackType() StackType
func (*ClusterUpdate) GetDesiredVerticalPodAutoscaling
func (x *ClusterUpdate) GetDesiredVerticalPodAutoscaling() *VerticalPodAutoscaling
func (*ClusterUpdate) GetDesiredWorkloadIdentityConfig
func (x *ClusterUpdate) GetDesiredWorkloadIdentityConfig() *WorkloadIdentityConfig
func (*ClusterUpdate) GetEtag
func (x *ClusterUpdate) GetEtag() string
func (*ClusterUpdate) GetRemovedAdditionalPodRangesConfig
func (x *ClusterUpdate) GetRemovedAdditionalPodRangesConfig() *AdditionalPodRangesConfig
func (*ClusterUpdate) ProtoMessage
func (*ClusterUpdate) ProtoMessage()
func (*ClusterUpdate) ProtoReflect
func (x *ClusterUpdate) ProtoReflect() protoreflect.Message
func (*ClusterUpdate) Reset
func (x *ClusterUpdate) Reset()
func (*ClusterUpdate) String
func (x *ClusterUpdate) String() string
Cluster_Status
type Cluster_Status int32
The current status of the cluster.
Cluster_STATUS_UNSPECIFIED, Cluster_PROVISIONING, Cluster_RUNNING, Cluster_RECONCILING, Cluster_STOPPING, Cluster_ERROR, Cluster_DEGRADED
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
func (Cluster_Status) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Status) Enum
func (x Cluster_Status) Enum() *Cluster_Status
func (Cluster_Status) EnumDescriptor
func (Cluster_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Status.Descriptor instead.
func (Cluster_Status) Number
func (x Cluster_Status) Number() protoreflect.EnumNumber
func (Cluster_Status) String
func (x Cluster_Status) String() string
func (Cluster_Status) Type
func (Cluster_Status) Type() protoreflect.EnumType
CompleteIPRotationRequest
type CompleteIPRotationRequest 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
// cluster 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 name of the cluster.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// The name (project, location, cluster name) 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
func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteIPRotationRequest.ProtoReflect.Descriptor instead.
func (*CompleteIPRotationRequest) GetClusterId
func (x *CompleteIPRotationRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) GetName
func (x *CompleteIPRotationRequest) GetName() string
func (*CompleteIPRotationRequest) GetProjectId
func (x *CompleteIPRotationRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) GetZone
func (x *CompleteIPRotationRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) ProtoMessage
func (*CompleteIPRotationRequest) ProtoMessage()
func (*CompleteIPRotationRequest) ProtoReflect
func (x *CompleteIPRotationRequest) ProtoReflect() protoreflect.Message
func (*CompleteIPRotationRequest) Reset
func (x *CompleteIPRotationRequest) Reset()
func (*CompleteIPRotationRequest) String
func (x *CompleteIPRotationRequest) String() string
CompleteNodePoolUpgradeRequest
type CompleteNodePoolUpgradeRequest struct {
// The name (project, location, cluster, node pool id) of the node pool to
// complete upgrade.
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.
func (*CompleteNodePoolUpgradeRequest) Descriptor
func (*CompleteNodePoolUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.
func (*CompleteNodePoolUpgradeRequest) GetName
func (x *CompleteNodePoolUpgradeRequest) GetName() string
func (*CompleteNodePoolUpgradeRequest) ProtoMessage
func (*CompleteNodePoolUpgradeRequest) ProtoMessage()
func (*CompleteNodePoolUpgradeRequest) ProtoReflect
func (x *CompleteNodePoolUpgradeRequest) ProtoReflect() protoreflect.Message
func (*CompleteNodePoolUpgradeRequest) Reset
func (x *CompleteNodePoolUpgradeRequest) Reset()
func (*CompleteNodePoolUpgradeRequest) String
func (x *CompleteNodePoolUpgradeRequest) String() string
ConfidentialNodes
type ConfidentialNodes struct {
// Whether Confidential Nodes feature is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
func (*ConfidentialNodes) Descriptor
func (*ConfidentialNodes) Descriptor() ([]byte, []int)
Deprecated: Use ConfidentialNodes.ProtoReflect.Descriptor instead.
func (*ConfidentialNodes) GetEnabled
func (x *ConfidentialNodes) GetEnabled() bool
func (*ConfidentialNodes) ProtoMessage
func (*ConfidentialNodes) ProtoMessage()
func (*ConfidentialNodes) ProtoReflect
func (x *ConfidentialNodes) ProtoReflect() protoreflect.Message
func (*ConfidentialNodes) Reset
func (x *ConfidentialNodes) Reset()
func (*ConfidentialNodes) String
func (x *ConfidentialNodes) String() string
ConfigConnectorConfig
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
func (*ConfigConnectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConfigConnectorConfig.ProtoReflect.Descriptor instead.
func (*ConfigConnectorConfig) GetEnabled
func (x *ConfigConnectorConfig) GetEnabled() bool
func (*ConfigConnectorConfig) ProtoMessage
func (*ConfigConnectorConfig) ProtoMessage()
func (*ConfigConnectorConfig) ProtoReflect
func (x *ConfigConnectorConfig) ProtoReflect() protoreflect.Message
func (*ConfigConnectorConfig) Reset
func (x *ConfigConnectorConfig) Reset()
func (*ConfigConnectorConfig) String
func (x *ConfigConnectorConfig) String() string
CostManagementConfig
type CostManagementConfig struct {
// Whether the feature is enabled or not.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for fine-grained cost management feature.
func (*CostManagementConfig) Descriptor
func (*CostManagementConfig) Descriptor() ([]byte, []int)
Deprecated: Use CostManagementConfig.ProtoReflect.Descriptor instead.
func (*CostManagementConfig) GetEnabled
func (x *CostManagementConfig) GetEnabled() bool
func (*CostManagementConfig) ProtoMessage
func (*CostManagementConfig) ProtoMessage()
func (*CostManagementConfig) ProtoReflect
func (x *CostManagementConfig) ProtoReflect() protoreflect.Message
func (*CostManagementConfig) Reset
func (x *CostManagementConfig) Reset()
func (*CostManagementConfig) String
func (x *CostManagementConfig) String() string
CreateClusterRequest
type CreateClusterRequest 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 parent 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
// cluster resides. This field has been deprecated and replaced by the parent
// field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster
func (x *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() string
func (*CreateClusterRequest) GetProjectId
func (x *CreateClusterRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateClusterRequest) GetZone
func (x *CreateClusterRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() string
CreateNodePoolRequest
type CreateNodePoolRequest 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 parent 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
// cluster resides. This field has been deprecated and replaced by the parent
// 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 name of the cluster.
// This field has been deprecated and replaced by the parent field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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 name) 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
func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.
func (*CreateNodePoolRequest) GetClusterId
func (x *CreateNodePoolRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) GetNodePool
func (x *CreateNodePoolRequest) GetNodePool() *NodePool
func (*CreateNodePoolRequest) GetParent
func (x *CreateNodePoolRequest) GetParent() string
func (*CreateNodePoolRequest) GetProjectId
func (x *CreateNodePoolRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) GetZone
func (x *CreateNodePoolRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) ProtoMessage
func (*CreateNodePoolRequest) ProtoMessage()
func (*CreateNodePoolRequest) ProtoReflect
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message
func (*CreateNodePoolRequest) Reset
func (x *CreateNodePoolRequest) Reset()
func (*CreateNodePoolRequest) String
func (x *CreateNodePoolRequest) String() string
DNSConfig
type DNSConfig struct {
ClusterDns DNSConfig_Provider "" /* 136 byte string literal not displayed */
ClusterDnsScope DNSConfig_DNSScope "" /* 153 byte string literal not displayed */
ClusterDnsDomain string `protobuf:"bytes,3,opt,name=cluster_dns_domain,json=clusterDnsDomain,proto3" json:"cluster_dns_domain,omitempty"`
}
DNSConfig contains the desired set of options for configuring clusterDNS.
func (*DNSConfig) Descriptor
Deprecated: Use DNSConfig.ProtoReflect.Descriptor instead.
func (*DNSConfig) GetClusterDns
func (x *DNSConfig) GetClusterDns() DNSConfig_Provider
func (*DNSConfig) GetClusterDnsDomain
func (*DNSConfig) GetClusterDnsScope
func (x *DNSConfig) GetClusterDnsScope() DNSConfig_DNSScope
func (*DNSConfig) ProtoMessage
func (*DNSConfig) ProtoMessage()
func (*DNSConfig) ProtoReflect
func (x *DNSConfig) ProtoReflect() protoreflect.Message
func (*DNSConfig) Reset
func (x *DNSConfig) Reset()
func (*DNSConfig) String
DNSConfig_DNSScope
type DNSConfig_DNSScope int32
DNSScope lists the various scopes of access to cluster DNS records.
DNSConfig_DNS_SCOPE_UNSPECIFIED, DNSConfig_CLUSTER_SCOPE, DNSConfig_VPC_SCOPE
const (
// Default value, will be inferred as cluster scope.
DNSConfig_DNS_SCOPE_UNSPECIFIED DNSConfig_DNSScope = 0
// DNS records are accessible from within the cluster.
DNSConfig_CLUSTER_SCOPE DNSConfig_DNSScope = 1
// DNS records are accessible from within the VPC.
DNSConfig_VPC_SCOPE DNSConfig_DNSScope = 2
)
func (DNSConfig_DNSScope) Descriptor
func (DNSConfig_DNSScope) Descriptor() protoreflect.EnumDescriptor
func (DNSConfig_DNSScope) Enum
func (x DNSConfig_DNSScope) Enum() *DNSConfig_DNSScope
func (DNSConfig_DNSScope) EnumDescriptor
func (DNSConfig_DNSScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use DNSConfig_DNSScope.Descriptor instead.
func (DNSConfig_DNSScope) Number
func (x DNSConfig_DNSScope) Number() protoreflect.EnumNumber
func (DNSConfig_DNSScope) String
func (x DNSConfig_DNSScope) String() string
func (DNSConfig_DNSScope) Type
func (DNSConfig_DNSScope) Type() protoreflect.EnumType
DNSConfig_Provider
type DNSConfig_Provider int32
Provider lists the various in-cluster DNS providers.
DNSConfig_PROVIDER_UNSPECIFIED, DNSConfig_PLATFORM_DEFAULT, DNSConfig_CLOUD_DNS
const (
// Default value
DNSConfig_PROVIDER_UNSPECIFIED DNSConfig_Provider = 0
// Use GKE default DNS provider(kube-dns) for DNS resolution.
DNSConfig_PLATFORM_DEFAULT DNSConfig_Provider = 1
// Use CloudDNS for DNS resolution.
DNSConfig_CLOUD_DNS DNSConfig_Provider = 2
)
func (DNSConfig_Provider) Descriptor
func (DNSConfig_Provider) Descriptor() protoreflect.EnumDescriptor
func (DNSConfig_Provider) Enum
func (x DNSConfig_Provider) Enum() *DNSConfig_Provider
func (DNSConfig_Provider) EnumDescriptor
func (DNSConfig_Provider) EnumDescriptor() ([]byte, []int)
Deprecated: Use DNSConfig_Provider.Descriptor instead.
func (DNSConfig_Provider) Number
func (x DNSConfig_Provider) Number() protoreflect.EnumNumber
func (DNSConfig_Provider) String
func (x DNSConfig_Provider) String() string
func (DNSConfig_Provider) Type
func (DNSConfig_Provider) Type() protoreflect.EnumType
DailyMaintenanceWindow
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
func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use DailyMaintenanceWindow.ProtoReflect.Descriptor instead.
func (*DailyMaintenanceWindow) GetDuration
func (x *DailyMaintenanceWindow) GetDuration() string
func (*DailyMaintenanceWindow) GetStartTime
func (x *DailyMaintenanceWindow) GetStartTime() string
func (*DailyMaintenanceWindow) ProtoMessage
func (*DailyMaintenanceWindow) ProtoMessage()
func (*DailyMaintenanceWindow) ProtoReflect
func (x *DailyMaintenanceWindow) ProtoReflect() protoreflect.Message
func (*DailyMaintenanceWindow) Reset
func (x *DailyMaintenanceWindow) Reset()
func (*DailyMaintenanceWindow) String
func (x *DailyMaintenanceWindow) String() string
DatabaseEncryption
type DatabaseEncryption struct {
// 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"`
// The desired state of etcd encryption.
State DatabaseEncryption_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.container.v1.DatabaseEncryption_State" json:"state,omitempty"`
// contains filtered or unexported fields
}
Configuration of etcd encryption.
func (*DatabaseEncryption) Descriptor
func (*DatabaseEncryption) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseEncryption.ProtoReflect.Descriptor instead.
func (*DatabaseEncryption) GetKeyName
func (x *DatabaseEncryption) GetKeyName() string
func (*DatabaseEncryption) GetState
func (x *DatabaseEncryption) GetState() DatabaseEncryption_State
func (*DatabaseEncryption) ProtoMessage
func (*DatabaseEncryption) ProtoMessage()
func (*DatabaseEncryption) ProtoReflect
func (x *DatabaseEncryption) ProtoReflect() protoreflect.Message
func (*DatabaseEncryption) Reset
func (x *DatabaseEncryption) Reset()
func (*DatabaseEncryption) String
func (x *DatabaseEncryption) String() string
DatabaseEncryption_State
type DatabaseEncryption_State int32
State of etcd encryption.
DatabaseEncryption_UNKNOWN, DatabaseEncryption_ENCRYPTED, DatabaseEncryption_DECRYPTED
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
func (DatabaseEncryption_State) Descriptor() protoreflect.EnumDescriptor
func (DatabaseEncryption_State) Enum
func (x DatabaseEncryption_State) Enum() *DatabaseEncryption_State
func (DatabaseEncryption_State) EnumDescriptor
func (DatabaseEncryption_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseEncryption_State.Descriptor instead.
func (DatabaseEncryption_State) Number
func (x DatabaseEncryption_State) Number() protoreflect.EnumNumber
func (DatabaseEncryption_State) String
func (x DatabaseEncryption_State) String() string
func (DatabaseEncryption_State) Type
func (DatabaseEncryption_State) Type() protoreflect.EnumType
DatapathProvider
type DatapathProvider int32
The datapath provider selects the implementation of the Kubernetes networking model for service resolution and network policy enforcement.
DatapathProvider_DATAPATH_PROVIDER_UNSPECIFIED, DatapathProvider_LEGACY_DATAPATH, DatapathProvider_ADVANCED_DATAPATH
const (
// Default value.
DatapathProvider_DATAPATH_PROVIDER_UNSPECIFIED DatapathProvider = 0
// Use the IPTables implementation based on kube-proxy.
DatapathProvider_LEGACY_DATAPATH DatapathProvider = 1
// Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE
// Dataplane V2
// documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2)
// for more.
DatapathProvider_ADVANCED_DATAPATH DatapathProvider = 2
)
func (DatapathProvider) Descriptor
func (DatapathProvider) Descriptor() protoreflect.EnumDescriptor
func (DatapathProvider) Enum
func (x DatapathProvider) Enum() *DatapathProvider
func (DatapathProvider) EnumDescriptor
func (DatapathProvider) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatapathProvider.Descriptor instead.
func (DatapathProvider) Number
func (x DatapathProvider) Number() protoreflect.EnumNumber
func (DatapathProvider) String
func (x DatapathProvider) String() string
func (DatapathProvider) Type
func (DatapathProvider) Type() protoreflect.EnumType
DefaultSnatStatus
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
func (*DefaultSnatStatus) Descriptor() ([]byte, []int)
Deprecated: Use DefaultSnatStatus.ProtoReflect.Descriptor instead.
func (*DefaultSnatStatus) GetDisabled
func (x *DefaultSnatStatus) GetDisabled() bool
func (*DefaultSnatStatus) ProtoMessage
func (*DefaultSnatStatus) ProtoMessage()
func (*DefaultSnatStatus) ProtoReflect
func (x *DefaultSnatStatus) ProtoReflect() protoreflect.Message
func (*DefaultSnatStatus) Reset
func (x *DefaultSnatStatus) Reset()
func (*DefaultSnatStatus) String
func (x *DefaultSnatStatus) String() string
DeleteClusterRequest
type DeleteClusterRequest 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
// cluster 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 name of the cluster to delete.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetClusterId
func (x *DeleteClusterRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) GetName
func (x *DeleteClusterRequest) GetName() string
func (*DeleteClusterRequest) GetProjectId
func (x *DeleteClusterRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) GetZone
func (x *DeleteClusterRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() string
DeleteNodePoolRequest
type DeleteNodePoolRequest 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
// cluster 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 name of the cluster.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodePoolRequest) GetClusterId
func (x *DeleteNodePoolRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetName
func (x *DeleteNodePoolRequest) GetName() string
func (*DeleteNodePoolRequest) GetNodePoolId
func (x *DeleteNodePoolRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetProjectId
func (x *DeleteNodePoolRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetZone
func (x *DeleteNodePoolRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) ProtoMessage
func (*DeleteNodePoolRequest) ProtoMessage()
func (*DeleteNodePoolRequest) ProtoReflect
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodePoolRequest) Reset
func (x *DeleteNodePoolRequest) Reset()
func (*DeleteNodePoolRequest) String
func (x *DeleteNodePoolRequest) String() string
DnsCacheConfig
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
func (*DnsCacheConfig) Descriptor() ([]byte, []int)
Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.
func (*DnsCacheConfig) GetEnabled
func (x *DnsCacheConfig) GetEnabled() bool
func (*DnsCacheConfig) ProtoMessage
func (*DnsCacheConfig) ProtoMessage()
func (*DnsCacheConfig) ProtoReflect
func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message
func (*DnsCacheConfig) Reset
func (x *DnsCacheConfig) Reset()
func (*DnsCacheConfig) String
func (x *DnsCacheConfig) String() string
EphemeralStorageLocalSsdConfig
type EphemeralStorageLocalSsdConfig struct {
// Number of local SSDs to use to back ephemeral storage. Uses NVMe
// interfaces. Each local SSD is 375 GB in size.
// If zero, it means to disable using local SSDs as ephemeral storage.
// 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,1,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
// contains filtered or unexported fields
}
EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD.
func (*EphemeralStorageLocalSsdConfig) Descriptor
func (*EphemeralStorageLocalSsdConfig) Descriptor() ([]byte, []int)
Deprecated: Use EphemeralStorageLocalSsdConfig.ProtoReflect.Descriptor instead.
func (*EphemeralStorageLocalSsdConfig) GetLocalSsdCount
func (x *EphemeralStorageLocalSsdConfig) GetLocalSsdCount() int32
func (*EphemeralStorageLocalSsdConfig) ProtoMessage
func (*EphemeralStorageLocalSsdConfig) ProtoMessage()
func (*EphemeralStorageLocalSsdConfig) ProtoReflect
func (x *EphemeralStorageLocalSsdConfig) ProtoReflect() protoreflect.Message
func (*EphemeralStorageLocalSsdConfig) Reset
func (x *EphemeralStorageLocalSsdConfig) Reset()
func (*EphemeralStorageLocalSsdConfig) String
func (x *EphemeralStorageLocalSsdConfig) String() string
FastSocket
type FastSocket struct {
// Whether Fast Socket features are enabled in the node pool.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration of Fast Socket feature.
func (*FastSocket) Descriptor
func (*FastSocket) Descriptor() ([]byte, []int)
Deprecated: Use FastSocket.ProtoReflect.Descriptor instead.
func (*FastSocket) GetEnabled
func (x *FastSocket) GetEnabled() bool
func (*FastSocket) ProtoMessage
func (*FastSocket) ProtoMessage()
func (*FastSocket) ProtoReflect
func (x *FastSocket) ProtoReflect() protoreflect.Message
func (*FastSocket) Reset
func (x *FastSocket) Reset()
func (*FastSocket) String
func (x *FastSocket) String() string
Fleet
type Fleet struct {
// The Fleet host project(project ID or project number) where this cluster
// will be registered to. This field cannot be changed after the cluster has
// been registered.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// [Output only] The full resource name of the registered fleet membership of
// the cluster, in the format
// `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.
Membership string `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership,omitempty"`
// [Output only] Whether the cluster has been registered through the fleet
// API.
PreRegistered bool `protobuf:"varint,3,opt,name=pre_registered,json=preRegistered,proto3" json:"pre_registered,omitempty"`
// contains filtered or unexported fields
}
Fleet is the fleet configuration for the cluster.
func (*Fleet) Descriptor
Deprecated: Use Fleet.ProtoReflect.Descriptor instead.
func (*Fleet) GetMembership
func (*Fleet) GetPreRegistered
func (*Fleet) GetProject
func (*Fleet) ProtoMessage
func (*Fleet) ProtoMessage()
func (*Fleet) ProtoReflect
func (x *Fleet) ProtoReflect() protoreflect.Message
func (*Fleet) Reset
func (x *Fleet) Reset()
func (*Fleet) String
GPUSharingConfig
type GPUSharingConfig struct {
MaxSharedClientsPerGpu int64 "" /* 134 byte string literal not displayed */
GpuSharingStrategy *GPUSharingConfig_GPUSharingStrategy "" /* 185 byte string literal not displayed */
}
GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.
func (*GPUSharingConfig) Descriptor
func (*GPUSharingConfig) Descriptor() ([]byte, []int)
Deprecated: Use GPUSharingConfig.ProtoReflect.Descriptor instead.
func (*GPUSharingConfig) GetGpuSharingStrategy
func (x *GPUSharingConfig) GetGpuSharingStrategy() GPUSharingConfig_GPUSharingStrategy
func (*GPUSharingConfig) GetMaxSharedClientsPerGpu
func (x *GPUSharingConfig) GetMaxSharedClientsPerGpu() int64
func (*GPUSharingConfig) ProtoMessage
func (*GPUSharingConfig) ProtoMessage()
func (*GPUSharingConfig) ProtoReflect
func (x *GPUSharingConfig) ProtoReflect() protoreflect.Message
func (*GPUSharingConfig) Reset
func (x *GPUSharingConfig) Reset()
func (*GPUSharingConfig) String
func (x *GPUSharingConfig) String() string
GPUSharingConfig_GPUSharingStrategy
type GPUSharingConfig_GPUSharingStrategy int32
The type of GPU sharing strategy currently provided.
GPUSharingConfig_GPU_SHARING_STRATEGY_UNSPECIFIED, GPUSharingConfig_TIME_SHARING
const (
// Default value.
GPUSharingConfig_GPU_SHARING_STRATEGY_UNSPECIFIED GPUSharingConfig_GPUSharingStrategy = 0
// GPUs are time-shared between containers.
GPUSharingConfig_TIME_SHARING GPUSharingConfig_GPUSharingStrategy = 1
)
func (GPUSharingConfig_GPUSharingStrategy) Descriptor
func (GPUSharingConfig_GPUSharingStrategy) Descriptor() protoreflect.EnumDescriptor
func (GPUSharingConfig_GPUSharingStrategy) Enum
func (x GPUSharingConfig_GPUSharingStrategy) Enum() *GPUSharingConfig_GPUSharingStrategy
func (GPUSharingConfig_GPUSharingStrategy) EnumDescriptor
func (GPUSharingConfig_GPUSharingStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use GPUSharingConfig_GPUSharingStrategy.Descriptor instead.
func (GPUSharingConfig_GPUSharingStrategy) Number
func (x GPUSharingConfig_GPUSharingStrategy) Number() protoreflect.EnumNumber
func (GPUSharingConfig_GPUSharingStrategy) String
func (x GPUSharingConfig_GPUSharingStrategy) String() string
func (GPUSharingConfig_GPUSharingStrategy) Type
func (GPUSharingConfig_GPUSharingStrategy) Type() protoreflect.EnumType
GatewayAPIConfig
type GatewayAPIConfig struct {
// The Gateway API release channel to use for Gateway API.
Channel GatewayAPIConfig_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.container.v1.GatewayAPIConfig_Channel" json:"channel,omitempty"`
// contains filtered or unexported fields
}
GatewayAPIConfig contains the desired config of Gateway API on this cluster.
func (*GatewayAPIConfig) Descriptor
func (*GatewayAPIConfig) Descriptor() ([]byte, []int)
Deprecated: Use GatewayAPIConfig.ProtoReflect.Descriptor instead.
func (*GatewayAPIConfig) GetChannel
func (x *GatewayAPIConfig) GetChannel() GatewayAPIConfig_Channel
func (*GatewayAPIConfig) ProtoMessage
func (*GatewayAPIConfig) ProtoMessage()
func (*GatewayAPIConfig) ProtoReflect
func (x *GatewayAPIConfig) ProtoReflect() protoreflect.Message
func (*GatewayAPIConfig) Reset
func (x *GatewayAPIConfig) Reset()
func (*GatewayAPIConfig) String
func (x *GatewayAPIConfig) String() string
GatewayAPIConfig_Channel
type GatewayAPIConfig_Channel int32
Channel describes if/how Gateway API should be installed and implemented in a cluster.
GatewayAPIConfig_CHANNEL_UNSPECIFIED, GatewayAPIConfig_CHANNEL_DISABLED, GatewayAPIConfig_CHANNEL_EXPERIMENTAL, GatewayAPIConfig_CHANNEL_STANDARD
const (
// Default value.
GatewayAPIConfig_CHANNEL_UNSPECIFIED GatewayAPIConfig_Channel = 0
// Gateway API support is disabled
GatewayAPIConfig_CHANNEL_DISABLED GatewayAPIConfig_Channel = 1
// Gateway API support is enabled, experimental CRDs are installed
GatewayAPIConfig_CHANNEL_EXPERIMENTAL GatewayAPIConfig_Channel = 3
// Gateway API support is enabled, standard CRDs are installed
GatewayAPIConfig_CHANNEL_STANDARD GatewayAPIConfig_Channel = 4
)
func (GatewayAPIConfig_Channel) Descriptor
func (GatewayAPIConfig_Channel) Descriptor() protoreflect.EnumDescriptor
func (GatewayAPIConfig_Channel) Enum
func (x GatewayAPIConfig_Channel) Enum() *GatewayAPIConfig_Channel
func (GatewayAPIConfig_Channel) EnumDescriptor
func (GatewayAPIConfig_Channel) EnumDescriptor() ([]byte, []int)
Deprecated: Use GatewayAPIConfig_Channel.Descriptor instead.
func (GatewayAPIConfig_Channel) Number
func (x GatewayAPIConfig_Channel) Number() protoreflect.EnumNumber
func (GatewayAPIConfig_Channel) String
func (x GatewayAPIConfig_Channel) String() string
func (GatewayAPIConfig_Channel) Type
func (GatewayAPIConfig_Channel) Type() protoreflect.EnumType
GcePersistentDiskCsiDriverConfig
type GcePersistentDiskCsiDriverConfig struct {
// Whether the Compute Engine PD CSI driver is enabled for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for the Compute Engine PD CSI driver.
func (*GcePersistentDiskCsiDriverConfig) Descriptor
func (*GcePersistentDiskCsiDriverConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcePersistentDiskCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*GcePersistentDiskCsiDriverConfig) GetEnabled
func (x *GcePersistentDiskCsiDriverConfig) GetEnabled() bool
func (*GcePersistentDiskCsiDriverConfig) ProtoMessage
func (*GcePersistentDiskCsiDriverConfig) ProtoMessage()
func (*GcePersistentDiskCsiDriverConfig) ProtoReflect
func (x *GcePersistentDiskCsiDriverConfig) ProtoReflect() protoreflect.Message
func (*GcePersistentDiskCsiDriverConfig) Reset
func (x *GcePersistentDiskCsiDriverConfig) Reset()
func (*GcePersistentDiskCsiDriverConfig) String
func (x *GcePersistentDiskCsiDriverConfig) String() string
GcfsConfig
type GcfsConfig struct {
// Whether to use GCFS.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
GcfsConfig contains configurations of Google Container File System (image streaming).
func (*GcfsConfig) Descriptor
func (*GcfsConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcfsConfig.ProtoReflect.Descriptor instead.
func (*GcfsConfig) GetEnabled
func (x *GcfsConfig) GetEnabled() bool
func (*GcfsConfig) ProtoMessage
func (*GcfsConfig) ProtoMessage()
func (*GcfsConfig) ProtoReflect
func (x *GcfsConfig) ProtoReflect() protoreflect.Message
func (*GcfsConfig) Reset
func (x *GcfsConfig) Reset()
func (*GcfsConfig) String
func (x *GcfsConfig) String() string
GcpFilestoreCsiDriverConfig
type GcpFilestoreCsiDriverConfig struct {
// Whether the GCP Filestore CSI driver is enabled for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for the GCP Filestore CSI driver.
func (*GcpFilestoreCsiDriverConfig) Descriptor
func (*GcpFilestoreCsiDriverConfig) Descriptor() ([]byte, []int)
Deprecated: Use GcpFilestoreCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*GcpFilestoreCsiDriverConfig) GetEnabled
func (x *GcpFilestoreCsiDriverConfig) GetEnabled() bool
func (*GcpFilestoreCsiDriverConfig) ProtoMessage
func (*GcpFilestoreCsiDriverConfig) ProtoMessage()
func (*GcpFilestoreCsiDriverConfig) ProtoReflect
func (x *GcpFilestoreCsiDriverConfig) ProtoReflect() protoreflect.Message
func (*GcpFilestoreCsiDriverConfig) Reset
func (x *GcpFilestoreCsiDriverConfig) Reset()
func (*GcpFilestoreCsiDriverConfig) String
func (x *GcpFilestoreCsiDriverConfig) String() string
GetClusterRequest
type GetClusterRequest 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
// cluster 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 name of the cluster to retrieve.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetClusterId
func (x *GetClusterRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) GetName
func (x *GetClusterRequest) GetName() string
func (*GetClusterRequest) GetProjectId
func (x *GetClusterRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) GetZone
func (x *GetClusterRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String
func (x *GetClusterRequest) String() string
GetJSONWebKeysRequest
type GetJSONWebKeysRequest struct {
// The cluster (project, location, cluster name) 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
func (*GetJSONWebKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJSONWebKeysRequest.ProtoReflect.Descriptor instead.
func (*GetJSONWebKeysRequest) GetParent
func (x *GetJSONWebKeysRequest) GetParent() string
func (*GetJSONWebKeysRequest) ProtoMessage
func (*GetJSONWebKeysRequest) ProtoMessage()
func (*GetJSONWebKeysRequest) ProtoReflect
func (x *GetJSONWebKeysRequest) ProtoReflect() protoreflect.Message
func (*GetJSONWebKeysRequest) Reset
func (x *GetJSONWebKeysRequest) Reset()
func (*GetJSONWebKeysRequest) String
func (x *GetJSONWebKeysRequest) String() string
GetJSONWebKeysResponse
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
func (*GetJSONWebKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetJSONWebKeysResponse.ProtoReflect.Descriptor instead.
func (*GetJSONWebKeysResponse) GetKeys
func (x *GetJSONWebKeysResponse) GetKeys() []*Jwk
func (*GetJSONWebKeysResponse) ProtoMessage
func (*GetJSONWebKeysResponse) ProtoMessage()
func (*GetJSONWebKeysResponse) ProtoReflect
func (x *GetJSONWebKeysResponse) ProtoReflect() protoreflect.Message
func (*GetJSONWebKeysResponse) Reset
func (x *GetJSONWebKeysResponse) Reset()
func (*GetJSONWebKeysResponse) String
func (x *GetJSONWebKeysResponse) String() string
GetNodePoolRequest
type GetNodePoolRequest 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
// cluster 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 name of the cluster.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*GetNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.
func (*GetNodePoolRequest) GetClusterId
func (x *GetNodePoolRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetName
func (x *GetNodePoolRequest) GetName() string
func (*GetNodePoolRequest) GetNodePoolId
func (x *GetNodePoolRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetProjectId
func (x *GetNodePoolRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetZone
func (x *GetNodePoolRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) ProtoMessage
func (*GetNodePoolRequest) ProtoMessage()
func (*GetNodePoolRequest) ProtoReflect
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message
func (*GetNodePoolRequest) Reset
func (x *GetNodePoolRequest) Reset()
func (*GetNodePoolRequest) String
func (x *GetNodePoolRequest) String() string
GetOpenIDConfigRequest
type GetOpenIDConfigRequest struct {
// The cluster (project, location, cluster name) 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
func (*GetOpenIDConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenIDConfigRequest.ProtoReflect.Descriptor instead.
func (*GetOpenIDConfigRequest) GetParent
func (x *GetOpenIDConfigRequest) GetParent() string
func (*GetOpenIDConfigRequest) ProtoMessage
func (*GetOpenIDConfigRequest) ProtoMessage()
func (*GetOpenIDConfigRequest) ProtoReflect
func (x *GetOpenIDConfigRequest) ProtoReflect() protoreflect.Message
func (*GetOpenIDConfigRequest) Reset
func (x *GetOpenIDConfigRequest) Reset()
func (*GetOpenIDConfigRequest) String
func (x *GetOpenIDConfigRequest) String() string
GetOpenIDConfigResponse
type GetOpenIDConfigResponse struct {
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
JwksUri string `protobuf:"bytes,2,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
ResponseTypesSupported []string "" /* 129 byte string literal not displayed */
SubjectTypesSupported []string `protobuf:"bytes,4,rep,name=subject_types_supported,json=subjectTypesSupported,proto3" json:"subject_types_supported,omitempty"`
IdTokenSigningAlgValuesSupported []string "" /* 165 byte string literal not displayed */
ClaimsSupported []string `protobuf:"bytes,6,rep,name=claims_supported,json=claimsSupported,proto3" json:"claims_supported,omitempty"`
GrantTypes []string `protobuf:"bytes,7,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"`
}
GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetOpenIDConfigResponse) Descriptor
func (*GetOpenIDConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOpenIDConfigResponse.ProtoReflect.Descriptor instead.
func (*GetOpenIDConfigResponse) GetClaimsSupported
func (x *GetOpenIDConfigResponse) GetClaimsSupported() []string
func (*GetOpenIDConfigResponse) GetGrantTypes
func (x *GetOpenIDConfigResponse) GetGrantTypes() []string
func (*GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported
func (x *GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported() []string
func (*GetOpenIDConfigResponse) GetIssuer
func (x *GetOpenIDConfigResponse) GetIssuer() string
func (*GetOpenIDConfigResponse) GetJwksUri
func (x *GetOpenIDConfigResponse) GetJwksUri() string
func (*GetOpenIDConfigResponse) GetResponseTypesSupported
func (x *GetOpenIDConfigResponse) GetResponseTypesSupported() []string
func (*GetOpenIDConfigResponse) GetSubjectTypesSupported
func (x *GetOpenIDConfigResponse) GetSubjectTypesSupported() []string
func (*GetOpenIDConfigResponse) ProtoMessage
func (*GetOpenIDConfigResponse) ProtoMessage()
func (*GetOpenIDConfigResponse) ProtoReflect
func (x *GetOpenIDConfigResponse) ProtoReflect() protoreflect.Message
func (*GetOpenIDConfigResponse) Reset
func (x *GetOpenIDConfigResponse) Reset()
func (*GetOpenIDConfigResponse) String
func (x *GetOpenIDConfigResponse) String() string
GetOperationRequest
type GetOperationRequest 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
// cluster 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 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
func (*GetOperationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.
func (*GetOperationRequest) GetName
func (x *GetOperationRequest) GetName() string
func (*GetOperationRequest) GetOperationId
func (x *GetOperationRequest) GetOperationId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) GetProjectId
func (x *GetOperationRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) GetZone
func (x *GetOperationRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) ProtoMessage
func (*GetOperationRequest) ProtoMessage()
func (*GetOperationRequest) ProtoReflect
func (x *GetOperationRequest) ProtoReflect() protoreflect.Message
func (*GetOperationRequest) Reset
func (x *GetOperationRequest) Reset()
func (*GetOperationRequest) String
func (x *GetOperationRequest) String() string
GetServerConfigRequest
type GetServerConfigRequest 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) to return
// operations for. 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"`
// 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
func (*GetServerConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.
func (*GetServerConfigRequest) GetName
func (x *GetServerConfigRequest) GetName() string
func (*GetServerConfigRequest) GetProjectId
func (x *GetServerConfigRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetServerConfigRequest) GetZone
func (x *GetServerConfigRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetServerConfigRequest) ProtoMessage
func (*GetServerConfigRequest) ProtoMessage()
func (*GetServerConfigRequest) ProtoReflect
func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message
func (*GetServerConfigRequest) Reset
func (x *GetServerConfigRequest) Reset()
func (*GetServerConfigRequest) String
func (x *GetServerConfigRequest) String() string
GkeBackupAgentConfig
type GkeBackupAgentConfig struct {
// Whether the Backup for GKE agent is enabled for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for the Backup for GKE Agent.
func (*GkeBackupAgentConfig) Descriptor
func (*GkeBackupAgentConfig) Descriptor() ([]byte, []int)
Deprecated: Use GkeBackupAgentConfig.ProtoReflect.Descriptor instead.
func (*GkeBackupAgentConfig) GetEnabled
func (x *GkeBackupAgentConfig) GetEnabled() bool
func (*GkeBackupAgentConfig) ProtoMessage
func (*GkeBackupAgentConfig) ProtoMessage()
func (*GkeBackupAgentConfig) ProtoReflect
func (x *GkeBackupAgentConfig) ProtoReflect() protoreflect.Message
func (*GkeBackupAgentConfig) Reset
func (x *GkeBackupAgentConfig) Reset()
func (*GkeBackupAgentConfig) String
func (x *GkeBackupAgentConfig) String() string
HorizontalPodAutoscaling
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
func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use HorizontalPodAutoscaling.ProtoReflect.Descriptor instead.
func (*HorizontalPodAutoscaling) GetDisabled
func (x *HorizontalPodAutoscaling) GetDisabled() bool
func (*HorizontalPodAutoscaling) ProtoMessage
func (*HorizontalPodAutoscaling) ProtoMessage()
func (*HorizontalPodAutoscaling) ProtoReflect
func (x *HorizontalPodAutoscaling) ProtoReflect() protoreflect.Message
func (*HorizontalPodAutoscaling) Reset
func (x *HorizontalPodAutoscaling) Reset()
func (*HorizontalPodAutoscaling) String
func (x *HorizontalPodAutoscaling) String() string
HttpLoadBalancing
type HttpLoadBalancing struct {
// Whether the HTTP Load Balancing controller is enabled in the cluster.
// When enabled, it runs a small pod in the cluster that manages the load
// balancers.
Disabled bool `protobuf:"varint,1,opt,name=disabled,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
func (*HttpLoadBalancing) Descriptor() ([]byte, []int)
Deprecated: Use HttpLoadBalancing.ProtoReflect.Descriptor instead.
func (*HttpLoadBalancing) GetDisabled
func (x *HttpLoadBalancing) GetDisabled() bool
func (*HttpLoadBalancing) ProtoMessage
func (*HttpLoadBalancing) ProtoMessage()
func (*HttpLoadBalancing) ProtoReflect
func (x *HttpLoadBalancing) ProtoReflect() protoreflect.Message
func (*HttpLoadBalancing) Reset
func (x *HttpLoadBalancing) Reset()
func (*HttpLoadBalancing) String
func (x *HttpLoadBalancing) String() string
ILBSubsettingConfig
type ILBSubsettingConfig struct {
// Enables l4 ILB subsetting for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.
func (*ILBSubsettingConfig) Descriptor
func (*ILBSubsettingConfig) Descriptor() ([]byte, []int)
Deprecated: Use ILBSubsettingConfig.ProtoReflect.Descriptor instead.
func (*ILBSubsettingConfig) GetEnabled
func (x *ILBSubsettingConfig) GetEnabled() bool
func (*ILBSubsettingConfig) ProtoMessage
func (*ILBSubsettingConfig) ProtoMessage()
func (*ILBSubsettingConfig) ProtoReflect
func (x *ILBSubsettingConfig) ProtoReflect() protoreflect.Message
func (*ILBSubsettingConfig) Reset
func (x *ILBSubsettingConfig) Reset()
func (*ILBSubsettingConfig) String
func (x *ILBSubsettingConfig) String() string
IPAllocationPolicy
type IPAllocationPolicy struct {
UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"`
CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"`
SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"`
ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"`
ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
ClusterSecondaryRangeName string "" /* 140 byte string literal not displayed */
ServicesSecondaryRangeName string "" /* 143 byte string literal not displayed */
ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"`
NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"`
ServicesIpv4CidrBlock string "" /* 129 byte string literal not displayed */
TpuIpv4CidrBlock string `protobuf:"bytes,13,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
UseRoutes bool `protobuf:"varint,15,opt,name=use_routes,json=useRoutes,proto3" json:"use_routes,omitempty"`
StackType StackType `protobuf:"varint,16,opt,name=stack_type,json=stackType,proto3,enum=google.container.v1.StackType" json:"stack_type,omitempty"`
Ipv6AccessType IPv6AccessType "" /* 147 byte string literal not displayed */
PodCidrOverprovisionConfig *PodCIDROverprovisionConfig "" /* 144 byte string literal not displayed */
SubnetIpv6CidrBlock string `protobuf:"bytes,22,opt,name=subnet_ipv6_cidr_block,json=subnetIpv6CidrBlock,proto3" json:"subnet_ipv6_cidr_block,omitempty"`
ServicesIpv6CidrBlock string "" /* 129 byte string literal not displayed */
AdditionalPodRangesConfig *AdditionalPodRangesConfig "" /* 141 byte string literal not displayed */
}
Configuration for controlling how IPs are allocated in the cluster.
func (*IPAllocationPolicy) Descriptor
func (*IPAllocationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use IPAllocationPolicy.ProtoReflect.Descriptor instead.
func (*IPAllocationPolicy) GetAdditionalPodRangesConfig
func (x *IPAllocationPolicy) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfig
func (*IPAllocationPolicy) GetClusterIpv4Cidr
func (x *IPAllocationPolicy) GetClusterIpv4Cidr() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetClusterIpv4CidrBlock
func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() string
func (*IPAllocationPolicy) GetClusterSecondaryRangeName
func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() string
func (*IPAllocationPolicy) GetCreateSubnetwork
func (x *IPAllocationPolicy) GetCreateSubnetwork() bool
func (*IPAllocationPolicy) GetIpv6AccessType
func (x *IPAllocationPolicy) GetIpv6AccessType() IPv6AccessType
func (*IPAllocationPolicy) GetNodeIpv4Cidr
func (x *IPAllocationPolicy) GetNodeIpv4Cidr() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetNodeIpv4CidrBlock
func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() string
func (*IPAllocationPolicy) GetPodCidrOverprovisionConfig
func (x *IPAllocationPolicy) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfig
func (*IPAllocationPolicy) GetServicesIpv4Cidr
func (x *IPAllocationPolicy) GetServicesIpv4Cidr() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetServicesIpv4CidrBlock
func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() string
func (*IPAllocationPolicy) GetServicesIpv6CidrBlock
func (x *IPAllocationPolicy) GetServicesIpv6CidrBlock() string
func (*IPAllocationPolicy) GetServicesSecondaryRangeName
func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() string
func (*IPAllocationPolicy) GetStackType
func (x *IPAllocationPolicy) GetStackType() StackType
func (*IPAllocationPolicy) GetSubnetIpv6CidrBlock
func (x *IPAllocationPolicy) GetSubnetIpv6CidrBlock() string
func (*IPAllocationPolicy) GetSubnetworkName
func (x *IPAllocationPolicy) GetSubnetworkName() string
func (*IPAllocationPolicy) GetTpuIpv4CidrBlock
func (x *IPAllocationPolicy) GetTpuIpv4CidrBlock() string
func (*IPAllocationPolicy) GetUseIpAliases
func (x *IPAllocationPolicy) GetUseIpAliases() bool
func (*IPAllocationPolicy) GetUseRoutes
func (x *IPAllocationPolicy) GetUseRoutes() bool
func (*IPAllocationPolicy) ProtoMessage
func (*IPAllocationPolicy) ProtoMessage()
func (*IPAllocationPolicy) ProtoReflect
func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Message
func (*IPAllocationPolicy) Reset
func (x *IPAllocationPolicy) Reset()
func (*IPAllocationPolicy) String
func (x *IPAllocationPolicy) String() string
IPv6AccessType
type IPv6AccessType int32
Possible values for IPv6 access type
IPv6AccessType_IPV6_ACCESS_TYPE_UNSPECIFIED, IPv6AccessType_INTERNAL, IPv6AccessType_EXTERNAL
const (
// Default value, will be defaulted as type external.
IPv6AccessType_IPV6_ACCESS_TYPE_UNSPECIFIED IPv6AccessType = 0
// Access type internal (all v6 addresses are internal IPs)
IPv6AccessType_INTERNAL IPv6AccessType = 1
// Access type external (all v6 addresses are external IPs)
IPv6AccessType_EXTERNAL IPv6AccessType = 2
)
func (IPv6AccessType) Descriptor
func (IPv6AccessType) Descriptor() protoreflect.EnumDescriptor
func (IPv6AccessType) Enum
func (x IPv6AccessType) Enum() *IPv6AccessType
func (IPv6AccessType) EnumDescriptor
func (IPv6AccessType) EnumDescriptor() ([]byte, []int)
Deprecated: Use IPv6AccessType.Descriptor instead.
func (IPv6AccessType) Number
func (x IPv6AccessType) Number() protoreflect.EnumNumber
func (IPv6AccessType) String
func (x IPv6AccessType) String() string
func (IPv6AccessType) Type
func (IPv6AccessType) Type() protoreflect.EnumType
IdentityServiceConfig
type IdentityServiceConfig struct {
// Whether to enable the Identity Service component
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API
func (*IdentityServiceConfig) Descriptor
func (*IdentityServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use IdentityServiceConfig.ProtoReflect.Descriptor instead.
func (*IdentityServiceConfig) GetEnabled
func (x *IdentityServiceConfig) GetEnabled() bool
func (*IdentityServiceConfig) ProtoMessage
func (*IdentityServiceConfig) ProtoMessage()
func (*IdentityServiceConfig) ProtoReflect
func (x *IdentityServiceConfig) ProtoReflect() protoreflect.Message
func (*IdentityServiceConfig) Reset
func (x *IdentityServiceConfig) Reset()
func (*IdentityServiceConfig) String
func (x *IdentityServiceConfig) String() string
IntraNodeVisibilityConfig
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
func (*IntraNodeVisibilityConfig) Descriptor() ([]byte, []int)
Deprecated: Use IntraNodeVisibilityConfig.ProtoReflect.Descriptor instead.
func (*IntraNodeVisibilityConfig) GetEnabled
func (x *IntraNodeVisibilityConfig) GetEnabled() bool
func (*IntraNodeVisibilityConfig) ProtoMessage
func (*IntraNodeVisibilityConfig) ProtoMessage()
func (*IntraNodeVisibilityConfig) ProtoReflect
func (x *IntraNodeVisibilityConfig) ProtoReflect() protoreflect.Message
func (*IntraNodeVisibilityConfig) Reset
func (x *IntraNodeVisibilityConfig) Reset()
func (*IntraNodeVisibilityConfig) String
func (x *IntraNodeVisibilityConfig) String() string
Jwk
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
func (*Jwk) Descriptor
Deprecated: Use Jwk.ProtoReflect.Descriptor instead.
func (*Jwk) GetAlg
func (*Jwk) GetCrv
func (*Jwk) GetE
func (*Jwk) GetKid
func (*Jwk) GetKty
func (*Jwk) GetN
func (*Jwk) GetUse
func (*Jwk) GetX
func (*Jwk) GetY
func (*Jwk) ProtoMessage
func (*Jwk) ProtoMessage()
func (*Jwk) ProtoReflect
func (x *Jwk) ProtoReflect() protoreflect.Message
func (*Jwk) Reset
func (x *Jwk) Reset()
func (*Jwk) String
KubernetesDashboard
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
func (*KubernetesDashboard) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesDashboard.ProtoReflect.Descriptor instead.
func (*KubernetesDashboard) GetDisabled
func (x *KubernetesDashboard) GetDisabled() bool
func (*KubernetesDashboard) ProtoMessage
func (*KubernetesDashboard) ProtoMessage()
func (*KubernetesDashboard) ProtoReflect
func (x *KubernetesDashboard) ProtoReflect() protoreflect.Message
func (*KubernetesDashboard) Reset
func (x *KubernetesDashboard) Reset()
func (*KubernetesDashboard) String
func (x *KubernetesDashboard) String() string
LegacyAbac
type LegacyAbac struct {
// Whether the ABAC authorizer is enabled for this cluster. When enabled,
// identities in the system, including service accounts, nodes, and
// controllers, will have statically granted permissions beyond those
// provided by the RBAC configuration or IAM.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration for the legacy Attribute Based Access Control authorization mode.
func (*LegacyAbac) Descriptor
func (*LegacyAbac) Descriptor() ([]byte, []int)
Deprecated: Use LegacyAbac.ProtoReflect.Descriptor instead.
func (*LegacyAbac) GetEnabled
func (x *LegacyAbac) GetEnabled() bool
func (*LegacyAbac) ProtoMessage
func (*LegacyAbac) ProtoMessage()
func (*LegacyAbac) ProtoReflect
func (x *LegacyAbac) ProtoReflect() protoreflect.Message
func (*LegacyAbac) Reset
func (x *LegacyAbac) Reset()
func (*LegacyAbac) String
func (x *LegacyAbac) String() string
LinuxNodeConfig
type LinuxNodeConfig struct {
Sysctls map[string]string "" /* 155 byte string literal not displayed */
CgroupMode LinuxNodeConfig_CgroupMode "" /* 144 byte string literal not displayed */
}
Parameters that can be configured on Linux nodes.
func (*LinuxNodeConfig) Descriptor
func (*LinuxNodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use LinuxNodeConfig.ProtoReflect.Descriptor instead.
func (*LinuxNodeConfig) GetCgroupMode
func (x *LinuxNodeConfig) GetCgroupMode() LinuxNodeConfig_CgroupMode
func (*LinuxNodeConfig) GetSysctls
func (x *LinuxNodeConfig) GetSysctls() map[string]string
func (*LinuxNodeConfig) ProtoMessage
func (*LinuxNodeConfig) ProtoMessage()
func (*LinuxNodeConfig) ProtoReflect
func (x *LinuxNodeConfig) ProtoReflect() protoreflect.Message
func (*LinuxNodeConfig) Reset
func (x *LinuxNodeConfig) Reset()
func (*LinuxNodeConfig) String
func (x *LinuxNodeConfig) String() string
LinuxNodeConfig_CgroupMode
type LinuxNodeConfig_CgroupMode int32
Possible cgroup modes that can be used.
LinuxNodeConfig_CGROUP_MODE_UNSPECIFIED, LinuxNodeConfig_CGROUP_MODE_V1, LinuxNodeConfig_CGROUP_MODE_V2
const (
// CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used.
// The default for the GKE node OS image will be used.
LinuxNodeConfig_CGROUP_MODE_UNSPECIFIED LinuxNodeConfig_CgroupMode = 0
// CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on
// the node image.
LinuxNodeConfig_CGROUP_MODE_V1 LinuxNodeConfig_CgroupMode = 1
// CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on
// the node image.
LinuxNodeConfig_CGROUP_MODE_V2 LinuxNodeConfig_CgroupMode = 2
)
func (LinuxNodeConfig_CgroupMode) Descriptor
func (LinuxNodeConfig_CgroupMode) Descriptor() protoreflect.EnumDescriptor
func (LinuxNodeConfig_CgroupMode) Enum
func (x LinuxNodeConfig_CgroupMode) Enum() *LinuxNodeConfig_CgroupMode
func (LinuxNodeConfig_CgroupMode) EnumDescriptor
func (LinuxNodeConfig_CgroupMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use LinuxNodeConfig_CgroupMode.Descriptor instead.
func (LinuxNodeConfig_CgroupMode) Number
func (x LinuxNodeConfig_CgroupMode) Number() protoreflect.EnumNumber
func (LinuxNodeConfig_CgroupMode) String
func (x LinuxNodeConfig_CgroupMode) String() string
func (LinuxNodeConfig_CgroupMode) Type
func (LinuxNodeConfig_CgroupMode) Type() protoreflect.EnumType
ListClustersRequest
type ListClustersRequest 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 parent 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
// cluster resides, or "-" for all zones. This field has been deprecated and
// replaced by the parent field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetParent
func (x *ListClustersRequest) GetParent() string
func (*ListClustersRequest) GetProjectId
func (x *ListClustersRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListClustersRequest) GetZone
func (x *ListClustersRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String
func (x *ListClustersRequest) String() string
ListClustersResponse
type ListClustersResponse struct {
// A list of clusters in the project in the specified zone, or
// across all ones.
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,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
func (*ListClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.
func (*ListClustersResponse) GetClusters
func (x *ListClustersResponse) GetClusters() []*Cluster
func (*ListClustersResponse) GetMissingZones
func (x *ListClustersResponse) GetMissingZones() []string
func (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String
func (x *ListClustersResponse) String() string
ListNodePoolsRequest
type ListNodePoolsRequest 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 parent 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
// cluster resides. This field has been deprecated and replaced by the parent
// 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 name of the cluster.
// This field has been deprecated and replaced by the parent field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// The parent (project, location, cluster name) 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
func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.
func (*ListNodePoolsRequest) GetClusterId
func (x *ListNodePoolsRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) GetParent
func (x *ListNodePoolsRequest) GetParent() string
func (*ListNodePoolsRequest) GetProjectId
func (x *ListNodePoolsRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) GetZone
func (x *ListNodePoolsRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) ProtoMessage
func (*ListNodePoolsRequest) ProtoMessage()
func (*ListNodePoolsRequest) ProtoReflect
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message
func (*ListNodePoolsRequest) Reset
func (x *ListNodePoolsRequest) Reset()
func (*ListNodePoolsRequest) String
func (x *ListNodePoolsRequest) String() string
ListNodePoolsResponse
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
func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.
func (*ListNodePoolsResponse) GetNodePools
func (x *ListNodePoolsResponse) GetNodePools() []*NodePool
func (*ListNodePoolsResponse) ProtoMessage
func (*ListNodePoolsResponse) ProtoMessage()
func (*ListNodePoolsResponse) ProtoReflect
func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message
func (*ListNodePoolsResponse) Reset
func (x *ListNodePoolsResponse) Reset()
func (*ListNodePoolsResponse) String
func (x *ListNodePoolsResponse) String() string
ListOperationsRequest
type ListOperationsRequest 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 parent 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) to return
// operations for, or `-` for all zones. This field has been deprecated and
// replaced by the parent field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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
func (*ListOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest) GetParent
func (x *ListOperationsRequest) GetParent() string
func (*ListOperationsRequest) GetProjectId
func (x *ListOperationsRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListOperationsRequest) GetZone
func (x *ListOperationsRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListOperationsRequest) ProtoMessage
func (*ListOperationsRequest) ProtoMessage()
func (*ListOperationsRequest) ProtoReflect
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListOperationsRequest) Reset
func (x *ListOperationsRequest) Reset()
func (*ListOperationsRequest) String
func (x *ListOperationsRequest) String() string
ListOperationsResponse
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
func (*ListOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListOperationsResponse) GetMissingZones
func (x *ListOperationsResponse) GetMissingZones() []string
func (*ListOperationsResponse) GetOperations
func (x *ListOperationsResponse) GetOperations() []*Operation
func (*ListOperationsResponse) ProtoMessage
func (*ListOperationsResponse) ProtoMessage()
func (*ListOperationsResponse) ProtoReflect
func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListOperationsResponse) Reset
func (x *ListOperationsResponse) Reset()
func (*ListOperationsResponse) String
func (x *ListOperationsResponse) String() string
ListUsableSubnetworksRequest
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
func (*ListUsableSubnetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableSubnetworksRequest.ProtoReflect.Descriptor instead.
func (*ListUsableSubnetworksRequest) GetFilter
func (x *ListUsableSubnetworksRequest) GetFilter() string
func (*ListUsableSubnetworksRequest) GetPageSize
func (x *ListUsableSubnetworksRequest) GetPageSize() int32
func (*ListUsableSubnetworksRequest) GetPageToken
func (x *ListUsableSubnetworksRequest) GetPageToken() string
func (*ListUsableSubnetworksRequest) GetParent
func (x *ListUsableSubnetworksRequest) GetParent() string
func (*ListUsableSubnetworksRequest) ProtoMessage
func (*ListUsableSubnetworksRequest) ProtoMessage()
func (*ListUsableSubnetworksRequest) ProtoReflect
func (x *ListUsableSubnetworksRequest) ProtoReflect() protoreflect.Message
func (*ListUsableSubnetworksRequest) Reset
func (x *ListUsableSubnetworksRequest) Reset()
func (*ListUsableSubnetworksRequest) String
func (x *ListUsableSubnetworksRequest) String() string
ListUsableSubnetworksResponse
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
func (*ListUsableSubnetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUsableSubnetworksResponse.ProtoReflect.Descriptor instead.
func (*ListUsableSubnetworksResponse) GetNextPageToken
func (x *ListUsableSubnetworksResponse) GetNextPageToken() string
func (*ListUsableSubnetworksResponse) GetSubnetworks
func (x *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetwork
func (*ListUsableSubnetworksResponse) ProtoMessage
func (*ListUsableSubnetworksResponse) ProtoMessage()
func (*ListUsableSubnetworksResponse) ProtoReflect
func (x *ListUsableSubnetworksResponse) ProtoReflect() protoreflect.Message
func (*ListUsableSubnetworksResponse) Reset
func (x *ListUsableSubnetworksResponse) Reset()
func (*ListUsableSubnetworksResponse) String
func (x *ListUsableSubnetworksResponse) String() string
LocalNvmeSsdBlockConfig
type LocalNvmeSsdBlockConfig struct {
// The number of raw-block local NVMe SSD disks to be attached to the node.
// Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe
// 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,1,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
// contains filtered or unexported fields
}
LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.
func (*LocalNvmeSsdBlockConfig) Descriptor
func (*LocalNvmeSsdBlockConfig) Descriptor() ([]byte, []int)
Deprecated: Use LocalNvmeSsdBlockConfig.ProtoReflect.Descriptor instead.
func (*LocalNvmeSsdBlockConfig) GetLocalSsdCount
func (x *LocalNvmeSsdBlockConfig) GetLocalSsdCount() int32
func (*LocalNvmeSsdBlockConfig) ProtoMessage
func (*LocalNvmeSsdBlockConfig) ProtoMessage()
func (*LocalNvmeSsdBlockConfig) ProtoReflect
func (x *LocalNvmeSsdBlockConfig) ProtoReflect() protoreflect.Message
func (*LocalNvmeSsdBlockConfig) Reset
func (x *LocalNvmeSsdBlockConfig) Reset()
func (*LocalNvmeSsdBlockConfig) String
func (x *LocalNvmeSsdBlockConfig) String() string
LoggingComponentConfig
type LoggingComponentConfig struct {
EnableComponents []LoggingComponentConfig_Component "" /* 175 byte string literal not displayed */
}
LoggingComponentConfig is cluster logging component configuration.
func (*LoggingComponentConfig) Descriptor
func (*LoggingComponentConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggingComponentConfig.ProtoReflect.Descriptor instead.
func (*LoggingComponentConfig) GetEnableComponents
func (x *LoggingComponentConfig) GetEnableComponents() []LoggingComponentConfig_Component
func (*LoggingComponentConfig) ProtoMessage
func (*LoggingComponentConfig) ProtoMessage()
func (*LoggingComponentConfig) ProtoReflect
func (x *LoggingComponentConfig) ProtoReflect() protoreflect.Message
func (*LoggingComponentConfig) Reset
func (x *LoggingComponentConfig) Reset()
func (*LoggingComponentConfig) String
func (x *LoggingComponentConfig) String() string
LoggingComponentConfig_Component
type LoggingComponentConfig_Component int32
GKE components exposing logs
LoggingComponentConfig_COMPONENT_UNSPECIFIED, LoggingComponentConfig_SYSTEM_COMPONENTS, LoggingComponentConfig_WORKLOADS, LoggingComponentConfig_APISERVER, LoggingComponentConfig_SCHEDULER, LoggingComponentConfig_CONTROLLER_MANAGER
const (
// Default value. This shouldn't be used.
LoggingComponentConfig_COMPONENT_UNSPECIFIED LoggingComponentConfig_Component = 0
// system components
LoggingComponentConfig_SYSTEM_COMPONENTS LoggingComponentConfig_Component = 1
// workloads
LoggingComponentConfig_WORKLOADS LoggingComponentConfig_Component = 2
// kube-apiserver
LoggingComponentConfig_APISERVER LoggingComponentConfig_Component = 3
// kube-scheduler
LoggingComponentConfig_SCHEDULER LoggingComponentConfig_Component = 4
// kube-controller-manager
LoggingComponentConfig_CONTROLLER_MANAGER LoggingComponentConfig_Component = 5
)
func (LoggingComponentConfig_Component) Descriptor
func (LoggingComponentConfig_Component) Descriptor() protoreflect.EnumDescriptor
func (LoggingComponentConfig_Component) Enum
func (x LoggingComponentConfig_Component) Enum() *LoggingComponentConfig_Component
func (LoggingComponentConfig_Component) EnumDescriptor
func (LoggingComponentConfig_Component) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggingComponentConfig_Component.Descriptor instead.
func (LoggingComponentConfig_Component) Number
func (x LoggingComponentConfig_Component) Number() protoreflect.EnumNumber
func (LoggingComponentConfig_Component) String
func (x LoggingComponentConfig_Component) String() string
func (LoggingComponentConfig_Component) Type
func (LoggingComponentConfig_Component) Type() protoreflect.EnumType
LoggingConfig
type LoggingConfig struct {
// Logging components configuration
ComponentConfig *LoggingComponentConfig `protobuf:"bytes,1,opt,name=component_config,json=componentConfig,proto3" json:"component_config,omitempty"`
// contains filtered or unexported fields
}
LoggingConfig is cluster logging configuration.
func (*LoggingConfig) Descriptor
func (*LoggingConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggingConfig.ProtoReflect.Descriptor instead.
func (*LoggingConfig) GetComponentConfig
func (x *LoggingConfig) GetComponentConfig() *LoggingComponentConfig
func (*LoggingConfig) ProtoMessage
func (*LoggingConfig) ProtoMessage()
func (*LoggingConfig) ProtoReflect
func (x *LoggingConfig) ProtoReflect() protoreflect.Message
func (*LoggingConfig) Reset
func (x *LoggingConfig) Reset()
func (*LoggingConfig) String
func (x *LoggingConfig) String() string
LoggingVariantConfig
type LoggingVariantConfig struct {
// Logging variant deployed on nodes.
Variant LoggingVariantConfig_Variant `protobuf:"varint,1,opt,name=variant,proto3,enum=google.container.v1.LoggingVariantConfig_Variant" json:"variant,omitempty"`
// contains filtered or unexported fields
}
LoggingVariantConfig specifies the behaviour of the logging component.
func (*LoggingVariantConfig) Descriptor
func (*LoggingVariantConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggingVariantConfig.ProtoReflect.Descriptor instead.
func (*LoggingVariantConfig) GetVariant
func (x *LoggingVariantConfig) GetVariant() LoggingVariantConfig_Variant
func (*LoggingVariantConfig) ProtoMessage
func (*LoggingVariantConfig) ProtoMessage()
func (*LoggingVariantConfig) ProtoReflect
func (x *LoggingVariantConfig) ProtoReflect() protoreflect.Message
func (*LoggingVariantConfig) Reset
func (x *LoggingVariantConfig) Reset()
func (*LoggingVariantConfig) String
func (x *LoggingVariantConfig) String() string
LoggingVariantConfig_Variant
type LoggingVariantConfig_Variant int32
Logging component variants.
LoggingVariantConfig_VARIANT_UNSPECIFIED, LoggingVariantConfig_DEFAULT, LoggingVariantConfig_MAX_THROUGHPUT
const (
// Default value. This shouldn't be used.
LoggingVariantConfig_VARIANT_UNSPECIFIED LoggingVariantConfig_Variant = 0
// default logging variant.
LoggingVariantConfig_DEFAULT LoggingVariantConfig_Variant = 1
// maximum logging throughput variant.
LoggingVariantConfig_MAX_THROUGHPUT LoggingVariantConfig_Variant = 2
)
func (LoggingVariantConfig_Variant) Descriptor
func (LoggingVariantConfig_Variant) Descriptor() protoreflect.EnumDescriptor
func (LoggingVariantConfig_Variant) Enum
func (x LoggingVariantConfig_Variant) Enum() *LoggingVariantConfig_Variant
func (LoggingVariantConfig_Variant) EnumDescriptor
func (LoggingVariantConfig_Variant) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggingVariantConfig_Variant.Descriptor instead.
func (LoggingVariantConfig_Variant) Number
func (x LoggingVariantConfig_Variant) Number() protoreflect.EnumNumber
func (LoggingVariantConfig_Variant) String
func (x LoggingVariantConfig_Variant) String() string
func (LoggingVariantConfig_Variant) Type
func (LoggingVariantConfig_Variant) Type() protoreflect.EnumType
MaintenanceExclusionOptions
type MaintenanceExclusionOptions struct {
// Scope specifies the upgrade scope which upgrades are blocked by the
// exclusion.
Scope MaintenanceExclusionOptions_Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=google.container.v1.MaintenanceExclusionOptions_Scope" json:"scope,omitempty"`
// contains filtered or unexported fields
}
Represents the Maintenance exclusion option.
func (*MaintenanceExclusionOptions) Descriptor
func (*MaintenanceExclusionOptions) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceExclusionOptions.ProtoReflect.Descriptor instead.
func (*MaintenanceExclusionOptions) GetScope
func (x *MaintenanceExclusionOptions) GetScope() MaintenanceExclusionOptions_Scope
func (*MaintenanceExclusionOptions) ProtoMessage
func (*MaintenanceExclusionOptions) ProtoMessage()
func (*MaintenanceExclusionOptions) ProtoReflect
func (x *MaintenanceExclusionOptions) ProtoReflect() protoreflect.Message
func (*MaintenanceExclusionOptions) Reset
func (x *MaintenanceExclusionOptions) Reset()
func (*MaintenanceExclusionOptions) String
func (x *MaintenanceExclusionOptions) String() string
MaintenanceExclusionOptions_Scope
type MaintenanceExclusionOptions_Scope int32
Scope of exclusion.
MaintenanceExclusionOptions_NO_UPGRADES, MaintenanceExclusionOptions_NO_MINOR_UPGRADES, MaintenanceExclusionOptions_NO_MINOR_OR_NODE_UPGRADES
const (
// NO_UPGRADES excludes all upgrades, including patch upgrades and minor
// upgrades across control planes and nodes. This is the default exclusion
// behavior.
MaintenanceExclusionOptions_NO_UPGRADES MaintenanceExclusionOptions_Scope = 0
// NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only
// patches are allowed.
MaintenanceExclusionOptions_NO_MINOR_UPGRADES MaintenanceExclusionOptions_Scope = 1
// NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster,
// and also exclude all node pool upgrades. Only control
// plane patches are allowed.
MaintenanceExclusionOptions_NO_MINOR_OR_NODE_UPGRADES MaintenanceExclusionOptions_Scope = 2
)
func (MaintenanceExclusionOptions_Scope) Descriptor
func (MaintenanceExclusionOptions_Scope) Descriptor() protoreflect.EnumDescriptor
func (MaintenanceExclusionOptions_Scope) Enum
func (x MaintenanceExclusionOptions_Scope) Enum() *MaintenanceExclusionOptions_Scope
func (MaintenanceExclusionOptions_Scope) EnumDescriptor
func (MaintenanceExclusionOptions_Scope) EnumDescriptor() ([]byte, []int)
Deprecated: Use MaintenanceExclusionOptions_Scope.Descriptor instead.
func (MaintenanceExclusionOptions_Scope) Number
func (x MaintenanceExclusionOptions_Scope) Number() protoreflect.EnumNumber
func (MaintenanceExclusionOptions_Scope) String
func (x MaintenanceExclusionOptions_Scope) String() string
func (MaintenanceExclusionOptions_Scope) Type
func (MaintenanceExclusionOptions_Scope) Type() protoreflect.EnumType
MaintenancePolicy
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
func (*MaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.
func (*MaintenancePolicy) GetResourceVersion
func (x *MaintenancePolicy) GetResourceVersion() string
func (*MaintenancePolicy) GetWindow
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow
func (*MaintenancePolicy) ProtoMessage
func (*MaintenancePolicy) ProtoMessage()
func (*MaintenancePolicy) ProtoReflect
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message
func (*MaintenancePolicy) Reset
func (x *MaintenancePolicy) Reset()
func (*MaintenancePolicy) String
func (x *MaintenancePolicy) String() string
MaintenanceWindow
type MaintenanceWindow struct {
Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
MaintenanceExclusions map[string]*TimeWindow "" /* 212 byte string literal not displayed */
}
MaintenanceWindow defines the maintenance window to be used for the cluster.
func (*MaintenanceWindow) Descriptor
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetDailyMaintenanceWindow
func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow
func (*MaintenanceWindow) GetMaintenanceExclusions
func (x *MaintenanceWindow) GetMaintenanceExclusions() map[string]*TimeWindow
func (*MaintenanceWindow) GetPolicy
func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
func (*MaintenanceWindow) GetRecurringWindow
func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindow
func (*MaintenanceWindow) ProtoMessage
func (*MaintenanceWindow) ProtoMessage()
func (*MaintenanceWindow) ProtoReflect
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (*MaintenanceWindow) Reset
func (x *MaintenanceWindow) Reset()
func (*MaintenanceWindow) String
func (x *MaintenanceWindow) String() string
MaintenanceWindow_DailyMaintenanceWindow
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"`
}
MaintenanceWindow_RecurringWindow
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"`
}
ManagedPrometheusConfig
type ManagedPrometheusConfig struct {
// Enable Managed Collection.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.
func (*ManagedPrometheusConfig) Descriptor
func (*ManagedPrometheusConfig) Descriptor() ([]byte, []int)
Deprecated: Use ManagedPrometheusConfig.ProtoReflect.Descriptor instead.
func (*ManagedPrometheusConfig) GetEnabled
func (x *ManagedPrometheusConfig) GetEnabled() bool
func (*ManagedPrometheusConfig) ProtoMessage
func (*ManagedPrometheusConfig) ProtoMessage()
func (*ManagedPrometheusConfig) ProtoReflect
func (x *ManagedPrometheusConfig) ProtoReflect() protoreflect.Message
func (*ManagedPrometheusConfig) Reset
func (x *ManagedPrometheusConfig) Reset()
func (*ManagedPrometheusConfig) String
func (x *ManagedPrometheusConfig) String() string
MasterAuth
type MasterAuth struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
ClientCertificateConfig *ClientCertificateConfig "" /* 132 byte string literal not displayed */
ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
}
The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
func (*MasterAuth) Descriptor
func (*MasterAuth) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuth.ProtoReflect.Descriptor instead.
func (*MasterAuth) GetClientCertificate
func (x *MasterAuth) GetClientCertificate() string
func (*MasterAuth) GetClientCertificateConfig
func (x *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig
func (*MasterAuth) GetClientKey
func (x *MasterAuth) GetClientKey() string
func (*MasterAuth) GetClusterCaCertificate
func (x *MasterAuth) GetClusterCaCertificate() string
func (*MasterAuth) GetPassword
func (x *MasterAuth) GetPassword() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*MasterAuth) GetUsername
func (x *MasterAuth) GetUsername() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*MasterAuth) ProtoMessage
func (*MasterAuth) ProtoMessage()
func (*MasterAuth) ProtoReflect
func (x *MasterAuth) ProtoReflect() protoreflect.Message
func (*MasterAuth) Reset
func (x *MasterAuth) Reset()
func (*MasterAuth) String
func (x *MasterAuth) String() string
MasterAuthorizedNetworksConfig
type MasterAuthorizedNetworksConfig struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"`
GcpPublicCidrsAccessEnabled *bool "" /* 155 byte string literal not displayed */
}
Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
func (*MasterAuthorizedNetworksConfig) Descriptor
func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuthorizedNetworksConfig.ProtoReflect.Descriptor instead.
func (*MasterAuthorizedNetworksConfig) GetCidrBlocks
func (x *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlock
func (*MasterAuthorizedNetworksConfig) GetEnabled
func (x *MasterAuthorizedNetworksConfig) GetEnabled() bool
func (*MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled
func (x *MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled() bool
func (*MasterAuthorizedNetworksConfig) ProtoMessage
func (*MasterAuthorizedNetworksConfig) ProtoMessage()
func (*MasterAuthorizedNetworksConfig) ProtoReflect
func (x *MasterAuthorizedNetworksConfig) ProtoReflect() protoreflect.Message
func (*MasterAuthorizedNetworksConfig) Reset
func (x *MasterAuthorizedNetworksConfig) Reset()
func (*MasterAuthorizedNetworksConfig) String
func (x *MasterAuthorizedNetworksConfig) String() string
MasterAuthorizedNetworksConfig_CidrBlock
type MasterAuthorizedNetworksConfig_CidrBlock struct {
// display_name is an optional field for users to identify CIDR blocks.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,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
func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int)
Deprecated: Use MasterAuthorizedNetworksConfig_CidrBlock.ProtoReflect.Descriptor instead.
func (*MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock
func (x *MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock() string
func (*MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName
func (x *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() string
func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage
func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage()
func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect
func (x *MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect() protoreflect.Message
func (*MasterAuthorizedNetworksConfig_CidrBlock) Reset
func (x *MasterAuthorizedNetworksConfig_CidrBlock) Reset()
func (*MasterAuthorizedNetworksConfig_CidrBlock) String
func (x *MasterAuthorizedNetworksConfig_CidrBlock) String() string
MaxPodsConstraint
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
func (*MaxPodsConstraint) Descriptor() ([]byte, []int)
Deprecated: Use MaxPodsConstraint.ProtoReflect.Descriptor instead.
func (*MaxPodsConstraint) GetMaxPodsPerNode
func (x *MaxPodsConstraint) GetMaxPodsPerNode() int64
func (*MaxPodsConstraint) ProtoMessage
func (*MaxPodsConstraint) ProtoMessage()
func (*MaxPodsConstraint) ProtoReflect
func (x *MaxPodsConstraint) ProtoReflect() protoreflect.Message
func (*MaxPodsConstraint) Reset
func (x *MaxPodsConstraint) Reset()
func (*MaxPodsConstraint) String
func (x *MaxPodsConstraint) String() string
MeshCertificates
type MeshCertificates struct {
// enable_certificates controls issuance of workload mTLS certificates.
//
// If set, the GKE Workload Identity Certificates controller and node agent
// will be deployed in the cluster, which can then be configured by creating a
// WorkloadCertificateConfig Custom Resource.
//
// Requires Workload Identity
// ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
// must be non-empty).
EnableCertificates *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable_certificates,json=enableCertificates,proto3" json:"enable_certificates,omitempty"`
// contains filtered or unexported fields
}
Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
func (*MeshCertificates) Descriptor
func (*MeshCertificates) Descriptor() ([]byte, []int)
Deprecated: Use MeshCertificates.ProtoReflect.Descriptor instead.
func (*MeshCertificates) GetEnableCertificates
func (x *MeshCertificates) GetEnableCertificates() *wrapperspb.BoolValue
func (*MeshCertificates) ProtoMessage
func (*MeshCertificates) ProtoMessage()
func (*MeshCertificates) ProtoReflect
func (x *MeshCertificates) ProtoReflect() protoreflect.Message
func (*MeshCertificates) Reset
func (x *MeshCertificates) Reset()
func (*MeshCertificates) String
func (x *MeshCertificates) String() string
MonitoringComponentConfig
type MonitoringComponentConfig struct {
EnableComponents []MonitoringComponentConfig_Component "" /* 178 byte string literal not displayed */
}
MonitoringComponentConfig is cluster monitoring component configuration.
func (*MonitoringComponentConfig) Descriptor
func (*MonitoringComponentConfig) Descriptor() ([]byte, []int)
Deprecated: Use MonitoringComponentConfig.ProtoReflect.Descriptor instead.
func (*MonitoringComponentConfig) GetEnableComponents
func (x *MonitoringComponentConfig) GetEnableComponents() []MonitoringComponentConfig_Component
func (*MonitoringComponentConfig) ProtoMessage
func (*MonitoringComponentConfig) ProtoMessage()
func (*MonitoringComponentConfig) ProtoReflect
func (x *MonitoringComponentConfig) ProtoReflect() protoreflect.Message
func (*MonitoringComponentConfig) Reset
func (x *MonitoringComponentConfig) Reset()
func (*MonitoringComponentConfig) String
func (x *MonitoringComponentConfig) String() string
MonitoringComponentConfig_Component
type MonitoringComponentConfig_Component int32
GKE components exposing metrics
MonitoringComponentConfig_COMPONENT_UNSPECIFIED, MonitoringComponentConfig_SYSTEM_COMPONENTS, MonitoringComponentConfig_APISERVER, MonitoringComponentConfig_SCHEDULER, MonitoringComponentConfig_CONTROLLER_MANAGER
const (
// Default value. This shouldn't be used.
MonitoringComponentConfig_COMPONENT_UNSPECIFIED MonitoringComponentConfig_Component = 0
// system components
MonitoringComponentConfig_SYSTEM_COMPONENTS MonitoringComponentConfig_Component = 1
// kube-apiserver
MonitoringComponentConfig_APISERVER MonitoringComponentConfig_Component = 3
// kube-scheduler
MonitoringComponentConfig_SCHEDULER MonitoringComponentConfig_Component = 4
// kube-controller-manager
MonitoringComponentConfig_CONTROLLER_MANAGER MonitoringComponentConfig_Component = 5
)
func (MonitoringComponentConfig_Component) Descriptor
func (MonitoringComponentConfig_Component) Descriptor() protoreflect.EnumDescriptor
func (MonitoringComponentConfig_Component) Enum
func (x MonitoringComponentConfig_Component) Enum() *MonitoringComponentConfig_Component
func (MonitoringComponentConfig_Component) EnumDescriptor
func (MonitoringComponentConfig_Component) EnumDescriptor() ([]byte, []int)
Deprecated: Use MonitoringComponentConfig_Component.Descriptor instead.
func (MonitoringComponentConfig_Component) Number
func (x MonitoringComponentConfig_Component) Number() protoreflect.EnumNumber
func (MonitoringComponentConfig_Component) String
func (x MonitoringComponentConfig_Component) String() string
func (MonitoringComponentConfig_Component) Type
func (MonitoringComponentConfig_Component) Type() protoreflect.EnumType
MonitoringConfig
type MonitoringConfig struct {
ComponentConfig *MonitoringComponentConfig `protobuf:"bytes,1,opt,name=component_config,json=componentConfig,proto3" json:"component_config,omitempty"`
ManagedPrometheusConfig *ManagedPrometheusConfig "" /* 132 byte string literal not displayed */
}
MonitoringConfig is cluster monitoring configuration.
func (*MonitoringConfig) Descriptor
func (*MonitoringConfig) Descriptor() ([]byte, []int)
Deprecated: Use MonitoringConfig.ProtoReflect.Descriptor instead.
func (*MonitoringConfig) GetComponentConfig
func (x *MonitoringConfig) GetComponentConfig() *MonitoringComponentConfig
func (*MonitoringConfig) GetManagedPrometheusConfig
func (x *MonitoringConfig) GetManagedPrometheusConfig() *ManagedPrometheusConfig
func (*MonitoringConfig) ProtoMessage
func (*MonitoringConfig) ProtoMessage()
func (*MonitoringConfig) ProtoReflect
func (x *MonitoringConfig) ProtoReflect() protoreflect.Message
func (*MonitoringConfig) Reset
func (x *MonitoringConfig) Reset()
func (*MonitoringConfig) String
func (x *MonitoringConfig) String() string
NetworkConfig
type NetworkConfig struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
EnableIntraNodeVisibility bool "" /* 141 byte string literal not displayed */
DefaultSnatStatus *DefaultSnatStatus `protobuf:"bytes,7,opt,name=default_snat_status,json=defaultSnatStatus,proto3" json:"default_snat_status,omitempty"`
EnableL4IlbSubsetting bool "" /* 128 byte string literal not displayed */
DatapathProvider DatapathProvider "" /* 153 byte string literal not displayed */
PrivateIpv6GoogleAccess PrivateIPv6GoogleAccess "" /* 185 byte string literal not displayed */
DnsConfig *DNSConfig `protobuf:"bytes,13,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
ServiceExternalIpsConfig *ServiceExternalIPsConfig "" /* 138 byte string literal not displayed */
GatewayApiConfig *GatewayAPIConfig `protobuf:"bytes,16,opt,name=gateway_api_config,json=gatewayApiConfig,proto3" json:"gateway_api_config,omitempty"`
}
NetworkConfig reports the relative names of network & subnetwork.
func (*NetworkConfig) Descriptor
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetDatapathProvider
func (x *NetworkConfig) GetDatapathProvider() DatapathProvider
func (*NetworkConfig) GetDefaultSnatStatus
func (x *NetworkConfig) GetDefaultSnatStatus() *DefaultSnatStatus
func (*NetworkConfig) GetDnsConfig
func (x *NetworkConfig) GetDnsConfig() *DNSConfig
func (*NetworkConfig) GetEnableIntraNodeVisibility
func (x *NetworkConfig) GetEnableIntraNodeVisibility() bool
func (*NetworkConfig) GetEnableL4IlbSubsetting
func (x *NetworkConfig) GetEnableL4IlbSubsetting() bool
func (*NetworkConfig) GetGatewayApiConfig
func (x *NetworkConfig) GetGatewayApiConfig() *GatewayAPIConfig
func (*NetworkConfig) GetNetwork
func (x *NetworkConfig) GetNetwork() string
func (*NetworkConfig) GetPrivateIpv6GoogleAccess
func (x *NetworkConfig) GetPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccess
func (*NetworkConfig) GetServiceExternalIpsConfig
func (x *NetworkConfig) GetServiceExternalIpsConfig() *ServiceExternalIPsConfig
func (*NetworkConfig) GetSubnetwork
func (x *NetworkConfig) GetSubnetwork() string
func (*NetworkConfig) ProtoMessage
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String
func (x *NetworkConfig) String() string
NetworkPolicy
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
func (*NetworkPolicy) Descriptor() ([]byte, []int)
Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead.
func (*NetworkPolicy) GetEnabled
func (x *NetworkPolicy) GetEnabled() bool
func (*NetworkPolicy) GetProvider
func (x *NetworkPolicy) GetProvider() NetworkPolicy_Provider
func (*NetworkPolicy) ProtoMessage
func (*NetworkPolicy) ProtoMessage()
func (*NetworkPolicy) ProtoReflect
func (x *NetworkPolicy) ProtoReflect() protoreflect.Message
func (*NetworkPolicy) Reset
func (x *NetworkPolicy) Reset()
func (*NetworkPolicy) String
func (x *NetworkPolicy) String() string
NetworkPolicyConfig
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
func (*NetworkPolicyConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkPolicyConfig.ProtoReflect.Descriptor instead.
func (*NetworkPolicyConfig) GetDisabled
func (x *NetworkPolicyConfig) GetDisabled() bool
func (*NetworkPolicyConfig) ProtoMessage
func (*NetworkPolicyConfig) ProtoMessage()
func (*NetworkPolicyConfig) ProtoReflect
func (x *NetworkPolicyConfig) ProtoReflect() protoreflect.Message
func (*NetworkPolicyConfig) Reset
func (x *NetworkPolicyConfig) Reset()
func (*NetworkPolicyConfig) String
func (x *NetworkPolicyConfig) String() string
NetworkPolicy_Provider
type NetworkPolicy_Provider int32
Allowed Network Policy providers.
NetworkPolicy_PROVIDER_UNSPECIFIED, NetworkPolicy_CALICO
const (
// Not set
NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0
// Tigera (Calico Felix).
NetworkPolicy_CALICO NetworkPolicy_Provider = 1
)
func (NetworkPolicy_Provider) Descriptor
func (NetworkPolicy_Provider) Descriptor() protoreflect.EnumDescriptor
func (NetworkPolicy_Provider) Enum
func (x NetworkPolicy_Provider) Enum() *NetworkPolicy_Provider
func (NetworkPolicy_Provider) EnumDescriptor
func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkPolicy_Provider.Descriptor instead.
func (NetworkPolicy_Provider) Number
func (x NetworkPolicy_Provider) Number() protoreflect.EnumNumber
func (NetworkPolicy_Provider) String
func (x NetworkPolicy_Provider) String() string
func (NetworkPolicy_Provider) Type
func (NetworkPolicy_Provider) Type() protoreflect.EnumType
NetworkTags
type NetworkTags struct {
// List of network tags.
Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
// contains filtered or unexported fields
}
Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.
func (*NetworkTags) Descriptor
func (*NetworkTags) Descriptor() ([]byte, []int)
Deprecated: Use NetworkTags.ProtoReflect.Descriptor instead.
func (*NetworkTags) GetTags
func (x *NetworkTags) GetTags() []string
func (*NetworkTags) ProtoMessage
func (*NetworkTags) ProtoMessage()
func (*NetworkTags) ProtoReflect
func (x *NetworkTags) ProtoReflect() protoreflect.Message
func (*NetworkTags) Reset
func (x *NetworkTags) Reset()
func (*NetworkTags) String
func (x *NetworkTags) String() string
NodeConfig
type NodeConfig struct {
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
Metadata map[string]string "" /* 157 byte string literal not displayed */
ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
Labels map[string]string "" /* 153 byte string literal not displayed */
LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
DiskType string `protobuf:"bytes,12,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
WorkloadMetadataConfig *WorkloadMetadataConfig "" /* 130 byte string literal not displayed */
Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"`
SandboxConfig *SandboxConfig `protobuf:"bytes,17,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"`
NodeGroup string `protobuf:"bytes,18,opt,name=node_group,json=nodeGroup,proto3" json:"node_group,omitempty"`
ReservationAffinity *ReservationAffinity `protobuf:"bytes,19,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"`
ShieldedInstanceConfig *ShieldedInstanceConfig "" /* 130 byte string literal not displayed */
LinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,21,opt,name=linux_node_config,json=linuxNodeConfig,proto3" json:"linux_node_config,omitempty"`
KubeletConfig *NodeKubeletConfig `protobuf:"bytes,22,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
BootDiskKmsKey string `protobuf:"bytes,23,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"`
GcfsConfig *GcfsConfig `protobuf:"bytes,25,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
AdvancedMachineFeatures *AdvancedMachineFeatures "" /* 133 byte string literal not displayed */
Gvnic *VirtualNIC `protobuf:"bytes,29,opt,name=gvnic,proto3" json:"gvnic,omitempty"`
Spot bool `protobuf:"varint,32,opt,name=spot,proto3" json:"spot,omitempty"`
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,35,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
FastSocket *FastSocket `protobuf:"bytes,36,opt,name=fast_socket,json=fastSocket,proto3,oneof" json:"fast_socket,omitempty"`
ResourceLabels map[string]string "" /* 192 byte string literal not displayed */
LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,38,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
WindowsNodeConfig *WindowsNodeConfig `protobuf:"bytes,39,opt,name=windows_node_config,json=windowsNodeConfig,proto3" json:"windows_node_config,omitempty"`
LocalNvmeSsdBlockConfig *LocalNvmeSsdBlockConfig "" /* 137 byte string literal not displayed */
EphemeralStorageLocalSsdConfig *EphemeralStorageLocalSsdConfig "" /* 158 byte string literal not displayed */
}
Parameters that describe the nodes in a cluster.
GKE Autopilot clusters do not
recognize parameters in NodeConfig
. Use
[AutoprovisioningNodePoolDefaults][google.container.v1.AutoprovisioningNodePoolDefaults]
instead.
func (*NodeConfig) Descriptor
func (*NodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.
func (*NodeConfig) GetAccelerators
func (x *NodeConfig) GetAccelerators() []*AcceleratorConfig
func (*NodeConfig) GetAdvancedMachineFeatures
func (x *NodeConfig) GetAdvancedMachineFeatures() *AdvancedMachineFeatures
func (*NodeConfig) GetBootDiskKmsKey
func (x *NodeConfig) GetBootDiskKmsKey() string
func (*NodeConfig) GetConfidentialNodes
func (x *NodeConfig) GetConfidentialNodes() *ConfidentialNodes
func (*NodeConfig) GetDiskSizeGb
func (x *NodeConfig) GetDiskSizeGb() int32
func (*NodeConfig) GetDiskType
func (x *NodeConfig) GetDiskType() string
func (*NodeConfig) GetEphemeralStorageLocalSsdConfig
func (x *NodeConfig) GetEphemeralStorageLocalSsdConfig() *EphemeralStorageLocalSsdConfig
func (*NodeConfig) GetFastSocket
func (x *NodeConfig) GetFastSocket() *FastSocket
func (*NodeConfig) GetGcfsConfig
func (x *NodeConfig) GetGcfsConfig() *GcfsConfig
func (*NodeConfig) GetGvnic
func (x *NodeConfig) GetGvnic() *VirtualNIC
func (*NodeConfig) GetImageType
func (x *NodeConfig) GetImageType() string
func (*NodeConfig) GetKubeletConfig
func (x *NodeConfig) GetKubeletConfig() *NodeKubeletConfig
func (*NodeConfig) GetLabels
func (x *NodeConfig) GetLabels() map[string]string
func (*NodeConfig) GetLinuxNodeConfig
func (x *NodeConfig) GetLinuxNodeConfig() *LinuxNodeConfig
func (*NodeConfig) GetLocalNvmeSsdBlockConfig
func (x *NodeConfig) GetLocalNvmeSsdBlockConfig() *LocalNvmeSsdBlockConfig
func (*NodeConfig) GetLocalSsdCount
func (x *NodeConfig) GetLocalSsdCount() int32
func (*NodeConfig) GetLoggingConfig
func (x *NodeConfig) GetLoggingConfig() *NodePoolLoggingConfig
func (*NodeConfig) GetMachineType
func (x *NodeConfig) GetMachineType() string
func (*NodeConfig) GetMetadata
func (x *NodeConfig) GetMetadata() map[string]string
func (*NodeConfig) GetMinCpuPlatform
func (x *NodeConfig) GetMinCpuPlatform() string
func (*NodeConfig) GetNodeGroup
func (x *NodeConfig) GetNodeGroup() string
func (*NodeConfig) GetOauthScopes
func (x *NodeConfig) GetOauthScopes() []string
func (*NodeConfig) GetPreemptible
func (x *NodeConfig) GetPreemptible() bool
func (*NodeConfig) GetReservationAffinity
func (x *NodeConfig) GetReservationAffinity() *ReservationAffinity
func (*NodeConfig) GetResourceLabels
func (x *NodeConfig) GetResourceLabels() map[string]string
func (*NodeConfig) GetSandboxConfig
func (x *NodeConfig) GetSandboxConfig() *SandboxConfig
func (*NodeConfig) GetServiceAccount
func (x *NodeConfig) GetServiceAccount() string
func (*NodeConfig) GetShieldedInstanceConfig
func (x *NodeConfig) GetShieldedInstanceConfig() *ShieldedInstanceConfig
func (*NodeConfig) GetSpot
func (x *NodeConfig) GetSpot() bool
func (*NodeConfig) GetTags
func (x *NodeConfig) GetTags() []string
func (*NodeConfig) GetTaints
func (x *NodeConfig) GetTaints() []*NodeTaint
func (*NodeConfig) GetWindowsNodeConfig
func (x *NodeConfig) GetWindowsNodeConfig() *WindowsNodeConfig
func (*NodeConfig) GetWorkloadMetadataConfig
func (x *NodeConfig) GetWorkloadMetadataConfig() *WorkloadMetadataConfig
func (*NodeConfig) ProtoMessage
func (*NodeConfig) ProtoMessage()
func (*NodeConfig) ProtoReflect
func (x *NodeConfig) ProtoReflect() protoreflect.Message
func (*NodeConfig) Reset
func (x *NodeConfig) Reset()
func (*NodeConfig) String
func (x *NodeConfig) String() string
NodeConfigDefaults
type NodeConfigDefaults struct {
// GCFS (Google Container File System, also known as Riptide) options.
GcfsConfig *GcfsConfig `protobuf:"bytes,1,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
// Logging configuration for node pools.
LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,3,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
// contains filtered or unexported fields
}
Subset of NodeConfig message that has defaults.
func (*NodeConfigDefaults) Descriptor
func (*NodeConfigDefaults) Descriptor() ([]byte, []int)
Deprecated: Use NodeConfigDefaults.ProtoReflect.Descriptor instead.
func (*NodeConfigDefaults) GetGcfsConfig
func (x *NodeConfigDefaults) GetGcfsConfig() *GcfsConfig
func (*NodeConfigDefaults) GetLoggingConfig
func (x *NodeConfigDefaults) GetLoggingConfig() *NodePoolLoggingConfig
func (*NodeConfigDefaults) ProtoMessage
func (*NodeConfigDefaults) ProtoMessage()
func (*NodeConfigDefaults) ProtoReflect
func (x *NodeConfigDefaults) ProtoReflect() protoreflect.Message
func (*NodeConfigDefaults) Reset
func (x *NodeConfigDefaults) Reset()
func (*NodeConfigDefaults) String
func (x *NodeConfigDefaults) String() string
NodeKubeletConfig
type NodeKubeletConfig struct {
// Control the CPU management policy on the node.
// See
// https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
//
// The following values are allowed.
// * "none": the default, which represents the existing scheduling behavior.
// * "static": allows pods with certain resource characteristics to be granted
// increased CPU affinity and exclusivity on the node.
// The default value is 'none' if unspecified.
CpuManagerPolicy string `protobuf:"bytes,1,opt,name=cpu_manager_policy,json=cpuManagerPolicy,proto3" json:"cpu_manager_policy,omitempty"`
// Enable CPU CFS quota enforcement for containers that specify CPU limits.
//
// This option is enabled by default which makes kubelet use CFS quota
// (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
// enforce container CPU limits. Otherwise, CPU limits will not be enforced at
// all.
//
// Disable this option to mitigate CPU throttling problems while still having
// your pods to be in Guaranteed QoS class by specifying the CPU limits.
//
// The default value is 'true' if unspecified.
CpuCfsQuota *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=cpu_cfs_quota,json=cpuCfsQuota,proto3" json:"cpu_cfs_quota,omitempty"`
// Set the CPU CFS quota period value 'cpu.cfs_period_us'.
//
// The string must be a sequence of decimal numbers, each with optional
// fraction and a unit suffix, such as "300ms".
// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
// The value must be a positive duration.
CpuCfsQuotaPeriod string `protobuf:"bytes,3,opt,name=cpu_cfs_quota_period,json=cpuCfsQuotaPeriod,proto3" json:"cpu_cfs_quota_period,omitempty"`
// Set the Pod PID limits. See
// https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
//
// Controls the maximum number of processes allowed to run in a pod. The value
// must be greater than or equal to 1024 and less than 4194304.
PodPidsLimit int64 `protobuf:"varint,4,opt,name=pod_pids_limit,json=podPidsLimit,proto3" json:"pod_pids_limit,omitempty"`
// contains filtered or unexported fields
}
Node kubelet configs.
func (*NodeKubeletConfig) Descriptor
func (*NodeKubeletConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeKubeletConfig.ProtoReflect.Descriptor instead.
func (*NodeKubeletConfig) GetCpuCfsQuota
func (x *NodeKubeletConfig) GetCpuCfsQuota() *wrapperspb.BoolValue
func (*NodeKubeletConfig) GetCpuCfsQuotaPeriod
func (x *NodeKubeletConfig) GetCpuCfsQuotaPeriod() string
func (*NodeKubeletConfig) GetCpuManagerPolicy
func (x *NodeKubeletConfig) GetCpuManagerPolicy() string
func (*NodeKubeletConfig) GetPodPidsLimit
func (x *NodeKubeletConfig) GetPodPidsLimit() int64
func (*NodeKubeletConfig) ProtoMessage
func (*NodeKubeletConfig) ProtoMessage()
func (*NodeKubeletConfig) ProtoReflect
func (x *NodeKubeletConfig) ProtoReflect() protoreflect.Message
func (*NodeKubeletConfig) Reset
func (x *NodeKubeletConfig) Reset()
func (*NodeKubeletConfig) String
func (x *NodeKubeletConfig) String() string
NodeLabels
Collection of node-level Kubernetes labels.
func (*NodeLabels) Descriptor
func (*NodeLabels) Descriptor() ([]byte, []int)
Deprecated: Use NodeLabels.ProtoReflect.Descriptor instead.
func (*NodeLabels) GetLabels
func (x *NodeLabels) GetLabels() map[string]string
func (*NodeLabels) ProtoMessage
func (*NodeLabels) ProtoMessage()
func (*NodeLabels) ProtoReflect
func (x *NodeLabels) ProtoReflect() protoreflect.Message
func (*NodeLabels) Reset
func (x *NodeLabels) Reset()
func (*NodeLabels) String
func (x *NodeLabels) String() string
NodeManagement
type NodeManagement struct {
// A flag that specifies whether node auto-upgrade is enabled for the node
// pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
// up to date with the latest release version of Kubernetes.
AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,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
func (*NodeManagement) Descriptor() ([]byte, []int)
Deprecated: Use NodeManagement.ProtoReflect.Descriptor instead.
func (*NodeManagement) GetAutoRepair
func (x *NodeManagement) GetAutoRepair() bool
func (*NodeManagement) GetAutoUpgrade
func (x *NodeManagement) GetAutoUpgrade() bool
func (*NodeManagement) GetUpgradeOptions
func (x *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions
func (*NodeManagement) ProtoMessage
func (*NodeManagement) ProtoMessage()
func (*NodeManagement) ProtoReflect
func (x *NodeManagement) ProtoReflect() protoreflect.Message
func (*NodeManagement) Reset
func (x *NodeManagement) Reset()
func (*NodeManagement) String
func (x *NodeManagement) String() string
NodeNetworkConfig
type NodeNetworkConfig struct {
CreatePodRange bool `protobuf:"varint,4,opt,name=create_pod_range,json=createPodRange,proto3" json:"create_pod_range,omitempty"`
PodRange string `protobuf:"bytes,5,opt,name=pod_range,json=podRange,proto3" json:"pod_range,omitempty"`
PodIpv4CidrBlock string `protobuf:"bytes,6,opt,name=pod_ipv4_cidr_block,json=podIpv4CidrBlock,proto3" json:"pod_ipv4_cidr_block,omitempty"`
EnablePrivateNodes *bool `protobuf:"varint,9,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3,oneof" json:"enable_private_nodes,omitempty"`
NetworkPerformanceConfig *NodeNetworkConfig_NetworkPerformanceConfig "" /* 142 byte string literal not displayed */
PodCidrOverprovisionConfig *PodCIDROverprovisionConfig "" /* 144 byte string literal not displayed */
}
Parameters for node pool-level network config.
func (*NodeNetworkConfig) Descriptor
func (*NodeNetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeNetworkConfig.ProtoReflect.Descriptor instead.
func (*NodeNetworkConfig) GetCreatePodRange
func (x *NodeNetworkConfig) GetCreatePodRange() bool
func (*NodeNetworkConfig) GetEnablePrivateNodes
func (x *NodeNetworkConfig) GetEnablePrivateNodes() bool
func (*NodeNetworkConfig) GetNetworkPerformanceConfig
func (x *NodeNetworkConfig) GetNetworkPerformanceConfig() *NodeNetworkConfig_NetworkPerformanceConfig
func (*NodeNetworkConfig) GetPodCidrOverprovisionConfig
func (x *NodeNetworkConfig) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfig
func (*NodeNetworkConfig) GetPodIpv4CidrBlock
func (x *NodeNetworkConfig) GetPodIpv4CidrBlock() string
func (*NodeNetworkConfig) GetPodRange
func (x *NodeNetworkConfig) GetPodRange() string
func (*NodeNetworkConfig) ProtoMessage
func (*NodeNetworkConfig) ProtoMessage()
func (*NodeNetworkConfig) ProtoReflect
func (x *NodeNetworkConfig) ProtoReflect() protoreflect.Message
func (*NodeNetworkConfig) Reset
func (x *NodeNetworkConfig) Reset()
func (*NodeNetworkConfig) String
func (x *NodeNetworkConfig) String() string
NodeNetworkConfig_NetworkPerformanceConfig
type NodeNetworkConfig_NetworkPerformanceConfig struct {
TotalEgressBandwidthTier *NodeNetworkConfig_NetworkPerformanceConfig_Tier "" /* 217 byte string literal not displayed */
}
Configuration of all network bandwidth tiers
func (*NodeNetworkConfig_NetworkPerformanceConfig) Descriptor
func (*NodeNetworkConfig_NetworkPerformanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodeNetworkConfig_NetworkPerformanceConfig.ProtoReflect.Descriptor instead.
func (*NodeNetworkConfig_NetworkPerformanceConfig) GetTotalEgressBandwidthTier
func (x *NodeNetworkConfig_NetworkPerformanceConfig) GetTotalEgressBandwidthTier() NodeNetworkConfig_NetworkPerformanceConfig_Tier
func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoMessage
func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoMessage()
func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoReflect
func (x *NodeNetworkConfig_NetworkPerformanceConfig) ProtoReflect() protoreflect.Message
func (*NodeNetworkConfig_NetworkPerformanceConfig) Reset
func (x *NodeNetworkConfig_NetworkPerformanceConfig) Reset()
func (*NodeNetworkConfig_NetworkPerformanceConfig) String
func (x *NodeNetworkConfig_NetworkPerformanceConfig) String() string
NodeNetworkConfig_NetworkPerformanceConfig_Tier
type NodeNetworkConfig_NetworkPerformanceConfig_Tier int32
Node network tier
NodeNetworkConfig_NetworkPerformanceConfig_TIER_UNSPECIFIED, NodeNetworkConfig_NetworkPerformanceConfig_TIER_1
const (
// Default value
NodeNetworkConfig_NetworkPerformanceConfig_TIER_UNSPECIFIED NodeNetworkConfig_NetworkPerformanceConfig_Tier = 0
// Higher bandwidth, actual values based on VM size.
NodeNetworkConfig_NetworkPerformanceConfig_TIER_1 NodeNetworkConfig_NetworkPerformanceConfig_Tier = 1
)
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Descriptor
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Descriptor() protoreflect.EnumDescriptor
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Enum
func (x NodeNetworkConfig_NetworkPerformanceConfig_Tier) Enum() *NodeNetworkConfig_NetworkPerformanceConfig_Tier
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) EnumDescriptor
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeNetworkConfig_NetworkPerformanceConfig_Tier.Descriptor instead.
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Number
func (x NodeNetworkConfig_NetworkPerformanceConfig_Tier) Number() protoreflect.EnumNumber
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) String
func (x NodeNetworkConfig_NetworkPerformanceConfig_Tier) String() string
func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Type
NodePool
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"`
// Networking configuration for this NodePool. If specified, it overrides the
// cluster-level defaults.
NetworkConfig *NodeNetworkConfig `protobuf:"bytes,14,opt,name=network_config,json=networkConfig,proto3" json:"network_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"`
// The version of Kubernetes running on this NodePool's nodes. If unspecified,
// it defaults as described
// [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
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.
// During the node pool blue-green upgrade operation, the URLs contain both
// blue and green resources.
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: Marked as deprecated in google/container/v1/cluster_service.proto.
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"`
// Specifies the node placement policy.
PlacementPolicy *NodePool_PlacementPolicy `protobuf:"bytes,108,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"`
// Output only. [Output only] Update info contains relevant information during
// a node pool update.
UpdateInfo *NodePool_UpdateInfo `protobuf:"bytes,109,opt,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"`
// This checksum is computed by the server based on the value of node pool
// fields, and may be sent on update requests to ensure the client has an
// up-to-date value before proceeding.
Etag string `protobuf:"bytes,110,opt,name=etag,proto3" json:"etag,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.
func (*NodePool) Descriptor
Deprecated: Use NodePool.ProtoReflect.Descriptor instead.
func (*NodePool) GetAutoscaling
func (x *NodePool) GetAutoscaling() *NodePoolAutoscaling
func (*NodePool) GetConditions
func (x *NodePool) GetConditions() []*StatusCondition
func (*NodePool) GetConfig
func (x *NodePool) GetConfig() *NodeConfig
func (*NodePool) GetEtag
func (*NodePool) GetInitialNodeCount
func (*NodePool) GetInstanceGroupUrls
func (*NodePool) GetLocations
func (*NodePool) GetManagement
func (x *NodePool) GetManagement() *NodeManagement
func (*NodePool) GetMaxPodsConstraint
func (x *NodePool) GetMaxPodsConstraint() *MaxPodsConstraint
func (*NodePool) GetName
func (*NodePool) GetNetworkConfig
func (x *NodePool) GetNetworkConfig() *NodeNetworkConfig
func (*NodePool) GetPlacementPolicy
func (x *NodePool) GetPlacementPolicy() *NodePool_PlacementPolicy
func (*NodePool) GetPodIpv4CidrSize
func (*NodePool) GetSelfLink
func (*NodePool) GetStatus
func (x *NodePool) GetStatus() NodePool_Status
func (*NodePool) GetStatusMessage
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*NodePool) GetUpdateInfo
func (x *NodePool) GetUpdateInfo() *NodePool_UpdateInfo
func (*NodePool) GetUpgradeSettings
func (x *NodePool) GetUpgradeSettings() *NodePool_UpgradeSettings
func (*NodePool) GetVersion
func (*NodePool) ProtoMessage
func (*NodePool) ProtoMessage()
func (*NodePool) ProtoReflect
func (x *NodePool) ProtoReflect() protoreflect.Message
func (*NodePool) Reset
func (x *NodePool) Reset()
func (*NodePool) String
NodePoolAutoConfig
type NodePoolAutoConfig struct {
// 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 creation. Each tag within the list
// must comply with RFC1035.
NetworkTags *NetworkTags `protobuf:"bytes,1,opt,name=network_tags,json=networkTags,proto3" json:"network_tags,omitempty"`
// contains filtered or unexported fields
}
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
func (*NodePoolAutoConfig) Descriptor
func (*NodePoolAutoConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolAutoConfig.ProtoReflect.Descriptor instead.
func (*NodePoolAutoConfig) GetNetworkTags
func (x *NodePoolAutoConfig) GetNetworkTags() *NetworkTags
func (*NodePoolAutoConfig) ProtoMessage
func (*NodePoolAutoConfig) ProtoMessage()
func (*NodePoolAutoConfig) ProtoReflect
func (x *NodePoolAutoConfig) ProtoReflect() protoreflect.Message
func (*NodePoolAutoConfig) Reset
func (x *NodePoolAutoConfig) Reset()
func (*NodePoolAutoConfig) String
func (x *NodePoolAutoConfig) String() string
NodePoolAutoscaling
type NodePoolAutoscaling struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
Autoprovisioned bool `protobuf:"varint,4,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"`
LocationPolicy NodePoolAutoscaling_LocationPolicy "" /* 164 byte string literal not displayed */
TotalMinNodeCount int32 `protobuf:"varint,6,opt,name=total_min_node_count,json=totalMinNodeCount,proto3" json:"total_min_node_count,omitempty"`
TotalMaxNodeCount int32 `protobuf:"varint,7,opt,name=total_max_node_count,json=totalMaxNodeCount,proto3" json:"total_max_node_count,omitempty"`
}
NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
func (*NodePoolAutoscaling) Descriptor
func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.
func (*NodePoolAutoscaling) GetAutoprovisioned
func (x *NodePoolAutoscaling) GetAutoprovisioned() bool
func (*NodePoolAutoscaling) GetEnabled
func (x *NodePoolAutoscaling) GetEnabled() bool
func (*NodePoolAutoscaling) GetLocationPolicy
func (x *NodePoolAutoscaling) GetLocationPolicy() NodePoolAutoscaling_LocationPolicy
func (*NodePoolAutoscaling) GetMaxNodeCount
func (x *NodePoolAutoscaling) GetMaxNodeCount() int32
func (*NodePoolAutoscaling) GetMinNodeCount
func (x *NodePoolAutoscaling) GetMinNodeCount() int32
func (*NodePoolAutoscaling) GetTotalMaxNodeCount
func (x *NodePoolAutoscaling) GetTotalMaxNodeCount() int32
func (*NodePoolAutoscaling) GetTotalMinNodeCount
func (x *NodePoolAutoscaling) GetTotalMinNodeCount() int32
func (*NodePoolAutoscaling) ProtoMessage
func (*NodePoolAutoscaling) ProtoMessage()
func (*NodePoolAutoscaling) ProtoReflect
func (x *NodePoolAutoscaling) ProtoReflect() protoreflect.Message
func (*NodePoolAutoscaling) Reset
func (x *NodePoolAutoscaling) Reset()
func (*NodePoolAutoscaling) String
func (x *NodePoolAutoscaling) String() string
NodePoolAutoscaling_LocationPolicy
type NodePoolAutoscaling_LocationPolicy int32
Location policy specifies how zones are picked when scaling up the nodepool.
NodePoolAutoscaling_LOCATION_POLICY_UNSPECIFIED, NodePoolAutoscaling_BALANCED, NodePoolAutoscaling_ANY
const (
// Not set.
NodePoolAutoscaling_LOCATION_POLICY_UNSPECIFIED NodePoolAutoscaling_LocationPolicy = 0
// BALANCED is a best effort policy that aims to balance the sizes of
// different zones.
NodePoolAutoscaling_BALANCED NodePoolAutoscaling_LocationPolicy = 1
// ANY policy picks zones that have the highest capacity available.
NodePoolAutoscaling_ANY NodePoolAutoscaling_LocationPolicy = 2
)
func (NodePoolAutoscaling_LocationPolicy) Descriptor
func (NodePoolAutoscaling_LocationPolicy) Descriptor() protoreflect.EnumDescriptor
func (NodePoolAutoscaling_LocationPolicy) Enum
func (x NodePoolAutoscaling_LocationPolicy) Enum() *NodePoolAutoscaling_LocationPolicy
func (NodePoolAutoscaling_LocationPolicy) EnumDescriptor
func (NodePoolAutoscaling_LocationPolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePoolAutoscaling_LocationPolicy.Descriptor instead.
func (NodePoolAutoscaling_LocationPolicy) Number
func (x NodePoolAutoscaling_LocationPolicy) Number() protoreflect.EnumNumber
func (NodePoolAutoscaling_LocationPolicy) String
func (x NodePoolAutoscaling_LocationPolicy) String() string
func (NodePoolAutoscaling_LocationPolicy) Type
func (NodePoolAutoscaling_LocationPolicy) Type() protoreflect.EnumType
NodePoolDefaults
type NodePoolDefaults struct {
// Subset of NodeConfig message that has defaults.
NodeConfigDefaults *NodeConfigDefaults `protobuf:"bytes,1,opt,name=node_config_defaults,json=nodeConfigDefaults,proto3" json:"node_config_defaults,omitempty"`
// contains filtered or unexported fields
}
Subset of Nodepool message that has defaults.
func (*NodePoolDefaults) Descriptor
func (*NodePoolDefaults) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolDefaults.ProtoReflect.Descriptor instead.
func (*NodePoolDefaults) GetNodeConfigDefaults
func (x *NodePoolDefaults) GetNodeConfigDefaults() *NodeConfigDefaults
func (*NodePoolDefaults) ProtoMessage
func (*NodePoolDefaults) ProtoMessage()
func (*NodePoolDefaults) ProtoReflect
func (x *NodePoolDefaults) ProtoReflect() protoreflect.Message
func (*NodePoolDefaults) Reset
func (x *NodePoolDefaults) Reset()
func (*NodePoolDefaults) String
func (x *NodePoolDefaults) String() string
NodePoolLoggingConfig
type NodePoolLoggingConfig struct {
// Logging variant configuration.
VariantConfig *LoggingVariantConfig `protobuf:"bytes,1,opt,name=variant_config,json=variantConfig,proto3" json:"variant_config,omitempty"`
// contains filtered or unexported fields
}
NodePoolLoggingConfig specifies logging configuration for nodepools.
func (*NodePoolLoggingConfig) Descriptor
func (*NodePoolLoggingConfig) Descriptor() ([]byte, []int)
Deprecated: Use NodePoolLoggingConfig.ProtoReflect.Descriptor instead.
func (*NodePoolLoggingConfig) GetVariantConfig
func (x *NodePoolLoggingConfig) GetVariantConfig() *LoggingVariantConfig
func (*NodePoolLoggingConfig) ProtoMessage
func (*NodePoolLoggingConfig) ProtoMessage()
func (*NodePoolLoggingConfig) ProtoReflect
func (x *NodePoolLoggingConfig) ProtoReflect() protoreflect.Message
func (*NodePoolLoggingConfig) Reset
func (x *NodePoolLoggingConfig) Reset()
func (*NodePoolLoggingConfig) String
func (x *NodePoolLoggingConfig) String() string
NodePoolUpdateStrategy
type NodePoolUpdateStrategy int32
Strategy used for node pool update.
NodePoolUpdateStrategy_NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED, NodePoolUpdateStrategy_BLUE_GREEN, NodePoolUpdateStrategy_SURGE
const (
// Default value if unset. GKE internally defaults the update strategy to
// SURGE for unspecified strategies.
NodePoolUpdateStrategy_NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED NodePoolUpdateStrategy = 0
// blue-green upgrade.
NodePoolUpdateStrategy_BLUE_GREEN NodePoolUpdateStrategy = 2
// SURGE is the traditional way of upgrade a node pool.
// max_surge and max_unavailable determines the level of upgrade parallelism.
NodePoolUpdateStrategy_SURGE NodePoolUpdateStrategy = 3
)
func (NodePoolUpdateStrategy) Descriptor
func (NodePoolUpdateStrategy) Descriptor() protoreflect.EnumDescriptor
func (NodePoolUpdateStrategy) Enum
func (x NodePoolUpdateStrategy) Enum() *NodePoolUpdateStrategy
func (NodePoolUpdateStrategy) EnumDescriptor
func (NodePoolUpdateStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePoolUpdateStrategy.Descriptor instead.
func (NodePoolUpdateStrategy) Number
func (x NodePoolUpdateStrategy) Number() protoreflect.EnumNumber
func (NodePoolUpdateStrategy) String
func (x NodePoolUpdateStrategy) String() string
func (NodePoolUpdateStrategy) Type
func (NodePoolUpdateStrategy) Type() protoreflect.EnumType
NodePool_PlacementPolicy
type NodePool_PlacementPolicy struct {
// The type of placement.
Type NodePool_PlacementPolicy_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.container.v1.NodePool_PlacementPolicy_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
PlacementPolicy defines the placement policy used by the node pool.
func (*NodePool_PlacementPolicy) Descriptor
func (*NodePool_PlacementPolicy) Descriptor() ([]byte, []int)
Deprecated: Use NodePool_PlacementPolicy.ProtoReflect.Descriptor instead.
func (*NodePool_PlacementPolicy) GetType
func (x *NodePool_PlacementPolicy) GetType() NodePool_PlacementPolicy_Type
func (*NodePool_PlacementPolicy) ProtoMessage
func (*NodePool_PlacementPolicy) ProtoMessage()
func (*NodePool_PlacementPolicy) ProtoReflect
func (x *NodePool_PlacementPolicy) ProtoReflect() protoreflect.Message
func (*NodePool_PlacementPolicy) Reset
func (x *NodePool_PlacementPolicy) Reset()
func (*NodePool_PlacementPolicy) String
func (x *NodePool_PlacementPolicy) String() string
NodePool_PlacementPolicy_Type
type NodePool_PlacementPolicy_Type int32
Type defines the type of placement policy.
NodePool_PlacementPolicy_TYPE_UNSPECIFIED, NodePool_PlacementPolicy_COMPACT
const (
// TYPE_UNSPECIFIED specifies no requirements on nodes
// placement.
NodePool_PlacementPolicy_TYPE_UNSPECIFIED NodePool_PlacementPolicy_Type = 0
// COMPACT specifies node placement in the same availability domain to
// ensure low communication latency.
NodePool_PlacementPolicy_COMPACT NodePool_PlacementPolicy_Type = 1
)
func (NodePool_PlacementPolicy_Type) Descriptor
func (NodePool_PlacementPolicy_Type) Descriptor() protoreflect.EnumDescriptor
func (NodePool_PlacementPolicy_Type) Enum
func (x NodePool_PlacementPolicy_Type) Enum() *NodePool_PlacementPolicy_Type
func (NodePool_PlacementPolicy_Type) EnumDescriptor
func (NodePool_PlacementPolicy_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePool_PlacementPolicy_Type.Descriptor instead.
func (NodePool_PlacementPolicy_Type) Number
func (x NodePool_PlacementPolicy_Type) Number() protoreflect.EnumNumber
func (NodePool_PlacementPolicy_Type) String
func (x NodePool_PlacementPolicy_Type) String() string
func (NodePool_PlacementPolicy_Type) Type
func (NodePool_PlacementPolicy_Type) Type() protoreflect.EnumType
NodePool_Status
type NodePool_Status int32
The current status of the node pool instance.
NodePool_STATUS_UNSPECIFIED, NodePool_PROVISIONING, NodePool_RUNNING, NodePool_RUNNING_WITH_ERROR, NodePool_RECONCILING, NodePool_STOPPING, NodePool_ERROR
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
func (NodePool_Status) Descriptor() protoreflect.EnumDescriptor
func (NodePool_Status) Enum
func (x NodePool_Status) Enum() *NodePool_Status
func (NodePool_Status) EnumDescriptor
func (NodePool_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePool_Status.Descriptor instead.
func (NodePool_Status) Number
func (x NodePool_Status) Number() protoreflect.EnumNumber
func (NodePool_Status) String
func (x NodePool_Status) String() string
func (NodePool_Status) Type
func (NodePool_Status) Type() protoreflect.EnumType
NodePool_UpdateInfo
type NodePool_UpdateInfo struct {
// Information of a blue-green upgrade.
BlueGreenInfo *NodePool_UpdateInfo_BlueGreenInfo `protobuf:"bytes,1,opt,name=blue_green_info,json=blueGreenInfo,proto3" json:"blue_green_info,omitempty"`
// contains filtered or unexported fields
}
UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.
func (*NodePool_UpdateInfo) Descriptor
func (*NodePool_UpdateInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodePool_UpdateInfo.ProtoReflect.Descriptor instead.
func (*NodePool_UpdateInfo) GetBlueGreenInfo
func (x *NodePool_UpdateInfo) GetBlueGreenInfo() *NodePool_UpdateInfo_BlueGreenInfo
func (*NodePool_UpdateInfo) ProtoMessage
func (*NodePool_UpdateInfo) ProtoMessage()
func (*NodePool_UpdateInfo) ProtoReflect
func (x *NodePool_UpdateInfo) ProtoReflect() protoreflect.Message
func (*NodePool_UpdateInfo) Reset
func (x *NodePool_UpdateInfo) Reset()
func (*NodePool_UpdateInfo) String
func (x *NodePool_UpdateInfo) String() string
NodePool_UpdateInfo_BlueGreenInfo
type NodePool_UpdateInfo_BlueGreenInfo struct {
Phase NodePool_UpdateInfo_BlueGreenInfo_Phase "" /* 129 byte string literal not displayed */
BlueInstanceGroupUrls []string "" /* 128 byte string literal not displayed */
GreenInstanceGroupUrls []string "" /* 131 byte string literal not displayed */
BluePoolDeletionStartTime string "" /* 142 byte string literal not displayed */
GreenPoolVersion string `protobuf:"bytes,5,opt,name=green_pool_version,json=greenPoolVersion,proto3" json:"green_pool_version,omitempty"`
}
Information relevant to blue-green upgrade.
func (*NodePool_UpdateInfo_BlueGreenInfo) Descriptor
func (*NodePool_UpdateInfo_BlueGreenInfo) Descriptor() ([]byte, []int)
Deprecated: Use NodePool_UpdateInfo_BlueGreenInfo.ProtoReflect.Descriptor instead.
func (*NodePool_UpdateInfo_BlueGreenInfo) GetBlueInstanceGroupUrls
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetBlueInstanceGroupUrls() []string
func (*NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime() string
func (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls() []string
func (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion() string
func (*NodePool_UpdateInfo_BlueGreenInfo) GetPhase
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetPhase() NodePool_UpdateInfo_BlueGreenInfo_Phase
func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage
func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage()
func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoReflect
func (x *NodePool_UpdateInfo_BlueGreenInfo) ProtoReflect() protoreflect.Message
func (*NodePool_UpdateInfo_BlueGreenInfo) Reset
func (x *NodePool_UpdateInfo_BlueGreenInfo) Reset()
func (*NodePool_UpdateInfo_BlueGreenInfo) String
func (x *NodePool_UpdateInfo_BlueGreenInfo) String() string
NodePool_UpdateInfo_BlueGreenInfo_Phase
type NodePool_UpdateInfo_BlueGreenInfo_Phase int32
Phase represents the different stages blue-green upgrade is running in.
NodePool_UpdateInfo_BlueGreenInfo_PHASE_UNSPECIFIED, NodePool_UpdateInfo_BlueGreenInfo_UPDATE_STARTED, NodePool_UpdateInfo_BlueGreenInfo_CREATING_GREEN_POOL, NodePool_UpdateInfo_BlueGreenInfo_CORDONING_BLUE_POOL, NodePool_UpdateInfo_BlueGreenInfo_DRAINING_BLUE_POOL, NodePool_UpdateInfo_BlueGreenInfo_NODE_POOL_SOAKING, NodePool_UpdateInfo_BlueGreenInfo_DELETING_BLUE_POOL, NodePool_UpdateInfo_BlueGreenInfo_ROLLBACK_STARTED
const (
// Unspecified phase.
NodePool_UpdateInfo_BlueGreenInfo_PHASE_UNSPECIFIED NodePool_UpdateInfo_BlueGreenInfo_Phase = 0
// blue-green upgrade has been initiated.
NodePool_UpdateInfo_BlueGreenInfo_UPDATE_STARTED NodePool_UpdateInfo_BlueGreenInfo_Phase = 1
// Start creating green pool nodes.
NodePool_UpdateInfo_BlueGreenInfo_CREATING_GREEN_POOL NodePool_UpdateInfo_BlueGreenInfo_Phase = 2
// Start cordoning blue pool nodes.
NodePool_UpdateInfo_BlueGreenInfo_CORDONING_BLUE_POOL NodePool_UpdateInfo_BlueGreenInfo_Phase = 3
// Start draining blue pool nodes.
NodePool_UpdateInfo_BlueGreenInfo_DRAINING_BLUE_POOL NodePool_UpdateInfo_BlueGreenInfo_Phase = 4
// Start soaking time after draining entire blue pool.
NodePool_UpdateInfo_BlueGreenInfo_NODE_POOL_SOAKING NodePool_UpdateInfo_BlueGreenInfo_Phase = 5
// Start deleting blue nodes.
NodePool_UpdateInfo_BlueGreenInfo_DELETING_BLUE_POOL NodePool_UpdateInfo_BlueGreenInfo_Phase = 6
// Rollback has been initiated.
NodePool_UpdateInfo_BlueGreenInfo_ROLLBACK_STARTED NodePool_UpdateInfo_BlueGreenInfo_Phase = 7
)
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Descriptor
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Descriptor() protoreflect.EnumDescriptor
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Enum
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) EnumDescriptor
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodePool_UpdateInfo_BlueGreenInfo_Phase.Descriptor instead.
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Number
func (x NodePool_UpdateInfo_BlueGreenInfo_Phase) Number() protoreflect.EnumNumber
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) String
func (x NodePool_UpdateInfo_BlueGreenInfo_Phase) String() string
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Type
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Type() protoreflect.EnumType
NodePool_UpgradeSettings
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.
MaxUnavailable int32 `protobuf:"varint,2,opt,name=max_unavailable,json=maxUnavailable,proto3" json:"max_unavailable,omitempty"`
// Update strategy of the node pool.
Strategy *NodePoolUpdateStrategy `protobuf:"varint,3,opt,name=strategy,proto3,enum=google.container.v1.NodePoolUpdateStrategy,oneof" json:"strategy,omitempty"`
// Settings for blue-green upgrade strategy.
BlueGreenSettings *BlueGreenSettings `protobuf:"bytes,4,opt,name=blue_green_settings,json=blueGreenSettings,proto3,oneof" json:"blue_green_settings,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.
These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool.
If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade.
- 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 controls the number of nodes that can be simultaneously unavailable.
- (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time).
If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings.
- standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained.
- node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.
func (*NodePool_UpgradeSettings) Descriptor
func (*NodePool_UpgradeSettings) Descriptor() ([]byte, []int)
Deprecated: Use NodePool_UpgradeSettings.ProtoReflect.Descriptor instead.
func (*NodePool_UpgradeSettings) GetBlueGreenSettings
func (x *NodePool_UpgradeSettings) GetBlueGreenSettings() *BlueGreenSettings
func (*NodePool_UpgradeSettings) GetMaxSurge
func (x *NodePool_UpgradeSettings) GetMaxSurge() int32
func (*NodePool_UpgradeSettings) GetMaxUnavailable
func (x *NodePool_UpgradeSettings) GetMaxUnavailable() int32
func (*NodePool_UpgradeSettings) GetStrategy
func (x *NodePool_UpgradeSettings) GetStrategy() NodePoolUpdateStrategy
func (*NodePool_UpgradeSettings) ProtoMessage
func (*NodePool_UpgradeSettings) ProtoMessage()
func (*NodePool_UpgradeSettings) ProtoReflect
func (x *NodePool_UpgradeSettings) ProtoReflect() protoreflect.Message
func (*NodePool_UpgradeSettings) Reset
func (x *NodePool_UpgradeSettings) Reset()
func (*NodePool_UpgradeSettings) String
func (x *NodePool_UpgradeSettings) String() string
NodeTaint
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 composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
See here for more information, including usage and the valid values.
func (*NodeTaint) Descriptor
Deprecated: Use NodeTaint.ProtoReflect.Descriptor instead.
func (*NodeTaint) GetEffect
func (x *NodeTaint) GetEffect() NodeTaint_Effect
func (*NodeTaint) GetKey
func (*NodeTaint) GetValue
func (*NodeTaint) ProtoMessage
func (*NodeTaint) ProtoMessage()
func (*NodeTaint) ProtoReflect
func (x *NodeTaint) ProtoReflect() protoreflect.Message
func (*NodeTaint) Reset
func (x *NodeTaint) Reset()
func (*NodeTaint) String
NodeTaint_Effect
type NodeTaint_Effect int32
Possible values for Effect in taint.
NodeTaint_EFFECT_UNSPECIFIED, NodeTaint_NO_SCHEDULE, NodeTaint_PREFER_NO_SCHEDULE, NodeTaint_NO_EXECUTE
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
func (NodeTaint_Effect) Descriptor() protoreflect.EnumDescriptor
func (NodeTaint_Effect) Enum
func (x NodeTaint_Effect) Enum() *NodeTaint_Effect
func (NodeTaint_Effect) EnumDescriptor
func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int)
Deprecated: Use NodeTaint_Effect.Descriptor instead.
func (NodeTaint_Effect) Number
func (x NodeTaint_Effect) Number() protoreflect.EnumNumber
func (NodeTaint_Effect) String
func (x NodeTaint_Effect) String() string
func (NodeTaint_Effect) Type
func (NodeTaint_Effect) Type() protoreflect.EnumType
NodeTaints
type NodeTaints struct {
// List of node taints.
Taints []*NodeTaint `protobuf:"bytes,1,rep,name=taints,proto3" json:"taints,omitempty"`
// contains filtered or unexported fields
}
Collection of Kubernetes node taints.
func (*NodeTaints) Descriptor
func (*NodeTaints) Descriptor() ([]byte, []int)
Deprecated: Use NodeTaints.ProtoReflect.Descriptor instead.
func (*NodeTaints) GetTaints
func (x *NodeTaints) GetTaints() []*NodeTaint
func (*NodeTaints) ProtoMessage
func (*NodeTaints) ProtoMessage()
func (*NodeTaints) ProtoReflect
func (x *NodeTaints) ProtoReflect() protoreflect.Message
func (*NodeTaints) Reset
func (x *NodeTaints) Reset()
func (*NodeTaints) String
func (x *NodeTaints) String() string
NotificationConfig
type NotificationConfig struct {
// Notification config for Pub/Sub.
Pubsub *NotificationConfig_PubSub `protobuf:"bytes,1,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
// contains filtered or unexported fields
}
NotificationConfig is the configuration of notifications.
func (*NotificationConfig) Descriptor
func (*NotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig) GetPubsub
func (x *NotificationConfig) GetPubsub() *NotificationConfig_PubSub
func (*NotificationConfig) ProtoMessage
func (*NotificationConfig) ProtoMessage()
func (*NotificationConfig) ProtoReflect
func (x *NotificationConfig) ProtoReflect() protoreflect.Message
func (*NotificationConfig) Reset
func (x *NotificationConfig) Reset()
func (*NotificationConfig) String
func (x *NotificationConfig) String() string
NotificationConfig_EventType
type NotificationConfig_EventType int32
Types of notifications currently supported. Can be used to filter what notifications are sent.
NotificationConfig_EVENT_TYPE_UNSPECIFIED, NotificationConfig_UPGRADE_AVAILABLE_EVENT, NotificationConfig_UPGRADE_EVENT, NotificationConfig_SECURITY_BULLETIN_EVENT
const (
// Not set, will be ignored.
NotificationConfig_EVENT_TYPE_UNSPECIFIED NotificationConfig_EventType = 0
// Corresponds with UpgradeAvailableEvent.
NotificationConfig_UPGRADE_AVAILABLE_EVENT NotificationConfig_EventType = 1
// Corresponds with UpgradeEvent.
NotificationConfig_UPGRADE_EVENT NotificationConfig_EventType = 2
// Corresponds with SecurityBulletinEvent.
NotificationConfig_SECURITY_BULLETIN_EVENT NotificationConfig_EventType = 3
)
func (NotificationConfig_EventType) Descriptor
func (NotificationConfig_EventType) Descriptor() protoreflect.EnumDescriptor
func (NotificationConfig_EventType) Enum
func (x NotificationConfig_EventType) Enum() *NotificationConfig_EventType
func (NotificationConfig_EventType) EnumDescriptor
func (NotificationConfig_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationConfig_EventType.Descriptor instead.
func (NotificationConfig_EventType) Number
func (x NotificationConfig_EventType) Number() protoreflect.EnumNumber
func (NotificationConfig_EventType) String
func (x NotificationConfig_EventType) String() string
func (NotificationConfig_EventType) Type
func (NotificationConfig_EventType) Type() protoreflect.EnumType
NotificationConfig_Filter
type NotificationConfig_Filter struct {
EventType []NotificationConfig_EventType "" /* 150 byte string literal not displayed */
}
Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent
func (*NotificationConfig_Filter) Descriptor
func (*NotificationConfig_Filter) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig_Filter.ProtoReflect.Descriptor instead.
func (*NotificationConfig_Filter) GetEventType
func (x *NotificationConfig_Filter) GetEventType() []NotificationConfig_EventType
func (*NotificationConfig_Filter) ProtoMessage
func (*NotificationConfig_Filter) ProtoMessage()
func (*NotificationConfig_Filter) ProtoReflect
func (x *NotificationConfig_Filter) ProtoReflect() protoreflect.Message
func (*NotificationConfig_Filter) Reset
func (x *NotificationConfig_Filter) Reset()
func (*NotificationConfig_Filter) String
func (x *NotificationConfig_Filter) String() string
NotificationConfig_PubSub
type NotificationConfig_PubSub struct {
// Enable notifications for Pub/Sub.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The desired Pub/Sub topic to which notifications will be
// sent by GKE. Format is `projects/{project}/topics/{topic}`.
Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
// Allows filtering to one or more specific event types. If no filter is
// specified, or if a filter is specified with no event types, all event
// types will be sent
Filter *NotificationConfig_Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}
Pub/Sub specific notification config.
func (*NotificationConfig_PubSub) Descriptor
func (*NotificationConfig_PubSub) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig_PubSub.ProtoReflect.Descriptor instead.
func (*NotificationConfig_PubSub) GetEnabled
func (x *NotificationConfig_PubSub) GetEnabled() bool
func (*NotificationConfig_PubSub) GetFilter
func (x *NotificationConfig_PubSub) GetFilter() *NotificationConfig_Filter
func (*NotificationConfig_PubSub) GetTopic
func (x *NotificationConfig_PubSub) GetTopic() string
func (*NotificationConfig_PubSub) ProtoMessage
func (*NotificationConfig_PubSub) ProtoMessage()
func (*NotificationConfig_PubSub) ProtoReflect
func (x *NotificationConfig_PubSub) ProtoReflect() protoreflect.Message
func (*NotificationConfig_PubSub) Reset
func (x *NotificationConfig_PubSub) Reset()
func (*NotificationConfig_PubSub) String
func (x *NotificationConfig_PubSub) String() string
Operation
type Operation struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
OperationType Operation_Type "" /* 141 byte string literal not displayed */
Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"`
Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Progress *OperationProgress `protobuf:"bytes,12,opt,name=progress,proto3" json:"progress,omitempty"`
ClusterConditions []*StatusCondition `protobuf:"bytes,13,rep,name=cluster_conditions,json=clusterConditions,proto3" json:"cluster_conditions,omitempty"`
NodepoolConditions []*StatusCondition `protobuf:"bytes,14,rep,name=nodepool_conditions,json=nodepoolConditions,proto3" json:"nodepool_conditions,omitempty"`
Error *status.Status `protobuf:"bytes,15,opt,name=error,proto3" json:"error,omitempty"`
}
This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
func (*Operation) Descriptor
Deprecated: Use Operation.ProtoReflect.Descriptor instead.
func (*Operation) GetClusterConditions
func (x *Operation) GetClusterConditions() []*StatusCondition
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Operation) GetDetail
func (*Operation) GetEndTime
func (*Operation) GetError
func (*Operation) GetLocation
func (*Operation) GetName
func (*Operation) GetNodepoolConditions
func (x *Operation) GetNodepoolConditions() []*StatusCondition
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Operation) GetOperationType
func (x *Operation) GetOperationType() Operation_Type
func (*Operation) GetProgress
func (x *Operation) GetProgress() *OperationProgress
func (*Operation) GetSelfLink
func (*Operation) GetStartTime
func (*Operation) GetStatus
func (x *Operation) GetStatus() Operation_Status
func (*Operation) GetStatusMessage
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Operation) GetTargetLink
func (*Operation) GetZone
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Operation) ProtoMessage
func (*Operation) ProtoMessage()
func (*Operation) ProtoReflect
func (x *Operation) ProtoReflect() protoreflect.Message
func (*Operation) Reset
func (x *Operation) Reset()
func (*Operation) String
OperationProgress
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
func (*OperationProgress) Descriptor() ([]byte, []int)
Deprecated: Use OperationProgress.ProtoReflect.Descriptor instead.
func (*OperationProgress) GetMetrics
func (x *OperationProgress) GetMetrics() []*OperationProgress_Metric
func (*OperationProgress) GetName
func (x *OperationProgress) GetName() string
func (*OperationProgress) GetStages
func (x *OperationProgress) GetStages() []*OperationProgress
func (*OperationProgress) GetStatus
func (x *OperationProgress) GetStatus() Operation_Status
func (*OperationProgress) ProtoMessage
func (*OperationProgress) ProtoMessage()
func (*OperationProgress) ProtoReflect
func (x *OperationProgress) ProtoReflect() protoreflect.Message
func (*OperationProgress) Reset
func (x *OperationProgress) Reset()
func (*OperationProgress) String
func (x *OperationProgress) String() string
OperationProgress_Metric
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
func (*OperationProgress_Metric) Descriptor() ([]byte, []int)
Deprecated: Use OperationProgress_Metric.ProtoReflect.Descriptor instead.
func (*OperationProgress_Metric) GetDoubleValue
func (x *OperationProgress_Metric) GetDoubleValue() float64
func (*OperationProgress_Metric) GetIntValue
func (x *OperationProgress_Metric) GetIntValue() int64
func (*OperationProgress_Metric) GetName
func (x *OperationProgress_Metric) GetName() string
func (*OperationProgress_Metric) GetStringValue
func (x *OperationProgress_Metric) GetStringValue() string
func (*OperationProgress_Metric) GetValue
func (m *OperationProgress_Metric) GetValue() isOperationProgress_Metric_Value
func (*OperationProgress_Metric) ProtoMessage
func (*OperationProgress_Metric) ProtoMessage()
func (*OperationProgress_Metric) ProtoReflect
func (x *OperationProgress_Metric) ProtoReflect() protoreflect.Message
func (*OperationProgress_Metric) Reset
func (x *OperationProgress_Metric) Reset()
func (*OperationProgress_Metric) String
func (x *OperationProgress_Metric) String() string
OperationProgress_Metric_DoubleValue
type OperationProgress_Metric_DoubleValue struct {
// For metrics with floating point value.
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
OperationProgress_Metric_IntValue
type OperationProgress_Metric_IntValue struct {
// For metrics with integer value.
IntValue int64 `protobuf:"varint,2,opt,name=int_value,json=intValue,proto3,oneof"`
}
OperationProgress_Metric_StringValue
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"`
}
Operation_Status
type Operation_Status int32
Current status of the operation.
Operation_STATUS_UNSPECIFIED, Operation_PENDING, Operation_RUNNING, Operation_DONE, Operation_ABORTING
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
func (Operation_Status) Descriptor() protoreflect.EnumDescriptor
func (Operation_Status) Enum
func (x Operation_Status) Enum() *Operation_Status
func (Operation_Status) EnumDescriptor
func (Operation_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Status.Descriptor instead.
func (Operation_Status) Number
func (x Operation_Status) Number() protoreflect.EnumNumber
func (Operation_Status) String
func (x Operation_Status) String() string
func (Operation_Status) Type
func (Operation_Status) Type() protoreflect.EnumType
Operation_Type
type Operation_Type int32
Operation type categorizes the operation.
Operation_TYPE_UNSPECIFIED, Operation_CREATE_CLUSTER, Operation_DELETE_CLUSTER, Operation_UPGRADE_MASTER, Operation_UPGRADE_NODES, Operation_REPAIR_CLUSTER, Operation_UPDATE_CLUSTER, Operation_CREATE_NODE_POOL, Operation_DELETE_NODE_POOL, Operation_SET_NODE_POOL_MANAGEMENT, Operation_AUTO_REPAIR_NODES, Operation_AUTO_UPGRADE_NODES, Operation_SET_LABELS, Operation_SET_MASTER_AUTH, Operation_SET_NODE_POOL_SIZE, Operation_SET_NETWORK_POLICY, Operation_SET_MAINTENANCE_POLICY, Operation_RESIZE_CLUSTER
const (
// Not set.
Operation_TYPE_UNSPECIFIED Operation_Type = 0
// The cluster is being created. The cluster should be assumed to be
// unusable until the operation finishes.
//
// In the event of the operation failing, the cluster will enter the [ERROR
// state][Cluster.Status.ERROR] and eventually be deleted.
Operation_CREATE_CLUSTER Operation_Type = 1
// The cluster is being deleted. The cluster should be assumed to be
// unusable as soon as this operation starts.
//
// In the event of the operation failing, the cluster will enter the [ERROR
// state][Cluster.Status.ERROR] and the deletion will be automatically
// retried until completed.
Operation_DELETE_CLUSTER Operation_Type = 2
// The [cluster
// version][google.container.v1.ClusterUpdate.desired_master_version] is
// being updated. Note that this includes "upgrades" to the same version,
// which are simply a recreation. This also includes
// [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically).
// For more details, see [documentation on cluster
// upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).
Operation_UPGRADE_MASTER Operation_Type = 3
// A node pool is being updated. Despite calling this an "upgrade", this
// includes most forms of updates to node pools. This also includes
// [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades).
//
// This operation sets the
// [progress][google.container.v1.Operation.progress] field and may be
// [canceled][google.container.v1.ClusterManager.CancelOperation].
//
// The upgrade strategy depends on [node pool
// configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies).
// The nodes are generally still usable during this operation.
Operation_UPGRADE_NODES Operation_Type = 4
// A problem has been detected with the control plane and is being repaired.
// This operation type is initiated by GKE. For more details, see
// [documentation on
// repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
Operation_REPAIR_CLUSTER Operation_Type = 5
// The cluster is being updated. This is a broad category of operations and
// includes operations that only change metadata as well as those that must
// recreate the entire cluster. If the control plane must be recreated, this
// will cause temporary downtime for zonal clusters.
//
// Some features require recreating the nodes as well. Those will be
// recreated as separate operations and the update may not be completely
// functional until the node pools recreations finish. Node recreations will
// generally follow [maintenance
// policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions).
//
// Some GKE-initiated operations use this type. This includes certain types
// of auto-upgrades and incident mitigations.
Operation_UPDATE_CLUSTER Operation_Type = 6
// A node pool is being created. The node pool should be assumed to be
// unusable until this operation finishes. In the event of an error, the
// node pool may be partially created.
//
// If enabled, [node
// autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
// may have automatically initiated such operations.
Operation_CREATE_NODE_POOL Operation_Type = 7
// The node pool is being deleted. The node pool should be assumed to be
// unusable as soon as this operation starts.
Operation_DELETE_NODE_POOL Operation_Type = 8
// The node pool's [manamagent][google.container.v1.NodePool.management]
// field is being updated. These operations only update metadata and may be
// concurrent with most other operations.
Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9
// A problem has been detected with nodes and [they are being
// repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair).
// This operation type is initiated by GKE, typically automatically. This
// operation may be concurrent with other operations and there may be
// multiple repairs occurring on the same node pool.
Operation_AUTO_REPAIR_NODES Operation_Type = 10
// Unused. Automatic node upgrade uses
// [UPGRADE_NODES][google.container.v1.Operation.Type.UPGRADE_NODES].
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Operation_AUTO_UPGRADE_NODES Operation_Type = 11
// Unused. Updating labels uses
// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Operation_SET_LABELS Operation_Type = 12
// Unused. Updating master auth uses
// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Operation_SET_MASTER_AUTH Operation_Type = 13
// The node pool is being resized. With the exception of resizing to or from
// size zero, the node pool is generally usable during this operation.
Operation_SET_NODE_POOL_SIZE Operation_Type = 14
// Unused. Updating network policy uses
// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Operation_SET_NETWORK_POLICY Operation_Type = 15
// Unused. Updating maintenance policy uses
// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Operation_SET_MAINTENANCE_POLICY Operation_Type = 16
// The control plane is being resized. This operation type is initiated by
// GKE. These operations are often performed preemptively to ensure that the
// control plane has sufficient resources and is not typically an indication
// of issues. For more details, see
// [documentation on
// resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
Operation_RESIZE_CLUSTER Operation_Type = 18
)
func (Operation_Type) Descriptor
func (Operation_Type) Descriptor() protoreflect.EnumDescriptor
func (Operation_Type) Enum
func (x Operation_Type) Enum() *Operation_Type
func (Operation_Type) EnumDescriptor
func (Operation_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Operation_Type.Descriptor instead.
func (Operation_Type) Number
func (x Operation_Type) Number() protoreflect.EnumNumber
func (Operation_Type) String
func (x Operation_Type) String() string
func (Operation_Type) Type
func (Operation_Type) Type() protoreflect.EnumType
PodCIDROverprovisionConfig
type PodCIDROverprovisionConfig struct {
// Whether Pod CIDR overprovisioning is disabled.
// Note: Pod CIDR overprovisioning is enabled by default.
Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
// contains filtered or unexported fields
}
[PRIVATE FIELD] Config for pod CIDR size overprovisioning.
func (*PodCIDROverprovisionConfig) Descriptor
func (*PodCIDROverprovisionConfig) Descriptor() ([]byte, []int)
Deprecated: Use PodCIDROverprovisionConfig.ProtoReflect.Descriptor instead.
func (*PodCIDROverprovisionConfig) GetDisable
func (x *PodCIDROverprovisionConfig) GetDisable() bool
func (*PodCIDROverprovisionConfig) ProtoMessage
func (*PodCIDROverprovisionConfig) ProtoMessage()
func (*PodCIDROverprovisionConfig) ProtoReflect
func (x *PodCIDROverprovisionConfig) ProtoReflect() protoreflect.Message
func (*PodCIDROverprovisionConfig) Reset
func (x *PodCIDROverprovisionConfig) Reset()
func (*PodCIDROverprovisionConfig) String
func (x *PodCIDROverprovisionConfig) String() string
PrivateClusterConfig
type PrivateClusterConfig struct {
EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"`
EnablePrivateEndpoint bool "" /* 127 byte string literal not displayed */
MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"`
PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"`
PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
PeeringName string `protobuf:"bytes,7,opt,name=peering_name,json=peeringName,proto3" json:"peering_name,omitempty"`
MasterGlobalAccessConfig *PrivateClusterMasterGlobalAccessConfig "" /* 137 byte string literal not displayed */
PrivateEndpointSubnetwork string "" /* 139 byte string literal not displayed */
}
Configuration options for private clusters.
func (*PrivateClusterConfig) Descriptor
func (*PrivateClusterConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivateClusterConfig.ProtoReflect.Descriptor instead.
func (*PrivateClusterConfig) GetEnablePrivateEndpoint
func (x *PrivateClusterConfig) GetEnablePrivateEndpoint() bool
func (*PrivateClusterConfig) GetEnablePrivateNodes
func (x *PrivateClusterConfig) GetEnablePrivateNodes() bool
func (*PrivateClusterConfig) GetMasterGlobalAccessConfig
func (x *PrivateClusterConfig) GetMasterGlobalAccessConfig() *PrivateClusterMasterGlobalAccessConfig
func (*PrivateClusterConfig) GetMasterIpv4CidrBlock
func (x *PrivateClusterConfig) GetMasterIpv4CidrBlock() string
func (*PrivateClusterConfig) GetPeeringName
func (x *PrivateClusterConfig) GetPeeringName() string
func (*PrivateClusterConfig) GetPrivateEndpoint
func (x *PrivateClusterConfig) GetPrivateEndpoint() string
func (*PrivateClusterConfig) GetPrivateEndpointSubnetwork
func (x *PrivateClusterConfig) GetPrivateEndpointSubnetwork() string
func (*PrivateClusterConfig) GetPublicEndpoint
func (x *PrivateClusterConfig) GetPublicEndpoint() string
func (*PrivateClusterConfig) ProtoMessage
func (*PrivateClusterConfig) ProtoMessage()
func (*PrivateClusterConfig) ProtoReflect
func (x *PrivateClusterConfig) ProtoReflect() protoreflect.Message
func (*PrivateClusterConfig) Reset
func (x *PrivateClusterConfig) Reset()
func (*PrivateClusterConfig) String
func (x *PrivateClusterConfig) String() string
PrivateClusterMasterGlobalAccessConfig
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
func (*PrivateClusterMasterGlobalAccessConfig) Descriptor() ([]byte, []int)
Deprecated: Use PrivateClusterMasterGlobalAccessConfig.ProtoReflect.Descriptor instead.
func (*PrivateClusterMasterGlobalAccessConfig) GetEnabled
func (x *PrivateClusterMasterGlobalAccessConfig) GetEnabled() bool
func (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage
func (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage()
func (*PrivateClusterMasterGlobalAccessConfig) ProtoReflect
func (x *PrivateClusterMasterGlobalAccessConfig) ProtoReflect() protoreflect.Message
func (*PrivateClusterMasterGlobalAccessConfig) Reset
func (x *PrivateClusterMasterGlobalAccessConfig) Reset()
func (*PrivateClusterMasterGlobalAccessConfig) String
func (x *PrivateClusterMasterGlobalAccessConfig) String() string
PrivateIPv6GoogleAccess
type PrivateIPv6GoogleAccess int32
PrivateIPv6GoogleAccess controls whether and how the pods can communicate with Google Services through gRPC over IPv6.
PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED, PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE, PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL
const (
// Default value. Same as DISABLED
PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED PrivateIPv6GoogleAccess = 0
// No private access to or from Google Services
PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED PrivateIPv6GoogleAccess = 1
// Enables private IPv6 access to Google Services from GKE
PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE PrivateIPv6GoogleAccess = 2
// Enables private IPv6 access to and from Google Services
PrivateIPv6GoogleAccess_PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL PrivateIPv6GoogleAccess = 3
)
func (PrivateIPv6GoogleAccess) Descriptor
func (PrivateIPv6GoogleAccess) Descriptor() protoreflect.EnumDescriptor
func (PrivateIPv6GoogleAccess) Enum
func (x PrivateIPv6GoogleAccess) Enum() *PrivateIPv6GoogleAccess
func (PrivateIPv6GoogleAccess) EnumDescriptor
func (PrivateIPv6GoogleAccess) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrivateIPv6GoogleAccess.Descriptor instead.
func (PrivateIPv6GoogleAccess) Number
func (x PrivateIPv6GoogleAccess) Number() protoreflect.EnumNumber
func (PrivateIPv6GoogleAccess) String
func (x PrivateIPv6GoogleAccess) String() string
func (PrivateIPv6GoogleAccess) Type
func (PrivateIPv6GoogleAccess) Type() protoreflect.EnumType
RecurringTimeWindow
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 span of time between the start and
// end time.
//
// For example, to have something repeat every weekday, you'd use:
// `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`
//
// To repeat some window daily (equivalent to the DailyMaintenanceWindow):
// `FREQ=DAILY`
//
// For the first weekend of every month:
// `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`
//
// This specifies how frequently the window starts. Eg, if you wanted to have
// a 9-5 UTC-4 window every weekday, you'd use something like:
// ```
// start time = 2019-01-01T09:00:00-0400
// end time = 2019-01-01T17:00:00-0400
// recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
// ```
//
// Windows can span multiple days. Eg, to make the window encompass every
// weekend from midnight Saturday till the last minute of Sunday UTC:
// ```
// start time = 2019-01-05T00:00:00Z
// end time = 2019-01-07T23:59:00Z
// recurrence = FREQ=WEEKLY;BYDAY=SA
// ```
//
// Note the start and end time's specific dates are largely arbitrary except
// to specify duration of the window and when it first starts.
// The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty"`
// contains filtered or unexported fields
}
Represents an arbitrary window of time that recurs.
func (*RecurringTimeWindow) Descriptor
func (*RecurringTimeWindow) Descriptor() ([]byte, []int)
Deprecated: Use RecurringTimeWindow.ProtoReflect.Descriptor instead.
func (*RecurringTimeWindow) GetRecurrence
func (x *RecurringTimeWindow) GetRecurrence() string
func (*RecurringTimeWindow) GetWindow
func (x *RecurringTimeWindow) GetWindow() *TimeWindow
func (*RecurringTimeWindow) ProtoMessage
func (*RecurringTimeWindow) ProtoMessage()
func (*RecurringTimeWindow) ProtoReflect
func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Message
func (*RecurringTimeWindow) Reset
func (x *RecurringTimeWindow) Reset()
func (*RecurringTimeWindow) String
func (x *RecurringTimeWindow) String() string
ReleaseChannel
type ReleaseChannel struct {
// channel specifies which release channel the cluster is subscribed to.
Channel ReleaseChannel_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.container.v1.ReleaseChannel_Channel" json:"channel,omitempty"`
// contains filtered or unexported fields
}
ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk.
When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.
func (*ReleaseChannel) Descriptor
func (*ReleaseChannel) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseChannel.ProtoReflect.Descriptor instead.
func (*ReleaseChannel) GetChannel
func (x *ReleaseChannel) GetChannel() ReleaseChannel_Channel
func (*ReleaseChannel) ProtoMessage
func (*ReleaseChannel) ProtoMessage()
func (*ReleaseChannel) ProtoReflect
func (x *ReleaseChannel) ProtoReflect() protoreflect.Message
func (*ReleaseChannel) Reset
func (x *ReleaseChannel) Reset()
func (*ReleaseChannel) String
func (x *ReleaseChannel) String() string
ReleaseChannel_Channel
type ReleaseChannel_Channel int32
Possible values for 'channel'.
ReleaseChannel_UNSPECIFIED, ReleaseChannel_RAPID, ReleaseChannel_REGULAR, ReleaseChannel_STABLE
const (
// No channel specified.
ReleaseChannel_UNSPECIFIED ReleaseChannel_Channel = 0
// RAPID channel is offered on an early access basis for customers who want
// to test new releases.
//
// WARNING: Versions available in the RAPID Channel may be subject to
// unresolved issues with no known workaround and are not subject to any
// SLAs.
ReleaseChannel_RAPID ReleaseChannel_Channel = 1
// Clusters subscribed to REGULAR receive versions that are considered GA
// quality. REGULAR is intended for production users who want to take
// advantage of new features.
ReleaseChannel_REGULAR ReleaseChannel_Channel = 2
// Clusters subscribed to STABLE receive versions that are known to be
// stable and reliable in production.
ReleaseChannel_STABLE ReleaseChannel_Channel = 3
)
func (ReleaseChannel_Channel) Descriptor
func (ReleaseChannel_Channel) Descriptor() protoreflect.EnumDescriptor
func (ReleaseChannel_Channel) Enum
func (x ReleaseChannel_Channel) Enum() *ReleaseChannel_Channel
func (ReleaseChannel_Channel) EnumDescriptor
func (ReleaseChannel_Channel) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReleaseChannel_Channel.Descriptor instead.
func (ReleaseChannel_Channel) Number
func (x ReleaseChannel_Channel) Number() protoreflect.EnumNumber
func (ReleaseChannel_Channel) String
func (x ReleaseChannel_Channel) String() string
func (ReleaseChannel_Channel) Type
func (ReleaseChannel_Channel) Type() protoreflect.EnumType
ReservationAffinity
type ReservationAffinity struct {
ConsumeReservationType ReservationAffinity_Type "" /* 180 byte string literal not displayed */
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
}
ReservationAffinity is the configuration of desired reservation which instances could take capacity from.
func (*ReservationAffinity) Descriptor
func (*ReservationAffinity) Descriptor() ([]byte, []int)
Deprecated: Use ReservationAffinity.ProtoReflect.Descriptor instead.
func (*ReservationAffinity) GetConsumeReservationType
func (x *ReservationAffinity) GetConsumeReservationType() ReservationAffinity_Type
func (*ReservationAffinity) GetKey
func (x *ReservationAffinity) GetKey() string
func (*ReservationAffinity) GetValues
func (x *ReservationAffinity) GetValues() []string
func (*ReservationAffinity) ProtoMessage
func (*ReservationAffinity) ProtoMessage()
func (*ReservationAffinity) ProtoReflect
func (x *ReservationAffinity) ProtoReflect() protoreflect.Message
func (*ReservationAffinity) Reset
func (x *ReservationAffinity) Reset()
func (*ReservationAffinity) String
func (x *ReservationAffinity) String() string
ReservationAffinity_Type
type ReservationAffinity_Type int32
Indicates whether to consume capacity from a reservation or not.
ReservationAffinity_UNSPECIFIED, ReservationAffinity_NO_RESERVATION, ReservationAffinity_ANY_RESERVATION, ReservationAffinity_SPECIFIC_RESERVATION
const (
// Default value. This should not be used.
ReservationAffinity_UNSPECIFIED ReservationAffinity_Type = 0
// Do not consume from any reserved capacity.
ReservationAffinity_NO_RESERVATION ReservationAffinity_Type = 1
// Consume any reservation available.
ReservationAffinity_ANY_RESERVATION ReservationAffinity_Type = 2
// Must consume from a specific reservation. Must specify key value fields
// for specifying the reservations.
ReservationAffinity_SPECIFIC_RESERVATION ReservationAffinity_Type = 3
)
func (ReservationAffinity_Type) Descriptor
func (ReservationAffinity_Type) Descriptor() protoreflect.EnumDescriptor
func (ReservationAffinity_Type) Enum
func (x ReservationAffinity_Type) Enum() *ReservationAffinity_Type
func (ReservationAffinity_Type) EnumDescriptor
func (ReservationAffinity_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReservationAffinity_Type.Descriptor instead.
func (ReservationAffinity_Type) Number
func (x ReservationAffinity_Type) Number() protoreflect.EnumNumber
func (ReservationAffinity_Type) String
func (x ReservationAffinity_Type) String() string
func (ReservationAffinity_Type) Type
func (ReservationAffinity_Type) Type() protoreflect.EnumType
ResourceLabels
type ResourceLabels struct {
Labels map[string]string "" /* 153 byte string literal not displayed */
}
Collection of GCP labels.
func (*ResourceLabels) Descriptor
func (*ResourceLabels) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLabels.ProtoReflect.Descriptor instead.
func (*ResourceLabels) GetLabels
func (x *ResourceLabels) GetLabels() map[string]string
func (*ResourceLabels) ProtoMessage
func (*ResourceLabels) ProtoMessage()
func (*ResourceLabels) ProtoReflect
func (x *ResourceLabels) ProtoReflect() protoreflect.Message
func (*ResourceLabels) Reset
func (x *ResourceLabels) Reset()
func (*ResourceLabels) String
func (x *ResourceLabels) String() string
ResourceLimit
type ResourceLimit struct {
// Resource name "cpu", "memory" or gpu-specific string.
ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
// Minimum amount of the resource in the cluster.
Minimum int64 `protobuf:"varint,2,opt,name=minimum,proto3" json:"minimum,omitempty"`
// Maximum amount of the resource in the cluster.
Maximum int64 `protobuf:"varint,3,opt,name=maximum,proto3" json:"maximum,omitempty"`
// contains filtered or unexported fields
}
Contains information about amount of some resource in the cluster. For memory, value should be in GB.
func (*ResourceLimit) Descriptor
func (*ResourceLimit) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimit.ProtoReflect.Descriptor instead.
func (*ResourceLimit) GetMaximum
func (x *ResourceLimit) GetMaximum() int64
func (*ResourceLimit) GetMinimum
func (x *ResourceLimit) GetMinimum() int64
func (*ResourceLimit) GetResourceType
func (x *ResourceLimit) GetResourceType() string
func (*ResourceLimit) ProtoMessage
func (*ResourceLimit) ProtoMessage()
func (*ResourceLimit) ProtoReflect
func (x *ResourceLimit) ProtoReflect() protoreflect.Message
func (*ResourceLimit) Reset
func (x *ResourceLimit) Reset()
func (*ResourceLimit) String
func (x *ResourceLimit) String() string
ResourceUsageExportConfig
type ResourceUsageExportConfig struct {
BigqueryDestination *ResourceUsageExportConfig_BigQueryDestination `protobuf:"bytes,1,opt,name=bigquery_destination,json=bigqueryDestination,proto3" json:"bigquery_destination,omitempty"`
EnableNetworkEgressMetering bool "" /* 147 byte string literal not displayed */
ConsumptionMeteringConfig *ResourceUsageExportConfig_ConsumptionMeteringConfig "" /* 138 byte string literal not displayed */
}
Configuration for exporting cluster resource usages.
func (*ResourceUsageExportConfig) Descriptor
func (*ResourceUsageExportConfig) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsageExportConfig.ProtoReflect.Descriptor instead.
func (*ResourceUsageExportConfig) GetBigqueryDestination
func (x *ResourceUsageExportConfig) GetBigqueryDestination() *ResourceUsageExportConfig_BigQueryDestination
func (*ResourceUsageExportConfig) GetConsumptionMeteringConfig
func (x *ResourceUsageExportConfig) GetConsumptionMeteringConfig() *ResourceUsageExportConfig_ConsumptionMeteringConfig
func (*ResourceUsageExportConfig) GetEnableNetworkEgressMetering
func (x *ResourceUsageExportConfig) GetEnableNetworkEgressMetering() bool
func (*ResourceUsageExportConfig) ProtoMessage
func (*ResourceUsageExportConfig) ProtoMessage()
func (*ResourceUsageExportConfig) ProtoReflect
func (x *ResourceUsageExportConfig) ProtoReflect() protoreflect.Message
func (*ResourceUsageExportConfig) Reset
func (x *ResourceUsageExportConfig) Reset()
func (*ResourceUsageExportConfig) String
func (x *ResourceUsageExportConfig) String() string
ResourceUsageExportConfig_BigQueryDestination
type ResourceUsageExportConfig_BigQueryDestination struct {
// The ID of a BigQuery Dataset.
DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
// contains filtered or unexported fields
}
Parameters for using BigQuery as the destination of resource usage export.
func (*ResourceUsageExportConfig_BigQueryDestination) Descriptor
func (*ResourceUsageExportConfig_BigQueryDestination) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsageExportConfig_BigQueryDestination.ProtoReflect.Descriptor instead.
func (*ResourceUsageExportConfig_BigQueryDestination) GetDatasetId
func (x *ResourceUsageExportConfig_BigQueryDestination) GetDatasetId() string
func (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage
func (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage()
func (*ResourceUsageExportConfig_BigQueryDestination) ProtoReflect
func (x *ResourceUsageExportConfig_BigQueryDestination) ProtoReflect() protoreflect.Message
func (*ResourceUsageExportConfig_BigQueryDestination) Reset
func (x *ResourceUsageExportConfig_BigQueryDestination) Reset()
func (*ResourceUsageExportConfig_BigQueryDestination) String
func (x *ResourceUsageExportConfig_BigQueryDestination) String() string
ResourceUsageExportConfig_ConsumptionMeteringConfig
type ResourceUsageExportConfig_ConsumptionMeteringConfig struct {
// Whether to enable consumption metering for this cluster. If enabled, a
// second BigQuery table will be created to hold resource consumption
// records.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Parameters for controlling consumption metering.
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Descriptor
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Descriptor() ([]byte, []int)
Deprecated: Use ResourceUsageExportConfig_ConsumptionMeteringConfig.ProtoReflect.Descriptor instead.
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) GetEnabled
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) GetEnabled() bool
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoMessage
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoMessage()
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoReflect
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoReflect() protoreflect.Message
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Reset
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) Reset()
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) String
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) String() string
RollbackNodePoolUpgradeRequest
type RollbackNodePoolUpgradeRequest 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
// cluster 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 name of the cluster to rollback.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Deprecated. The name of the node pool to rollback.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
// The name (project, location, cluster, node pool id) of the node poll to
// rollback upgrade.
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Option for rollback to ignore the PodDisruptionBudget.
// Default value is false.
RespectPdb bool `protobuf:"varint,7,opt,name=respect_pdb,json=respectPdb,proto3" json:"respect_pdb,omitempty"`
// contains filtered or unexported fields
}
RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
func (*RollbackNodePoolUpgradeRequest) Descriptor
func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.
func (*RollbackNodePoolUpgradeRequest) GetClusterId
func (x *RollbackNodePoolUpgradeRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetName
func (x *RollbackNodePoolUpgradeRequest) GetName() string
func (*RollbackNodePoolUpgradeRequest) GetNodePoolId
func (x *RollbackNodePoolUpgradeRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetProjectId
func (x *RollbackNodePoolUpgradeRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetRespectPdb
func (x *RollbackNodePoolUpgradeRequest) GetRespectPdb() bool
func (*RollbackNodePoolUpgradeRequest) GetZone
func (x *RollbackNodePoolUpgradeRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) ProtoMessage
func (*RollbackNodePoolUpgradeRequest) ProtoMessage()
func (*RollbackNodePoolUpgradeRequest) ProtoReflect
func (x *RollbackNodePoolUpgradeRequest) ProtoReflect() protoreflect.Message
func (*RollbackNodePoolUpgradeRequest) Reset
func (x *RollbackNodePoolUpgradeRequest) Reset()
func (*RollbackNodePoolUpgradeRequest) String
func (x *RollbackNodePoolUpgradeRequest) String() string
SandboxConfig
type SandboxConfig struct {
// Type of the sandbox to use for the node.
Type SandboxConfig_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.container.v1.SandboxConfig_Type" json:"type,omitempty"`
// contains filtered or unexported fields
}
SandboxConfig contains configurations of the sandbox to use for the node.
func (*SandboxConfig) Descriptor
func (*SandboxConfig) Descriptor() ([]byte, []int)
Deprecated: Use SandboxConfig.ProtoReflect.Descriptor instead.
func (*SandboxConfig) GetType
func (x *SandboxConfig) GetType() SandboxConfig_Type
func (*SandboxConfig) ProtoMessage
func (*SandboxConfig) ProtoMessage()
func (*SandboxConfig) ProtoReflect
func (x *SandboxConfig) ProtoReflect() protoreflect.Message
func (*SandboxConfig) Reset
func (x *SandboxConfig) Reset()
func (*SandboxConfig) String
func (x *SandboxConfig) String() string
SandboxConfig_Type
type SandboxConfig_Type int32
Possible types of sandboxes.
SandboxConfig_UNSPECIFIED, SandboxConfig_GVISOR
const (
// Default value. This should not be used.
SandboxConfig_UNSPECIFIED SandboxConfig_Type = 0
// Run sandbox using gvisor.
SandboxConfig_GVISOR SandboxConfig_Type = 1
)
func (SandboxConfig_Type) Descriptor
func (SandboxConfig_Type) Descriptor() protoreflect.EnumDescriptor
func (SandboxConfig_Type) Enum
func (x SandboxConfig_Type) Enum() *SandboxConfig_Type
func (SandboxConfig_Type) EnumDescriptor
func (SandboxConfig_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SandboxConfig_Type.Descriptor instead.
func (SandboxConfig_Type) Number
func (x SandboxConfig_Type) Number() protoreflect.EnumNumber
func (SandboxConfig_Type) String
func (x SandboxConfig_Type) String() string
func (SandboxConfig_Type) Type
func (SandboxConfig_Type) Type() protoreflect.EnumType
SecurityBulletinEvent
type SecurityBulletinEvent struct {
ResourceTypeAffected string `protobuf:"bytes,1,opt,name=resource_type_affected,json=resourceTypeAffected,proto3" json:"resource_type_affected,omitempty"`
BulletinId string `protobuf:"bytes,2,opt,name=bulletin_id,json=bulletinId,proto3" json:"bulletin_id,omitempty"`
CveIds []string `protobuf:"bytes,3,rep,name=cve_ids,json=cveIds,proto3" json:"cve_ids,omitempty"`
Severity string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
BulletinUri string `protobuf:"bytes,5,opt,name=bulletin_uri,json=bulletinUri,proto3" json:"bulletin_uri,omitempty"`
BriefDescription string `protobuf:"bytes,6,opt,name=brief_description,json=briefDescription,proto3" json:"brief_description,omitempty"`
AffectedSupportedMinors []string "" /* 132 byte string literal not displayed */
PatchedVersions []string `protobuf:"bytes,8,rep,name=patched_versions,json=patchedVersions,proto3" json:"patched_versions,omitempty"`
SuggestedUpgradeTarget string "" /* 129 byte string literal not displayed */
ManualStepsRequired bool `protobuf:"varint,10,opt,name=manual_steps_required,json=manualStepsRequired,proto3" json:"manual_steps_required,omitempty"`
}
SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.
func (*SecurityBulletinEvent) Descriptor
func (*SecurityBulletinEvent) Descriptor() ([]byte, []int)
Deprecated: Use SecurityBulletinEvent.ProtoReflect.Descriptor instead.
func (*SecurityBulletinEvent) GetAffectedSupportedMinors
func (x *SecurityBulletinEvent) GetAffectedSupportedMinors() []string
func (*SecurityBulletinEvent) GetBriefDescription
func (x *SecurityBulletinEvent) GetBriefDescription() string
func (*SecurityBulletinEvent) GetBulletinId
func (x *SecurityBulletinEvent) GetBulletinId() string
func (*SecurityBulletinEvent) GetBulletinUri
func (x *SecurityBulletinEvent) GetBulletinUri() string
func (*SecurityBulletinEvent) GetCveIds
func (x *SecurityBulletinEvent) GetCveIds() []string
func (*SecurityBulletinEvent) GetManualStepsRequired
func (x *SecurityBulletinEvent) GetManualStepsRequired() bool
func (*SecurityBulletinEvent) GetPatchedVersions
func (x *SecurityBulletinEvent) GetPatchedVersions() []string
func (*SecurityBulletinEvent) GetResourceTypeAffected
func (x *SecurityBulletinEvent) GetResourceTypeAffected() string
func (*SecurityBulletinEvent) GetSeverity
func (x *SecurityBulletinEvent) GetSeverity() string
func (*SecurityBulletinEvent) GetSuggestedUpgradeTarget
func (x *SecurityBulletinEvent) GetSuggestedUpgradeTarget() string
func (*SecurityBulletinEvent) ProtoMessage
func (*SecurityBulletinEvent) ProtoMessage()
func (*SecurityBulletinEvent) ProtoReflect
func (x *SecurityBulletinEvent) ProtoReflect() protoreflect.Message
func (*SecurityBulletinEvent) Reset
func (x *SecurityBulletinEvent) Reset()
func (*SecurityBulletinEvent) String
func (x *SecurityBulletinEvent) String() string
ServerConfig
type ServerConfig struct {
// Version of Kubernetes the service deploys by default.
DefaultClusterVersion string `protobuf:"bytes,1,opt,name=default_cluster_version,json=defaultClusterVersion,proto3" json:"default_cluster_version,omitempty"`
// List of valid node upgrade target versions, in descending order.
ValidNodeVersions []string `protobuf:"bytes,3,rep,name=valid_node_versions,json=validNodeVersions,proto3" json:"valid_node_versions,omitempty"`
// Default image type.
DefaultImageType string `protobuf:"bytes,4,opt,name=default_image_type,json=defaultImageType,proto3" json:"default_image_type,omitempty"`
// List of valid image types.
ValidImageTypes []string `protobuf:"bytes,5,rep,name=valid_image_types,json=validImageTypes,proto3" json:"valid_image_types,omitempty"`
// List of valid master versions, in descending order.
ValidMasterVersions []string `protobuf:"bytes,6,rep,name=valid_master_versions,json=validMasterVersions,proto3" json:"valid_master_versions,omitempty"`
// List of release channel configurations.
Channels []*ServerConfig_ReleaseChannelConfig `protobuf:"bytes,9,rep,name=channels,proto3" json:"channels,omitempty"`
// contains filtered or unexported fields
}
Kubernetes Engine service configuration.
func (*ServerConfig) Descriptor
func (*ServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig) GetChannels
func (x *ServerConfig) GetChannels() []*ServerConfig_ReleaseChannelConfig
func (*ServerConfig) GetDefaultClusterVersion
func (x *ServerConfig) GetDefaultClusterVersion() string
func (*ServerConfig) GetDefaultImageType
func (x *ServerConfig) GetDefaultImageType() string
func (*ServerConfig) GetValidImageTypes
func (x *ServerConfig) GetValidImageTypes() []string
func (*ServerConfig) GetValidMasterVersions
func (x *ServerConfig) GetValidMasterVersions() []string
func (*ServerConfig) GetValidNodeVersions
func (x *ServerConfig) GetValidNodeVersions() []string
func (*ServerConfig) ProtoMessage
func (*ServerConfig) ProtoMessage()
func (*ServerConfig) ProtoReflect
func (x *ServerConfig) ProtoReflect() protoreflect.Message
func (*ServerConfig) Reset
func (x *ServerConfig) Reset()
func (*ServerConfig) String
func (x *ServerConfig) String() string
ServerConfig_ReleaseChannelConfig
type ServerConfig_ReleaseChannelConfig struct {
// The release channel this configuration applies to.
Channel ReleaseChannel_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.container.v1.ReleaseChannel_Channel" json:"channel,omitempty"`
// The default version for newly created clusters on the channel.
DefaultVersion string `protobuf:"bytes,2,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
// List of valid versions for the channel.
ValidVersions []string `protobuf:"bytes,4,rep,name=valid_versions,json=validVersions,proto3" json:"valid_versions,omitempty"`
// contains filtered or unexported fields
}
ReleaseChannelConfig exposes configuration for a release channel.
func (*ServerConfig_ReleaseChannelConfig) Descriptor
func (*ServerConfig_ReleaseChannelConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig_ReleaseChannelConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig_ReleaseChannelConfig) GetChannel
func (x *ServerConfig_ReleaseChannelConfig) GetChannel() ReleaseChannel_Channel
func (*ServerConfig_ReleaseChannelConfig) GetDefaultVersion
func (x *ServerConfig_ReleaseChannelConfig) GetDefaultVersion() string
func (*ServerConfig_ReleaseChannelConfig) GetValidVersions
func (x *ServerConfig_ReleaseChannelConfig) GetValidVersions() []string
func (*ServerConfig_ReleaseChannelConfig) ProtoMessage
func (*ServerConfig_ReleaseChannelConfig) ProtoMessage()
func (*ServerConfig_ReleaseChannelConfig) ProtoReflect
func (x *ServerConfig_ReleaseChannelConfig) ProtoReflect() protoreflect.Message
func (*ServerConfig_ReleaseChannelConfig) Reset
func (x *ServerConfig_ReleaseChannelConfig) Reset()
func (*ServerConfig_ReleaseChannelConfig) String
func (x *ServerConfig_ReleaseChannelConfig) String() string
ServiceExternalIPsConfig
type ServiceExternalIPsConfig struct {
// Whether Services with ExternalIPs field are allowed or not.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Config to block services with externalIPs field.
func (*ServiceExternalIPsConfig) Descriptor
func (*ServiceExternalIPsConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServiceExternalIPsConfig.ProtoReflect.Descriptor instead.
func (*ServiceExternalIPsConfig) GetEnabled
func (x *ServiceExternalIPsConfig) GetEnabled() bool
func (*ServiceExternalIPsConfig) ProtoMessage
func (*ServiceExternalIPsConfig) ProtoMessage()
func (*ServiceExternalIPsConfig) ProtoReflect
func (x *ServiceExternalIPsConfig) ProtoReflect() protoreflect.Message
func (*ServiceExternalIPsConfig) Reset
func (x *ServiceExternalIPsConfig) Reset()
func (*ServiceExternalIPsConfig) String
func (x *ServiceExternalIPsConfig) String() string
SetAddonsConfigRequest
type SetAddonsConfigRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The desired configurations for the various addons available to
// run in the cluster.
AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
// The name (project, location, cluster) of the cluster to set addons.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetAddonsConfigRequest sets the addons associated with the cluster.
func (*SetAddonsConfigRequest) Descriptor
func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAddonsConfigRequest.ProtoReflect.Descriptor instead.
func (*SetAddonsConfigRequest) GetAddonsConfig
func (x *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig
func (*SetAddonsConfigRequest) GetClusterId
func (x *SetAddonsConfigRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) GetName
func (x *SetAddonsConfigRequest) GetName() string
func (*SetAddonsConfigRequest) GetProjectId
func (x *SetAddonsConfigRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) GetZone
func (x *SetAddonsConfigRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) ProtoMessage
func (*SetAddonsConfigRequest) ProtoMessage()
func (*SetAddonsConfigRequest) ProtoReflect
func (x *SetAddonsConfigRequest) ProtoReflect() protoreflect.Message
func (*SetAddonsConfigRequest) Reset
func (x *SetAddonsConfigRequest) Reset()
func (*SetAddonsConfigRequest) String
func (x *SetAddonsConfigRequest) String() string
SetLabelsRequest
type SetLabelsRequest struct {
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
ResourceLabels map[string]string "" /* 191 byte string literal not displayed */
LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
}
SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
func (*SetLabelsRequest) Descriptor
func (*SetLabelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLabelsRequest.ProtoReflect.Descriptor instead.
func (*SetLabelsRequest) GetClusterId
func (x *SetLabelsRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) GetLabelFingerprint
func (x *SetLabelsRequest) GetLabelFingerprint() string
func (*SetLabelsRequest) GetName
func (x *SetLabelsRequest) GetName() string
func (*SetLabelsRequest) GetProjectId
func (x *SetLabelsRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) GetResourceLabels
func (x *SetLabelsRequest) GetResourceLabels() map[string]string
func (*SetLabelsRequest) GetZone
func (x *SetLabelsRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) ProtoMessage
func (*SetLabelsRequest) ProtoMessage()
func (*SetLabelsRequest) ProtoReflect
func (x *SetLabelsRequest) ProtoReflect() protoreflect.Message
func (*SetLabelsRequest) Reset
func (x *SetLabelsRequest) Reset()
func (*SetLabelsRequest) String
func (x *SetLabelsRequest) String() string
SetLegacyAbacRequest
type SetLegacyAbacRequest 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
// cluster 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 name of the cluster to update.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. Whether ABAC authorization will be enabled in the cluster.
Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The name (project, location, cluster name) of the cluster to set legacy
// abac. Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.
func (*SetLegacyAbacRequest) Descriptor
func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLegacyAbacRequest.ProtoReflect.Descriptor instead.
func (*SetLegacyAbacRequest) GetClusterId
func (x *SetLegacyAbacRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) GetEnabled
func (x *SetLegacyAbacRequest) GetEnabled() bool
func (*SetLegacyAbacRequest) GetName
func (x *SetLegacyAbacRequest) GetName() string
func (*SetLegacyAbacRequest) GetProjectId
func (x *SetLegacyAbacRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) GetZone
func (x *SetLegacyAbacRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) ProtoMessage
func (*SetLegacyAbacRequest) ProtoMessage()
func (*SetLegacyAbacRequest) ProtoReflect
func (x *SetLegacyAbacRequest) ProtoReflect() protoreflect.Message
func (*SetLegacyAbacRequest) Reset
func (x *SetLegacyAbacRequest) Reset()
func (*SetLegacyAbacRequest) String
func (x *SetLegacyAbacRequest) String() string
SetLocationsRequest
type SetLocationsRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. 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. Changing the locations a cluster is in
// will result in nodes being either created or removed from the cluster,
// depending on whether locations are being added or removed.
//
// This list must always include the cluster's primary zone.
Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"`
// The name (project, location, cluster) of the cluster to set locations.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetLocationsRequest sets the locations of the cluster.
func (*SetLocationsRequest) Descriptor
func (*SetLocationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLocationsRequest.ProtoReflect.Descriptor instead.
func (*SetLocationsRequest) GetClusterId
func (x *SetLocationsRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) GetLocations
func (x *SetLocationsRequest) GetLocations() []string
func (*SetLocationsRequest) GetName
func (x *SetLocationsRequest) GetName() string
func (*SetLocationsRequest) GetProjectId
func (x *SetLocationsRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) GetZone
func (x *SetLocationsRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) ProtoMessage
func (*SetLocationsRequest) ProtoMessage()
func (*SetLocationsRequest) ProtoReflect
func (x *SetLocationsRequest) ProtoReflect() protoreflect.Message
func (*SetLocationsRequest) Reset
func (x *SetLocationsRequest) Reset()
func (*SetLocationsRequest) String
func (x *SetLocationsRequest) String() string
SetLoggingServiceRequest
type SetLoggingServiceRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. 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,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
// The name (project, location, cluster) of the cluster to set logging.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetLoggingServiceRequest sets the logging service of a cluster.
func (*SetLoggingServiceRequest) Descriptor
func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLoggingServiceRequest.ProtoReflect.Descriptor instead.
func (*SetLoggingServiceRequest) GetClusterId
func (x *SetLoggingServiceRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) GetLoggingService
func (x *SetLoggingServiceRequest) GetLoggingService() string
func (*SetLoggingServiceRequest) GetName
func (x *SetLoggingServiceRequest) GetName() string
func (*SetLoggingServiceRequest) GetProjectId
func (x *SetLoggingServiceRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) GetZone
func (x *SetLoggingServiceRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) ProtoMessage
func (*SetLoggingServiceRequest) ProtoMessage()
func (*SetLoggingServiceRequest) ProtoReflect
func (x *SetLoggingServiceRequest) ProtoReflect() protoreflect.Message
func (*SetLoggingServiceRequest) Reset
func (x *SetLoggingServiceRequest) Reset()
func (*SetLoggingServiceRequest) String
func (x *SetLoggingServiceRequest) String() string
SetMaintenancePolicyRequest
type SetMaintenancePolicyRequest struct {
// Required. The Google Developers Console [project ID or project
// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The name of the Google Compute Engine
// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
// cluster resides.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// Required. The name of the cluster to update.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The maintenance policy to be set for the cluster. An empty field
// clears the existing maintenance policy.
MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
// The name (project, location, cluster name) of the cluster to set
// maintenance policy.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
func (*SetMaintenancePolicyRequest) Descriptor
func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMaintenancePolicyRequest.ProtoReflect.Descriptor instead.
func (*SetMaintenancePolicyRequest) GetClusterId
func (x *SetMaintenancePolicyRequest) GetClusterId() string
func (*SetMaintenancePolicyRequest) GetMaintenancePolicy
func (x *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy
func (*SetMaintenancePolicyRequest) GetName
func (x *SetMaintenancePolicyRequest) GetName() string
func (*SetMaintenancePolicyRequest) GetProjectId
func (x *SetMaintenancePolicyRequest) GetProjectId() string
func (*SetMaintenancePolicyRequest) GetZone
func (x *SetMaintenancePolicyRequest) GetZone() string
func (*SetMaintenancePolicyRequest) ProtoMessage
func (*SetMaintenancePolicyRequest) ProtoMessage()
func (*SetMaintenancePolicyRequest) ProtoReflect
func (x *SetMaintenancePolicyRequest) ProtoReflect() protoreflect.Message
func (*SetMaintenancePolicyRequest) Reset
func (x *SetMaintenancePolicyRequest) Reset()
func (*SetMaintenancePolicyRequest) String
func (x *SetMaintenancePolicyRequest) String() string
SetMasterAuthRequest
type SetMasterAuthRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The exact form of action to be taken on the master auth.
Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1.SetMasterAuthRequest_Action" json:"action,omitempty"`
// Required. A description of the update.
Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"`
// The name (project, location, cluster) of the cluster to set auth.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetMasterAuthRequest updates the admin password of a cluster.
func (*SetMasterAuthRequest) Descriptor
func (*SetMasterAuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMasterAuthRequest.ProtoReflect.Descriptor instead.
func (*SetMasterAuthRequest) GetAction
func (x *SetMasterAuthRequest) GetAction() SetMasterAuthRequest_Action
func (*SetMasterAuthRequest) GetClusterId
func (x *SetMasterAuthRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) GetName
func (x *SetMasterAuthRequest) GetName() string
func (*SetMasterAuthRequest) GetProjectId
func (x *SetMasterAuthRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) GetUpdate
func (x *SetMasterAuthRequest) GetUpdate() *MasterAuth
func (*SetMasterAuthRequest) GetZone
func (x *SetMasterAuthRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) ProtoMessage
func (*SetMasterAuthRequest) ProtoMessage()
func (*SetMasterAuthRequest) ProtoReflect
func (x *SetMasterAuthRequest) ProtoReflect() protoreflect.Message
func (*SetMasterAuthRequest) Reset
func (x *SetMasterAuthRequest) Reset()
func (*SetMasterAuthRequest) String
func (x *SetMasterAuthRequest) String() string
SetMasterAuthRequest_Action
type SetMasterAuthRequest_Action int32
Operation type: what type update to perform.
SetMasterAuthRequest_UNKNOWN, SetMasterAuthRequest_SET_PASSWORD, SetMasterAuthRequest_GENERATE_PASSWORD, SetMasterAuthRequest_SET_USERNAME
const (
// Operation is unknown and will error out.
SetMasterAuthRequest_UNKNOWN SetMasterAuthRequest_Action = 0
// Set the password to a user generated value.
SetMasterAuthRequest_SET_PASSWORD SetMasterAuthRequest_Action = 1
// Generate a new password and set it to that.
SetMasterAuthRequest_GENERATE_PASSWORD SetMasterAuthRequest_Action = 2
// Set the username. If an empty username is provided, basic authentication
// is disabled for the cluster. If a non-empty username is provided, basic
// authentication is enabled, with either a provided password or a generated
// one.
SetMasterAuthRequest_SET_USERNAME SetMasterAuthRequest_Action = 3
)
func (SetMasterAuthRequest_Action) Descriptor
func (SetMasterAuthRequest_Action) Descriptor() protoreflect.EnumDescriptor
func (SetMasterAuthRequest_Action) Enum
func (x SetMasterAuthRequest_Action) Enum() *SetMasterAuthRequest_Action
func (SetMasterAuthRequest_Action) EnumDescriptor
func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetMasterAuthRequest_Action.Descriptor instead.
func (SetMasterAuthRequest_Action) Number
func (x SetMasterAuthRequest_Action) Number() protoreflect.EnumNumber
func (SetMasterAuthRequest_Action) String
func (x SetMasterAuthRequest_Action) String() string
func (SetMasterAuthRequest_Action) Type
func (SetMasterAuthRequest_Action) Type() protoreflect.EnumType
SetMonitoringServiceRequest
type SetMonitoringServiceRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. 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,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
// The name (project, location, cluster) of the cluster to set monitoring.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetMonitoringServiceRequest sets the monitoring service of a cluster.
func (*SetMonitoringServiceRequest) Descriptor
func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetMonitoringServiceRequest.ProtoReflect.Descriptor instead.
func (*SetMonitoringServiceRequest) GetClusterId
func (x *SetMonitoringServiceRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) GetMonitoringService
func (x *SetMonitoringServiceRequest) GetMonitoringService() string
func (*SetMonitoringServiceRequest) GetName
func (x *SetMonitoringServiceRequest) GetName() string
func (*SetMonitoringServiceRequest) GetProjectId
func (x *SetMonitoringServiceRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) GetZone
func (x *SetMonitoringServiceRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) ProtoMessage
func (*SetMonitoringServiceRequest) ProtoMessage()
func (*SetMonitoringServiceRequest) ProtoReflect
func (x *SetMonitoringServiceRequest) ProtoReflect() protoreflect.Message
func (*SetMonitoringServiceRequest) Reset
func (x *SetMonitoringServiceRequest) Reset()
func (*SetMonitoringServiceRequest) String
func (x *SetMonitoringServiceRequest) String() string
SetNetworkPolicyRequest
type SetNetworkPolicyRequest 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
// cluster 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 name of the cluster.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. Configuration options for the NetworkPolicy feature.
NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
// The name (project, location, cluster name) of the cluster to set networking
// policy. Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetNetworkPolicyRequest enables/disables network policy for a cluster.
func (*SetNetworkPolicyRequest) Descriptor
func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNetworkPolicyRequest.ProtoReflect.Descriptor instead.
func (*SetNetworkPolicyRequest) GetClusterId
func (x *SetNetworkPolicyRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) GetName
func (x *SetNetworkPolicyRequest) GetName() string
func (*SetNetworkPolicyRequest) GetNetworkPolicy
func (x *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy
func (*SetNetworkPolicyRequest) GetProjectId
func (x *SetNetworkPolicyRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) GetZone
func (x *SetNetworkPolicyRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) ProtoMessage
func (*SetNetworkPolicyRequest) ProtoMessage()
func (*SetNetworkPolicyRequest) ProtoReflect
func (x *SetNetworkPolicyRequest) ProtoReflect() protoreflect.Message
func (*SetNetworkPolicyRequest) Reset
func (x *SetNetworkPolicyRequest) Reset()
func (*SetNetworkPolicyRequest) String
func (x *SetNetworkPolicyRequest) String() string
SetNodePoolAutoscalingRequest
type SetNodePoolAutoscalingRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Deprecated. The name of the node pool to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
// Required. Autoscaling configuration for the node pool.
Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
// The name (project, location, cluster, node pool) of the node pool to set
// autoscaler settings. Specified in the format
// `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
func (*SetNodePoolAutoscalingRequest) Descriptor
func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolAutoscalingRequest.ProtoReflect.Descriptor instead.
func (*SetNodePoolAutoscalingRequest) GetAutoscaling
func (x *SetNodePoolAutoscalingRequest) GetAutoscaling() *NodePoolAutoscaling
func (*SetNodePoolAutoscalingRequest) GetClusterId
func (x *SetNodePoolAutoscalingRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetName
func (x *SetNodePoolAutoscalingRequest) GetName() string
func (*SetNodePoolAutoscalingRequest) GetNodePoolId
func (x *SetNodePoolAutoscalingRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetProjectId
func (x *SetNodePoolAutoscalingRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetZone
func (x *SetNodePoolAutoscalingRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) ProtoMessage
func (*SetNodePoolAutoscalingRequest) ProtoMessage()
func (*SetNodePoolAutoscalingRequest) ProtoReflect
func (x *SetNodePoolAutoscalingRequest) ProtoReflect() protoreflect.Message
func (*SetNodePoolAutoscalingRequest) Reset
func (x *SetNodePoolAutoscalingRequest) Reset()
func (*SetNodePoolAutoscalingRequest) String
func (x *SetNodePoolAutoscalingRequest) String() string
SetNodePoolManagementRequest
type SetNodePoolManagementRequest 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
// cluster 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 name of the cluster to update.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Deprecated. The name of the node pool to update.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
// Required. NodeManagement configuration for the node pool.
Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
// The name (project, location, cluster, node pool id) of the node pool to set
// management properties. Specified in the format
// `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetNodePoolManagementRequest sets the node management properties of a node pool.
func (*SetNodePoolManagementRequest) Descriptor
func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolManagementRequest.ProtoReflect.Descriptor instead.
func (*SetNodePoolManagementRequest) GetClusterId
func (x *SetNodePoolManagementRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetManagement
func (x *SetNodePoolManagementRequest) GetManagement() *NodeManagement
func (*SetNodePoolManagementRequest) GetName
func (x *SetNodePoolManagementRequest) GetName() string
func (*SetNodePoolManagementRequest) GetNodePoolId
func (x *SetNodePoolManagementRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetProjectId
func (x *SetNodePoolManagementRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetZone
func (x *SetNodePoolManagementRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) ProtoMessage
func (*SetNodePoolManagementRequest) ProtoMessage()
func (*SetNodePoolManagementRequest) ProtoReflect
func (x *SetNodePoolManagementRequest) ProtoReflect() protoreflect.Message
func (*SetNodePoolManagementRequest) Reset
func (x *SetNodePoolManagementRequest) Reset()
func (*SetNodePoolManagementRequest) String
func (x *SetNodePoolManagementRequest) String() string
SetNodePoolSizeRequest
type SetNodePoolSizeRequest 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
// cluster 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 name of the cluster to update.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Deprecated. The name of the node pool to update.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
// Required. The desired node count for the pool.
NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
// The name (project, location, cluster, node pool id) of the node pool to set
// size.
// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SetNodePoolSizeRequest sets the size of a node pool.
func (*SetNodePoolSizeRequest) Descriptor
func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodePoolSizeRequest.ProtoReflect.Descriptor instead.
func (*SetNodePoolSizeRequest) GetClusterId
func (x *SetNodePoolSizeRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetName
func (x *SetNodePoolSizeRequest) GetName() string
func (*SetNodePoolSizeRequest) GetNodeCount
func (x *SetNodePoolSizeRequest) GetNodeCount() int32
func (*SetNodePoolSizeRequest) GetNodePoolId
func (x *SetNodePoolSizeRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetProjectId
func (x *SetNodePoolSizeRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetZone
func (x *SetNodePoolSizeRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) ProtoMessage
func (*SetNodePoolSizeRequest) ProtoMessage()
func (*SetNodePoolSizeRequest) ProtoReflect
func (x *SetNodePoolSizeRequest) ProtoReflect() protoreflect.Message
func (*SetNodePoolSizeRequest) Reset
func (x *SetNodePoolSizeRequest) Reset()
func (*SetNodePoolSizeRequest) String
func (x *SetNodePoolSizeRequest) String() string
ShieldedInstanceConfig
type ShieldedInstanceConfig struct {
EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
EnableIntegrityMonitoring bool "" /* 139 byte string literal not displayed */
}
A set of Shielded Instance options.
func (*ShieldedInstanceConfig) Descriptor
func (*ShieldedInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ShieldedInstanceConfig.ProtoReflect.Descriptor instead.
func (*ShieldedInstanceConfig) GetEnableIntegrityMonitoring
func (x *ShieldedInstanceConfig) GetEnableIntegrityMonitoring() bool
func (*ShieldedInstanceConfig) GetEnableSecureBoot
func (x *ShieldedInstanceConfig) GetEnableSecureBoot() bool
func (*ShieldedInstanceConfig) ProtoMessage
func (*ShieldedInstanceConfig) ProtoMessage()
func (*ShieldedInstanceConfig) ProtoReflect
func (x *ShieldedInstanceConfig) ProtoReflect() protoreflect.Message
func (*ShieldedInstanceConfig) Reset
func (x *ShieldedInstanceConfig) Reset()
func (*ShieldedInstanceConfig) String
func (x *ShieldedInstanceConfig) String() string
ShieldedNodes
type ShieldedNodes struct {
// Whether Shielded Nodes features are enabled on all nodes in this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration of Shielded Nodes feature.
func (*ShieldedNodes) Descriptor
func (*ShieldedNodes) Descriptor() ([]byte, []int)
Deprecated: Use ShieldedNodes.ProtoReflect.Descriptor instead.
func (*ShieldedNodes) GetEnabled
func (x *ShieldedNodes) GetEnabled() bool
func (*ShieldedNodes) ProtoMessage
func (*ShieldedNodes) ProtoMessage()
func (*ShieldedNodes) ProtoReflect
func (x *ShieldedNodes) ProtoReflect() protoreflect.Message
func (*ShieldedNodes) Reset
func (x *ShieldedNodes) Reset()
func (*ShieldedNodes) String
func (x *ShieldedNodes) String() string
StackType
type StackType int32
Possible values for IP stack type
StackType_STACK_TYPE_UNSPECIFIED, StackType_IPV4, StackType_IPV4_IPV6
const (
// Default value, will be defaulted as IPV4 only
StackType_STACK_TYPE_UNSPECIFIED StackType = 0
// Cluster is IPV4 only
StackType_IPV4 StackType = 1
// Cluster can use both IPv4 and IPv6
StackType_IPV4_IPV6 StackType = 2
)
func (StackType) Descriptor
func (StackType) Descriptor() protoreflect.EnumDescriptor
func (StackType) Enum
func (StackType) EnumDescriptor
Deprecated: Use StackType.Descriptor instead.
func (StackType) Number
func (x StackType) Number() protoreflect.EnumNumber
func (StackType) String
func (StackType) Type
func (StackType) Type() protoreflect.EnumType
StartIPRotationRequest
type StartIPRotationRequest 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
// cluster 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 name of the cluster.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// The name (project, location, cluster name) of the cluster to start IP
// rotation. Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Whether to rotate credentials during IP rotation.
RotateCredentials bool `protobuf:"varint,7,opt,name=rotate_credentials,json=rotateCredentials,proto3" json:"rotate_credentials,omitempty"`
// contains filtered or unexported fields
}
StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.
func (*StartIPRotationRequest) Descriptor
func (*StartIPRotationRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartIPRotationRequest.ProtoReflect.Descriptor instead.
func (*StartIPRotationRequest) GetClusterId
func (x *StartIPRotationRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) GetName
func (x *StartIPRotationRequest) GetName() string
func (*StartIPRotationRequest) GetProjectId
func (x *StartIPRotationRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) GetRotateCredentials
func (x *StartIPRotationRequest) GetRotateCredentials() bool
func (*StartIPRotationRequest) GetZone
func (x *StartIPRotationRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) ProtoMessage
func (*StartIPRotationRequest) ProtoMessage()
func (*StartIPRotationRequest) ProtoReflect
func (x *StartIPRotationRequest) ProtoReflect() protoreflect.Message
func (*StartIPRotationRequest) Reset
func (x *StartIPRotationRequest) Reset()
func (*StartIPRotationRequest) String
func (x *StartIPRotationRequest) String() string
StatusCondition
type StatusCondition struct {
// Machine-friendly representation of the condition
// Deprecated. Use canonical_code instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Code StatusCondition_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.container.v1.StatusCondition_Code" json:"code,omitempty"`
// Human-friendly representation of the condition
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// Canonical code of the condition.
CanonicalCode code.Code `protobuf:"varint,3,opt,name=canonical_code,json=canonicalCode,proto3,enum=google.rpc.Code" json:"canonical_code,omitempty"`
// contains filtered or unexported fields
}
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
func (*StatusCondition) Descriptor
func (*StatusCondition) Descriptor() ([]byte, []int)
Deprecated: Use StatusCondition.ProtoReflect.Descriptor instead.
func (*StatusCondition) GetCanonicalCode
func (x *StatusCondition) GetCanonicalCode() code.Code
func (*StatusCondition) GetCode
func (x *StatusCondition) GetCode() StatusCondition_Code
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StatusCondition) GetMessage
func (x *StatusCondition) GetMessage() string
func (*StatusCondition) ProtoMessage
func (*StatusCondition) ProtoMessage()
func (*StatusCondition) ProtoReflect
func (x *StatusCondition) ProtoReflect() protoreflect.Message
func (*StatusCondition) Reset
func (x *StatusCondition) Reset()
func (*StatusCondition) String
func (x *StatusCondition) String() string
StatusCondition_Code
type StatusCondition_Code int32
Code for each condition
StatusCondition_UNKNOWN, StatusCondition_GCE_STOCKOUT, StatusCondition_GKE_SERVICE_ACCOUNT_DELETED, StatusCondition_GCE_QUOTA_EXCEEDED, StatusCondition_SET_BY_OPERATOR, StatusCondition_CLOUD_KMS_KEY_ERROR, StatusCondition_CA_EXPIRING
const (
// UNKNOWN indicates a generic condition.
StatusCondition_UNKNOWN StatusCondition_Code = 0
// GCE_STOCKOUT indicates that Google Compute Engine resources are
// temporarily unavailable.
StatusCondition_GCE_STOCKOUT StatusCondition_Code = 1
// GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
// service account.
StatusCondition_GKE_SERVICE_ACCOUNT_DELETED StatusCondition_Code = 2
// Google Compute Engine quota was exceeded.
StatusCondition_GCE_QUOTA_EXCEEDED StatusCondition_Code = 3
// Cluster state was manually changed by an SRE due to a system logic error.
StatusCondition_SET_BY_OPERATOR StatusCondition_Code = 4
// Unable to perform an encrypt operation against the CloudKMS key used for
// etcd level encryption.
StatusCondition_CLOUD_KMS_KEY_ERROR StatusCondition_Code = 7
// Cluster CA is expiring soon.
StatusCondition_CA_EXPIRING StatusCondition_Code = 9
)
func (StatusCondition_Code) Descriptor
func (StatusCondition_Code) Descriptor() protoreflect.EnumDescriptor
func (StatusCondition_Code) Enum
func (x StatusCondition_Code) Enum() *StatusCondition_Code
func (StatusCondition_Code) EnumDescriptor
func (StatusCondition_Code) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCondition_Code.Descriptor instead.
func (StatusCondition_Code) Number
func (x StatusCondition_Code) Number() protoreflect.EnumNumber
func (StatusCondition_Code) String
func (x StatusCondition_Code) String() string
func (StatusCondition_Code) Type
func (StatusCondition_Code) Type() protoreflect.EnumType
TimeWindow
type TimeWindow struct {
// Types that are assignable to Options:
// *TimeWindow_MaintenanceExclusionOptions
Options isTimeWindow_Options `protobuf_oneof:"options"`
// The time that the window first starts.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The time that the window ends. The end time should take place after the
// start time.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Represents an arbitrary window of time.
func (*TimeWindow) Descriptor
func (*TimeWindow) Descriptor() ([]byte, []int)
Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.
func (*TimeWindow) GetEndTime
func (x *TimeWindow) GetEndTime() *timestamppb.Timestamp
func (*TimeWindow) GetMaintenanceExclusionOptions
func (x *TimeWindow) GetMaintenanceExclusionOptions() *MaintenanceExclusionOptions
func (*TimeWindow) GetOptions
func (m *TimeWindow) GetOptions() isTimeWindow_Options
func (*TimeWindow) GetStartTime
func (x *TimeWindow) GetStartTime() *timestamppb.Timestamp
func (*TimeWindow) ProtoMessage
func (*TimeWindow) ProtoMessage()
func (*TimeWindow) ProtoReflect
func (x *TimeWindow) ProtoReflect() protoreflect.Message
func (*TimeWindow) Reset
func (x *TimeWindow) Reset()
func (*TimeWindow) String
func (x *TimeWindow) String() string
TimeWindow_MaintenanceExclusionOptions
type TimeWindow_MaintenanceExclusionOptions struct {
// MaintenanceExclusionOptions provides maintenance exclusion related
// options.
MaintenanceExclusionOptions *MaintenanceExclusionOptions `protobuf:"bytes,3,opt,name=maintenance_exclusion_options,json=maintenanceExclusionOptions,proto3,oneof"`
}
UnimplementedClusterManagerServer
type UnimplementedClusterManagerServer struct {
}
UnimplementedClusterManagerServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterManagerServer) CancelOperation
func (*UnimplementedClusterManagerServer) CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error)
func (*UnimplementedClusterManagerServer) CompleteIPRotation
func (*UnimplementedClusterManagerServer) CompleteIPRotation(context.Context, *CompleteIPRotationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) CompleteNodePoolUpgrade
func (*UnimplementedClusterManagerServer) CompleteNodePoolUpgrade(context.Context, *CompleteNodePoolUpgradeRequest) (*emptypb.Empty, error)
func (*UnimplementedClusterManagerServer) CreateCluster
func (*UnimplementedClusterManagerServer) CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) CreateNodePool
func (*UnimplementedClusterManagerServer) CreateNodePool(context.Context, *CreateNodePoolRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) DeleteCluster
func (*UnimplementedClusterManagerServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) DeleteNodePool
func (*UnimplementedClusterManagerServer) DeleteNodePool(context.Context, *DeleteNodePoolRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) GetCluster
func (*UnimplementedClusterManagerServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (*UnimplementedClusterManagerServer) GetJSONWebKeys
func (*UnimplementedClusterManagerServer) GetJSONWebKeys(context.Context, *GetJSONWebKeysRequest) (*GetJSONWebKeysResponse, error)
func (*UnimplementedClusterManagerServer) GetNodePool
func (*UnimplementedClusterManagerServer) GetNodePool(context.Context, *GetNodePoolRequest) (*NodePool, error)
func (*UnimplementedClusterManagerServer) GetOperation
func (*UnimplementedClusterManagerServer) GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) GetServerConfig
func (*UnimplementedClusterManagerServer) GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
func (*UnimplementedClusterManagerServer) ListClusters
func (*UnimplementedClusterManagerServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedClusterManagerServer) ListNodePools
func (*UnimplementedClusterManagerServer) ListNodePools(context.Context, *ListNodePoolsRequest) (*ListNodePoolsResponse, error)
func (*UnimplementedClusterManagerServer) ListOperations
func (*UnimplementedClusterManagerServer) ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
func (*UnimplementedClusterManagerServer) ListUsableSubnetworks
func (*UnimplementedClusterManagerServer) ListUsableSubnetworks(context.Context, *ListUsableSubnetworksRequest) (*ListUsableSubnetworksResponse, error)
func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade
func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade(context.Context, *RollbackNodePoolUpgradeRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetAddonsConfig
func (*UnimplementedClusterManagerServer) SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLabels
func (*UnimplementedClusterManagerServer) SetLabels(context.Context, *SetLabelsRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLegacyAbac
func (*UnimplementedClusterManagerServer) SetLegacyAbac(context.Context, *SetLegacyAbacRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLocations
func (*UnimplementedClusterManagerServer) SetLocations(context.Context, *SetLocationsRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetLoggingService
func (*UnimplementedClusterManagerServer) SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMaintenancePolicy
func (*UnimplementedClusterManagerServer) SetMaintenancePolicy(context.Context, *SetMaintenancePolicyRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMasterAuth
func (*UnimplementedClusterManagerServer) SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetMonitoringService
func (*UnimplementedClusterManagerServer) SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNetworkPolicy
func (*UnimplementedClusterManagerServer) SetNetworkPolicy(context.Context, *SetNetworkPolicyRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling
func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolManagement
func (*UnimplementedClusterManagerServer) SetNodePoolManagement(context.Context, *SetNodePoolManagementRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) SetNodePoolSize
func (*UnimplementedClusterManagerServer) SetNodePoolSize(context.Context, *SetNodePoolSizeRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) StartIPRotation
func (*UnimplementedClusterManagerServer) StartIPRotation(context.Context, *StartIPRotationRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateCluster
func (*UnimplementedClusterManagerServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateMaster
func (*UnimplementedClusterManagerServer) UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error)
func (*UnimplementedClusterManagerServer) UpdateNodePool
func (*UnimplementedClusterManagerServer) UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error)
UpdateClusterRequest
type UpdateClusterRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. A description of the update.
Update *ClusterUpdate `protobuf:"bytes,4,opt,name=update,proto3" json:"update,omitempty"`
// The name (project, location, cluster) of the cluster to update.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
UpdateClusterRequest updates the settings of a cluster.
func (*UpdateClusterRequest) Descriptor
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterRequest) GetClusterId
func (x *UpdateClusterRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) GetName
func (x *UpdateClusterRequest) GetName() string
func (*UpdateClusterRequest) GetProjectId
func (x *UpdateClusterRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) GetUpdate
func (x *UpdateClusterRequest) GetUpdate() *ClusterUpdate
func (*UpdateClusterRequest) GetZone
func (x *UpdateClusterRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) ProtoMessage
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) ProtoReflect
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterRequest) Reset
func (x *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String
func (x *UpdateClusterRequest) String() string
UpdateMasterRequest
type UpdateMasterRequest 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
// cluster 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 name of the cluster to upgrade.
// This field has been deprecated and replaced by the name field.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. 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
MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"`
// The name (project, location, cluster) of the cluster to update.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
UpdateMasterRequest updates the master of the cluster.
func (*UpdateMasterRequest) Descriptor
func (*UpdateMasterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMasterRequest.ProtoReflect.Descriptor instead.
func (*UpdateMasterRequest) GetClusterId
func (x *UpdateMasterRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) GetMasterVersion
func (x *UpdateMasterRequest) GetMasterVersion() string
func (*UpdateMasterRequest) GetName
func (x *UpdateMasterRequest) GetName() string
func (*UpdateMasterRequest) GetProjectId
func (x *UpdateMasterRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) GetZone
func (x *UpdateMasterRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) ProtoMessage
func (*UpdateMasterRequest) ProtoMessage()
func (*UpdateMasterRequest) ProtoReflect
func (x *UpdateMasterRequest) ProtoReflect() protoreflect.Message
func (*UpdateMasterRequest) Reset
func (x *UpdateMasterRequest) Reset()
func (*UpdateMasterRequest) String
func (x *UpdateMasterRequest) String() string
UpdateNodePoolRequest
type UpdateNodePoolRequest struct {
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
WorkloadMetadataConfig *WorkloadMetadataConfig "" /* 130 byte string literal not displayed */
UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,15,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"`
Tags *NetworkTags `protobuf:"bytes,16,opt,name=tags,proto3" json:"tags,omitempty"`
Taints *NodeTaints `protobuf:"bytes,17,opt,name=taints,proto3" json:"taints,omitempty"`
Labels *NodeLabels `protobuf:"bytes,18,opt,name=labels,proto3" json:"labels,omitempty"`
LinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,19,opt,name=linux_node_config,json=linuxNodeConfig,proto3" json:"linux_node_config,omitempty"`
KubeletConfig *NodeKubeletConfig `protobuf:"bytes,20,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
NodeNetworkConfig *NodeNetworkConfig `protobuf:"bytes,21,opt,name=node_network_config,json=nodeNetworkConfig,proto3" json:"node_network_config,omitempty"`
GcfsConfig *GcfsConfig `protobuf:"bytes,22,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,23,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
Gvnic *VirtualNIC `protobuf:"bytes,29,opt,name=gvnic,proto3" json:"gvnic,omitempty"`
Etag string `protobuf:"bytes,30,opt,name=etag,proto3" json:"etag,omitempty"`
FastSocket *FastSocket `protobuf:"bytes,31,opt,name=fast_socket,json=fastSocket,proto3" json:"fast_socket,omitempty"`
LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,32,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
ResourceLabels *ResourceLabels `protobuf:"bytes,33,opt,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty"`
WindowsNodeConfig *WindowsNodeConfig `protobuf:"bytes,34,opt,name=windows_node_config,json=windowsNodeConfig,proto3" json:"windows_node_config,omitempty"`
}
UpdateNodePoolRequests update a node pool's image and/or version.
func (*UpdateNodePoolRequest) Descriptor
func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodePoolRequest) GetClusterId
func (x *UpdateNodePoolRequest) GetClusterId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetConfidentialNodes
func (x *UpdateNodePoolRequest) GetConfidentialNodes() *ConfidentialNodes
func (*UpdateNodePoolRequest) GetEtag
func (x *UpdateNodePoolRequest) GetEtag() string
func (*UpdateNodePoolRequest) GetFastSocket
func (x *UpdateNodePoolRequest) GetFastSocket() *FastSocket
func (*UpdateNodePoolRequest) GetGcfsConfig
func (x *UpdateNodePoolRequest) GetGcfsConfig() *GcfsConfig
func (*UpdateNodePoolRequest) GetGvnic
func (x *UpdateNodePoolRequest) GetGvnic() *VirtualNIC
func (*UpdateNodePoolRequest) GetImageType
func (x *UpdateNodePoolRequest) GetImageType() string
func (*UpdateNodePoolRequest) GetKubeletConfig
func (x *UpdateNodePoolRequest) GetKubeletConfig() *NodeKubeletConfig
func (*UpdateNodePoolRequest) GetLabels
func (x *UpdateNodePoolRequest) GetLabels() *NodeLabels
func (*UpdateNodePoolRequest) GetLinuxNodeConfig
func (x *UpdateNodePoolRequest) GetLinuxNodeConfig() *LinuxNodeConfig
func (*UpdateNodePoolRequest) GetLocations
func (x *UpdateNodePoolRequest) GetLocations() []string
func (*UpdateNodePoolRequest) GetLoggingConfig
func (x *UpdateNodePoolRequest) GetLoggingConfig() *NodePoolLoggingConfig
func (*UpdateNodePoolRequest) GetName
func (x *UpdateNodePoolRequest) GetName() string
func (*UpdateNodePoolRequest) GetNodeNetworkConfig
func (x *UpdateNodePoolRequest) GetNodeNetworkConfig() *NodeNetworkConfig
func (*UpdateNodePoolRequest) GetNodePoolId
func (x *UpdateNodePoolRequest) GetNodePoolId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetNodeVersion
func (x *UpdateNodePoolRequest) GetNodeVersion() string
func (*UpdateNodePoolRequest) GetProjectId
func (x *UpdateNodePoolRequest) GetProjectId() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetResourceLabels
func (x *UpdateNodePoolRequest) GetResourceLabels() *ResourceLabels
func (*UpdateNodePoolRequest) GetTags
func (x *UpdateNodePoolRequest) GetTags() *NetworkTags
func (*UpdateNodePoolRequest) GetTaints
func (x *UpdateNodePoolRequest) GetTaints() *NodeTaints
func (*UpdateNodePoolRequest) GetUpgradeSettings
func (x *UpdateNodePoolRequest) GetUpgradeSettings() *NodePool_UpgradeSettings
func (*UpdateNodePoolRequest) GetWindowsNodeConfig
func (x *UpdateNodePoolRequest) GetWindowsNodeConfig() *WindowsNodeConfig
func (*UpdateNodePoolRequest) GetWorkloadMetadataConfig
func (x *UpdateNodePoolRequest) GetWorkloadMetadataConfig() *WorkloadMetadataConfig
func (*UpdateNodePoolRequest) GetZone
func (x *UpdateNodePoolRequest) GetZone() string
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) ProtoMessage
func (*UpdateNodePoolRequest) ProtoMessage()
func (*UpdateNodePoolRequest) ProtoReflect
func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodePoolRequest) Reset
func (x *UpdateNodePoolRequest) Reset()
func (*UpdateNodePoolRequest) String
func (x *UpdateNodePoolRequest) String() string
UpgradeAvailableEvent
type UpgradeAvailableEvent struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
ResourceType UpgradeResourceType "" /* 143 byte string literal not displayed */
ReleaseChannel *ReleaseChannel `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
}
UpgradeAvailableEvent is a notification sent to customers when a new available version is released.
func (*UpgradeAvailableEvent) Descriptor
func (*UpgradeAvailableEvent) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeAvailableEvent.ProtoReflect.Descriptor instead.
func (*UpgradeAvailableEvent) GetReleaseChannel
func (x *UpgradeAvailableEvent) GetReleaseChannel() *ReleaseChannel
func (*UpgradeAvailableEvent) GetResource
func (x *UpgradeAvailableEvent) GetResource() string
func (*UpgradeAvailableEvent) GetResourceType
func (x *UpgradeAvailableEvent) GetResourceType() UpgradeResourceType
func (*UpgradeAvailableEvent) GetVersion
func (x *UpgradeAvailableEvent) GetVersion() string
func (*UpgradeAvailableEvent) ProtoMessage
func (*UpgradeAvailableEvent) ProtoMessage()
func (*UpgradeAvailableEvent) ProtoReflect
func (x *UpgradeAvailableEvent) ProtoReflect() protoreflect.Message
func (*UpgradeAvailableEvent) Reset
func (x *UpgradeAvailableEvent) Reset()
func (*UpgradeAvailableEvent) String
func (x *UpgradeAvailableEvent) String() string
UpgradeEvent
type UpgradeEvent struct {
ResourceType UpgradeResourceType "" /* 143 byte string literal not displayed */
Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
OperationStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=operation_start_time,json=operationStartTime,proto3" json:"operation_start_time,omitempty"`
CurrentVersion string `protobuf:"bytes,4,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
TargetVersion string `protobuf:"bytes,5,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
Resource string `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
}
UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.
func (*UpgradeEvent) Descriptor
func (*UpgradeEvent) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeEvent.ProtoReflect.Descriptor instead.
func (*UpgradeEvent) GetCurrentVersion
func (x *UpgradeEvent) GetCurrentVersion() string
func (*UpgradeEvent) GetOperation
func (x *UpgradeEvent) GetOperation() string
func (*UpgradeEvent) GetOperationStartTime
func (x *UpgradeEvent) GetOperationStartTime() *timestamppb.Timestamp
func (*UpgradeEvent) GetResource
func (x *UpgradeEvent) GetResource() string
func (*UpgradeEvent) GetResourceType
func (x *UpgradeEvent) GetResourceType() UpgradeResourceType
func (*UpgradeEvent) GetTargetVersion
func (x *UpgradeEvent) GetTargetVersion() string
func (*UpgradeEvent) ProtoMessage
func (*UpgradeEvent) ProtoMessage()
func (*UpgradeEvent) ProtoReflect
func (x *UpgradeEvent) ProtoReflect() protoreflect.Message
func (*UpgradeEvent) Reset
func (x *UpgradeEvent) Reset()
func (*UpgradeEvent) String
func (x *UpgradeEvent) String() string
UpgradeResourceType
type UpgradeResourceType int32
UpgradeResourceType is the resource type that is upgrading. It is used in upgrade notifications.
UpgradeResourceType_UPGRADE_RESOURCE_TYPE_UNSPECIFIED, UpgradeResourceType_MASTER, UpgradeResourceType_NODE_POOL
const (
// Default value. This shouldn't be used.
UpgradeResourceType_UPGRADE_RESOURCE_TYPE_UNSPECIFIED UpgradeResourceType = 0
// Master / control plane
UpgradeResourceType_MASTER UpgradeResourceType = 1
// Node pool
UpgradeResourceType_NODE_POOL UpgradeResourceType = 2
)
func (UpgradeResourceType) Descriptor
func (UpgradeResourceType) Descriptor() protoreflect.EnumDescriptor
func (UpgradeResourceType) Enum
func (x UpgradeResourceType) Enum() *UpgradeResourceType
func (UpgradeResourceType) EnumDescriptor
func (UpgradeResourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpgradeResourceType.Descriptor instead.
func (UpgradeResourceType) Number
func (x UpgradeResourceType) Number() protoreflect.EnumNumber
func (UpgradeResourceType) String
func (x UpgradeResourceType) String() string
func (UpgradeResourceType) Type
func (UpgradeResourceType) Type() protoreflect.EnumType
UsableSubnetwork
type UsableSubnetwork struct {
// Subnetwork Name.
// Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Network Name.
// Example: projects/my-project/global/networks/my-network
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// The range of internal addresses that are owned by this subnetwork.
IpCidrRange string `protobuf:"bytes,3,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
// Secondary IP ranges.
SecondaryIpRanges []*UsableSubnetworkSecondaryRange `protobuf:"bytes,4,rep,name=secondary_ip_ranges,json=secondaryIpRanges,proto3" json:"secondary_ip_ranges,omitempty"`
// A human readable status message representing the reasons for cases where
// the caller cannot use the secondary ranges under the subnet. For example if
// the secondary_ip_ranges is empty due to a permission issue, an insufficient
// permission message will be given by status_message.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// contains filtered or unexported fields
}
UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.
func (*UsableSubnetwork) Descriptor
func (*UsableSubnetwork) Descriptor() ([]byte, []int)
Deprecated: Use UsableSubnetwork.ProtoReflect.Descriptor instead.
func (*UsableSubnetwork) GetIpCidrRange
func (x *UsableSubnetwork) GetIpCidrRange() string
func (*UsableSubnetwork) GetNetwork
func (x *UsableSubnetwork) GetNetwork() string
func (*UsableSubnetwork) GetSecondaryIpRanges
func (x *UsableSubnetwork) GetSecondaryIpRanges() []*UsableSubnetworkSecondaryRange
func (*UsableSubnetwork) GetStatusMessage
func (x *UsableSubnetwork) GetStatusMessage() string
func (*UsableSubnetwork) GetSubnetwork
func (x *UsableSubnetwork) GetSubnetwork() string
func (*UsableSubnetwork) ProtoMessage
func (*UsableSubnetwork) ProtoMessage()
func (*UsableSubnetwork) ProtoReflect
func (x *UsableSubnetwork) ProtoReflect() protoreflect.Message
func (*UsableSubnetwork) Reset
func (x *UsableSubnetwork) Reset()
func (*UsableSubnetwork) String
func (x *UsableSubnetwork) String() string
UsableSubnetworkSecondaryRange
type UsableSubnetworkSecondaryRange struct {
RangeName string `protobuf:"bytes,1,opt,name=range_name,json=rangeName,proto3" json:"range_name,omitempty"`
IpCidrRange string `protobuf:"bytes,2,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
Status UsableSubnetworkSecondaryRange_Status "" /* 129 byte string literal not displayed */
}
Secondary IP range of a usable subnetwork.
func (*UsableSubnetworkSecondaryRange) Descriptor
func (*UsableSubnetworkSecondaryRange) Descriptor() ([]byte, []int)
Deprecated: Use UsableSubnetworkSecondaryRange.ProtoReflect.Descriptor instead.
func (*UsableSubnetworkSecondaryRange) GetIpCidrRange
func (x *UsableSubnetworkSecondaryRange) GetIpCidrRange() string
func (*UsableSubnetworkSecondaryRange) GetRangeName
func (x *UsableSubnetworkSecondaryRange) GetRangeName() string
func (*UsableSubnetworkSecondaryRange) GetStatus
func (x *UsableSubnetworkSecondaryRange) GetStatus() UsableSubnetworkSecondaryRange_Status
func (*UsableSubnetworkSecondaryRange) ProtoMessage
func (*UsableSubnetworkSecondaryRange) ProtoMessage()
func (*UsableSubnetworkSecondaryRange) ProtoReflect
func (x *UsableSubnetworkSecondaryRange) ProtoReflect() protoreflect.Message
func (*UsableSubnetworkSecondaryRange) Reset
func (x *UsableSubnetworkSecondaryRange) Reset()
func (*UsableSubnetworkSecondaryRange) String
func (x *UsableSubnetworkSecondaryRange) String() string
UsableSubnetworkSecondaryRange_Status
type UsableSubnetworkSecondaryRange_Status int32
Status shows the current usage of a secondary IP range.
UsableSubnetworkSecondaryRange_UNKNOWN, UsableSubnetworkSecondaryRange_UNUSED, UsableSubnetworkSecondaryRange_IN_USE_SERVICE, UsableSubnetworkSecondaryRange_IN_USE_SHAREABLE_POD, UsableSubnetworkSecondaryRange_IN_USE_MANAGED_POD
const (
// UNKNOWN is the zero value of the Status enum. It's not a valid status.
UsableSubnetworkSecondaryRange_UNKNOWN UsableSubnetworkSecondaryRange_Status = 0
// UNUSED denotes that this range is unclaimed by any cluster.
UsableSubnetworkSecondaryRange_UNUSED UsableSubnetworkSecondaryRange_Status = 1
// IN_USE_SERVICE denotes that this range is claimed by cluster(s) for
// services. User-managed services range can be shared between clusters
// within the same subnetwork.
UsableSubnetworkSecondaryRange_IN_USE_SERVICE UsableSubnetworkSecondaryRange_Status = 2
// IN_USE_SHAREABLE_POD denotes this range was created by the network admin
// and is currently claimed by a cluster for pods. It can only be used by
// other clusters as a pod range.
UsableSubnetworkSecondaryRange_IN_USE_SHAREABLE_POD UsableSubnetworkSecondaryRange_Status = 3
// IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
// for pods. It cannot be used for other clusters.
UsableSubnetworkSecondaryRange_IN_USE_MANAGED_POD UsableSubnetworkSecondaryRange_Status = 4
)
func (UsableSubnetworkSecondaryRange_Status) Descriptor
func (UsableSubnetworkSecondaryRange_Status) Descriptor() protoreflect.EnumDescriptor
func (UsableSubnetworkSecondaryRange_Status) Enum
func (UsableSubnetworkSecondaryRange_Status) EnumDescriptor
func (UsableSubnetworkSecondaryRange_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use UsableSubnetworkSecondaryRange_Status.Descriptor instead.
func (UsableSubnetworkSecondaryRange_Status) Number
func (x UsableSubnetworkSecondaryRange_Status) Number() protoreflect.EnumNumber
func (UsableSubnetworkSecondaryRange_Status) String
func (x UsableSubnetworkSecondaryRange_Status) String() string
func (UsableSubnetworkSecondaryRange_Status) Type
func (UsableSubnetworkSecondaryRange_Status) Type() protoreflect.EnumType
VerticalPodAutoscaling
type VerticalPodAutoscaling struct {
// Enables vertical pod autoscaling.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.
func (*VerticalPodAutoscaling) Descriptor
func (*VerticalPodAutoscaling) Descriptor() ([]byte, []int)
Deprecated: Use VerticalPodAutoscaling.ProtoReflect.Descriptor instead.
func (*VerticalPodAutoscaling) GetEnabled
func (x *VerticalPodAutoscaling) GetEnabled() bool
func (*VerticalPodAutoscaling) ProtoMessage
func (*VerticalPodAutoscaling) ProtoMessage()
func (*VerticalPodAutoscaling) ProtoReflect
func (x *VerticalPodAutoscaling) ProtoReflect() protoreflect.Message
func (*VerticalPodAutoscaling) Reset
func (x *VerticalPodAutoscaling) Reset()
func (*VerticalPodAutoscaling) String
func (x *VerticalPodAutoscaling) String() string
VirtualNIC
type VirtualNIC struct {
// Whether gVNIC features are enabled in the node pool.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}
Configuration of gVNIC feature.
func (*VirtualNIC) Descriptor
func (*VirtualNIC) Descriptor() ([]byte, []int)
Deprecated: Use VirtualNIC.ProtoReflect.Descriptor instead.
func (*VirtualNIC) GetEnabled
func (x *VirtualNIC) GetEnabled() bool
func (*VirtualNIC) ProtoMessage
func (*VirtualNIC) ProtoMessage()
func (*VirtualNIC) ProtoReflect
func (x *VirtualNIC) ProtoReflect() protoreflect.Message
func (*VirtualNIC) Reset
func (x *VirtualNIC) Reset()
func (*VirtualNIC) String
func (x *VirtualNIC) String() string
WindowsNodeConfig
type WindowsNodeConfig struct {
OsVersion WindowsNodeConfig_OSVersion "" /* 142 byte string literal not displayed */
}
Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings
func (*WindowsNodeConfig) Descriptor
func (*WindowsNodeConfig) Descriptor() ([]byte, []int)
Deprecated: Use WindowsNodeConfig.ProtoReflect.Descriptor instead.
func (*WindowsNodeConfig) GetOsVersion
func (x *WindowsNodeConfig) GetOsVersion() WindowsNodeConfig_OSVersion
func (*WindowsNodeConfig) ProtoMessage
func (*WindowsNodeConfig) ProtoMessage()
func (*WindowsNodeConfig) ProtoReflect
func (x *WindowsNodeConfig) ProtoReflect() protoreflect.Message
func (*WindowsNodeConfig) Reset
func (x *WindowsNodeConfig) Reset()
func (*WindowsNodeConfig) String
func (x *WindowsNodeConfig) String() string
WindowsNodeConfig_OSVersion
type WindowsNodeConfig_OSVersion int32
Possible OS version that can be used.
WindowsNodeConfig_OS_VERSION_UNSPECIFIED, WindowsNodeConfig_OS_VERSION_LTSC2019, WindowsNodeConfig_OS_VERSION_LTSC2022
const (
// When OSVersion is not specified
WindowsNodeConfig_OS_VERSION_UNSPECIFIED WindowsNodeConfig_OSVersion = 0
// LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
WindowsNodeConfig_OS_VERSION_LTSC2019 WindowsNodeConfig_OSVersion = 1
// LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
WindowsNodeConfig_OS_VERSION_LTSC2022 WindowsNodeConfig_OSVersion = 2
)
func (WindowsNodeConfig_OSVersion) Descriptor
func (WindowsNodeConfig_OSVersion) Descriptor() protoreflect.EnumDescriptor
func (WindowsNodeConfig_OSVersion) Enum
func (x WindowsNodeConfig_OSVersion) Enum() *WindowsNodeConfig_OSVersion
func (WindowsNodeConfig_OSVersion) EnumDescriptor
func (WindowsNodeConfig_OSVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use WindowsNodeConfig_OSVersion.Descriptor instead.
func (WindowsNodeConfig_OSVersion) Number
func (x WindowsNodeConfig_OSVersion) Number() protoreflect.EnumNumber
func (WindowsNodeConfig_OSVersion) String
func (x WindowsNodeConfig_OSVersion) String() string
func (WindowsNodeConfig_OSVersion) Type
func (WindowsNodeConfig_OSVersion) Type() protoreflect.EnumType
WorkloadIdentityConfig
type WorkloadIdentityConfig struct {
// The workload pool to attach all Kubernetes service accounts to.
WorkloadPool string `protobuf:"bytes,2,opt,name=workload_pool,json=workloadPool,proto3" json:"workload_pool,omitempty"`
// contains filtered or unexported fields
}
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
func (*WorkloadIdentityConfig) Descriptor
func (*WorkloadIdentityConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadIdentityConfig.ProtoReflect.Descriptor instead.
func (*WorkloadIdentityConfig) GetWorkloadPool
func (x *WorkloadIdentityConfig) GetWorkloadPool() string
func (*WorkloadIdentityConfig) ProtoMessage
func (*WorkloadIdentityConfig) ProtoMessage()
func (*WorkloadIdentityConfig) ProtoReflect
func (x *WorkloadIdentityConfig) ProtoReflect() protoreflect.Message
func (*WorkloadIdentityConfig) Reset
func (x *WorkloadIdentityConfig) Reset()
func (*WorkloadIdentityConfig) String
func (x *WorkloadIdentityConfig) String() string
WorkloadMetadataConfig
type WorkloadMetadataConfig struct {
// Mode is the configuration for how to expose metadata to workloads running
// on the node pool.
Mode WorkloadMetadataConfig_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.container.v1.WorkloadMetadataConfig_Mode" json:"mode,omitempty"`
// contains filtered or unexported fields
}
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
func (*WorkloadMetadataConfig) Descriptor
func (*WorkloadMetadataConfig) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadMetadataConfig.ProtoReflect.Descriptor instead.
func (*WorkloadMetadataConfig) GetMode
func (x *WorkloadMetadataConfig) GetMode() WorkloadMetadataConfig_Mode
func (*WorkloadMetadataConfig) ProtoMessage
func (*WorkloadMetadataConfig) ProtoMessage()
func (*WorkloadMetadataConfig) ProtoReflect
func (x *WorkloadMetadataConfig) ProtoReflect() protoreflect.Message
func (*WorkloadMetadataConfig) Reset
func (x *WorkloadMetadataConfig) Reset()
func (*WorkloadMetadataConfig) String
func (x *WorkloadMetadataConfig) String() string
WorkloadMetadataConfig_Mode
type WorkloadMetadataConfig_Mode int32
Mode is the configuration for how to expose metadata to workloads running on the node.
WorkloadMetadataConfig_MODE_UNSPECIFIED, WorkloadMetadataConfig_GCE_METADATA, WorkloadMetadataConfig_GKE_METADATA
const (
// Not set.
WorkloadMetadataConfig_MODE_UNSPECIFIED WorkloadMetadataConfig_Mode = 0
// Expose all Compute Engine metadata to pods.
WorkloadMetadataConfig_GCE_METADATA WorkloadMetadataConfig_Mode = 1
// Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
// a metadata API to workloads that is compatible with the V1 Compute
// Metadata APIs exposed by the Compute Engine and App Engine Metadata
// Servers. This feature can only be enabled if Workload Identity is enabled
// at the cluster level.
WorkloadMetadataConfig_GKE_METADATA WorkloadMetadataConfig_Mode = 2
)
func (WorkloadMetadataConfig_Mode) Descriptor
func (WorkloadMetadataConfig_Mode) Descriptor() protoreflect.EnumDescriptor
func (WorkloadMetadataConfig_Mode) Enum
func (x WorkloadMetadataConfig_Mode) Enum() *WorkloadMetadataConfig_Mode
func (WorkloadMetadataConfig_Mode) EnumDescriptor
func (WorkloadMetadataConfig_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkloadMetadataConfig_Mode.Descriptor instead.
func (WorkloadMetadataConfig_Mode) Number
func (x WorkloadMetadataConfig_Mode) Number() protoreflect.EnumNumber
func (WorkloadMetadataConfig_Mode) String
func (x WorkloadMetadataConfig_Mode) String() string
func (WorkloadMetadataConfig_Mode) Type
func (WorkloadMetadataConfig_Mode) Type() protoreflect.EnumType