- 1.45.0 (latest)
- 1.44.1
- 1.43.0
- 1.42.4
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.1
- 1.37.3
- 1.36.0
- 1.35.1
- 1.34.0
- 1.33.1
- 1.32.0
- 1.31.0
- 1.30.1
- 1.29.0
- 1.28.0
- 1.27.1
- 1.26.2
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.1
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.1
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.1
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.1
- 1.2.0
- 1.1.0
- 1.0.0
- 0.1.0
Constants
ClusterManager_ListClusters_FullMethodName, ClusterManager_GetCluster_FullMethodName, ClusterManager_CreateCluster_FullMethodName, ClusterManager_UpdateCluster_FullMethodName, ClusterManager_UpdateNodePool_FullMethodName, ClusterManager_SetNodePoolAutoscaling_FullMethodName, ClusterManager_SetLoggingService_FullMethodName, ClusterManager_SetMonitoringService_FullMethodName, ClusterManager_SetAddonsConfig_FullMethodName, ClusterManager_SetLocations_FullMethodName, ClusterManager_UpdateMaster_FullMethodName, ClusterManager_SetMasterAuth_FullMethodName, ClusterManager_DeleteCluster_FullMethodName, ClusterManager_ListOperations_FullMethodName, ClusterManager_GetOperation_FullMethodName, ClusterManager_CancelOperation_FullMethodName, ClusterManager_GetServerConfig_FullMethodName, ClusterManager_GetJSONWebKeys_FullMethodName, ClusterManager_ListNodePools_FullMethodName, ClusterManager_GetNodePool_FullMethodName, ClusterManager_CreateNodePool_FullMethodName, ClusterManager_DeleteNodePool_FullMethodName, ClusterManager_CompleteNodePoolUpgrade_FullMethodName, ClusterManager_RollbackNodePoolUpgrade_FullMethodName, ClusterManager_SetNodePoolManagement_FullMethodName, ClusterManager_SetLabels_FullMethodName, ClusterManager_SetLegacyAbac_FullMethodName, ClusterManager_StartIPRotation_FullMethodName, ClusterManager_CompleteIPRotation_FullMethodName, ClusterManager_SetNodePoolSize_FullMethodName, ClusterManager_SetNetworkPolicy_FullMethodName, ClusterManager_SetMaintenancePolicy_FullMethodName, ClusterManager_ListUsableSubnetworks_FullMethodName, ClusterManager_CheckAutopilotCompatibility_FullMethodName, ClusterManager_FetchClusterUpgradeInfo_FullMethodName, ClusterManager_FetchNodePoolUpgradeInfo_FullMethodName
const (
ClusterManager_ListClusters_FullMethodName = "/google.container.v1.ClusterManager/ListClusters"
ClusterManager_GetCluster_FullMethodName = "/google.container.v1.ClusterManager/GetCluster"
ClusterManager_CreateCluster_FullMethodName = "/google.container.v1.ClusterManager/CreateCluster"
ClusterManager_UpdateCluster_FullMethodName = "/google.container.v1.ClusterManager/UpdateCluster"
ClusterManager_UpdateNodePool_FullMethodName = "/google.container.v1.ClusterManager/UpdateNodePool"
ClusterManager_SetNodePoolAutoscaling_FullMethodName = "/google.container.v1.ClusterManager/SetNodePoolAutoscaling"
ClusterManager_SetLoggingService_FullMethodName = "/google.container.v1.ClusterManager/SetLoggingService"
ClusterManager_SetMonitoringService_FullMethodName = "/google.container.v1.ClusterManager/SetMonitoringService"
ClusterManager_SetAddonsConfig_FullMethodName = "/google.container.v1.ClusterManager/SetAddonsConfig"
ClusterManager_SetLocations_FullMethodName = "/google.container.v1.ClusterManager/SetLocations"
ClusterManager_UpdateMaster_FullMethodName = "/google.container.v1.ClusterManager/UpdateMaster"
ClusterManager_SetMasterAuth_FullMethodName = "/google.container.v1.ClusterManager/SetMasterAuth"
ClusterManager_DeleteCluster_FullMethodName = "/google.container.v1.ClusterManager/DeleteCluster"
ClusterManager_ListOperations_FullMethodName = "/google.container.v1.ClusterManager/ListOperations"
ClusterManager_GetOperation_FullMethodName = "/google.container.v1.ClusterManager/GetOperation"
ClusterManager_CancelOperation_FullMethodName = "/google.container.v1.ClusterManager/CancelOperation"
ClusterManager_GetServerConfig_FullMethodName = "/google.container.v1.ClusterManager/GetServerConfig"
ClusterManager_GetJSONWebKeys_FullMethodName = "/google.container.v1.ClusterManager/GetJSONWebKeys"
ClusterManager_ListNodePools_FullMethodName = "/google.container.v1.ClusterManager/ListNodePools"
ClusterManager_GetNodePool_FullMethodName = "/google.container.v1.ClusterManager/GetNodePool"
ClusterManager_CreateNodePool_FullMethodName = "/google.container.v1.ClusterManager/CreateNodePool"
ClusterManager_DeleteNodePool_FullMethodName = "/google.container.v1.ClusterManager/DeleteNodePool"
ClusterManager_CompleteNodePoolUpgrade_FullMethodName = "/google.container.v1.ClusterManager/CompleteNodePoolUpgrade"
ClusterManager_RollbackNodePoolUpgrade_FullMethodName = "/google.container.v1.ClusterManager/RollbackNodePoolUpgrade"
ClusterManager_SetNodePoolManagement_FullMethodName = "/google.container.v1.ClusterManager/SetNodePoolManagement"
ClusterManager_SetLabels_FullMethodName = "/google.container.v1.ClusterManager/SetLabels"
ClusterManager_SetLegacyAbac_FullMethodName = "/google.container.v1.ClusterManager/SetLegacyAbac"
ClusterManager_StartIPRotation_FullMethodName = "/google.container.v1.ClusterManager/StartIPRotation"
ClusterManager_CompleteIPRotation_FullMethodName = "/google.container.v1.ClusterManager/CompleteIPRotation"
ClusterManager_SetNodePoolSize_FullMethodName = "/google.container.v1.ClusterManager/SetNodePoolSize"
ClusterManager_SetNetworkPolicy_FullMethodName = "/google.container.v1.ClusterManager/SetNetworkPolicy"
ClusterManager_SetMaintenancePolicy_FullMethodName = "/google.container.v1.ClusterManager/SetMaintenancePolicy"
ClusterManager_ListUsableSubnetworks_FullMethodName = "/google.container.v1.ClusterManager/ListUsableSubnetworks"
ClusterManager_CheckAutopilotCompatibility_FullMethodName = "/google.container.v1.ClusterManager/CheckAutopilotCompatibility"
ClusterManager_FetchClusterUpgradeInfo_FullMethodName = "/google.container.v1.ClusterManager/FetchClusterUpgradeInfo"
ClusterManager_FetchNodePoolUpgradeInfo_FullMethodName = "/google.container.v1.ClusterManager/FetchNodePoolUpgradeInfo"
)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.
InTransitEncryptionConfig_name, InTransitEncryptionConfig_value
var (
InTransitEncryptionConfig_name = map[int32]string{
0: "IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED",
1: "IN_TRANSIT_ENCRYPTION_DISABLED",
2: "IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT",
}
InTransitEncryptionConfig_value = map[string]int32{
"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED": 0,
"IN_TRANSIT_ENCRYPTION_DISABLED": 1,
"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT": 2,
}
)Enum value maps for InTransitEncryptionConfig.
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.
LinuxNodeConfig_TransparentHugepageEnabled_name, LinuxNodeConfig_TransparentHugepageEnabled_value
var (
LinuxNodeConfig_TransparentHugepageEnabled_name = map[int32]string{
0: "TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED",
1: "TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS",
2: "TRANSPARENT_HUGEPAGE_ENABLED_MADVISE",
3: "TRANSPARENT_HUGEPAGE_ENABLED_NEVER",
}
LinuxNodeConfig_TransparentHugepageEnabled_value = map[string]int32{
"TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED": 0,
"TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS": 1,
"TRANSPARENT_HUGEPAGE_ENABLED_MADVISE": 2,
"TRANSPARENT_HUGEPAGE_ENABLED_NEVER": 3,
}
)Enum value maps for LinuxNodeConfig_TransparentHugepageEnabled.
LinuxNodeConfig_TransparentHugepageDefrag_name, LinuxNodeConfig_TransparentHugepageDefrag_value
var (
LinuxNodeConfig_TransparentHugepageDefrag_name = map[int32]string{
0: "TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED",
1: "TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS",
2: "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER",
3: "TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE",
4: "TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE",
5: "TRANSPARENT_HUGEPAGE_DEFRAG_NEVER",
}
LinuxNodeConfig_TransparentHugepageDefrag_value = map[string]int32{
"TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED": 0,
"TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS": 1,
"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER": 2,
"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE": 3,
"TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE": 4,
"TRANSPARENT_HUGEPAGE_DEFRAG_NEVER": 5,
}
)Enum value maps for LinuxNodeConfig_TransparentHugepageDefrag.
LinuxNodeConfig_NodeKernelModuleLoading_Policy_name, LinuxNodeConfig_NodeKernelModuleLoading_Policy_value
var (
LinuxNodeConfig_NodeKernelModuleLoading_Policy_name = map[int32]string{
0: "POLICY_UNSPECIFIED",
1: "ENFORCE_SIGNED_MODULES",
2: "DO_NOT_ENFORCE_SIGNED_MODULES",
}
LinuxNodeConfig_NodeKernelModuleLoading_Policy_value = map[string]int32{
"POLICY_UNSPECIFIED": 0,
"ENFORCE_SIGNED_MODULES": 1,
"DO_NOT_ENFORCE_SIGNED_MODULES": 2,
}
)Enum value maps for LinuxNodeConfig_NodeKernelModuleLoading_Policy.
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.
NodeConfig_LocalSsdEncryptionMode_name, NodeConfig_LocalSsdEncryptionMode_value
var (
NodeConfig_LocalSsdEncryptionMode_name = map[int32]string{
0: "LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED",
1: "STANDARD_ENCRYPTION",
2: "EPHEMERAL_KEY_ENCRYPTION",
}
NodeConfig_LocalSsdEncryptionMode_value = map[string]int32{
"LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED": 0,
"STANDARD_ENCRYPTION": 1,
"EPHEMERAL_KEY_ENCRYPTION": 2,
}
)Enum value maps for NodeConfig_LocalSsdEncryptionMode.
NodeConfig_EffectiveCgroupMode_name, NodeConfig_EffectiveCgroupMode_value
var (
NodeConfig_EffectiveCgroupMode_name = map[int32]string{
0: "EFFECTIVE_CGROUP_MODE_UNSPECIFIED",
1: "EFFECTIVE_CGROUP_MODE_V1",
2: "EFFECTIVE_CGROUP_MODE_V2",
}
NodeConfig_EffectiveCgroupMode_value = map[string]int32{
"EFFECTIVE_CGROUP_MODE_UNSPECIFIED": 0,
"EFFECTIVE_CGROUP_MODE_V1": 1,
"EFFECTIVE_CGROUP_MODE_V2": 2,
}
)Enum value maps for NodeConfig_EffectiveCgroupMode.
AdvancedMachineFeatures_PerformanceMonitoringUnit_name, AdvancedMachineFeatures_PerformanceMonitoringUnit_value
var (
AdvancedMachineFeatures_PerformanceMonitoringUnit_name = map[int32]string{
0: "PERFORMANCE_MONITORING_UNIT_UNSPECIFIED",
1: "ARCHITECTURAL",
2: "STANDARD",
3: "ENHANCED",
}
AdvancedMachineFeatures_PerformanceMonitoringUnit_value = map[string]int32{
"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED": 0,
"ARCHITECTURAL": 1,
"STANDARD": 2,
"ENHANCED": 3,
}
)Enum value maps for AdvancedMachineFeatures_PerformanceMonitoringUnit.
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.
SoleTenantConfig_NodeAffinity_Operator_name, SoleTenantConfig_NodeAffinity_Operator_value
var (
SoleTenantConfig_NodeAffinity_Operator_name = map[int32]string{
0: "OPERATOR_UNSPECIFIED",
1: "IN",
2: "NOT_IN",
}
SoleTenantConfig_NodeAffinity_Operator_value = map[string]int32{
"OPERATOR_UNSPECIFIED": 0,
"IN": 1,
"NOT_IN": 2,
}
)Enum value maps for SoleTenantConfig_NodeAffinity_Operator.
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.
AnonymousAuthenticationConfig_Mode_name, AnonymousAuthenticationConfig_Mode_value
var (
AnonymousAuthenticationConfig_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "ENABLED",
2: "LIMITED",
}
AnonymousAuthenticationConfig_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"ENABLED": 1,
"LIMITED": 2,
}
)Enum value maps for AnonymousAuthenticationConfig_Mode.
CompliancePostureConfig_Mode_name, CompliancePostureConfig_Mode_value
var (
CompliancePostureConfig_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "DISABLED",
2: "ENABLED",
}
CompliancePostureConfig_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"ENABLED": 2,
}
)Enum value maps for CompliancePostureConfig_Mode.
SecurityPostureConfig_Mode_name, SecurityPostureConfig_Mode_value
var (
SecurityPostureConfig_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "DISABLED",
2: "BASIC",
3: "ENTERPRISE",
}
SecurityPostureConfig_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"BASIC": 2,
"ENTERPRISE": 3,
}
)Enum value maps for SecurityPostureConfig_Mode.
SecurityPostureConfig_VulnerabilityMode_name, SecurityPostureConfig_VulnerabilityMode_value
var (
SecurityPostureConfig_VulnerabilityMode_name = map[int32]string{
0: "VULNERABILITY_MODE_UNSPECIFIED",
1: "VULNERABILITY_DISABLED",
2: "VULNERABILITY_BASIC",
3: "VULNERABILITY_ENTERPRISE",
}
SecurityPostureConfig_VulnerabilityMode_value = map[string]int32{
"VULNERABILITY_MODE_UNSPECIFIED": 0,
"VULNERABILITY_DISABLED": 1,
"VULNERABILITY_BASIC": 2,
"VULNERABILITY_ENTERPRISE": 3,
}
)Enum value maps for SecurityPostureConfig_VulnerabilityMode.
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",
19: "FLEET_FEATURE_UPGRADE",
}
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,
"FLEET_FEATURE_UPGRADE": 19,
}
)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.
MaintenanceExclusionOptions_EndTimeBehavior_name, MaintenanceExclusionOptions_EndTimeBehavior_value
var (
MaintenanceExclusionOptions_EndTimeBehavior_name = map[int32]string{
0: "END_TIME_BEHAVIOR_UNSPECIFIED",
1: "UNTIL_END_OF_SUPPORT",
}
MaintenanceExclusionOptions_EndTimeBehavior_value = map[string]int32{
"END_TIME_BEHAVIOR_UNSPECIFIED": 0,
"UNTIL_END_OF_SUPPORT": 1,
}
)Enum value maps for MaintenanceExclusionOptions_EndTimeBehavior.
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",
2: "MPS",
}
GPUSharingConfig_GPUSharingStrategy_value = map[string]int32{
"GPU_SHARING_STRATEGY_UNSPECIFIED": 0,
"TIME_SHARING": 1,
"MPS": 2,
}
)Enum value maps for GPUSharingConfig_GPUSharingStrategy.
GPUDriverInstallationConfig_GPUDriverVersion_name, GPUDriverInstallationConfig_GPUDriverVersion_value
var (
GPUDriverInstallationConfig_GPUDriverVersion_name = map[int32]string{
0: "GPU_DRIVER_VERSION_UNSPECIFIED",
1: "INSTALLATION_DISABLED",
2: "DEFAULT",
3: "LATEST",
}
GPUDriverInstallationConfig_GPUDriverVersion_value = map[string]int32{
"GPU_DRIVER_VERSION_UNSPECIFIED": 0,
"INSTALLATION_DISABLED": 1,
"DEFAULT": 2,
"LATEST": 3,
}
)Enum value maps for GPUDriverInstallationConfig_GPUDriverVersion.
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",
10: "NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS",
11: "CLOUD_KMS_KEY_DESTROYED",
}
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,
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS": 10,
"CLOUD_KMS_KEY_DESTROYED": 11,
}
)Enum value maps for StatusCondition_Code.
NetworkConfig_ClusterNetworkPerformanceConfig_Tier_name, NetworkConfig_ClusterNetworkPerformanceConfig_Tier_value
var (
NetworkConfig_ClusterNetworkPerformanceConfig_Tier_name = map[int32]string{
0: "TIER_UNSPECIFIED",
1: "TIER_1",
}
NetworkConfig_ClusterNetworkPerformanceConfig_Tier_value = map[string]int32{
"TIER_UNSPECIFIED": 0,
"TIER_1": 1,
}
)Enum value maps for NetworkConfig_ClusterNetworkPerformanceConfig_Tier.
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.
AutopilotCompatibilityIssue_IssueType_name, AutopilotCompatibilityIssue_IssueType_value
var (
AutopilotCompatibilityIssue_IssueType_name = map[int32]string{
0: "UNSPECIFIED",
1: "INCOMPATIBILITY",
2: "ADDITIONAL_CONFIG_REQUIRED",
3: "PASSED_WITH_OPTIONAL_CONFIG",
}
AutopilotCompatibilityIssue_IssueType_value = map[string]int32{
"UNSPECIFIED": 0,
"INCOMPATIBILITY": 1,
"ADDITIONAL_CONFIG_REQUIRED": 2,
"PASSED_WITH_OPTIONAL_CONFIG": 3,
}
)Enum value maps for AutopilotCompatibilityIssue_IssueType.
ReleaseChannel_Channel_name, ReleaseChannel_Channel_value
var (
ReleaseChannel_Channel_name = map[int32]string{
0: "UNSPECIFIED",
1: "RAPID",
2: "REGULAR",
3: "STABLE",
4: "EXTENDED",
}
ReleaseChannel_Channel_value = map[string]int32{
"UNSPECIFIED": 0,
"RAPID": 1,
"REGULAR": 2,
"STABLE": 3,
"EXTENDED": 4,
}
)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",
3: "KUBE_DNS",
}
DNSConfig_Provider_value = map[string]int32{
"PROVIDER_UNSPECIFIED": 0,
"PLATFORM_DEFAULT": 1,
"CLOUD_DNS": 2,
"KUBE_DNS": 3,
}
)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.
DatabaseEncryption_CurrentState_name, DatabaseEncryption_CurrentState_value
var (
DatabaseEncryption_CurrentState_name = map[int32]string{
0: "CURRENT_STATE_UNSPECIFIED",
7: "CURRENT_STATE_ENCRYPTED",
2: "CURRENT_STATE_DECRYPTED",
3: "CURRENT_STATE_ENCRYPTION_PENDING",
4: "CURRENT_STATE_ENCRYPTION_ERROR",
5: "CURRENT_STATE_DECRYPTION_PENDING",
6: "CURRENT_STATE_DECRYPTION_ERROR",
}
DatabaseEncryption_CurrentState_value = map[string]int32{
"CURRENT_STATE_UNSPECIFIED": 0,
"CURRENT_STATE_ENCRYPTED": 7,
"CURRENT_STATE_DECRYPTED": 2,
"CURRENT_STATE_ENCRYPTION_PENDING": 3,
"CURRENT_STATE_ENCRYPTION_ERROR": 4,
"CURRENT_STATE_DECRYPTION_PENDING": 5,
"CURRENT_STATE_DECRYPTION_ERROR": 6,
}
)Enum value maps for DatabaseEncryption_CurrentState.
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",
4: "UPGRADE_INFO_EVENT",
}
NotificationConfig_EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"UPGRADE_AVAILABLE_EVENT": 1,
"UPGRADE_EVENT": 2,
"SECURITY_BULLETIN_EVENT": 3,
"UPGRADE_INFO_EVENT": 4,
}
)Enum value maps for NotificationConfig_EventType.
ConfidentialNodes_ConfidentialInstanceType_name, ConfidentialNodes_ConfidentialInstanceType_value
var (
ConfidentialNodes_ConfidentialInstanceType_name = map[int32]string{
0: "CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
1: "SEV",
2: "SEV_SNP",
3: "TDX",
}
ConfidentialNodes_ConfidentialInstanceType_value = map[string]int32{
"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED": 0,
"SEV": 1,
"SEV_SNP": 2,
"TDX": 3,
}
)Enum value maps for ConfidentialNodes_ConfidentialInstanceType.
UpgradeInfoEvent_State_name, UpgradeInfoEvent_State_value
var (
UpgradeInfoEvent_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
3: "STARTED",
4: "SUCCEEDED",
5: "FAILED",
6: "CANCELED",
}
UpgradeInfoEvent_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"STARTED": 3,
"SUCCEEDED": 4,
"FAILED": 5,
"CANCELED": 6,
}
)Enum value maps for UpgradeInfoEvent_State.
UpgradeInfoEvent_EventType_name, UpgradeInfoEvent_EventType_value
var (
UpgradeInfoEvent_EventType_name = map[int32]string{
0: "EVENT_TYPE_UNSPECIFIED",
1: "END_OF_SUPPORT",
2: "COS_MILESTONE_VERSION_UPDATE",
3: "UPGRADE_LIFECYCLE",
}
UpgradeInfoEvent_EventType_value = map[string]int32{
"EVENT_TYPE_UNSPECIFIED": 0,
"END_OF_SUPPORT": 1,
"COS_MILESTONE_VERSION_UPDATE": 2,
"UPGRADE_LIFECYCLE": 3,
}
)Enum value maps for UpgradeInfoEvent_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",
7: "KCP_SSHD",
8: "KCP_CONNECTION",
9: "KCP_HPA",
}
LoggingComponentConfig_Component_value = map[string]int32{
"COMPONENT_UNSPECIFIED": 0,
"SYSTEM_COMPONENTS": 1,
"WORKLOADS": 2,
"APISERVER": 3,
"SCHEDULER": 4,
"CONTROLLER_MANAGER": 5,
"KCP_SSHD": 7,
"KCP_CONNECTION": 8,
"KCP_HPA": 9,
}
)Enum value maps for LoggingComponentConfig_Component.
AdvancedDatapathObservabilityConfig_RelayMode_name, AdvancedDatapathObservabilityConfig_RelayMode_value
var (
AdvancedDatapathObservabilityConfig_RelayMode_name = map[int32]string{
0: "RELAY_MODE_UNSPECIFIED",
1: "DISABLED",
3: "INTERNAL_VPC_LB",
4: "EXTERNAL_LB",
}
AdvancedDatapathObservabilityConfig_RelayMode_value = map[string]int32{
"RELAY_MODE_UNSPECIFIED": 0,
"DISABLED": 1,
"INTERNAL_VPC_LB": 3,
"EXTERNAL_LB": 4,
}
)Enum value maps for AdvancedDatapathObservabilityConfig_RelayMode.
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",
7: "STORAGE",
8: "HPA",
9: "POD",
10: "DAEMONSET",
11: "DEPLOYMENT",
12: "STATEFULSET",
13: "CADVISOR",
14: "KUBELET",
15: "DCGM",
16: "JOBSET",
}
MonitoringComponentConfig_Component_value = map[string]int32{
"COMPONENT_UNSPECIFIED": 0,
"SYSTEM_COMPONENTS": 1,
"APISERVER": 3,
"SCHEDULER": 4,
"CONTROLLER_MANAGER": 5,
"STORAGE": 7,
"HPA": 8,
"POD": 9,
"DAEMONSET": 10,
"DEPLOYMENT": 11,
"STATEFULSET": 12,
"CADVISOR": 13,
"KUBELET": 14,
"DCGM": 15,
"JOBSET": 16,
}
)Enum value maps for MonitoringComponentConfig_Component.
AutoMonitoringConfig_Scope_name, AutoMonitoringConfig_Scope_value
var (
AutoMonitoringConfig_Scope_name = map[int32]string{
0: "SCOPE_UNSPECIFIED",
1: "ALL",
2: "NONE",
}
AutoMonitoringConfig_Scope_value = map[string]int32{
"SCOPE_UNSPECIFIED": 0,
"ALL": 1,
"NONE": 2,
}
)Enum value maps for AutoMonitoringConfig_Scope.
PodAutoscaling_HPAProfile_name, PodAutoscaling_HPAProfile_value
var (
PodAutoscaling_HPAProfile_name = map[int32]string{
0: "HPA_PROFILE_UNSPECIFIED",
1: "NONE",
2: "PERFORMANCE",
}
PodAutoscaling_HPAProfile_value = map[string]int32{
"HPA_PROFILE_UNSPECIFIED": 0,
"NONE": 1,
"PERFORMANCE": 2,
}
)Enum value maps for PodAutoscaling_HPAProfile.
Fleet_MembershipType_name, Fleet_MembershipType_value
var (
Fleet_MembershipType_name = map[int32]string{
0: "MEMBERSHIP_TYPE_UNSPECIFIED",
1: "LIGHTWEIGHT",
}
Fleet_MembershipType_value = map[string]int32{
"MEMBERSHIP_TYPE_UNSPECIFIED": 0,
"LIGHTWEIGHT": 1,
}
)Enum value maps for Fleet_MembershipType.
EnterpriseConfig_ClusterTier_name, EnterpriseConfig_ClusterTier_value
var (
EnterpriseConfig_ClusterTier_name = map[int32]string{
0: "CLUSTER_TIER_UNSPECIFIED",
1: "STANDARD",
2: "ENTERPRISE",
}
EnterpriseConfig_ClusterTier_value = map[string]int32{
"CLUSTER_TIER_UNSPECIFIED": 0,
"STANDARD": 1,
"ENTERPRISE": 2,
}
)Enum value maps for EnterpriseConfig_ClusterTier.
SecondaryBootDisk_Mode_name, SecondaryBootDisk_Mode_value
var (
SecondaryBootDisk_Mode_name = map[int32]string{
0: "MODE_UNSPECIFIED",
1: "CONTAINER_IMAGE_CACHE",
}
SecondaryBootDisk_Mode_value = map[string]int32{
"MODE_UNSPECIFIED": 0,
"CONTAINER_IMAGE_CACHE": 1,
}
)Enum value maps for SecondaryBootDisk_Mode.
ClusterUpgradeInfo_AutoUpgradeStatus_name, ClusterUpgradeInfo_AutoUpgradeStatus_value
var (
ClusterUpgradeInfo_AutoUpgradeStatus_name = map[int32]string{
0: "UNKNOWN",
1: "ACTIVE",
4: "MINOR_UPGRADE_PAUSED",
5: "UPGRADE_PAUSED",
}
ClusterUpgradeInfo_AutoUpgradeStatus_value = map[string]int32{
"UNKNOWN": 0,
"ACTIVE": 1,
"MINOR_UPGRADE_PAUSED": 4,
"UPGRADE_PAUSED": 5,
}
)Enum value maps for ClusterUpgradeInfo_AutoUpgradeStatus.
ClusterUpgradeInfo_AutoUpgradePausedReason_name, ClusterUpgradeInfo_AutoUpgradePausedReason_value
var (
ClusterUpgradeInfo_AutoUpgradePausedReason_name = map[int32]string{
0: "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED",
1: "MAINTENANCE_WINDOW",
5: "MAINTENANCE_EXCLUSION_NO_UPGRADES",
6: "MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES",
4: "CLUSTER_DISRUPTION_BUDGET",
7: "CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE",
8: "SYSTEM_CONFIG",
}
ClusterUpgradeInfo_AutoUpgradePausedReason_value = map[string]int32{
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED": 0,
"MAINTENANCE_WINDOW": 1,
"MAINTENANCE_EXCLUSION_NO_UPGRADES": 5,
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES": 6,
"CLUSTER_DISRUPTION_BUDGET": 4,
"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE": 7,
"SYSTEM_CONFIG": 8,
}
)Enum value maps for ClusterUpgradeInfo_AutoUpgradePausedReason.
UpgradeDetails_State_name, UpgradeDetails_State_value
var (
UpgradeDetails_State_name = map[int32]string{
0: "UNKNOWN",
1: "FAILED",
2: "SUCCEEDED",
3: "CANCELED",
4: "RUNNING",
}
UpgradeDetails_State_value = map[string]int32{
"UNKNOWN": 0,
"FAILED": 1,
"SUCCEEDED": 2,
"CANCELED": 3,
"RUNNING": 4,
}
)Enum value maps for UpgradeDetails_State.
UpgradeDetails_StartType_name, UpgradeDetails_StartType_value
var (
UpgradeDetails_StartType_name = map[int32]string{
0: "START_TYPE_UNSPECIFIED",
1: "AUTOMATIC",
2: "MANUAL",
}
UpgradeDetails_StartType_value = map[string]int32{
"START_TYPE_UNSPECIFIED": 0,
"AUTOMATIC": 1,
"MANUAL": 2,
}
)Enum value maps for UpgradeDetails_StartType.
NodePoolUpgradeInfo_AutoUpgradeStatus_name, NodePoolUpgradeInfo_AutoUpgradeStatus_value
var (
NodePoolUpgradeInfo_AutoUpgradeStatus_name = map[int32]string{
0: "UNKNOWN",
1: "ACTIVE",
2: "MINOR_UPGRADE_PAUSED",
3: "UPGRADE_PAUSED",
}
NodePoolUpgradeInfo_AutoUpgradeStatus_value = map[string]int32{
"UNKNOWN": 0,
"ACTIVE": 1,
"MINOR_UPGRADE_PAUSED": 2,
"UPGRADE_PAUSED": 3,
}
)Enum value maps for NodePoolUpgradeInfo_AutoUpgradeStatus.
NodePoolUpgradeInfo_AutoUpgradePausedReason_name, NodePoolUpgradeInfo_AutoUpgradePausedReason_value
var (
NodePoolUpgradeInfo_AutoUpgradePausedReason_name = map[int32]string{
0: "AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED",
1: "MAINTENANCE_WINDOW",
2: "MAINTENANCE_EXCLUSION_NO_UPGRADES",
3: "MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES",
4: "SYSTEM_CONFIG",
}
NodePoolUpgradeInfo_AutoUpgradePausedReason_value = map[string]int32{
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED": 0,
"MAINTENANCE_WINDOW": 1,
"MAINTENANCE_EXCLUSION_NO_UPGRADES": 2,
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES": 3,
"SYSTEM_CONFIG": 4,
}
)Enum value maps for NodePoolUpgradeInfo_AutoUpgradePausedReason.
GkeAutoUpgradeConfig_PatchMode_name, GkeAutoUpgradeConfig_PatchMode_value
var (
GkeAutoUpgradeConfig_PatchMode_name = map[int32]string{
0: "PATCH_MODE_UNSPECIFIED",
1: "ACCELERATED",
}
GkeAutoUpgradeConfig_PatchMode_value = map[string]int32{
"PATCH_MODE_UNSPECIFIED": 0,
"ACCELERATED": 1,
}
)Enum value maps for GkeAutoUpgradeConfig_PatchMode.
NetworkTierConfig_NetworkTier_name, NetworkTierConfig_NetworkTier_value
var (
NetworkTierConfig_NetworkTier_name = map[int32]string{
0: "NETWORK_TIER_UNSPECIFIED",
1: "NETWORK_TIER_DEFAULT",
2: "NETWORK_TIER_PREMIUM",
3: "NETWORK_TIER_STANDARD",
}
NetworkTierConfig_NetworkTier_value = map[string]int32{
"NETWORK_TIER_UNSPECIFIED": 0,
"NETWORK_TIER_DEFAULT": 1,
"NETWORK_TIER_PREMIUM": 2,
"NETWORK_TIER_STANDARD": 3,
}
)Enum value maps for NetworkTierConfig_NetworkTier.
ClusterManager_ServiceDesc
var ClusterManager_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.container.v1.ClusterManager",
HandlerType: (*ClusterManagerServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListClusters",
Handler: _ClusterManager_ListClusters_Handler,
},
{
MethodName: "GetCluster",
Handler: _ClusterManager_GetCluster_Handler,
},
{
MethodName: "CreateCluster",
Handler: _ClusterManager_CreateCluster_Handler,
},
{
MethodName: "UpdateCluster",
Handler: _ClusterManager_UpdateCluster_Handler,
},
{
MethodName: "UpdateNodePool",
Handler: _ClusterManager_UpdateNodePool_Handler,
},
{
MethodName: "SetNodePoolAutoscaling",
Handler: _ClusterManager_SetNodePoolAutoscaling_Handler,
},
{
MethodName: "SetLoggingService",
Handler: _ClusterManager_SetLoggingService_Handler,
},
{
MethodName: "SetMonitoringService",
Handler: _ClusterManager_SetMonitoringService_Handler,
},
{
MethodName: "SetAddonsConfig",
Handler: _ClusterManager_SetAddonsConfig_Handler,
},
{
MethodName: "SetLocations",
Handler: _ClusterManager_SetLocations_Handler,
},
{
MethodName: "UpdateMaster",
Handler: _ClusterManager_UpdateMaster_Handler,
},
{
MethodName: "SetMasterAuth",
Handler: _ClusterManager_SetMasterAuth_Handler,
},
{
MethodName: "DeleteCluster",
Handler: _ClusterManager_DeleteCluster_Handler,
},
{
MethodName: "ListOperations",
Handler: _ClusterManager_ListOperations_Handler,
},
{
MethodName: "GetOperation",
Handler: _ClusterManager_GetOperation_Handler,
},
{
MethodName: "CancelOperation",
Handler: _ClusterManager_CancelOperation_Handler,
},
{
MethodName: "GetServerConfig",
Handler: _ClusterManager_GetServerConfig_Handler,
},
{
MethodName: "GetJSONWebKeys",
Handler: _ClusterManager_GetJSONWebKeys_Handler,
},
{
MethodName: "ListNodePools",
Handler: _ClusterManager_ListNodePools_Handler,
},
{
MethodName: "GetNodePool",
Handler: _ClusterManager_GetNodePool_Handler,
},
{
MethodName: "CreateNodePool",
Handler: _ClusterManager_CreateNodePool_Handler,
},
{
MethodName: "DeleteNodePool",
Handler: _ClusterManager_DeleteNodePool_Handler,
},
{
MethodName: "CompleteNodePoolUpgrade",
Handler: _ClusterManager_CompleteNodePoolUpgrade_Handler,
},
{
MethodName: "RollbackNodePoolUpgrade",
Handler: _ClusterManager_RollbackNodePoolUpgrade_Handler,
},
{
MethodName: "SetNodePoolManagement",
Handler: _ClusterManager_SetNodePoolManagement_Handler,
},
{
MethodName: "SetLabels",
Handler: _ClusterManager_SetLabels_Handler,
},
{
MethodName: "SetLegacyAbac",
Handler: _ClusterManager_SetLegacyAbac_Handler,
},
{
MethodName: "StartIPRotation",
Handler: _ClusterManager_StartIPRotation_Handler,
},
{
MethodName: "CompleteIPRotation",
Handler: _ClusterManager_CompleteIPRotation_Handler,
},
{
MethodName: "SetNodePoolSize",
Handler: _ClusterManager_SetNodePoolSize_Handler,
},
{
MethodName: "SetNetworkPolicy",
Handler: _ClusterManager_SetNetworkPolicy_Handler,
},
{
MethodName: "SetMaintenancePolicy",
Handler: _ClusterManager_SetMaintenancePolicy_Handler,
},
{
MethodName: "ListUsableSubnetworks",
Handler: _ClusterManager_ListUsableSubnetworks_Handler,
},
{
MethodName: "CheckAutopilotCompatibility",
Handler: _ClusterManager_CheckAutopilotCompatibility_Handler,
},
{
MethodName: "FetchClusterUpgradeInfo",
Handler: _ClusterManager_FetchClusterUpgradeInfo_Handler,
},
{
MethodName: "FetchNodePoolUpgradeInfo",
Handler: _ClusterManager_FetchNodePoolUpgradeInfo_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/container/v1/cluster_service.proto",
}ClusterManager_ServiceDesc is the grpc.ServiceDesc for ClusterManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_container_v1_cluster_service_proto
var File_google_container_v1_cluster_service_proto protoreflect.FileDescriptorFunctions
func RegisterClusterManagerServer
func RegisterClusterManagerServer(s grpc.ServiceRegistrar, 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"`
// The configuration for auto installation of GPU driver.
GpuDriverInstallationConfig *GPUDriverInstallationConfig `protobuf:"bytes,6,opt,name=gpu_driver_installation_config,json=gpuDriverInstallationConfig,proto3,oneof" json:"gpu_driver_installation_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() int64func (*AcceleratorConfig) GetAcceleratorType
func (x *AcceleratorConfig) GetAcceleratorType() stringfunc (*AcceleratorConfig) GetGpuDriverInstallationConfig
func (x *AcceleratorConfig) GetGpuDriverInstallationConfig() *GPUDriverInstallationConfigfunc (*AcceleratorConfig) GetGpuPartitionSize
func (x *AcceleratorConfig) GetGpuPartitionSize() stringfunc (*AcceleratorConfig) GetGpuSharingConfig
func (x *AcceleratorConfig) GetGpuSharingConfig() *GPUSharingConfigfunc (*AcceleratorConfig) ProtoMessage
func (*AcceleratorConfig) ProtoMessage()func (*AcceleratorConfig) ProtoReflect
func (x *AcceleratorConfig) ProtoReflect() protoreflect.Messagefunc (*AcceleratorConfig) Reset
func (x *AcceleratorConfig) Reset()func (*AcceleratorConfig) String
func (x *AcceleratorConfig) String() stringAdditionalIPRangesConfig
type AdditionalIPRangesConfig struct {
// Name of the subnetwork. This can be the full path of the subnetwork or
// just the name.
// Example1: my-subnet
// Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet
Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// List of secondary ranges names within this subnetwork that can be used for
// pod IPs.
// Example1: gke-pod-range1
// Example2: gke-pod-range1,gke-pod-range2
PodIpv4RangeNames []string `protobuf:"bytes,2,rep,name=pod_ipv4_range_names,json=podIpv4RangeNames,proto3" json:"pod_ipv4_range_names,omitempty"`
// contains filtered or unexported fields
}AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster
func (*AdditionalIPRangesConfig) Descriptor
func (*AdditionalIPRangesConfig) Descriptor() ([]byte, []int)Deprecated: Use AdditionalIPRangesConfig.ProtoReflect.Descriptor instead.
func (*AdditionalIPRangesConfig) GetPodIpv4RangeNames
func (x *AdditionalIPRangesConfig) GetPodIpv4RangeNames() []stringfunc (*AdditionalIPRangesConfig) GetSubnetwork
func (x *AdditionalIPRangesConfig) GetSubnetwork() stringfunc (*AdditionalIPRangesConfig) ProtoMessage
func (*AdditionalIPRangesConfig) ProtoMessage()func (*AdditionalIPRangesConfig) ProtoReflect
func (x *AdditionalIPRangesConfig) ProtoReflect() protoreflect.Messagefunc (*AdditionalIPRangesConfig) Reset
func (x *AdditionalIPRangesConfig) Reset()func (*AdditionalIPRangesConfig) String
func (x *AdditionalIPRangesConfig) String() stringAdditionalNodeNetworkConfig
type AdditionalNodeNetworkConfig struct {
// Name of the VPC where the additional interface belongs
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Name of the subnetwork where the additional interface belongs
Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// contains filtered or unexported fields
}AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message
func (*AdditionalNodeNetworkConfig) Descriptor
func (*AdditionalNodeNetworkConfig) Descriptor() ([]byte, []int)Deprecated: Use AdditionalNodeNetworkConfig.ProtoReflect.Descriptor instead.
func (*AdditionalNodeNetworkConfig) GetNetwork
func (x *AdditionalNodeNetworkConfig) GetNetwork() stringfunc (*AdditionalNodeNetworkConfig) GetSubnetwork
func (x *AdditionalNodeNetworkConfig) GetSubnetwork() stringfunc (*AdditionalNodeNetworkConfig) ProtoMessage
func (*AdditionalNodeNetworkConfig) ProtoMessage()func (*AdditionalNodeNetworkConfig) ProtoReflect
func (x *AdditionalNodeNetworkConfig) ProtoReflect() protoreflect.Messagefunc (*AdditionalNodeNetworkConfig) Reset
func (x *AdditionalNodeNetworkConfig) Reset()func (*AdditionalNodeNetworkConfig) String
func (x *AdditionalNodeNetworkConfig) String() stringAdditionalPodNetworkConfig
type AdditionalPodNetworkConfig struct {
// Name of the subnetwork where the additional pod network belongs.
Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// The name of the secondary range on the subnet which provides IP address for
// this pod range.
SecondaryPodRange string `protobuf:"bytes,2,opt,name=secondary_pod_range,json=secondaryPodRange,proto3" json:"secondary_pod_range,omitempty"`
// The maximum number of pods per node which use this pod network.
MaxPodsPerNode *MaxPodsConstraint `protobuf:"bytes,3,opt,name=max_pods_per_node,json=maxPodsPerNode,proto3,oneof" json:"max_pods_per_node,omitempty"`
// contains filtered or unexported fields
}AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message
func (*AdditionalPodNetworkConfig) Descriptor
func (*AdditionalPodNetworkConfig) Descriptor() ([]byte, []int)Deprecated: Use AdditionalPodNetworkConfig.ProtoReflect.Descriptor instead.
func (*AdditionalPodNetworkConfig) GetMaxPodsPerNode
func (x *AdditionalPodNetworkConfig) GetMaxPodsPerNode() *MaxPodsConstraintfunc (*AdditionalPodNetworkConfig) GetSecondaryPodRange
func (x *AdditionalPodNetworkConfig) GetSecondaryPodRange() stringfunc (*AdditionalPodNetworkConfig) GetSubnetwork
func (x *AdditionalPodNetworkConfig) GetSubnetwork() stringfunc (*AdditionalPodNetworkConfig) ProtoMessage
func (*AdditionalPodNetworkConfig) ProtoMessage()func (*AdditionalPodNetworkConfig) ProtoReflect
func (x *AdditionalPodNetworkConfig) ProtoReflect() protoreflect.Messagefunc (*AdditionalPodNetworkConfig) Reset
func (x *AdditionalPodNetworkConfig) Reset()func (*AdditionalPodNetworkConfig) String
func (x *AdditionalPodNetworkConfig) String() stringAdditionalPodRangesConfig
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"`
// Output only. Information for additional pod range.
PodRangeInfo []*RangeInfo `protobuf:"bytes,2,rep,name=pod_range_info,json=podRangeInfo,proto3" json:"pod_range_info,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) GetPodRangeInfo
func (x *AdditionalPodRangesConfig) GetPodRangeInfo() []*RangeInfofunc (*AdditionalPodRangesConfig) GetPodRangeNames
func (x *AdditionalPodRangesConfig) GetPodRangeNames() []stringfunc (*AdditionalPodRangesConfig) ProtoMessage
func (*AdditionalPodRangesConfig) ProtoMessage()func (*AdditionalPodRangesConfig) ProtoReflect
func (x *AdditionalPodRangesConfig) ProtoReflect() protoreflect.Messagefunc (*AdditionalPodRangesConfig) Reset
func (x *AdditionalPodRangesConfig) Reset()func (*AdditionalPodRangesConfig) String
func (x *AdditionalPodRangesConfig) String() stringAddonsConfig
type AddonsConfig struct {
// Configuration for the HTTP (L7) load balancing controller addon, which
// makes it easy to set up HTTP load balancers for services in a cluster.
HttpLoadBalancing *HttpLoadBalancing `protobuf:"bytes,1,opt,name=http_load_balancing,json=httpLoadBalancing,proto3" json:"http_load_balancing,omitempty"`
// Configuration for the horizontal pod autoscaling feature, which
// increases or decreases the number of replica pods a replication controller
// has based on the resource usage of the existing pods.
HorizontalPodAutoscaling *HorizontalPodAutoscaling `protobuf:"bytes,2,opt,name=horizontal_pod_autoscaling,json=horizontalPodAutoscaling,proto3" json:"horizontal_pod_autoscaling,omitempty"`
// Configuration for the Kubernetes Dashboard.
// This addon is deprecated, and will be disabled in 1.15. It is recommended
// to use the Cloud Console to manage and monitor your Kubernetes clusters,
// workloads and applications. For more information, see:
// https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
KubernetesDashboard *KubernetesDashboard `protobuf:"bytes,3,opt,name=kubernetes_dashboard,json=kubernetesDashboard,proto3" json:"kubernetes_dashboard,omitempty"`
// Configuration for NetworkPolicy. This only tracks whether the addon
// is enabled or not on the Master, it does not track whether network policy
// is enabled for the nodes.
NetworkPolicyConfig *NetworkPolicyConfig `protobuf:"bytes,4,opt,name=network_policy_config,json=networkPolicyConfig,proto3" json:"network_policy_config,omitempty"`
// Configuration for the Cloud Run addon, which allows the user to use a
// managed Knative service.
CloudRunConfig *CloudRunConfig `protobuf:"bytes,7,opt,name=cloud_run_config,json=cloudRunConfig,proto3" json:"cloud_run_config,omitempty"`
// Configuration for NodeLocalDNS, a dns cache running on cluster nodes
DnsCacheConfig *DnsCacheConfig `protobuf:"bytes,8,opt,name=dns_cache_config,json=dnsCacheConfig,proto3" json:"dns_cache_config,omitempty"`
// Configuration for the ConfigConnector add-on, a Kubernetes
// extension to manage hosted Google Cloud services through the Kubernetes
// API.
ConfigConnectorConfig *ConfigConnectorConfig `protobuf:"bytes,10,opt,name=config_connector_config,json=configConnectorConfig,proto3" json:"config_connector_config,omitempty"`
// Configuration for the Compute Engine Persistent Disk CSI driver.
GcePersistentDiskCsiDriverConfig *GcePersistentDiskCsiDriverConfig `protobuf:"bytes,11,opt,name=gce_persistent_disk_csi_driver_config,json=gcePersistentDiskCsiDriverConfig,proto3" json:"gce_persistent_disk_csi_driver_config,omitempty"`
// Configuration for the Filestore CSI driver.
GcpFilestoreCsiDriverConfig *GcpFilestoreCsiDriverConfig `protobuf:"bytes,14,opt,name=gcp_filestore_csi_driver_config,json=gcpFilestoreCsiDriverConfig,proto3" json:"gcp_filestore_csi_driver_config,omitempty"`
// Configuration for the Backup for GKE agent addon.
GkeBackupAgentConfig *GkeBackupAgentConfig `protobuf:"bytes,16,opt,name=gke_backup_agent_config,json=gkeBackupAgentConfig,proto3" json:"gke_backup_agent_config,omitempty"`
// Configuration for the Cloud Storage Fuse CSI driver.
GcsFuseCsiDriverConfig *GcsFuseCsiDriverConfig `protobuf:"bytes,17,opt,name=gcs_fuse_csi_driver_config,json=gcsFuseCsiDriverConfig,proto3" json:"gcs_fuse_csi_driver_config,omitempty"`
// Optional. Configuration for the StatefulHA add-on.
StatefulHaConfig *StatefulHAConfig `protobuf:"bytes,18,opt,name=stateful_ha_config,json=statefulHaConfig,proto3" json:"stateful_ha_config,omitempty"`
// Configuration for the Cloud Storage Parallelstore CSI driver.
ParallelstoreCsiDriverConfig *ParallelstoreCsiDriverConfig `protobuf:"bytes,19,opt,name=parallelstore_csi_driver_config,json=parallelstoreCsiDriverConfig,proto3" json:"parallelstore_csi_driver_config,omitempty"`
// Optional. Configuration for Ray Operator addon.
RayOperatorConfig *RayOperatorConfig `protobuf:"bytes,21,opt,name=ray_operator_config,json=rayOperatorConfig,proto3" json:"ray_operator_config,omitempty"`
// Configuration for the High Scale Checkpointing add-on.
HighScaleCheckpointingConfig *HighScaleCheckpointingConfig `protobuf:"bytes,22,opt,name=high_scale_checkpointing_config,json=highScaleCheckpointingConfig,proto3" json:"high_scale_checkpointing_config,omitempty"`
// Configuration for the Lustre CSI driver.
LustreCsiDriverConfig *LustreCsiDriverConfig `protobuf:"bytes,23,opt,name=lustre_csi_driver_config,json=lustreCsiDriverConfig,proto3" json:"lustre_csi_driver_config,omitempty"`
// contains filtered or unexported fields
}Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
func (*AddonsConfig) Descriptor
func (*AddonsConfig) Descriptor() ([]byte, []int)Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.
func (*AddonsConfig) GetCloudRunConfig
func (x *AddonsConfig) GetCloudRunConfig() *CloudRunConfigfunc (*AddonsConfig) GetConfigConnectorConfig
func (x *AddonsConfig) GetConfigConnectorConfig() *ConfigConnectorConfigfunc (*AddonsConfig) GetDnsCacheConfig
func (x *AddonsConfig) GetDnsCacheConfig() *DnsCacheConfigfunc (*AddonsConfig) GetGcePersistentDiskCsiDriverConfig
func (x *AddonsConfig) GetGcePersistentDiskCsiDriverConfig() *GcePersistentDiskCsiDriverConfigfunc (*AddonsConfig) GetGcpFilestoreCsiDriverConfig
func (x *AddonsConfig) GetGcpFilestoreCsiDriverConfig() *GcpFilestoreCsiDriverConfigfunc (*AddonsConfig) GetGcsFuseCsiDriverConfig
func (x *AddonsConfig) GetGcsFuseCsiDriverConfig() *GcsFuseCsiDriverConfigfunc (*AddonsConfig) GetGkeBackupAgentConfig
func (x *AddonsConfig) GetGkeBackupAgentConfig() *GkeBackupAgentConfigfunc (*AddonsConfig) GetHighScaleCheckpointingConfig
func (x *AddonsConfig) GetHighScaleCheckpointingConfig() *HighScaleCheckpointingConfigfunc (*AddonsConfig) GetHorizontalPodAutoscaling
func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscalingfunc (*AddonsConfig) GetHttpLoadBalancing
func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancingfunc (*AddonsConfig) GetKubernetesDashboard
func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboardDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*AddonsConfig) GetLustreCsiDriverConfig
func (x *AddonsConfig) GetLustreCsiDriverConfig() *LustreCsiDriverConfigfunc (*AddonsConfig) GetNetworkPolicyConfig
func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfigfunc (*AddonsConfig) GetParallelstoreCsiDriverConfig
func (x *AddonsConfig) GetParallelstoreCsiDriverConfig() *ParallelstoreCsiDriverConfigfunc (*AddonsConfig) GetRayOperatorConfig
func (x *AddonsConfig) GetRayOperatorConfig() *RayOperatorConfigfunc (*AddonsConfig) GetStatefulHaConfig
func (x *AddonsConfig) GetStatefulHaConfig() *StatefulHAConfigfunc (*AddonsConfig) ProtoMessage
func (*AddonsConfig) ProtoMessage()func (*AddonsConfig) ProtoReflect
func (x *AddonsConfig) ProtoReflect() protoreflect.Messagefunc (*AddonsConfig) Reset
func (x *AddonsConfig) Reset()func (*AddonsConfig) String
func (x *AddonsConfig) String() stringAdvancedDatapathObservabilityConfig
type AdvancedDatapathObservabilityConfig struct {
// Expose flow metrics on nodes
EnableMetrics bool `protobuf:"varint,1,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics,omitempty"`
// Method used to make Relay available
RelayMode AdvancedDatapathObservabilityConfig_RelayMode `protobuf:"varint,2,opt,name=relay_mode,json=relayMode,proto3,enum=google.container.v1.AdvancedDatapathObservabilityConfig_RelayMode" json:"relay_mode,omitempty"`
// Enable Relay component
EnableRelay *bool `protobuf:"varint,3,opt,name=enable_relay,json=enableRelay,proto3,oneof" json:"enable_relay,omitempty"`
// contains filtered or unexported fields
}AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.
func (*AdvancedDatapathObservabilityConfig) Descriptor
func (*AdvancedDatapathObservabilityConfig) Descriptor() ([]byte, []int)Deprecated: Use AdvancedDatapathObservabilityConfig.ProtoReflect.Descriptor instead.
func (*AdvancedDatapathObservabilityConfig) GetEnableMetrics
func (x *AdvancedDatapathObservabilityConfig) GetEnableMetrics() boolfunc (*AdvancedDatapathObservabilityConfig) GetEnableRelay
func (x *AdvancedDatapathObservabilityConfig) GetEnableRelay() boolfunc (*AdvancedDatapathObservabilityConfig) GetRelayMode
func (x *AdvancedDatapathObservabilityConfig) GetRelayMode() AdvancedDatapathObservabilityConfig_RelayModefunc (*AdvancedDatapathObservabilityConfig) ProtoMessage
func (*AdvancedDatapathObservabilityConfig) ProtoMessage()func (*AdvancedDatapathObservabilityConfig) ProtoReflect
func (x *AdvancedDatapathObservabilityConfig) ProtoReflect() protoreflect.Messagefunc (*AdvancedDatapathObservabilityConfig) Reset
func (x *AdvancedDatapathObservabilityConfig) Reset()func (*AdvancedDatapathObservabilityConfig) String
func (x *AdvancedDatapathObservabilityConfig) String() stringAdvancedDatapathObservabilityConfig_RelayMode
type AdvancedDatapathObservabilityConfig_RelayMode int32Supported Relay modes
AdvancedDatapathObservabilityConfig_RELAY_MODE_UNSPECIFIED, AdvancedDatapathObservabilityConfig_DISABLED, AdvancedDatapathObservabilityConfig_INTERNAL_VPC_LB, AdvancedDatapathObservabilityConfig_EXTERNAL_LB
const (
// Default value. This shouldn't be used.
AdvancedDatapathObservabilityConfig_RELAY_MODE_UNSPECIFIED AdvancedDatapathObservabilityConfig_RelayMode = 0
// disabled
AdvancedDatapathObservabilityConfig_DISABLED AdvancedDatapathObservabilityConfig_RelayMode = 1
// exposed via internal load balancer
AdvancedDatapathObservabilityConfig_INTERNAL_VPC_LB AdvancedDatapathObservabilityConfig_RelayMode = 3
// exposed via external load balancer
AdvancedDatapathObservabilityConfig_EXTERNAL_LB AdvancedDatapathObservabilityConfig_RelayMode = 4
)func (AdvancedDatapathObservabilityConfig_RelayMode) Descriptor
func (AdvancedDatapathObservabilityConfig_RelayMode) Descriptor() protoreflect.EnumDescriptorfunc (AdvancedDatapathObservabilityConfig_RelayMode) Enum
func (x AdvancedDatapathObservabilityConfig_RelayMode) Enum() *AdvancedDatapathObservabilityConfig_RelayModefunc (AdvancedDatapathObservabilityConfig_RelayMode) EnumDescriptor
func (AdvancedDatapathObservabilityConfig_RelayMode) EnumDescriptor() ([]byte, []int)Deprecated: Use AdvancedDatapathObservabilityConfig_RelayMode.Descriptor instead.
func (AdvancedDatapathObservabilityConfig_RelayMode) Number
func (x AdvancedDatapathObservabilityConfig_RelayMode) Number() protoreflect.EnumNumberfunc (AdvancedDatapathObservabilityConfig_RelayMode) String
func (x AdvancedDatapathObservabilityConfig_RelayMode) String() stringfunc (AdvancedDatapathObservabilityConfig_RelayMode) Type
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"`
// Whether or not to enable nested virtualization (defaults to false).
EnableNestedVirtualization *bool `protobuf:"varint,2,opt,name=enable_nested_virtualization,json=enableNestedVirtualization,proto3,oneof" json:"enable_nested_virtualization,omitempty"`
// Type of Performance Monitoring Unit (PMU) requested on node pool instances.
// If unset, PMU will not be available to the node.
PerformanceMonitoringUnit *AdvancedMachineFeatures_PerformanceMonitoringUnit `protobuf:"varint,3,opt,name=performance_monitoring_unit,json=performanceMonitoringUnit,proto3,enum=google.container.v1.AdvancedMachineFeatures_PerformanceMonitoringUnit,oneof" json:"performance_monitoring_unit,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) GetEnableNestedVirtualization
func (x *AdvancedMachineFeatures) GetEnableNestedVirtualization() boolfunc (*AdvancedMachineFeatures) GetPerformanceMonitoringUnit
func (x *AdvancedMachineFeatures) GetPerformanceMonitoringUnit() AdvancedMachineFeatures_PerformanceMonitoringUnitfunc (*AdvancedMachineFeatures) GetThreadsPerCore
func (x *AdvancedMachineFeatures) GetThreadsPerCore() int64func (*AdvancedMachineFeatures) ProtoMessage
func (*AdvancedMachineFeatures) ProtoMessage()func (*AdvancedMachineFeatures) ProtoReflect
func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Messagefunc (*AdvancedMachineFeatures) Reset
func (x *AdvancedMachineFeatures) Reset()func (*AdvancedMachineFeatures) String
func (x *AdvancedMachineFeatures) String() stringAdvancedMachineFeatures_PerformanceMonitoringUnit
type AdvancedMachineFeatures_PerformanceMonitoringUnit int32Level of PMU access.
AdvancedMachineFeatures_PERFORMANCE_MONITORING_UNIT_UNSPECIFIED, AdvancedMachineFeatures_ARCHITECTURAL, AdvancedMachineFeatures_STANDARD, AdvancedMachineFeatures_ENHANCED
const (
// PMU not enabled.
AdvancedMachineFeatures_PERFORMANCE_MONITORING_UNIT_UNSPECIFIED AdvancedMachineFeatures_PerformanceMonitoringUnit = 0
// Architecturally defined non-LLC events.
AdvancedMachineFeatures_ARCHITECTURAL AdvancedMachineFeatures_PerformanceMonitoringUnit = 1
// Most documented core/L2 events.
AdvancedMachineFeatures_STANDARD AdvancedMachineFeatures_PerformanceMonitoringUnit = 2
// Most documented core/L2 and LLC events.
AdvancedMachineFeatures_ENHANCED AdvancedMachineFeatures_PerformanceMonitoringUnit = 3
)func (AdvancedMachineFeatures_PerformanceMonitoringUnit) Descriptor
func (AdvancedMachineFeatures_PerformanceMonitoringUnit) Descriptor() protoreflect.EnumDescriptorfunc (AdvancedMachineFeatures_PerformanceMonitoringUnit) Enum
func (x AdvancedMachineFeatures_PerformanceMonitoringUnit) Enum() *AdvancedMachineFeatures_PerformanceMonitoringUnitfunc (AdvancedMachineFeatures_PerformanceMonitoringUnit) EnumDescriptor
func (AdvancedMachineFeatures_PerformanceMonitoringUnit) EnumDescriptor() ([]byte, []int)Deprecated: Use AdvancedMachineFeatures_PerformanceMonitoringUnit.Descriptor instead.
func (AdvancedMachineFeatures_PerformanceMonitoringUnit) Number
func (x AdvancedMachineFeatures_PerformanceMonitoringUnit) Number() protoreflect.EnumNumberfunc (AdvancedMachineFeatures_PerformanceMonitoringUnit) String
func (x AdvancedMachineFeatures_PerformanceMonitoringUnit) String() stringfunc (AdvancedMachineFeatures_PerformanceMonitoringUnit) Type
AnonymousAuthenticationConfig
type AnonymousAuthenticationConfig struct {
// Defines the mode of limiting anonymous access in the cluster.
Mode AnonymousAuthenticationConfig_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.container.v1.AnonymousAuthenticationConfig_Mode" json:"mode,omitempty"`
// contains filtered or unexported fields
}AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.
func (*AnonymousAuthenticationConfig) Descriptor
func (*AnonymousAuthenticationConfig) Descriptor() ([]byte, []int)Deprecated: Use AnonymousAuthenticationConfig.ProtoReflect.Descriptor instead.
func (*AnonymousAuthenticationConfig) GetMode
func (x *AnonymousAuthenticationConfig) GetMode() AnonymousAuthenticationConfig_Modefunc (*AnonymousAuthenticationConfig) ProtoMessage
func (*AnonymousAuthenticationConfig) ProtoMessage()func (*AnonymousAuthenticationConfig) ProtoReflect
func (x *AnonymousAuthenticationConfig) ProtoReflect() protoreflect.Messagefunc (*AnonymousAuthenticationConfig) Reset
func (x *AnonymousAuthenticationConfig) Reset()func (*AnonymousAuthenticationConfig) String
func (x *AnonymousAuthenticationConfig) String() stringAnonymousAuthenticationConfig_Mode
type AnonymousAuthenticationConfig_Mode int32Mode defines the mode of anonymous authentication allowed in the cluster.
AnonymousAuthenticationConfig_MODE_UNSPECIFIED, AnonymousAuthenticationConfig_ENABLED, AnonymousAuthenticationConfig_LIMITED
const (
// Default value not specified.
AnonymousAuthenticationConfig_MODE_UNSPECIFIED AnonymousAuthenticationConfig_Mode = 0
// Anonymous authentication is allowed for all endpoints.
AnonymousAuthenticationConfig_ENABLED AnonymousAuthenticationConfig_Mode = 1
// Anonymous authentication is allowed for only health check endpoints.
AnonymousAuthenticationConfig_LIMITED AnonymousAuthenticationConfig_Mode = 2
)func (AnonymousAuthenticationConfig_Mode) Descriptor
func (AnonymousAuthenticationConfig_Mode) Descriptor() protoreflect.EnumDescriptorfunc (AnonymousAuthenticationConfig_Mode) Enum
func (x AnonymousAuthenticationConfig_Mode) Enum() *AnonymousAuthenticationConfig_Modefunc (AnonymousAuthenticationConfig_Mode) EnumDescriptor
func (AnonymousAuthenticationConfig_Mode) EnumDescriptor() ([]byte, []int)Deprecated: Use AnonymousAuthenticationConfig_Mode.Descriptor instead.
func (AnonymousAuthenticationConfig_Mode) Number
func (x AnonymousAuthenticationConfig_Mode) Number() protoreflect.EnumNumberfunc (AnonymousAuthenticationConfig_Mode) String
func (x AnonymousAuthenticationConfig_Mode) String() stringfunc (AnonymousAuthenticationConfig_Mode) Type
func (AnonymousAuthenticationConfig_Mode) Type() protoreflect.EnumTypeAuthenticatorGroupsConfig
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() boolfunc (*AuthenticatorGroupsConfig) GetSecurityGroup
func (x *AuthenticatorGroupsConfig) GetSecurityGroup() stringfunc (*AuthenticatorGroupsConfig) ProtoMessage
func (*AuthenticatorGroupsConfig) ProtoMessage()func (*AuthenticatorGroupsConfig) ProtoReflect
func (x *AuthenticatorGroupsConfig) ProtoReflect() protoreflect.Messagefunc (*AuthenticatorGroupsConfig) Reset
func (x *AuthenticatorGroupsConfig) Reset()func (*AuthenticatorGroupsConfig) String
func (x *AuthenticatorGroupsConfig) String() stringAutoIpamConfig
type AutoIpamConfig struct {
// The flag that enables Auto IPAM on this cluster
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// contains filtered or unexported fields
}AutoIpamConfig contains all information related to Auto IPAM
func (*AutoIpamConfig) Descriptor
func (*AutoIpamConfig) Descriptor() ([]byte, []int)Deprecated: Use AutoIpamConfig.ProtoReflect.Descriptor instead.
func (*AutoIpamConfig) GetEnabled
func (x *AutoIpamConfig) GetEnabled() boolfunc (*AutoIpamConfig) ProtoMessage
func (*AutoIpamConfig) ProtoMessage()func (*AutoIpamConfig) ProtoReflect
func (x *AutoIpamConfig) ProtoReflect() protoreflect.Messagefunc (*AutoIpamConfig) Reset
func (x *AutoIpamConfig) Reset()func (*AutoIpamConfig) String
func (x *AutoIpamConfig) String() stringAutoMonitoringConfig
type AutoMonitoringConfig struct {
// Scope for GKE Workload Auto-Monitoring.
Scope AutoMonitoringConfig_Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=google.container.v1.AutoMonitoringConfig_Scope" json:"scope,omitempty"`
// contains filtered or unexported fields
}AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.
func (*AutoMonitoringConfig) Descriptor
func (*AutoMonitoringConfig) Descriptor() ([]byte, []int)Deprecated: Use AutoMonitoringConfig.ProtoReflect.Descriptor instead.
func (*AutoMonitoringConfig) GetScope
func (x *AutoMonitoringConfig) GetScope() AutoMonitoringConfig_Scopefunc (*AutoMonitoringConfig) ProtoMessage
func (*AutoMonitoringConfig) ProtoMessage()func (*AutoMonitoringConfig) ProtoReflect
func (x *AutoMonitoringConfig) ProtoReflect() protoreflect.Messagefunc (*AutoMonitoringConfig) Reset
func (x *AutoMonitoringConfig) Reset()func (*AutoMonitoringConfig) String
func (x *AutoMonitoringConfig) String() stringAutoMonitoringConfig_Scope
type AutoMonitoringConfig_Scope int32Scope for applications monitored by Auto-Monitoring
AutoMonitoringConfig_SCOPE_UNSPECIFIED, AutoMonitoringConfig_ALL, AutoMonitoringConfig_NONE
const (
// Not set.
AutoMonitoringConfig_SCOPE_UNSPECIFIED AutoMonitoringConfig_Scope = 0
// Auto-Monitoring is enabled for all supported applications.
AutoMonitoringConfig_ALL AutoMonitoringConfig_Scope = 1
// Disable Auto-Monitoring.
AutoMonitoringConfig_NONE AutoMonitoringConfig_Scope = 2
)func (AutoMonitoringConfig_Scope) Descriptor
func (AutoMonitoringConfig_Scope) Descriptor() protoreflect.EnumDescriptorfunc (AutoMonitoringConfig_Scope) Enum
func (x AutoMonitoringConfig_Scope) Enum() *AutoMonitoringConfig_Scopefunc (AutoMonitoringConfig_Scope) EnumDescriptor
func (AutoMonitoringConfig_Scope) EnumDescriptor() ([]byte, []int)Deprecated: Use AutoMonitoringConfig_Scope.Descriptor instead.
func (AutoMonitoringConfig_Scope) Number
func (x AutoMonitoringConfig_Scope) Number() protoreflect.EnumNumberfunc (AutoMonitoringConfig_Scope) String
func (x AutoMonitoringConfig_Scope) String() stringfunc (AutoMonitoringConfig_Scope) Type
func (AutoMonitoringConfig_Scope) Type() protoreflect.EnumTypeAutoUpgradeOptions
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() stringfunc (*AutoUpgradeOptions) GetDescription
func (x *AutoUpgradeOptions) GetDescription() stringfunc (*AutoUpgradeOptions) ProtoMessage
func (*AutoUpgradeOptions) ProtoMessage()func (*AutoUpgradeOptions) ProtoReflect
func (x *AutoUpgradeOptions) ProtoReflect() protoreflect.Messagefunc (*AutoUpgradeOptions) Reset
func (x *AutoUpgradeOptions) Reset()func (*AutoUpgradeOptions) String
func (x *AutoUpgradeOptions) String() stringAutopilot
type Autopilot struct {
// Enable Autopilot
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// WorkloadPolicyConfig is the configuration related to GCW workload policy
WorkloadPolicyConfig *WorkloadPolicyConfig `protobuf:"bytes,2,opt,name=workload_policy_config,json=workloadPolicyConfig,proto3" json:"workload_policy_config,omitempty"`
// PrivilegedAdmissionConfig is the configuration related to privileged
// admission control.
PrivilegedAdmissionConfig *PrivilegedAdmissionConfig `protobuf:"bytes,4,opt,name=privileged_admission_config,json=privilegedAdmissionConfig,proto3" json:"privileged_admission_config,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) GetPrivilegedAdmissionConfig
func (x *Autopilot) GetPrivilegedAdmissionConfig() *PrivilegedAdmissionConfigfunc (*Autopilot) GetWorkloadPolicyConfig
func (x *Autopilot) GetWorkloadPolicyConfig() *WorkloadPolicyConfigfunc (*Autopilot) ProtoMessage
func (*Autopilot) ProtoMessage()func (*Autopilot) ProtoReflect
func (x *Autopilot) ProtoReflect() protoreflect.Messagefunc (*Autopilot) Reset
func (x *Autopilot) Reset()func (*Autopilot) String
AutopilotCompatibilityIssue
type AutopilotCompatibilityIssue struct {
// The last time when this issue was observed.
LastObservation *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_observation,json=lastObservation,proto3" json:"last_observation,omitempty"`
// The constraint type of the issue.
ConstraintType string `protobuf:"bytes,2,opt,name=constraint_type,json=constraintType,proto3" json:"constraint_type,omitempty"`
// The incompatibility type of this issue.
IncompatibilityType AutopilotCompatibilityIssue_IssueType `protobuf:"varint,3,opt,name=incompatibility_type,json=incompatibilityType,proto3,enum=google.container.v1.AutopilotCompatibilityIssue_IssueType" json:"incompatibility_type,omitempty"`
// The name of the resources which are subject to this issue.
Subjects []string `protobuf:"bytes,4,rep,name=subjects,proto3" json:"subjects,omitempty"`
// A URL to a public documentation, which addresses resolving this issue.
DocumentationUrl string `protobuf:"bytes,5,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
// The description of the issue.
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.
func (*AutopilotCompatibilityIssue) Descriptor
func (*AutopilotCompatibilityIssue) Descriptor() ([]byte, []int)Deprecated: Use AutopilotCompatibilityIssue.ProtoReflect.Descriptor instead.
func (*AutopilotCompatibilityIssue) GetConstraintType
func (x *AutopilotCompatibilityIssue) GetConstraintType() stringfunc (*AutopilotCompatibilityIssue) GetDescription
func (x *AutopilotCompatibilityIssue) GetDescription() stringfunc (*AutopilotCompatibilityIssue) GetDocumentationUrl
func (x *AutopilotCompatibilityIssue) GetDocumentationUrl() stringfunc (*AutopilotCompatibilityIssue) GetIncompatibilityType
func (x *AutopilotCompatibilityIssue) GetIncompatibilityType() AutopilotCompatibilityIssue_IssueTypefunc (*AutopilotCompatibilityIssue) GetLastObservation
func (x *AutopilotCompatibilityIssue) GetLastObservation() *timestamppb.Timestampfunc (*AutopilotCompatibilityIssue) GetSubjects
func (x *AutopilotCompatibilityIssue) GetSubjects() []stringfunc (*AutopilotCompatibilityIssue) ProtoMessage
func (*AutopilotCompatibilityIssue) ProtoMessage()func (*AutopilotCompatibilityIssue) ProtoReflect
func (x *AutopilotCompatibilityIssue) ProtoReflect() protoreflect.Messagefunc (*AutopilotCompatibilityIssue) Reset
func (x *AutopilotCompatibilityIssue) Reset()func (*AutopilotCompatibilityIssue) String
func (x *AutopilotCompatibilityIssue) String() stringAutopilotCompatibilityIssue_IssueType
type AutopilotCompatibilityIssue_IssueType int32The type of the reported issue.
AutopilotCompatibilityIssue_UNSPECIFIED, AutopilotCompatibilityIssue_INCOMPATIBILITY, AutopilotCompatibilityIssue_ADDITIONAL_CONFIG_REQUIRED, AutopilotCompatibilityIssue_PASSED_WITH_OPTIONAL_CONFIG
const (
// Default value, should not be used.
AutopilotCompatibilityIssue_UNSPECIFIED AutopilotCompatibilityIssue_IssueType = 0
// Indicates that the issue is a known incompatibility between the
// cluster and Autopilot mode.
AutopilotCompatibilityIssue_INCOMPATIBILITY AutopilotCompatibilityIssue_IssueType = 1
// Indicates the issue is an incompatibility if customers take no further
// action to resolve.
AutopilotCompatibilityIssue_ADDITIONAL_CONFIG_REQUIRED AutopilotCompatibilityIssue_IssueType = 2
// Indicates the issue is not an incompatibility, but depending on the
// workloads business logic, there is a potential that they won't work on
// Autopilot.
AutopilotCompatibilityIssue_PASSED_WITH_OPTIONAL_CONFIG AutopilotCompatibilityIssue_IssueType = 3
)func (AutopilotCompatibilityIssue_IssueType) Descriptor
func (AutopilotCompatibilityIssue_IssueType) Descriptor() protoreflect.EnumDescriptorfunc (AutopilotCompatibilityIssue_IssueType) Enum
func (AutopilotCompatibilityIssue_IssueType) EnumDescriptor
func (AutopilotCompatibilityIssue_IssueType) EnumDescriptor() ([]byte, []int)Deprecated: Use AutopilotCompatibilityIssue_IssueType.Descriptor instead.
func (AutopilotCompatibilityIssue_IssueType) Number
func (x AutopilotCompatibilityIssue_IssueType) Number() protoreflect.EnumNumberfunc (AutopilotCompatibilityIssue_IssueType) String
func (x AutopilotCompatibilityIssue_IssueType) String() stringfunc (AutopilotCompatibilityIssue_IssueType) Type
func (AutopilotCompatibilityIssue_IssueType) Type() protoreflect.EnumTypeAutoprovisioningNodePoolDefaults
type AutoprovisioningNodePoolDefaults struct {
// Scopes that are used by NAP when creating node pools.
OauthScopes []string `protobuf:"bytes,1,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
// The Google Cloud Platform Service Account to be used by the node VMs.
ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// Specifies the upgrade settings for NAP created node pools
UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,3,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"`
// Specifies the node management options for NAP created node-pools.
Management *NodeManagement `protobuf:"bytes,4,opt,name=management,proto3" json:"management,omitempty"`
// Deprecated. Minimum CPU platform to be used for NAP created node pools.
// The instance may be scheduled on the specified or newer CPU platform.
// Applicable values are the friendly names of CPU platforms, such as
// minCpuPlatform: Intel Haswell or
// minCpuPlatform: Intel Sandy Bridge. For more
// information, read [how to specify min CPU
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
// This field is deprecated, min_cpu_platform should be specified using
// `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
// To unset the min cpu platform field pass "automatic"
// as field value.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
MinCpuPlatform string `protobuf:"bytes,5,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
// Size of the disk attached to each node, specified in GB.
// The smallest allowed disk size is 10GB.
//
// If unspecified, the default disk size is 100GB.
DiskSizeGb int32 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
// Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
// 'pd-balanced')
//
// If unspecified, the default disk type is 'pd-standard'
DiskType string `protobuf:"bytes,7,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Shielded Instance options.
ShieldedInstanceConfig *ShieldedInstanceConfig `protobuf:"bytes,8,opt,name=shielded_instance_config,json=shieldedInstanceConfig,proto3" json:"shielded_instance_config,omitempty"`
// The Customer Managed Encryption Key used to encrypt the boot disk attached
// to each node in the node pool. This should be of the form
// projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
// For more information about protecting resources with Cloud KMS Keys please
// see:
// https://cloud.google.com/compute/docs/disks/customer-managed-encryption
BootDiskKmsKey string `protobuf:"bytes,9,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"`
// The image type to use for NAP created node. Please see
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images
// for available image types.
ImageType string `protobuf:"bytes,10,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
// DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.
InsecureKubeletReadonlyPortEnabled *bool `protobuf:"varint,13,opt,name=insecure_kubelet_readonly_port_enabled,json=insecureKubeletReadonlyPortEnabled,proto3,oneof" json:"insecure_kubelet_readonly_port_enabled,omitempty"`
// contains filtered or unexported fields
}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() stringfunc (*AutoprovisioningNodePoolDefaults) GetDiskSizeGb
func (x *AutoprovisioningNodePoolDefaults) GetDiskSizeGb() int32func (*AutoprovisioningNodePoolDefaults) GetDiskType
func (x *AutoprovisioningNodePoolDefaults) GetDiskType() stringfunc (*AutoprovisioningNodePoolDefaults) GetImageType
func (x *AutoprovisioningNodePoolDefaults) GetImageType() stringfunc (*AutoprovisioningNodePoolDefaults) GetInsecureKubeletReadonlyPortEnabled
func (x *AutoprovisioningNodePoolDefaults) GetInsecureKubeletReadonlyPortEnabled() boolfunc (*AutoprovisioningNodePoolDefaults) GetManagement
func (x *AutoprovisioningNodePoolDefaults) GetManagement() *NodeManagementfunc (*AutoprovisioningNodePoolDefaults) GetMinCpuPlatform
func (x *AutoprovisioningNodePoolDefaults) GetMinCpuPlatform() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*AutoprovisioningNodePoolDefaults) GetOauthScopes
func (x *AutoprovisioningNodePoolDefaults) GetOauthScopes() []stringfunc (*AutoprovisioningNodePoolDefaults) GetServiceAccount
func (x *AutoprovisioningNodePoolDefaults) GetServiceAccount() stringfunc (*AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig
func (x *AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig() *ShieldedInstanceConfigfunc (*AutoprovisioningNodePoolDefaults) GetUpgradeSettings
func (x *AutoprovisioningNodePoolDefaults) GetUpgradeSettings() *NodePool_UpgradeSettingsfunc (*AutoprovisioningNodePoolDefaults) ProtoMessage
func (*AutoprovisioningNodePoolDefaults) ProtoMessage()func (*AutoprovisioningNodePoolDefaults) ProtoReflect
func (x *AutoprovisioningNodePoolDefaults) ProtoReflect() protoreflect.Messagefunc (*AutoprovisioningNodePoolDefaults) Reset
func (x *AutoprovisioningNodePoolDefaults) Reset()func (*AutoprovisioningNodePoolDefaults) String
func (x *AutoprovisioningNodePoolDefaults) String() stringBestEffortProvisioning
type BestEffortProvisioning struct {
// When this is enabled, cluster/node pool creations will ignore non-fatal
// errors like stockout to best provision as many nodes as possible right now
// and eventually bring up all target number of nodes
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Minimum number of nodes to be provisioned to be considered as succeeded,
// and the rest of nodes will be provisioned gradually and eventually when
// stockout issue has been resolved.
MinProvisionNodes int32 `protobuf:"varint,2,opt,name=min_provision_nodes,json=minProvisionNodes,proto3" json:"min_provision_nodes,omitempty"`
// contains filtered or unexported fields
}Best effort provisioning.
func (*BestEffortProvisioning) Descriptor
func (*BestEffortProvisioning) Descriptor() ([]byte, []int)Deprecated: Use BestEffortProvisioning.ProtoReflect.Descriptor instead.
func (*BestEffortProvisioning) GetEnabled
func (x *BestEffortProvisioning) GetEnabled() boolfunc (*BestEffortProvisioning) GetMinProvisionNodes
func (x *BestEffortProvisioning) GetMinProvisionNodes() int32func (*BestEffortProvisioning) ProtoMessage
func (*BestEffortProvisioning) ProtoMessage()func (*BestEffortProvisioning) ProtoReflect
func (x *BestEffortProvisioning) ProtoReflect() protoreflect.Messagefunc (*BestEffortProvisioning) Reset
func (x *BestEffortProvisioning) Reset()func (*BestEffortProvisioning) String
func (x *BestEffortProvisioning) String() stringBinaryAuthorization
type BinaryAuthorization struct {
// This field is deprecated. Leave this unset and instead configure
// BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
// anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Mode of operation for binauthz policy evaluation. If unspecified, defaults
// to DISABLED.
EvaluationMode BinaryAuthorization_EvaluationMode `protobuf:"varint,2,opt,name=evaluation_mode,json=evaluationMode,proto3,enum=google.container.v1.BinaryAuthorization_EvaluationMode" json:"evaluation_mode,omitempty"`
// contains filtered or unexported fields
}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() boolDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*BinaryAuthorization) GetEvaluationMode
func (x *BinaryAuthorization) GetEvaluationMode() BinaryAuthorization_EvaluationModefunc (*BinaryAuthorization) ProtoMessage
func (*BinaryAuthorization) ProtoMessage()func (*BinaryAuthorization) ProtoReflect
func (x *BinaryAuthorization) ProtoReflect() protoreflect.Messagefunc (*BinaryAuthorization) Reset
func (x *BinaryAuthorization) Reset()func (*BinaryAuthorization) String
func (x *BinaryAuthorization) String() stringBinaryAuthorization_EvaluationMode
type BinaryAuthorization_EvaluationMode int32Binary 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.EnumDescriptorfunc (BinaryAuthorization_EvaluationMode) Enum
func (x BinaryAuthorization_EvaluationMode) Enum() *BinaryAuthorization_EvaluationModefunc (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.EnumNumberfunc (BinaryAuthorization_EvaluationMode) String
func (x BinaryAuthorization_EvaluationMode) String() stringfunc (BinaryAuthorization_EvaluationMode) Type
func (BinaryAuthorization_EvaluationMode) Type() protoreflect.EnumTypeBlueGreenSettings
type BlueGreenSettings struct {
// The rollout policy controls the general rollout progress of blue-green.
//
// Types that are assignable to RolloutPolicy:
//
// *BlueGreenSettings_StandardRolloutPolicy_
// *BlueGreenSettings_AutoscaledRolloutPolicy_
RolloutPolicy isBlueGreenSettings_RolloutPolicy `protobuf_oneof:"rollout_policy"`
// Time needed after draining entire blue pool. After this period, blue pool
// will be cleaned up.
NodePoolSoakDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=node_pool_soak_duration,json=nodePoolSoakDuration,proto3,oneof" json:"node_pool_soak_duration,omitempty"`
// contains filtered or unexported fields
}Settings for blue-green upgrade.
func (*BlueGreenSettings) Descriptor
func (*BlueGreenSettings) Descriptor() ([]byte, []int)Deprecated: Use BlueGreenSettings.ProtoReflect.Descriptor instead.
func (*BlueGreenSettings) GetAutoscaledRolloutPolicy
func (x *BlueGreenSettings) GetAutoscaledRolloutPolicy() *BlueGreenSettings_AutoscaledRolloutPolicyfunc (*BlueGreenSettings) GetNodePoolSoakDuration
func (x *BlueGreenSettings) GetNodePoolSoakDuration() *durationpb.Durationfunc (*BlueGreenSettings) GetRolloutPolicy
func (m *BlueGreenSettings) GetRolloutPolicy() isBlueGreenSettings_RolloutPolicyfunc (*BlueGreenSettings) GetStandardRolloutPolicy
func (x *BlueGreenSettings) GetStandardRolloutPolicy() *BlueGreenSettings_StandardRolloutPolicyfunc (*BlueGreenSettings) ProtoMessage
func (*BlueGreenSettings) ProtoMessage()func (*BlueGreenSettings) ProtoReflect
func (x *BlueGreenSettings) ProtoReflect() protoreflect.Messagefunc (*BlueGreenSettings) Reset
func (x *BlueGreenSettings) Reset()func (*BlueGreenSettings) String
func (x *BlueGreenSettings) String() stringBlueGreenSettings_AutoscaledRolloutPolicy
type BlueGreenSettings_AutoscaledRolloutPolicy struct {
// Optional. Time to wait after cordoning the blue pool before draining the
// nodes. Defaults to 3 days. The value can be set between 0 and 7 days,
// inclusive.
WaitForDrainDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=wait_for_drain_duration,json=waitForDrainDuration,proto3" json:"wait_for_drain_duration,omitempty"`
// contains filtered or unexported fields
}Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.
func (*BlueGreenSettings_AutoscaledRolloutPolicy) Descriptor
func (*BlueGreenSettings_AutoscaledRolloutPolicy) Descriptor() ([]byte, []int)Deprecated: Use BlueGreenSettings_AutoscaledRolloutPolicy.ProtoReflect.Descriptor instead.
func (*BlueGreenSettings_AutoscaledRolloutPolicy) GetWaitForDrainDuration
func (x *BlueGreenSettings_AutoscaledRolloutPolicy) GetWaitForDrainDuration() *durationpb.Durationfunc (*BlueGreenSettings_AutoscaledRolloutPolicy) ProtoMessage
func (*BlueGreenSettings_AutoscaledRolloutPolicy) ProtoMessage()func (*BlueGreenSettings_AutoscaledRolloutPolicy) ProtoReflect
func (x *BlueGreenSettings_AutoscaledRolloutPolicy) ProtoReflect() protoreflect.Messagefunc (*BlueGreenSettings_AutoscaledRolloutPolicy) Reset
func (x *BlueGreenSettings_AutoscaledRolloutPolicy) Reset()func (*BlueGreenSettings_AutoscaledRolloutPolicy) String
func (x *BlueGreenSettings_AutoscaledRolloutPolicy) String() stringBlueGreenSettings_AutoscaledRolloutPolicy_
type BlueGreenSettings_AutoscaledRolloutPolicy_ struct {
// Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
AutoscaledRolloutPolicy *BlueGreenSettings_AutoscaledRolloutPolicy `protobuf:"bytes,3,opt,name=autoscaled_rollout_policy,json=autoscaledRolloutPolicy,proto3,oneof"`
}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() int32func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage
func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage() float32func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration
func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration() *durationpb.Durationfunc (*BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize
func (m *BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize() isBlueGreenSettings_StandardRolloutPolicy_UpdateBatchSizefunc (*BlueGreenSettings_StandardRolloutPolicy) ProtoMessage
func (*BlueGreenSettings_StandardRolloutPolicy) ProtoMessage()func (*BlueGreenSettings_StandardRolloutPolicy) ProtoReflect
func (x *BlueGreenSettings_StandardRolloutPolicy) ProtoReflect() protoreflect.Messagefunc (*BlueGreenSettings_StandardRolloutPolicy) Reset
func (x *BlueGreenSettings_StandardRolloutPolicy) Reset()func (*BlueGreenSettings_StandardRolloutPolicy) String
func (x *BlueGreenSettings_StandardRolloutPolicy) String() stringBlueGreenSettings_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"`
}BootDisk
type BootDisk struct {
// Disk type of the boot disk.
// (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
DiskType string `protobuf:"bytes,1,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Disk size in GB. Replaces NodeConfig.disk_size_gb
SizeGb int64 `protobuf:"varint,2,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
// For Hyperdisk-Balanced only, the provisioned IOPS config value.
ProvisionedIops int64 `protobuf:"varint,3,opt,name=provisioned_iops,json=provisionedIops,proto3" json:"provisioned_iops,omitempty"`
// For Hyperdisk-Balanced only, the provisioned throughput config value.
ProvisionedThroughput int64 `protobuf:"varint,4,opt,name=provisioned_throughput,json=provisionedThroughput,proto3" json:"provisioned_throughput,omitempty"`
// contains filtered or unexported fields
}BootDisk specifies the boot disk configuration for nodepools.
func (*BootDisk) Descriptor
Deprecated: Use BootDisk.ProtoReflect.Descriptor instead.
func (*BootDisk) GetDiskType
func (*BootDisk) GetProvisionedIops
func (*BootDisk) GetProvisionedThroughput
func (*BootDisk) GetSizeGb
func (*BootDisk) ProtoMessage
func (*BootDisk) ProtoMessage()func (*BootDisk) ProtoReflect
func (x *BootDisk) ProtoReflect() protoreflect.Messagefunc (*BootDisk) Reset
func (x *BootDisk) Reset()func (*BootDisk) String
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() stringfunc (*CancelOperationRequest) GetOperationId
func (x *CancelOperationRequest) GetOperationId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) GetProjectId
func (x *CancelOperationRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) GetZone
func (x *CancelOperationRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CancelOperationRequest) ProtoMessage
func (*CancelOperationRequest) ProtoMessage()func (*CancelOperationRequest) ProtoReflect
func (x *CancelOperationRequest) ProtoReflect() protoreflect.Messagefunc (*CancelOperationRequest) Reset
func (x *CancelOperationRequest) Reset()func (*CancelOperationRequest) String
func (x *CancelOperationRequest) String() stringCheckAutopilotCompatibilityRequest
type CheckAutopilotCompatibilityRequest struct {
// The name (project, location, cluster) of the cluster to retrieve.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}CheckAutopilotCompatibilityRequest requests getting the blockers for the given operation in the cluster.
func (*CheckAutopilotCompatibilityRequest) Descriptor
func (*CheckAutopilotCompatibilityRequest) Descriptor() ([]byte, []int)Deprecated: Use CheckAutopilotCompatibilityRequest.ProtoReflect.Descriptor instead.
func (*CheckAutopilotCompatibilityRequest) GetName
func (x *CheckAutopilotCompatibilityRequest) GetName() stringfunc (*CheckAutopilotCompatibilityRequest) ProtoMessage
func (*CheckAutopilotCompatibilityRequest) ProtoMessage()func (*CheckAutopilotCompatibilityRequest) ProtoReflect
func (x *CheckAutopilotCompatibilityRequest) ProtoReflect() protoreflect.Messagefunc (*CheckAutopilotCompatibilityRequest) Reset
func (x *CheckAutopilotCompatibilityRequest) Reset()func (*CheckAutopilotCompatibilityRequest) String
func (x *CheckAutopilotCompatibilityRequest) String() stringCheckAutopilotCompatibilityResponse
type CheckAutopilotCompatibilityResponse struct {
// The list of issues for the given operation.
Issues []*AutopilotCompatibilityIssue `protobuf:"bytes,1,rep,name=issues,proto3" json:"issues,omitempty"`
// The summary of the autopilot compatibility response.
Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
// contains filtered or unexported fields
}CheckAutopilotCompatibilityResponse has a list of compatibility issues.
func (*CheckAutopilotCompatibilityResponse) Descriptor
func (*CheckAutopilotCompatibilityResponse) Descriptor() ([]byte, []int)Deprecated: Use CheckAutopilotCompatibilityResponse.ProtoReflect.Descriptor instead.
func (*CheckAutopilotCompatibilityResponse) GetIssues
func (x *CheckAutopilotCompatibilityResponse) GetIssues() []*AutopilotCompatibilityIssuefunc (*CheckAutopilotCompatibilityResponse) GetSummary
func (x *CheckAutopilotCompatibilityResponse) GetSummary() stringfunc (*CheckAutopilotCompatibilityResponse) ProtoMessage
func (*CheckAutopilotCompatibilityResponse) ProtoMessage()func (*CheckAutopilotCompatibilityResponse) ProtoReflect
func (x *CheckAutopilotCompatibilityResponse) ProtoReflect() protoreflect.Messagefunc (*CheckAutopilotCompatibilityResponse) Reset
func (x *CheckAutopilotCompatibilityResponse) Reset()func (*CheckAutopilotCompatibilityResponse) String
func (x *CheckAutopilotCompatibilityResponse) String() stringClientCertificateConfig
type ClientCertificateConfig struct {
// Issue a client certificate.
IssueClientCertificate bool `protobuf:"varint,1,opt,name=issue_client_certificate,json=issueClientCertificate,proto3" json:"issue_client_certificate,omitempty"`
// contains filtered or unexported fields
}Configuration for client certificates on the cluster.
func (*ClientCertificateConfig) Descriptor
func (*ClientCertificateConfig) Descriptor() ([]byte, []int)Deprecated: Use ClientCertificateConfig.ProtoReflect.Descriptor instead.
func (*ClientCertificateConfig) GetIssueClientCertificate
func (x *ClientCertificateConfig) GetIssueClientCertificate() boolfunc (*ClientCertificateConfig) ProtoMessage
func (*ClientCertificateConfig) ProtoMessage()func (*ClientCertificateConfig) ProtoReflect
func (x *ClientCertificateConfig) ProtoReflect() protoreflect.Messagefunc (*ClientCertificateConfig) Reset
func (x *ClientCertificateConfig) Reset()func (*ClientCertificateConfig) String
func (x *ClientCertificateConfig) String() stringCloudRunConfig
type CloudRunConfig struct {
// Whether Cloud Run addon is enabled for this cluster.
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Which load balancer type is installed for Cloud Run.
LoadBalancerType CloudRunConfig_LoadBalancerType `protobuf:"varint,3,opt,name=load_balancer_type,json=loadBalancerType,proto3,enum=google.container.v1.CloudRunConfig_LoadBalancerType" json:"load_balancer_type,omitempty"`
// contains filtered or unexported fields
}Configuration options for the Cloud Run feature.
func (*CloudRunConfig) Descriptor
func (*CloudRunConfig) Descriptor() ([]byte, []int)Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
func (*CloudRunConfig) GetDisabled
func (x *CloudRunConfig) GetDisabled() boolfunc (*CloudRunConfig) GetLoadBalancerType
func (x *CloudRunConfig) GetLoadBalancerType() CloudRunConfig_LoadBalancerTypefunc (*CloudRunConfig) ProtoMessage
func (*CloudRunConfig) ProtoMessage()func (*CloudRunConfig) ProtoReflect
func (x *CloudRunConfig) ProtoReflect() protoreflect.Messagefunc (*CloudRunConfig) Reset
func (x *CloudRunConfig) Reset()func (*CloudRunConfig) String
func (x *CloudRunConfig) String() stringCloudRunConfig_LoadBalancerType
type CloudRunConfig_LoadBalancerType int32Load 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.EnumDescriptorfunc (CloudRunConfig_LoadBalancerType) Enum
func (x CloudRunConfig_LoadBalancerType) Enum() *CloudRunConfig_LoadBalancerTypefunc (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.EnumNumberfunc (CloudRunConfig_LoadBalancerType) String
func (x CloudRunConfig_LoadBalancerType) String() stringfunc (CloudRunConfig_LoadBalancerType) Type
func (CloudRunConfig_LoadBalancerType) Type() protoreflect.EnumTypeCluster
type Cluster struct {
// The name of this cluster. The name must be unique within this project
// and location (e.g. zone or region), and can be up to 40 characters with
// the following restrictions:
//
// * Lowercase letters, numbers, and hyphens only.
// * Must start with a letter.
// * Must end with a number or a letter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// An optional description of this cluster.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// The number of nodes to create in this cluster. You must ensure that your
// Compute Engine [resource
// quota](https://cloud.google.com/compute/quotas)
// is sufficient for this number of instances. You must also have available
// firewall and routes quota.
// For requests, this field should only be used in lieu of a
// "node_pool" object, since this configuration (along with the
// "node_config") will be used to create a "NodePool" object with an
// auto-generated name. Do not use this and a node_pool at the same time.
//
// This field is deprecated, use node_pool.initial_node_count instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
// Parameters used in creating the cluster's nodes.
// For requests, this field should only be used in lieu of a
// "node_pool" object, since this configuration (along with the
// "initial_node_count") will be used to create a "NodePool" object with an
// auto-generated name. Do not use this and a node_pool at the same time.
// For responses, this field will be populated with the node configuration of
// the first node pool. (For configuration of each node pool, see
// `node_pool.config`)
//
// If unspecified, the defaults are used.
// This field is deprecated, use node_pool.config instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodeConfig *NodeConfig `protobuf:"bytes,4,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
// The authentication information for accessing the master endpoint.
// If unspecified, the defaults are used:
// For clusters before v1.12, if master_auth is unspecified, `username` will
// be set to "admin", a random password will be generated, and a client
// certificate will be issued.
MasterAuth *MasterAuth `protobuf:"bytes,5,opt,name=master_auth,json=masterAuth,proto3" json:"master_auth,omitempty"`
// The logging service the cluster should use to write logs.
// Currently available options:
//
// * `logging.googleapis.com/kubernetes` - The Cloud Logging
// service with a Kubernetes-native resource model
// - `logging.googleapis.com` - The legacy Cloud Logging service (no longer
// available as of GKE 1.15).
// - `none` - no logs will be exported from the cluster.
//
// If left as an empty string,`logging.googleapis.com/kubernetes` will be
// used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
LoggingService string `protobuf:"bytes,6,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
// The monitoring service the cluster should use to write metrics.
// Currently available options:
//
// * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
// service with a Kubernetes-native resource model
// - `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
// longer available as of GKE 1.15).
// - `none` - No metrics will be exported from the cluster.
//
// If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
// used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
MonitoringService string `protobuf:"bytes,7,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
// The name of the Google Compute Engine
// [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
// to which the cluster is connected. If left unspecified, the `default`
// network will be used.
Network string `protobuf:"bytes,8,opt,name=network,proto3" json:"network,omitempty"`
// The IP address range of the container pods in this cluster, in
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`). Leave blank to have
// one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
ClusterIpv4Cidr string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
// Configurations for the various addons available to run in the cluster.
AddonsConfig *AddonsConfig `protobuf:"bytes,10,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
// The name of the Google Compute Engine
// [subnetwork](https://cloud.google.com/compute/docs/subnetworks)
// to which the cluster is connected.
Subnetwork string `protobuf:"bytes,11,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// The node pools associated with this cluster.
// This field should not be set if "node_config" or "initial_node_count" are
// specified.
NodePools []*NodePool `protobuf:"bytes,12,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
// The list of Google Compute Engine
// [zones](https://cloud.google.com/compute/docs/zones#available)
// in which the cluster's nodes should be located.
//
// This field provides a default value if
// [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
// are not specified during node pool creation.
//
// Warning: changing cluster locations will update the
// [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
// of all node pools and will result in nodes being added and/or removed.
Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
// Kubernetes alpha features are enabled on this cluster. This includes alpha
// API groups (e.g. v1alpha1) and features that may not be production ready in
// the kubernetes version of the master and nodes.
// The cluster has no SLA for uptime and master/node upgrades are disabled.
// Alpha enabled clusters are automatically deleted thirty days after
// creation.
EnableKubernetesAlpha bool `protobuf:"varint,14,opt,name=enable_kubernetes_alpha,json=enableKubernetesAlpha,proto3" json:"enable_kubernetes_alpha,omitempty"`
// The list of user specified Kubernetes feature gates.
// Each string represents the activation status of a feature gate (e.g.
// "featureX=true" or "featureX=false")
AlphaClusterFeatureGates []string `protobuf:"bytes,160,rep,name=alpha_cluster_feature_gates,json=alphaClusterFeatureGates,proto3" json:"alpha_cluster_feature_gates,omitempty"`
// The resource labels for the cluster to use to annotate any related
// Google Compute Engine resources.
ResourceLabels map[string]string `protobuf:"bytes,15,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The fingerprint of the set of labels for this cluster.
LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
// Configuration for the legacy ABAC authorization mode.
LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,omitempty"`
// Configuration options for the NetworkPolicy feature.
NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
// Configuration for cluster IP allocation.
IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"`
// The configuration options for master authorized networks feature.
//
// Deprecated: Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,22,opt,name=master_authorized_networks_config,json=masterAuthorizedNetworksConfig,proto3" json:"master_authorized_networks_config,omitempty"`
// Configure the maintenance policy for this cluster.
MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,23,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
// Configuration for Binary Authorization.
BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,24,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`
// Cluster-level autoscaling configuration.
Autoscaling *ClusterAutoscaling `protobuf:"bytes,26,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
// Configuration for cluster networking.
NetworkConfig *NetworkConfig `protobuf:"bytes,27,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
// The default constraint on the maximum number of pods that can be run
// simultaneously on a node in the node pool of this cluster. Only honored
// if cluster created with IP Alias support.
DefaultMaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,30,opt,name=default_max_pods_constraint,json=defaultMaxPodsConstraint,proto3" json:"default_max_pods_constraint,omitempty"`
// Configuration for exporting resource usages. Resource usage export is
// disabled when this config is unspecified.
ResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,33,opt,name=resource_usage_export_config,json=resourceUsageExportConfig,proto3" json:"resource_usage_export_config,omitempty"`
// Configuration controlling RBAC group membership information.
AuthenticatorGroupsConfig *AuthenticatorGroupsConfig `protobuf:"bytes,34,opt,name=authenticator_groups_config,json=authenticatorGroupsConfig,proto3" json:"authenticator_groups_config,omitempty"`
// Configuration for private cluster.
PrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,37,opt,name=private_cluster_config,json=privateClusterConfig,proto3" json:"private_cluster_config,omitempty"`
// Configuration of etcd encryption.
DatabaseEncryption *DatabaseEncryption `protobuf:"bytes,38,opt,name=database_encryption,json=databaseEncryption,proto3" json:"database_encryption,omitempty"`
// Cluster-level Vertical Pod Autoscaling configuration.
VerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,39,opt,name=vertical_pod_autoscaling,json=verticalPodAutoscaling,proto3" json:"vertical_pod_autoscaling,omitempty"`
// Shielded Nodes configuration.
ShieldedNodes *ShieldedNodes `protobuf:"bytes,40,opt,name=shielded_nodes,json=shieldedNodes,proto3" json:"shielded_nodes,omitempty"`
// Release channel configuration. If left unspecified on cluster creation and
// a version is specified, the cluster is enrolled in the most mature release
// channel where the version is available (first checking STABLE, then
// REGULAR, and finally RAPID). Otherwise, if no release channel
// configuration and no version is specified, the cluster is enrolled in the
// REGULAR channel with its default version.
ReleaseChannel *ReleaseChannel `protobuf:"bytes,41,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
// Configuration for the use of Kubernetes Service Accounts in IAM policies.
WorkloadIdentityConfig *WorkloadIdentityConfig `protobuf:"bytes,43,opt,name=workload_identity_config,json=workloadIdentityConfig,proto3" json:"workload_identity_config,omitempty"`
// Configuration for issuance of mTLS keys and certificates to Kubernetes
// pods.
MeshCertificates *MeshCertificates `protobuf:"bytes,67,opt,name=mesh_certificates,json=meshCertificates,proto3" json:"mesh_certificates,omitempty"`
// Configuration for the fine-grained cost management feature.
CostManagementConfig *CostManagementConfig `protobuf:"bytes,45,opt,name=cost_management_config,json=costManagementConfig,proto3" json:"cost_management_config,omitempty"`
// Notification configuration of the cluster.
NotificationConfig *NotificationConfig `protobuf:"bytes,49,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
// Configuration of Confidential Nodes.
// All the nodes in the cluster will be Confidential VM once enabled.
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,50,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
// Configuration for Identity Service component.
IdentityServiceConfig *IdentityServiceConfig `protobuf:"bytes,54,opt,name=identity_service_config,json=identityServiceConfig,proto3" json:"identity_service_config,omitempty"`
// Output only. Server-defined URL for the resource.
SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// Output only. The name of the Google Compute Engine
// [zone](https://cloud.google.com/compute/docs/zones#available)
// in which the cluster resides. This field is deprecated, use location
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Zone string `protobuf:"bytes,101,opt,name=zone,proto3" json:"zone,omitempty"`
// Output only. The IP address of this cluster's master endpoint.
// The endpoint can be accessed from the internet at
// `https://username:password@endpoint/`.
//
// See the `masterAuth` property of this resource for username and
// password information.
Endpoint string `protobuf:"bytes,102,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// The initial Kubernetes version for this cluster. Valid versions are those
// found in validMasterVersions returned by getServerConfig. The version can
// be upgraded over time; such upgrades are reflected in
// currentMasterVersion and currentNodeVersion.
//
// Users may specify either explicit versions offered by
// Kubernetes Engine or version aliases, which have the following behavior:
//
// - "latest": picks the highest valid Kubernetes version
// - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
// - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
// - "1.X.Y-gke.N": picks an explicit Kubernetes version
// - "","-": picks the default Kubernetes version
InitialClusterVersion string `protobuf:"bytes,103,opt,name=initial_cluster_version,json=initialClusterVersion,proto3" json:"initial_cluster_version,omitempty"`
// Output only. The current software version of the master endpoint.
CurrentMasterVersion string `protobuf:"bytes,104,opt,name=current_master_version,json=currentMasterVersion,proto3" json:"current_master_version,omitempty"`
// Output only. Deprecated, use
// [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
// instead. The current version of the node software components. If they are
// currently at multiple versions because they're in the process of being
// upgraded, this reflects the minimum version of all nodes.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
CurrentNodeVersion string `protobuf:"bytes,105,opt,name=current_node_version,json=currentNodeVersion,proto3" json:"current_node_version,omitempty"`
// Output only. The time the cluster was created, in
// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
CreateTime string `protobuf:"bytes,106,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The current status of this cluster.
Status Cluster_Status `protobuf:"varint,107,opt,name=status,proto3,enum=google.container.v1.Cluster_Status" json:"status,omitempty"`
// Output only. Deprecated. Use conditions instead.
// Additional information about the current status of this
// cluster, if available.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
StatusMessage string `protobuf:"bytes,108,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. The size of the address space on each node for hosting
// containers. This is provisioned from within the `container_ipv4_cidr`
// range. This field will only be set when cluster is in route-based network
// mode.
NodeIpv4CidrSize int32 `protobuf:"varint,109,opt,name=node_ipv4_cidr_size,json=nodeIpv4CidrSize,proto3" json:"node_ipv4_cidr_size,omitempty"`
// Output only. The IP address range of the Kubernetes services in
// this cluster, in
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `1.2.3.4/29`). Service addresses are
// typically put in the last `/16` from the container CIDR.
ServicesIpv4Cidr string `protobuf:"bytes,110,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
// Output only. Deprecated. Use node_pools.instance_group_urls.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
InstanceGroupUrls []string `protobuf:"bytes,111,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
// Output only. The number of nodes currently in the cluster. Deprecated.
// Call Kubernetes API directly to retrieve node information.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
CurrentNodeCount int32 `protobuf:"varint,112,opt,name=current_node_count,json=currentNodeCount,proto3" json:"current_node_count,omitempty"`
// Output only. The time the cluster will be automatically
// deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
ExpireTime string `protobuf:"bytes,113,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. The name of the Google Compute Engine
// [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
// or
// [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
// in which the cluster resides.
Location string `protobuf:"bytes,114,opt,name=location,proto3" json:"location,omitempty"`
// Enable the ability to use Cloud TPUs in this cluster.
// This field is deprecated due to the deprecation of 2VM TPU. The end of life
// date for 2VM TPU is 2025-04-25.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnableTpu bool `protobuf:"varint,115,opt,name=enable_tpu,json=enableTpu,proto3" json:"enable_tpu,omitempty"`
// Output only. The IP address range of the Cloud TPUs in this cluster, in
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `1.2.3.4/29`).
// This field is deprecated due to the deprecation of 2VM TPU. The end of life
// date for 2VM TPU is 2025-04-25.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
TpuIpv4CidrBlock string `protobuf:"bytes,116,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
// Which conditions caused the current cluster state.
Conditions []*StatusCondition `protobuf:"bytes,118,rep,name=conditions,proto3" json:"conditions,omitempty"`
// Autopilot configuration for the cluster.
Autopilot *Autopilot `protobuf:"bytes,128,opt,name=autopilot,proto3" json:"autopilot,omitempty"`
// Output only. Unique id for the cluster.
Id string `protobuf:"bytes,129,opt,name=id,proto3" json:"id,omitempty"`
// Default NodePool settings for the entire cluster. These settings are
// overridden if specified on the specific NodePool object.
NodePoolDefaults *NodePoolDefaults `protobuf:"bytes,131,opt,name=node_pool_defaults,json=nodePoolDefaults,proto3,oneof" json:"node_pool_defaults,omitempty"`
// Logging configuration for the cluster.
LoggingConfig *LoggingConfig `protobuf:"bytes,132,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
// Monitoring configuration for the cluster.
MonitoringConfig *MonitoringConfig `protobuf:"bytes,133,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
// Node pool configs that apply to all auto-provisioned node pools
// in autopilot clusters and node auto-provisioning enabled clusters.
NodePoolAutoConfig *NodePoolAutoConfig `protobuf:"bytes,136,opt,name=node_pool_auto_config,json=nodePoolAutoConfig,proto3" json:"node_pool_auto_config,omitempty"`
// The config for pod autoscaling.
PodAutoscaling *PodAutoscaling `protobuf:"bytes,138,opt,name=pod_autoscaling,json=podAutoscaling,proto3" json:"pod_autoscaling,omitempty"`
// This checksum is computed by the server based on the value of cluster
// fields, and may be sent on update requests to ensure the client has an
// up-to-date value before proceeding.
Etag string `protobuf:"bytes,139,opt,name=etag,proto3" json:"etag,omitempty"`
// Fleet information for the cluster.
Fleet *Fleet `protobuf:"bytes,140,opt,name=fleet,proto3" json:"fleet,omitempty"`
// Enable/Disable Security Posture API features for the cluster.
SecurityPostureConfig *SecurityPostureConfig `protobuf:"bytes,145,opt,name=security_posture_config,json=securityPostureConfig,proto3" json:"security_posture_config,omitempty"`
// Configuration for all cluster's control plane endpoints.
ControlPlaneEndpointsConfig *ControlPlaneEndpointsConfig `protobuf:"bytes,146,opt,name=control_plane_endpoints_config,json=controlPlaneEndpointsConfig,proto3" json:"control_plane_endpoints_config,omitempty"`
// Beta APIs Config
EnableK8SBetaApis *K8SBetaAPIConfig `protobuf:"bytes,143,opt,name=enable_k8s_beta_apis,json=enableK8sBetaApis,proto3" json:"enable_k8s_beta_apis,omitempty"`
// GKE Enterprise Configuration.
//
// Deprecated: GKE Enterprise features are now available without an Enterprise
// tier.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnterpriseConfig *EnterpriseConfig `protobuf:"bytes,149,opt,name=enterprise_config,json=enterpriseConfig,proto3" json:"enterprise_config,omitempty"`
// Secret CSI driver configuration.
SecretManagerConfig *SecretManagerConfig `protobuf:"bytes,150,opt,name=secret_manager_config,json=secretManagerConfig,proto3" json:"secret_manager_config,omitempty"`
// Enable/Disable Compliance Posture features for the cluster.
CompliancePostureConfig *CompliancePostureConfig `protobuf:"bytes,151,opt,name=compliance_posture_config,json=compliancePostureConfig,proto3" json:"compliance_posture_config,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzs *bool `protobuf:"varint,152,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
// Output only. Reserved for future use.
SatisfiesPzi *bool `protobuf:"varint,153,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
// The Custom keys configuration for the cluster.
UserManagedKeysConfig *UserManagedKeysConfig `protobuf:"bytes,154,opt,name=user_managed_keys_config,json=userManagedKeysConfig,proto3,oneof" json:"user_managed_keys_config,omitempty"`
// RBACBindingConfig allows user to restrict ClusterRoleBindings an
// RoleBindings that can be created.
RbacBindingConfig *RBACBindingConfig `protobuf:"bytes,156,opt,name=rbac_binding_config,json=rbacBindingConfig,proto3,oneof" json:"rbac_binding_config,omitempty"`
// Configuration for GKE auto upgrades.
GkeAutoUpgradeConfig *GkeAutoUpgradeConfig `protobuf:"bytes,163,opt,name=gke_auto_upgrade_config,json=gkeAutoUpgradeConfig,proto3" json:"gke_auto_upgrade_config,omitempty"`
// Configuration for limiting anonymous access to all endpoints except the
// health checks.
AnonymousAuthenticationConfig *AnonymousAuthenticationConfig `protobuf:"bytes,164,opt,name=anonymous_authentication_config,json=anonymousAuthenticationConfig,proto3" json:"anonymous_authentication_config,omitempty"`
// contains filtered or unexported fields
}A Google Kubernetes Engine cluster.
func (*Cluster) Descriptor
Deprecated: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAddonsConfig
func (x *Cluster) GetAddonsConfig() *AddonsConfigfunc (*Cluster) GetAlphaClusterFeatureGates
func (*Cluster) GetAnonymousAuthenticationConfig
func (x *Cluster) GetAnonymousAuthenticationConfig() *AnonymousAuthenticationConfigfunc (*Cluster) GetAuthenticatorGroupsConfig
func (x *Cluster) GetAuthenticatorGroupsConfig() *AuthenticatorGroupsConfigfunc (*Cluster) GetAutopilot
func (*Cluster) GetAutoscaling
func (x *Cluster) GetAutoscaling() *ClusterAutoscalingfunc (*Cluster) GetBinaryAuthorization
func (x *Cluster) GetBinaryAuthorization() *BinaryAuthorizationfunc (*Cluster) GetClusterIpv4Cidr
func (*Cluster) GetCompliancePostureConfig
func (x *Cluster) GetCompliancePostureConfig() *CompliancePostureConfigfunc (*Cluster) GetConditions
func (x *Cluster) GetConditions() []*StatusConditionfunc (*Cluster) GetConfidentialNodes
func (x *Cluster) GetConfidentialNodes() *ConfidentialNodesfunc (*Cluster) GetControlPlaneEndpointsConfig
func (x *Cluster) GetControlPlaneEndpointsConfig() *ControlPlaneEndpointsConfigfunc (*Cluster) GetCostManagementConfig
func (x *Cluster) GetCostManagementConfig() *CostManagementConfigfunc (*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() *DatabaseEncryptionfunc (*Cluster) GetDefaultMaxPodsConstraint
func (x *Cluster) GetDefaultMaxPodsConstraint() *MaxPodsConstraintfunc (*Cluster) GetDescription
func (*Cluster) GetEnableK8SBetaApis
func (x *Cluster) GetEnableK8SBetaApis() *K8SBetaAPIConfigfunc (*Cluster) GetEnableKubernetesAlpha
func (*Cluster) GetEnableTpu
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetEndpoint
func (*Cluster) GetEnterpriseConfig
func (x *Cluster) GetEnterpriseConfig() *EnterpriseConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetEtag
func (*Cluster) GetExpireTime
func (*Cluster) GetFleet
func (*Cluster) GetGkeAutoUpgradeConfig
func (x *Cluster) GetGkeAutoUpgradeConfig() *GkeAutoUpgradeConfigfunc (*Cluster) GetId
func (*Cluster) GetIdentityServiceConfig
func (x *Cluster) GetIdentityServiceConfig() *IdentityServiceConfigfunc (*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() *IPAllocationPolicyfunc (*Cluster) GetLabelFingerprint
func (*Cluster) GetLegacyAbac
func (x *Cluster) GetLegacyAbac() *LegacyAbacfunc (*Cluster) GetLocation
func (*Cluster) GetLocations
func (*Cluster) GetLoggingConfig
func (x *Cluster) GetLoggingConfig() *LoggingConfigfunc (*Cluster) GetLoggingService
func (*Cluster) GetMaintenancePolicy
func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicyfunc (*Cluster) GetMasterAuth
func (x *Cluster) GetMasterAuth() *MasterAuthfunc (*Cluster) GetMasterAuthorizedNetworksConfig
func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetMeshCertificates
func (x *Cluster) GetMeshCertificates() *MeshCertificatesfunc (*Cluster) GetMonitoringConfig
func (x *Cluster) GetMonitoringConfig() *MonitoringConfigfunc (*Cluster) GetMonitoringService
func (*Cluster) GetName
func (*Cluster) GetNetwork
func (*Cluster) GetNetworkConfig
func (x *Cluster) GetNetworkConfig() *NetworkConfigfunc (*Cluster) GetNetworkPolicy
func (x *Cluster) GetNetworkPolicy() *NetworkPolicyfunc (*Cluster) GetNodeConfig
func (x *Cluster) GetNodeConfig() *NodeConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetNodeIpv4CidrSize
func (*Cluster) GetNodePoolAutoConfig
func (x *Cluster) GetNodePoolAutoConfig() *NodePoolAutoConfigfunc (*Cluster) GetNodePoolDefaults
func (x *Cluster) GetNodePoolDefaults() *NodePoolDefaultsfunc (*Cluster) GetNodePools
func (*Cluster) GetNotificationConfig
func (x *Cluster) GetNotificationConfig() *NotificationConfigfunc (*Cluster) GetPodAutoscaling
func (x *Cluster) GetPodAutoscaling() *PodAutoscalingfunc (*Cluster) GetPrivateClusterConfig
func (x *Cluster) GetPrivateClusterConfig() *PrivateClusterConfigfunc (*Cluster) GetRbacBindingConfig
func (x *Cluster) GetRbacBindingConfig() *RBACBindingConfigfunc (*Cluster) GetReleaseChannel
func (x *Cluster) GetReleaseChannel() *ReleaseChannelfunc (*Cluster) GetResourceLabels
func (*Cluster) GetResourceUsageExportConfig
func (x *Cluster) GetResourceUsageExportConfig() *ResourceUsageExportConfigfunc (*Cluster) GetSatisfiesPzi
func (*Cluster) GetSatisfiesPzs
func (*Cluster) GetSecretManagerConfig
func (x *Cluster) GetSecretManagerConfig() *SecretManagerConfigfunc (*Cluster) GetSecurityPostureConfig
func (x *Cluster) GetSecurityPostureConfig() *SecurityPostureConfigfunc (*Cluster) GetSelfLink
func (*Cluster) GetServicesIpv4Cidr
func (*Cluster) GetShieldedNodes
func (x *Cluster) GetShieldedNodes() *ShieldedNodesfunc (*Cluster) GetStatus
func (x *Cluster) GetStatus() Cluster_Statusfunc (*Cluster) GetStatusMessage
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetSubnetwork
func (*Cluster) GetTpuIpv4CidrBlock
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Cluster) GetUserManagedKeysConfig
func (x *Cluster) GetUserManagedKeysConfig() *UserManagedKeysConfigfunc (*Cluster) GetVerticalPodAutoscaling
func (x *Cluster) GetVerticalPodAutoscaling() *VerticalPodAutoscalingfunc (*Cluster) GetWorkloadIdentityConfig
func (x *Cluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfigfunc (*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.Messagefunc (*Cluster) Reset
func (x *Cluster) Reset()func (*Cluster) String
ClusterAutoscaling
type ClusterAutoscaling struct {
// Enables automatic node pool creation and deletion.
EnableNodeAutoprovisioning bool `protobuf:"varint,1,opt,name=enable_node_autoprovisioning,json=enableNodeAutoprovisioning,proto3" json:"enable_node_autoprovisioning,omitempty"`
// Contains global constraints regarding minimum and maximum
// amount of resources in the cluster.
ResourceLimits []*ResourceLimit `protobuf:"bytes,2,rep,name=resource_limits,json=resourceLimits,proto3" json:"resource_limits,omitempty"`
// Defines autoscaling behaviour.
AutoscalingProfile ClusterAutoscaling_AutoscalingProfile `protobuf:"varint,3,opt,name=autoscaling_profile,json=autoscalingProfile,proto3,enum=google.container.v1.ClusterAutoscaling_AutoscalingProfile" json:"autoscaling_profile,omitempty"`
// AutoprovisioningNodePoolDefaults contains defaults for a node pool
// created by NAP.
AutoprovisioningNodePoolDefaults *AutoprovisioningNodePoolDefaults `protobuf:"bytes,4,opt,name=autoprovisioning_node_pool_defaults,json=autoprovisioningNodePoolDefaults,proto3" json:"autoprovisioning_node_pool_defaults,omitempty"`
// The list of Google Compute Engine
// [zones](https://cloud.google.com/compute/docs/zones#available)
// in which the NodePool's nodes can be created by NAP.
AutoprovisioningLocations []string `protobuf:"bytes,5,rep,name=autoprovisioning_locations,json=autoprovisioningLocations,proto3" json:"autoprovisioning_locations,omitempty"`
// Default compute class is a configuration for default compute class.
DefaultComputeClassConfig *DefaultComputeClassConfig `protobuf:"bytes,9,opt,name=default_compute_class_config,json=defaultComputeClassConfig,proto3" json:"default_compute_class_config,omitempty"`
// contains filtered or unexported fields
}ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.
func (*ClusterAutoscaling) Descriptor
func (*ClusterAutoscaling) Descriptor() ([]byte, []int)Deprecated: Use ClusterAutoscaling.ProtoReflect.Descriptor instead.
func (*ClusterAutoscaling) GetAutoprovisioningLocations
func (x *ClusterAutoscaling) GetAutoprovisioningLocations() []stringfunc (*ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults
func (x *ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults() *AutoprovisioningNodePoolDefaultsfunc (*ClusterAutoscaling) GetAutoscalingProfile
func (x *ClusterAutoscaling) GetAutoscalingProfile() ClusterAutoscaling_AutoscalingProfilefunc (*ClusterAutoscaling) GetDefaultComputeClassConfig
func (x *ClusterAutoscaling) GetDefaultComputeClassConfig() *DefaultComputeClassConfigfunc (*ClusterAutoscaling) GetEnableNodeAutoprovisioning
func (x *ClusterAutoscaling) GetEnableNodeAutoprovisioning() boolfunc (*ClusterAutoscaling) GetResourceLimits
func (x *ClusterAutoscaling) GetResourceLimits() []*ResourceLimitfunc (*ClusterAutoscaling) ProtoMessage
func (*ClusterAutoscaling) ProtoMessage()func (*ClusterAutoscaling) ProtoReflect
func (x *ClusterAutoscaling) ProtoReflect() protoreflect.Messagefunc (*ClusterAutoscaling) Reset
func (x *ClusterAutoscaling) Reset()func (*ClusterAutoscaling) String
func (x *ClusterAutoscaling) String() stringClusterAutoscaling_AutoscalingProfile
type ClusterAutoscaling_AutoscalingProfile int32Defines 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.EnumDescriptorfunc (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.EnumNumberfunc (ClusterAutoscaling_AutoscalingProfile) String
func (x ClusterAutoscaling_AutoscalingProfile) String() stringfunc (ClusterAutoscaling_AutoscalingProfile) Type
func (ClusterAutoscaling_AutoscalingProfile) Type() protoreflect.EnumTypeClusterManagerClient
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.
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)
// Checks the cluster compatibility with Autopilot mode, and returns a list of
// compatibility issues.
CheckAutopilotCompatibility(ctx context.Context, in *CheckAutopilotCompatibilityRequest, opts ...grpc.CallOption) (*CheckAutopilotCompatibilityResponse, error)
// Fetch upgrade information of a specific cluster.
FetchClusterUpgradeInfo(ctx context.Context, in *FetchClusterUpgradeInfoRequest, opts ...grpc.CallOption) (*ClusterUpgradeInfo, error)
// Fetch upgrade information of a specific nodepool.
FetchNodePoolUpgradeInfo(ctx context.Context, in *FetchNodePoolUpgradeInfoRequest, opts ...grpc.CallOption) (*NodePoolUpgradeInfo, error)
}ClusterManagerClient is the client API for ClusterManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewClusterManagerClient
func NewClusterManagerClient(cc grpc.ClientConnInterface) ClusterManagerClientClusterManagerServer
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.
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)
// Checks the cluster compatibility with Autopilot mode, and returns a list of
// compatibility issues.
CheckAutopilotCompatibility(context.Context, *CheckAutopilotCompatibilityRequest) (*CheckAutopilotCompatibilityResponse, error)
// Fetch upgrade information of a specific cluster.
FetchClusterUpgradeInfo(context.Context, *FetchClusterUpgradeInfoRequest) (*ClusterUpgradeInfo, error)
// Fetch upgrade information of a specific nodepool.
FetchNodePoolUpgradeInfo(context.Context, *FetchNodePoolUpgradeInfoRequest) (*NodePoolUpgradeInfo, error)
}ClusterManagerServer is the server API for ClusterManager service. All implementations should embed UnimplementedClusterManagerServer for forward compatibility
ClusterUpdate
type ClusterUpdate struct {
// The Kubernetes version to change the nodes to (typically an
// upgrade).
//
// Users may specify either explicit versions offered by
// Kubernetes Engine or version aliases, which have the following behavior:
//
// - "latest": picks the highest valid Kubernetes version
// - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
// - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
// - "1.X.Y-gke.N": picks an explicit Kubernetes version
// - "-": picks the Kubernetes master version
DesiredNodeVersion string `protobuf:"bytes,4,opt,name=desired_node_version,json=desiredNodeVersion,proto3" json:"desired_node_version,omitempty"`
// The monitoring service the cluster should use to write metrics.
// Currently available options:
//
// * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
// service with a Kubernetes-native resource model
// - `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
// longer available as of GKE 1.15).
// - `none` - No metrics will be exported from the cluster.
//
// If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
// used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
DesiredMonitoringService string `protobuf:"bytes,5,opt,name=desired_monitoring_service,json=desiredMonitoringService,proto3" json:"desired_monitoring_service,omitempty"`
// Configurations for the various addons available to run in the cluster.
DesiredAddonsConfig *AddonsConfig `protobuf:"bytes,6,opt,name=desired_addons_config,json=desiredAddonsConfig,proto3" json:"desired_addons_config,omitempty"`
// The node pool to be upgraded. This field is mandatory if
// "desired_node_version", "desired_image_family" or
// "desired_node_pool_autoscaling" is specified and there is more than one
// node pool on the cluster.
DesiredNodePoolId string `protobuf:"bytes,7,opt,name=desired_node_pool_id,json=desiredNodePoolId,proto3" json:"desired_node_pool_id,omitempty"`
// The desired image type for the node pool.
// NOTE: Set the "desired_node_pool" field as well.
DesiredImageType string `protobuf:"bytes,8,opt,name=desired_image_type,json=desiredImageType,proto3" json:"desired_image_type,omitempty"`
// Configuration of etcd encryption.
DesiredDatabaseEncryption *DatabaseEncryption `protobuf:"bytes,46,opt,name=desired_database_encryption,json=desiredDatabaseEncryption,proto3" json:"desired_database_encryption,omitempty"`
// Configuration for Workload Identity.
DesiredWorkloadIdentityConfig *WorkloadIdentityConfig `protobuf:"bytes,47,opt,name=desired_workload_identity_config,json=desiredWorkloadIdentityConfig,proto3" json:"desired_workload_identity_config,omitempty"`
// Configuration for issuance of mTLS keys and certificates to Kubernetes
// pods.
DesiredMeshCertificates *MeshCertificates `protobuf:"bytes,67,opt,name=desired_mesh_certificates,json=desiredMeshCertificates,proto3" json:"desired_mesh_certificates,omitempty"`
// Configuration for Shielded Nodes.
DesiredShieldedNodes *ShieldedNodes `protobuf:"bytes,48,opt,name=desired_shielded_nodes,json=desiredShieldedNodes,proto3" json:"desired_shielded_nodes,omitempty"`
// The desired configuration for the fine-grained cost management feature.
DesiredCostManagementConfig *CostManagementConfig `protobuf:"bytes,49,opt,name=desired_cost_management_config,json=desiredCostManagementConfig,proto3" json:"desired_cost_management_config,omitempty"`
// DNSConfig contains clusterDNS config for this cluster.
DesiredDnsConfig *DNSConfig `protobuf:"bytes,53,opt,name=desired_dns_config,json=desiredDnsConfig,proto3" json:"desired_dns_config,omitempty"`
// Autoscaler configuration for the node pool specified in
// desired_node_pool_id. If there is only one pool in the
// cluster and desired_node_pool_id is not provided then
// the change applies to that single node pool.
DesiredNodePoolAutoscaling *NodePoolAutoscaling `protobuf:"bytes,9,opt,name=desired_node_pool_autoscaling,json=desiredNodePoolAutoscaling,proto3" json:"desired_node_pool_autoscaling,omitempty"`
// The desired list of Google Compute Engine
// [zones](https://cloud.google.com/compute/docs/zones#available)
// in which the cluster's nodes should be located.
//
// This list must always include the cluster's primary zone.
//
// Warning: changing cluster locations will update the locations of all node
// pools and will result in nodes being added and/or removed.
DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"`
// The desired configuration options for master authorized networks feature.
//
// Deprecated: Use
// desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,12,opt,name=desired_master_authorized_networks_config,json=desiredMasterAuthorizedNetworksConfig,proto3" json:"desired_master_authorized_networks_config,omitempty"`
// Cluster-level autoscaling configuration.
DesiredClusterAutoscaling *ClusterAutoscaling `protobuf:"bytes,15,opt,name=desired_cluster_autoscaling,json=desiredClusterAutoscaling,proto3" json:"desired_cluster_autoscaling,omitempty"`
// The desired configuration options for the Binary Authorization feature.
DesiredBinaryAuthorization *BinaryAuthorization `protobuf:"bytes,16,opt,name=desired_binary_authorization,json=desiredBinaryAuthorization,proto3" json:"desired_binary_authorization,omitempty"`
// The logging service the cluster should use to write logs.
// Currently available options:
//
// * `logging.googleapis.com/kubernetes` - The Cloud Logging
// service with a Kubernetes-native resource model
// - `logging.googleapis.com` - The legacy Cloud Logging service (no longer
// available as of GKE 1.15).
// - `none` - no logs will be exported from the cluster.
//
// If left as an empty string,`logging.googleapis.com/kubernetes` will be
// used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
DesiredLoggingService string `protobuf:"bytes,19,opt,name=desired_logging_service,json=desiredLoggingService,proto3" json:"desired_logging_service,omitempty"`
// The desired configuration for exporting resource usage.
DesiredResourceUsageExportConfig *ResourceUsageExportConfig `protobuf:"bytes,21,opt,name=desired_resource_usage_export_config,json=desiredResourceUsageExportConfig,proto3" json:"desired_resource_usage_export_config,omitempty"`
// Cluster-level Vertical Pod Autoscaling configuration.
DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `protobuf:"bytes,22,opt,name=desired_vertical_pod_autoscaling,json=desiredVerticalPodAutoscaling,proto3" json:"desired_vertical_pod_autoscaling,omitempty"`
// The desired private cluster configuration. master_global_access_config is
// the only field that can be changed via this field.
// See also
// [ClusterUpdate.desired_enable_private_endpoint][google.container.v1.ClusterUpdate.desired_enable_private_endpoint]
// for modifying other fields within
// [PrivateClusterConfig][google.container.v1.PrivateClusterConfig].
//
// Deprecated: Use
// desired_control_plane_endpoints_config.ip_endpoints_config.global_access
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
DesiredPrivateClusterConfig *PrivateClusterConfig `protobuf:"bytes,25,opt,name=desired_private_cluster_config,json=desiredPrivateClusterConfig,proto3" json:"desired_private_cluster_config,omitempty"`
// The desired config of Intra-node visibility.
DesiredIntraNodeVisibilityConfig *IntraNodeVisibilityConfig `protobuf:"bytes,26,opt,name=desired_intra_node_visibility_config,json=desiredIntraNodeVisibilityConfig,proto3" json:"desired_intra_node_visibility_config,omitempty"`
// The desired status of whether to disable default sNAT for this cluster.
DesiredDefaultSnatStatus *DefaultSnatStatus `protobuf:"bytes,28,opt,name=desired_default_snat_status,json=desiredDefaultSnatStatus,proto3" json:"desired_default_snat_status,omitempty"`
// The desired release channel configuration.
DesiredReleaseChannel *ReleaseChannel `protobuf:"bytes,31,opt,name=desired_release_channel,json=desiredReleaseChannel,proto3" json:"desired_release_channel,omitempty"`
// The desired L4 Internal Load Balancer Subsetting configuration.
DesiredL4IlbSubsettingConfig *ILBSubsettingConfig `protobuf:"bytes,39,opt,name=desired_l4ilb_subsetting_config,json=desiredL4ilbSubsettingConfig,proto3" json:"desired_l4ilb_subsetting_config,omitempty"`
// The desired datapath provider for the cluster.
DesiredDatapathProvider DatapathProvider `protobuf:"varint,50,opt,name=desired_datapath_provider,json=desiredDatapathProvider,proto3,enum=google.container.v1.DatapathProvider" json:"desired_datapath_provider,omitempty"`
// The desired state of IPv6 connectivity to Google Services.
DesiredPrivateIpv6GoogleAccess PrivateIPv6GoogleAccess `protobuf:"varint,51,opt,name=desired_private_ipv6_google_access,json=desiredPrivateIpv6GoogleAccess,proto3,enum=google.container.v1.PrivateIPv6GoogleAccess" json:"desired_private_ipv6_google_access,omitempty"`
// The desired notification configuration.
DesiredNotificationConfig *NotificationConfig `protobuf:"bytes,55,opt,name=desired_notification_config,json=desiredNotificationConfig,proto3" json:"desired_notification_config,omitempty"`
// The desired authenticator groups config for the cluster.
DesiredAuthenticatorGroupsConfig *AuthenticatorGroupsConfig `protobuf:"bytes,63,opt,name=desired_authenticator_groups_config,json=desiredAuthenticatorGroupsConfig,proto3" json:"desired_authenticator_groups_config,omitempty"`
// The desired logging configuration.
DesiredLoggingConfig *LoggingConfig `protobuf:"bytes,64,opt,name=desired_logging_config,json=desiredLoggingConfig,proto3" json:"desired_logging_config,omitempty"`
// The desired monitoring configuration.
DesiredMonitoringConfig *MonitoringConfig `protobuf:"bytes,65,opt,name=desired_monitoring_config,json=desiredMonitoringConfig,proto3" json:"desired_monitoring_config,omitempty"`
// The desired Identity Service component configuration.
DesiredIdentityServiceConfig *IdentityServiceConfig `protobuf:"bytes,66,opt,name=desired_identity_service_config,json=desiredIdentityServiceConfig,proto3" json:"desired_identity_service_config,omitempty"`
// ServiceExternalIPsConfig specifies the config for the use of Services with
// ExternalIPs field.
DesiredServiceExternalIpsConfig *ServiceExternalIPsConfig `protobuf:"bytes,60,opt,name=desired_service_external_ips_config,json=desiredServiceExternalIpsConfig,proto3" json:"desired_service_external_ips_config,omitempty"`
// Enable/Disable private endpoint for the cluster's master.
//
// Deprecated: Use
// desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint
// instead. Note that the value of enable_public_endpoint is reversed: if
// enable_private_endpoint is false, then enable_public_endpoint will be true.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
DesiredEnablePrivateEndpoint *bool `protobuf:"varint,71,opt,name=desired_enable_private_endpoint,json=desiredEnablePrivateEndpoint,proto3,oneof" json:"desired_enable_private_endpoint,omitempty"`
// Override the default setting of whether future created
// nodes have private IP addresses only, namely
// [NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes]
DesiredDefaultEnablePrivateNodes *bool `protobuf:"varint,72,opt,name=desired_default_enable_private_nodes,json=desiredDefaultEnablePrivateNodes,proto3,oneof" json:"desired_default_enable_private_nodes,omitempty"`
// [Control plane
// endpoints][google.container.v1.Cluster.control_plane_endpoints_config]
// configuration.
DesiredControlPlaneEndpointsConfig *ControlPlaneEndpointsConfig `protobuf:"bytes,73,opt,name=desired_control_plane_endpoints_config,json=desiredControlPlaneEndpointsConfig,proto3" json:"desired_control_plane_endpoints_config,omitempty"`
// The Kubernetes version to change the master to.
//
// Users may specify either explicit versions offered by
// Kubernetes Engine or version aliases, which have the following behavior:
//
// - "latest": picks the highest valid Kubernetes version
// - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
// - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
// - "1.X.Y-gke.N": picks an explicit Kubernetes version
// - "-": picks the default Kubernetes version
DesiredMasterVersion string `protobuf:"bytes,100,opt,name=desired_master_version,json=desiredMasterVersion,proto3" json:"desired_master_version,omitempty"`
// The desired GCFS config for the cluster
DesiredGcfsConfig *GcfsConfig `protobuf:"bytes,109,opt,name=desired_gcfs_config,json=desiredGcfsConfig,proto3" json:"desired_gcfs_config,omitempty"`
// The desired network tags that apply to all auto-provisioned node pools
// in autopilot clusters and node auto-provisioning enabled clusters.
DesiredNodePoolAutoConfigNetworkTags *NetworkTags `protobuf:"bytes,110,opt,name=desired_node_pool_auto_config_network_tags,json=desiredNodePoolAutoConfigNetworkTags,proto3" json:"desired_node_pool_auto_config_network_tags,omitempty"`
// The desired config for pod autoscaling.
DesiredPodAutoscaling *PodAutoscaling `protobuf:"bytes,113,opt,name=desired_pod_autoscaling,json=desiredPodAutoscaling,proto3" json:"desired_pod_autoscaling,omitempty"`
// The desired config of Gateway API on this cluster.
DesiredGatewayApiConfig *GatewayAPIConfig `protobuf:"bytes,114,opt,name=desired_gateway_api_config,json=desiredGatewayApiConfig,proto3" json:"desired_gateway_api_config,omitempty"`
// The current etag of the cluster.
// If an etag is provided and does not match the current etag of the cluster,
// update will be blocked and an ABORTED error will be returned.
Etag string `protobuf:"bytes,115,opt,name=etag,proto3" json:"etag,omitempty"`
// The desired node pool logging configuration defaults for the cluster.
DesiredNodePoolLoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,116,opt,name=desired_node_pool_logging_config,json=desiredNodePoolLoggingConfig,proto3" json:"desired_node_pool_logging_config,omitempty"`
// The desired fleet configuration for the cluster.
DesiredFleet *Fleet `protobuf:"bytes,117,opt,name=desired_fleet,json=desiredFleet,proto3" json:"desired_fleet,omitempty"`
// The desired stack type of the cluster.
// If a stack type is provided and does not match the current stack type of
// the cluster, update will attempt to change the stack type to the new type.
DesiredStackType StackType `protobuf:"varint,119,opt,name=desired_stack_type,json=desiredStackType,proto3,enum=google.container.v1.StackType" json:"desired_stack_type,omitempty"`
// The additional pod ranges to be added to the cluster. These pod ranges
// can be used by node pools to allocate pod IPs.
AdditionalPodRangesConfig *AdditionalPodRangesConfig `protobuf:"bytes,120,opt,name=additional_pod_ranges_config,json=additionalPodRangesConfig,proto3" json:"additional_pod_ranges_config,omitempty"`
// The additional pod ranges that are to be removed from the cluster.
// The pod ranges specified here must have been specified earlier in the
// 'additional_pod_ranges_config' argument.
RemovedAdditionalPodRangesConfig *AdditionalPodRangesConfig `protobuf:"bytes,121,opt,name=removed_additional_pod_ranges_config,json=removedAdditionalPodRangesConfig,proto3" json:"removed_additional_pod_ranges_config,omitempty"`
// Kubernetes open source beta apis enabled on the cluster. Only beta apis
EnableK8SBetaApis *K8SBetaAPIConfig `protobuf:"bytes,122,opt,name=enable_k8s_beta_apis,json=enableK8sBetaApis,proto3" json:"enable_k8s_beta_apis,omitempty"`
// Enable/Disable Security Posture API features for the cluster.
DesiredSecurityPostureConfig *SecurityPostureConfig `protobuf:"bytes,124,opt,name=desired_security_posture_config,json=desiredSecurityPostureConfig,proto3" json:"desired_security_posture_config,omitempty"`
// The desired network performance config.
DesiredNetworkPerformanceConfig *NetworkConfig_ClusterNetworkPerformanceConfig `protobuf:"bytes,125,opt,name=desired_network_performance_config,json=desiredNetworkPerformanceConfig,proto3" json:"desired_network_performance_config,omitempty"`
// Enable/Disable FQDN Network Policy for the cluster.
DesiredEnableFqdnNetworkPolicy *bool `protobuf:"varint,126,opt,name=desired_enable_fqdn_network_policy,json=desiredEnableFqdnNetworkPolicy,proto3,oneof" json:"desired_enable_fqdn_network_policy,omitempty"`
// WorkloadPolicyConfig is the configuration related to GCW workload policy
DesiredAutopilotWorkloadPolicyConfig *WorkloadPolicyConfig `protobuf:"bytes,128,opt,name=desired_autopilot_workload_policy_config,json=desiredAutopilotWorkloadPolicyConfig,proto3" json:"desired_autopilot_workload_policy_config,omitempty"`
// Desired Beta APIs to be enabled for cluster.
DesiredK8SBetaApis *K8SBetaAPIConfig `protobuf:"bytes,131,opt,name=desired_k8s_beta_apis,json=desiredK8sBetaApis,proto3" json:"desired_k8s_beta_apis,omitempty"`
// The desired containerd config for the cluster.
DesiredContainerdConfig *ContainerdConfig `protobuf:"bytes,134,opt,name=desired_containerd_config,json=desiredContainerdConfig,proto3" json:"desired_containerd_config,omitempty"`
// Enable/Disable Multi-Networking for the cluster
DesiredEnableMultiNetworking *bool `protobuf:"varint,135,opt,name=desired_enable_multi_networking,json=desiredEnableMultiNetworking,proto3,oneof" json:"desired_enable_multi_networking,omitempty"`
// The desired resource manager tags that apply to all auto-provisioned node
// pools in autopilot clusters and node auto-provisioning enabled clusters.
DesiredNodePoolAutoConfigResourceManagerTags *ResourceManagerTags `protobuf:"bytes,136,opt,name=desired_node_pool_auto_config_resource_manager_tags,json=desiredNodePoolAutoConfigResourceManagerTags,proto3" json:"desired_node_pool_auto_config_resource_manager_tags,omitempty"`
// Specify the details of in-transit encryption.
DesiredInTransitEncryptionConfig *InTransitEncryptionConfig `protobuf:"varint,137,opt,name=desired_in_transit_encryption_config,json=desiredInTransitEncryptionConfig,proto3,enum=google.container.v1.InTransitEncryptionConfig,oneof" json:"desired_in_transit_encryption_config,omitempty"`
// Enable/Disable Cilium Clusterwide Network Policy for the cluster.
DesiredEnableCiliumClusterwideNetworkPolicy *bool `protobuf:"varint,138,opt,name=desired_enable_cilium_clusterwide_network_policy,json=desiredEnableCiliumClusterwideNetworkPolicy,proto3,oneof" json:"desired_enable_cilium_clusterwide_network_policy,omitempty"`
// Enable/Disable Secret Manager Config.
DesiredSecretManagerConfig *SecretManagerConfig `protobuf:"bytes,139,opt,name=desired_secret_manager_config,json=desiredSecretManagerConfig,proto3,oneof" json:"desired_secret_manager_config,omitempty"`
// Enable/Disable Compliance Posture features for the cluster.
DesiredCompliancePostureConfig *CompliancePostureConfig `protobuf:"bytes,140,opt,name=desired_compliance_posture_config,json=desiredCompliancePostureConfig,proto3,oneof" json:"desired_compliance_posture_config,omitempty"`
// The desired node kubelet config for the cluster.
DesiredNodeKubeletConfig *NodeKubeletConfig `protobuf:"bytes,141,opt,name=desired_node_kubelet_config,json=desiredNodeKubeletConfig,proto3" json:"desired_node_kubelet_config,omitempty"`
// The desired node kubelet config for all auto-provisioned node pools
// in autopilot clusters and node auto-provisioning enabled clusters.
DesiredNodePoolAutoConfigKubeletConfig *NodeKubeletConfig `protobuf:"bytes,142,opt,name=desired_node_pool_auto_config_kubelet_config,json=desiredNodePoolAutoConfigKubeletConfig,proto3" json:"desired_node_pool_auto_config_kubelet_config,omitempty"`
// The Custom keys configuration for the cluster.
//
// This field is deprecated.
// Use
// [ClusterUpdate.desired_user_managed_keys_config][google.container.v1.ClusterUpdate.desired_user_managed_keys_config]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
UserManagedKeysConfig *UserManagedKeysConfig `protobuf:"bytes,143,opt,name=user_managed_keys_config,json=userManagedKeysConfig,proto3" json:"user_managed_keys_config,omitempty"`
// RBACBindingConfig allows user to restrict ClusterRoleBindings an
// RoleBindings that can be created.
DesiredRbacBindingConfig *RBACBindingConfig `protobuf:"bytes,144,opt,name=desired_rbac_binding_config,json=desiredRbacBindingConfig,proto3,oneof" json:"desired_rbac_binding_config,omitempty"`
// The desired config for additional subnetworks attached to the cluster.
DesiredAdditionalIpRangesConfig *DesiredAdditionalIPRangesConfig `protobuf:"bytes,145,opt,name=desired_additional_ip_ranges_config,json=desiredAdditionalIpRangesConfig,proto3" json:"desired_additional_ip_ranges_config,omitempty"`
// The desired enterprise configuration for the cluster.
//
// Deprecated: GKE Enterprise features are now available without an Enterprise
// tier.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
DesiredEnterpriseConfig *DesiredEnterpriseConfig `protobuf:"bytes,147,opt,name=desired_enterprise_config,json=desiredEnterpriseConfig,proto3" json:"desired_enterprise_config,omitempty"`
// AutoIpamConfig contains all information related to Auto IPAM
DesiredAutoIpamConfig *AutoIpamConfig `protobuf:"bytes,148,opt,name=desired_auto_ipam_config,json=desiredAutoIpamConfig,proto3" json:"desired_auto_ipam_config,omitempty"`
// Enable/Disable L4 LB VPC firewall reconciliation for the cluster.
DesiredDisableL4LbFirewallReconciliation *bool `protobuf:"varint,149,opt,name=desired_disable_l4_lb_firewall_reconciliation,json=desiredDisableL4LbFirewallReconciliation,proto3,oneof" json:"desired_disable_l4_lb_firewall_reconciliation,omitempty"`
// The desired Linux node config for all auto-provisioned node pools
// in autopilot clusters and node auto-provisioning enabled clusters.
//
// Currently only `cgroup_mode` can be set here.
DesiredNodePoolAutoConfigLinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,150,opt,name=desired_node_pool_auto_config_linux_node_config,json=desiredNodePoolAutoConfigLinuxNodeConfig,proto3" json:"desired_node_pool_auto_config_linux_node_config,omitempty"`
// The desired user managed keys config for the cluster.
DesiredUserManagedKeysConfig *UserManagedKeysConfig `protobuf:"bytes,152,opt,name=desired_user_managed_keys_config,json=desiredUserManagedKeysConfig,proto3" json:"desired_user_managed_keys_config,omitempty"`
// Configuration for limiting anonymous access to all endpoints except the
// health checks.
DesiredAnonymousAuthenticationConfig *AnonymousAuthenticationConfig `protobuf:"bytes,156,opt,name=desired_anonymous_authentication_config,json=desiredAnonymousAuthenticationConfig,proto3" json:"desired_anonymous_authentication_config,omitempty"`
// Configuration for GKE auto upgrade.
GkeAutoUpgradeConfig *GkeAutoUpgradeConfig `protobuf:"bytes,154,opt,name=gke_auto_upgrade_config,json=gkeAutoUpgradeConfig,proto3" json:"gke_auto_upgrade_config,omitempty"`
// The desired network tier configuration for the cluster.
DesiredNetworkTierConfig *NetworkTierConfig `protobuf:"bytes,155,opt,name=desired_network_tier_config,json=desiredNetworkTierConfig,proto3" json:"desired_network_tier_config,omitempty"`
// contains filtered or unexported fields
}ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.
func (*ClusterUpdate) Descriptor
func (*ClusterUpdate) Descriptor() ([]byte, []int)Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.
func (*ClusterUpdate) GetAdditionalPodRangesConfig
func (x *ClusterUpdate) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfigfunc (*ClusterUpdate) GetDesiredAdditionalIpRangesConfig
func (x *ClusterUpdate) GetDesiredAdditionalIpRangesConfig() *DesiredAdditionalIPRangesConfigfunc (*ClusterUpdate) GetDesiredAddonsConfig
func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfigfunc (*ClusterUpdate) GetDesiredAnonymousAuthenticationConfig
func (x *ClusterUpdate) GetDesiredAnonymousAuthenticationConfig() *AnonymousAuthenticationConfigfunc (*ClusterUpdate) GetDesiredAuthenticatorGroupsConfig
func (x *ClusterUpdate) GetDesiredAuthenticatorGroupsConfig() *AuthenticatorGroupsConfigfunc (*ClusterUpdate) GetDesiredAutoIpamConfig
func (x *ClusterUpdate) GetDesiredAutoIpamConfig() *AutoIpamConfigfunc (*ClusterUpdate) GetDesiredAutopilotWorkloadPolicyConfig
func (x *ClusterUpdate) GetDesiredAutopilotWorkloadPolicyConfig() *WorkloadPolicyConfigfunc (*ClusterUpdate) GetDesiredBinaryAuthorization
func (x *ClusterUpdate) GetDesiredBinaryAuthorization() *BinaryAuthorizationfunc (*ClusterUpdate) GetDesiredClusterAutoscaling
func (x *ClusterUpdate) GetDesiredClusterAutoscaling() *ClusterAutoscalingfunc (*ClusterUpdate) GetDesiredCompliancePostureConfig
func (x *ClusterUpdate) GetDesiredCompliancePostureConfig() *CompliancePostureConfigfunc (*ClusterUpdate) GetDesiredContainerdConfig
func (x *ClusterUpdate) GetDesiredContainerdConfig() *ContainerdConfigfunc (*ClusterUpdate) GetDesiredControlPlaneEndpointsConfig
func (x *ClusterUpdate) GetDesiredControlPlaneEndpointsConfig() *ControlPlaneEndpointsConfigfunc (*ClusterUpdate) GetDesiredCostManagementConfig
func (x *ClusterUpdate) GetDesiredCostManagementConfig() *CostManagementConfigfunc (*ClusterUpdate) GetDesiredDatabaseEncryption
func (x *ClusterUpdate) GetDesiredDatabaseEncryption() *DatabaseEncryptionfunc (*ClusterUpdate) GetDesiredDatapathProvider
func (x *ClusterUpdate) GetDesiredDatapathProvider() DatapathProviderfunc (*ClusterUpdate) GetDesiredDefaultEnablePrivateNodes
func (x *ClusterUpdate) GetDesiredDefaultEnablePrivateNodes() boolfunc (*ClusterUpdate) GetDesiredDefaultSnatStatus
func (x *ClusterUpdate) GetDesiredDefaultSnatStatus() *DefaultSnatStatusfunc (*ClusterUpdate) GetDesiredDisableL4LbFirewallReconciliation
func (x *ClusterUpdate) GetDesiredDisableL4LbFirewallReconciliation() boolfunc (*ClusterUpdate) GetDesiredDnsConfig
func (x *ClusterUpdate) GetDesiredDnsConfig() *DNSConfigfunc (*ClusterUpdate) GetDesiredEnableCiliumClusterwideNetworkPolicy
func (x *ClusterUpdate) GetDesiredEnableCiliumClusterwideNetworkPolicy() boolfunc (*ClusterUpdate) GetDesiredEnableFqdnNetworkPolicy
func (x *ClusterUpdate) GetDesiredEnableFqdnNetworkPolicy() boolfunc (*ClusterUpdate) GetDesiredEnableMultiNetworking
func (x *ClusterUpdate) GetDesiredEnableMultiNetworking() boolfunc (*ClusterUpdate) GetDesiredEnablePrivateEndpoint
func (x *ClusterUpdate) GetDesiredEnablePrivateEndpoint() boolDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ClusterUpdate) GetDesiredEnterpriseConfig
func (x *ClusterUpdate) GetDesiredEnterpriseConfig() *DesiredEnterpriseConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ClusterUpdate) GetDesiredFleet
func (x *ClusterUpdate) GetDesiredFleet() *Fleetfunc (*ClusterUpdate) GetDesiredGatewayApiConfig
func (x *ClusterUpdate) GetDesiredGatewayApiConfig() *GatewayAPIConfigfunc (*ClusterUpdate) GetDesiredGcfsConfig
func (x *ClusterUpdate) GetDesiredGcfsConfig() *GcfsConfigfunc (*ClusterUpdate) GetDesiredIdentityServiceConfig
func (x *ClusterUpdate) GetDesiredIdentityServiceConfig() *IdentityServiceConfigfunc (*ClusterUpdate) GetDesiredImageType
func (x *ClusterUpdate) GetDesiredImageType() stringfunc (*ClusterUpdate) GetDesiredInTransitEncryptionConfig
func (x *ClusterUpdate) GetDesiredInTransitEncryptionConfig() InTransitEncryptionConfigfunc (*ClusterUpdate) GetDesiredIntraNodeVisibilityConfig
func (x *ClusterUpdate) GetDesiredIntraNodeVisibilityConfig() *IntraNodeVisibilityConfigfunc (*ClusterUpdate) GetDesiredK8SBetaApis
func (x *ClusterUpdate) GetDesiredK8SBetaApis() *K8SBetaAPIConfigfunc (*ClusterUpdate) GetDesiredL4IlbSubsettingConfig
func (x *ClusterUpdate) GetDesiredL4IlbSubsettingConfig() *ILBSubsettingConfigfunc (*ClusterUpdate) GetDesiredLocations
func (x *ClusterUpdate) GetDesiredLocations() []stringfunc (*ClusterUpdate) GetDesiredLoggingConfig
func (x *ClusterUpdate) GetDesiredLoggingConfig() *LoggingConfigfunc (*ClusterUpdate) GetDesiredLoggingService
func (x *ClusterUpdate) GetDesiredLoggingService() stringfunc (*ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig
func (x *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ClusterUpdate) GetDesiredMasterVersion
func (x *ClusterUpdate) GetDesiredMasterVersion() stringfunc (*ClusterUpdate) GetDesiredMeshCertificates
func (x *ClusterUpdate) GetDesiredMeshCertificates() *MeshCertificatesfunc (*ClusterUpdate) GetDesiredMonitoringConfig
func (x *ClusterUpdate) GetDesiredMonitoringConfig() *MonitoringConfigfunc (*ClusterUpdate) GetDesiredMonitoringService
func (x *ClusterUpdate) GetDesiredMonitoringService() stringfunc (*ClusterUpdate) GetDesiredNetworkPerformanceConfig
func (x *ClusterUpdate) GetDesiredNetworkPerformanceConfig() *NetworkConfig_ClusterNetworkPerformanceConfigfunc (*ClusterUpdate) GetDesiredNetworkTierConfig
func (x *ClusterUpdate) GetDesiredNetworkTierConfig() *NetworkTierConfigfunc (*ClusterUpdate) GetDesiredNodeKubeletConfig
func (x *ClusterUpdate) GetDesiredNodeKubeletConfig() *NodeKubeletConfigfunc (*ClusterUpdate) GetDesiredNodePoolAutoConfigKubeletConfig
func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigKubeletConfig() *NodeKubeletConfigfunc (*ClusterUpdate) GetDesiredNodePoolAutoConfigLinuxNodeConfig
func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigLinuxNodeConfig() *LinuxNodeConfigfunc (*ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags
func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags() *NetworkTagsfunc (*ClusterUpdate) GetDesiredNodePoolAutoConfigResourceManagerTags
func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigResourceManagerTags() *ResourceManagerTagsfunc (*ClusterUpdate) GetDesiredNodePoolAutoscaling
func (x *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscalingfunc (*ClusterUpdate) GetDesiredNodePoolId
func (x *ClusterUpdate) GetDesiredNodePoolId() stringfunc (*ClusterUpdate) GetDesiredNodePoolLoggingConfig
func (x *ClusterUpdate) GetDesiredNodePoolLoggingConfig() *NodePoolLoggingConfigfunc (*ClusterUpdate) GetDesiredNodeVersion
func (x *ClusterUpdate) GetDesiredNodeVersion() stringfunc (*ClusterUpdate) GetDesiredNotificationConfig
func (x *ClusterUpdate) GetDesiredNotificationConfig() *NotificationConfigfunc (*ClusterUpdate) GetDesiredPodAutoscaling
func (x *ClusterUpdate) GetDesiredPodAutoscaling() *PodAutoscalingfunc (*ClusterUpdate) GetDesiredPrivateClusterConfig
func (x *ClusterUpdate) GetDesiredPrivateClusterConfig() *PrivateClusterConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess
func (x *ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccessfunc (*ClusterUpdate) GetDesiredRbacBindingConfig
func (x *ClusterUpdate) GetDesiredRbacBindingConfig() *RBACBindingConfigfunc (*ClusterUpdate) GetDesiredReleaseChannel
func (x *ClusterUpdate) GetDesiredReleaseChannel() *ReleaseChannelfunc (*ClusterUpdate) GetDesiredResourceUsageExportConfig
func (x *ClusterUpdate) GetDesiredResourceUsageExportConfig() *ResourceUsageExportConfigfunc (*ClusterUpdate) GetDesiredSecretManagerConfig
func (x *ClusterUpdate) GetDesiredSecretManagerConfig() *SecretManagerConfigfunc (*ClusterUpdate) GetDesiredSecurityPostureConfig
func (x *ClusterUpdate) GetDesiredSecurityPostureConfig() *SecurityPostureConfigfunc (*ClusterUpdate) GetDesiredServiceExternalIpsConfig
func (x *ClusterUpdate) GetDesiredServiceExternalIpsConfig() *ServiceExternalIPsConfigfunc (*ClusterUpdate) GetDesiredShieldedNodes
func (x *ClusterUpdate) GetDesiredShieldedNodes() *ShieldedNodesfunc (*ClusterUpdate) GetDesiredStackType
func (x *ClusterUpdate) GetDesiredStackType() StackTypefunc (*ClusterUpdate) GetDesiredUserManagedKeysConfig
func (x *ClusterUpdate) GetDesiredUserManagedKeysConfig() *UserManagedKeysConfigfunc (*ClusterUpdate) GetDesiredVerticalPodAutoscaling
func (x *ClusterUpdate) GetDesiredVerticalPodAutoscaling() *VerticalPodAutoscalingfunc (*ClusterUpdate) GetDesiredWorkloadIdentityConfig
func (x *ClusterUpdate) GetDesiredWorkloadIdentityConfig() *WorkloadIdentityConfigfunc (*ClusterUpdate) GetEnableK8SBetaApis
func (x *ClusterUpdate) GetEnableK8SBetaApis() *K8SBetaAPIConfigfunc (*ClusterUpdate) GetEtag
func (x *ClusterUpdate) GetEtag() stringfunc (*ClusterUpdate) GetGkeAutoUpgradeConfig
func (x *ClusterUpdate) GetGkeAutoUpgradeConfig() *GkeAutoUpgradeConfigfunc (*ClusterUpdate) GetRemovedAdditionalPodRangesConfig
func (x *ClusterUpdate) GetRemovedAdditionalPodRangesConfig() *AdditionalPodRangesConfigfunc (*ClusterUpdate) GetUserManagedKeysConfig
func (x *ClusterUpdate) GetUserManagedKeysConfig() *UserManagedKeysConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ClusterUpdate) ProtoMessage
func (*ClusterUpdate) ProtoMessage()func (*ClusterUpdate) ProtoReflect
func (x *ClusterUpdate) ProtoReflect() protoreflect.Messagefunc (*ClusterUpdate) Reset
func (x *ClusterUpdate) Reset()func (*ClusterUpdate) String
func (x *ClusterUpdate) String() stringClusterUpgradeInfo
type ClusterUpgradeInfo struct {
// minor_target_version indicates the target version for minor upgrade.
MinorTargetVersion *string `protobuf:"bytes,7,opt,name=minor_target_version,json=minorTargetVersion,proto3,oneof" json:"minor_target_version,omitempty"`
// patch_target_version indicates the target version for patch upgrade.
PatchTargetVersion *string `protobuf:"bytes,8,opt,name=patch_target_version,json=patchTargetVersion,proto3,oneof" json:"patch_target_version,omitempty"`
// The auto upgrade status.
AutoUpgradeStatus []ClusterUpgradeInfo_AutoUpgradeStatus `protobuf:"varint,2,rep,packed,name=auto_upgrade_status,json=autoUpgradeStatus,proto3,enum=google.container.v1.ClusterUpgradeInfo_AutoUpgradeStatus" json:"auto_upgrade_status,omitempty"`
// The auto upgrade paused reason.
PausedReason []ClusterUpgradeInfo_AutoUpgradePausedReason `protobuf:"varint,3,rep,packed,name=paused_reason,json=pausedReason,proto3,enum=google.container.v1.ClusterUpgradeInfo_AutoUpgradePausedReason" json:"paused_reason,omitempty"`
// The list of past auto upgrades.
UpgradeDetails []*UpgradeDetails `protobuf:"bytes,4,rep,name=upgrade_details,json=upgradeDetails,proto3" json:"upgrade_details,omitempty"`
// The cluster's current minor version's end of standard support timestamp.
EndOfStandardSupportTimestamp *string `protobuf:"bytes,5,opt,name=end_of_standard_support_timestamp,json=endOfStandardSupportTimestamp,proto3,oneof" json:"end_of_standard_support_timestamp,omitempty"`
// The cluster's current minor version's end of extended support timestamp.
EndOfExtendedSupportTimestamp *string `protobuf:"bytes,6,opt,name=end_of_extended_support_timestamp,json=endOfExtendedSupportTimestamp,proto3,oneof" json:"end_of_extended_support_timestamp,omitempty"`
// contains filtered or unexported fields
}ClusterUpgradeInfo contains the upgrade information of a cluster.
func (*ClusterUpgradeInfo) Descriptor
func (*ClusterUpgradeInfo) Descriptor() ([]byte, []int)Deprecated: Use ClusterUpgradeInfo.ProtoReflect.Descriptor instead.
func (*ClusterUpgradeInfo) GetAutoUpgradeStatus
func (x *ClusterUpgradeInfo) GetAutoUpgradeStatus() []ClusterUpgradeInfo_AutoUpgradeStatusfunc (*ClusterUpgradeInfo) GetEndOfExtendedSupportTimestamp
func (x *ClusterUpgradeInfo) GetEndOfExtendedSupportTimestamp() stringfunc (*ClusterUpgradeInfo) GetEndOfStandardSupportTimestamp
func (x *ClusterUpgradeInfo) GetEndOfStandardSupportTimestamp() stringfunc (*ClusterUpgradeInfo) GetMinorTargetVersion
func (x *ClusterUpgradeInfo) GetMinorTargetVersion() stringfunc (*ClusterUpgradeInfo) GetPatchTargetVersion
func (x *ClusterUpgradeInfo) GetPatchTargetVersion() stringfunc (*ClusterUpgradeInfo) GetPausedReason
func (x *ClusterUpgradeInfo) GetPausedReason() []ClusterUpgradeInfo_AutoUpgradePausedReasonfunc (*ClusterUpgradeInfo) GetUpgradeDetails
func (x *ClusterUpgradeInfo) GetUpgradeDetails() []*UpgradeDetailsfunc (*ClusterUpgradeInfo) ProtoMessage
func (*ClusterUpgradeInfo) ProtoMessage()func (*ClusterUpgradeInfo) ProtoReflect
func (x *ClusterUpgradeInfo) ProtoReflect() protoreflect.Messagefunc (*ClusterUpgradeInfo) Reset
func (x *ClusterUpgradeInfo) Reset()func (*ClusterUpgradeInfo) String
func (x *ClusterUpgradeInfo) String() stringClusterUpgradeInfo_AutoUpgradePausedReason
type ClusterUpgradeInfo_AutoUpgradePausedReason int32AutoUpgradePausedReason indicates the reason for auto upgrade paused status.
ClusterUpgradeInfo_AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED, ClusterUpgradeInfo_MAINTENANCE_WINDOW, ClusterUpgradeInfo_MAINTENANCE_EXCLUSION_NO_UPGRADES, ClusterUpgradeInfo_MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES, ClusterUpgradeInfo_CLUSTER_DISRUPTION_BUDGET, ClusterUpgradeInfo_CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE, ClusterUpgradeInfo_SYSTEM_CONFIG
const (
// AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
ClusterUpgradeInfo_AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED ClusterUpgradeInfo_AutoUpgradePausedReason = 0
// MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance
// window.
ClusterUpgradeInfo_MAINTENANCE_WINDOW ClusterUpgradeInfo_AutoUpgradePausedReason = 1
// MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a
// maintenance exclusion with scope NO_UPGRADES.
ClusterUpgradeInfo_MAINTENANCE_EXCLUSION_NO_UPGRADES ClusterUpgradeInfo_AutoUpgradePausedReason = 5
// MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a
// maintenance exclusion with scope NO_MINOR_UPGRADES.
ClusterUpgradeInfo_MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES ClusterUpgradeInfo_AutoUpgradePausedReason = 6
// CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster
// disruption budget.
ClusterUpgradeInfo_CLUSTER_DISRUPTION_BUDGET ClusterUpgradeInfo_AutoUpgradePausedReason = 4
// CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside
// the cluster disruption budget for minor version upgrade.
ClusterUpgradeInfo_CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE ClusterUpgradeInfo_AutoUpgradePausedReason = 7
// SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
ClusterUpgradeInfo_SYSTEM_CONFIG ClusterUpgradeInfo_AutoUpgradePausedReason = 8
)func (ClusterUpgradeInfo_AutoUpgradePausedReason) Descriptor
func (ClusterUpgradeInfo_AutoUpgradePausedReason) Descriptor() protoreflect.EnumDescriptorfunc (ClusterUpgradeInfo_AutoUpgradePausedReason) Enum
func (x ClusterUpgradeInfo_AutoUpgradePausedReason) Enum() *ClusterUpgradeInfo_AutoUpgradePausedReasonfunc (ClusterUpgradeInfo_AutoUpgradePausedReason) EnumDescriptor
func (ClusterUpgradeInfo_AutoUpgradePausedReason) EnumDescriptor() ([]byte, []int)Deprecated: Use ClusterUpgradeInfo_AutoUpgradePausedReason.Descriptor instead.
func (ClusterUpgradeInfo_AutoUpgradePausedReason) Number
func (x ClusterUpgradeInfo_AutoUpgradePausedReason) Number() protoreflect.EnumNumberfunc (ClusterUpgradeInfo_AutoUpgradePausedReason) String
func (x ClusterUpgradeInfo_AutoUpgradePausedReason) String() stringfunc (ClusterUpgradeInfo_AutoUpgradePausedReason) Type
func (ClusterUpgradeInfo_AutoUpgradePausedReason) Type() protoreflect.EnumTypeClusterUpgradeInfo_AutoUpgradeStatus
type ClusterUpgradeInfo_AutoUpgradeStatus int32AutoUpgradeStatus indicates the status of auto upgrade.
ClusterUpgradeInfo_UNKNOWN, ClusterUpgradeInfo_ACTIVE, ClusterUpgradeInfo_MINOR_UPGRADE_PAUSED, ClusterUpgradeInfo_UPGRADE_PAUSED
const (
// UNKNOWN indicates an unknown status.
ClusterUpgradeInfo_UNKNOWN ClusterUpgradeInfo_AutoUpgradeStatus = 0
// ACTIVE indicates an active status.
ClusterUpgradeInfo_ACTIVE ClusterUpgradeInfo_AutoUpgradeStatus = 1
// MINOR_UPGRADE_PAUSED indicates the minor version upgrade is
// paused.
ClusterUpgradeInfo_MINOR_UPGRADE_PAUSED ClusterUpgradeInfo_AutoUpgradeStatus = 4
// UPGRADE_PAUSED indicates the upgrade is paused.
ClusterUpgradeInfo_UPGRADE_PAUSED ClusterUpgradeInfo_AutoUpgradeStatus = 5
)func (ClusterUpgradeInfo_AutoUpgradeStatus) Descriptor
func (ClusterUpgradeInfo_AutoUpgradeStatus) Descriptor() protoreflect.EnumDescriptorfunc (ClusterUpgradeInfo_AutoUpgradeStatus) Enum
func (x ClusterUpgradeInfo_AutoUpgradeStatus) Enum() *ClusterUpgradeInfo_AutoUpgradeStatusfunc (ClusterUpgradeInfo_AutoUpgradeStatus) EnumDescriptor
func (ClusterUpgradeInfo_AutoUpgradeStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use ClusterUpgradeInfo_AutoUpgradeStatus.Descriptor instead.
func (ClusterUpgradeInfo_AutoUpgradeStatus) Number
func (x ClusterUpgradeInfo_AutoUpgradeStatus) Number() protoreflect.EnumNumberfunc (ClusterUpgradeInfo_AutoUpgradeStatus) String
func (x ClusterUpgradeInfo_AutoUpgradeStatus) String() stringfunc (ClusterUpgradeInfo_AutoUpgradeStatus) Type
func (ClusterUpgradeInfo_AutoUpgradeStatus) Type() protoreflect.EnumTypeCluster_Status
type Cluster_Status int32The 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.EnumDescriptorfunc (Cluster_Status) Enum
func (x Cluster_Status) Enum() *Cluster_Statusfunc (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.EnumNumberfunc (Cluster_Status) String
func (x Cluster_Status) String() stringfunc (Cluster_Status) Type
func (Cluster_Status) Type() protoreflect.EnumTypeCompleteIPRotationRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) GetName
func (x *CompleteIPRotationRequest) GetName() stringfunc (*CompleteIPRotationRequest) GetProjectId
func (x *CompleteIPRotationRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) GetZone
func (x *CompleteIPRotationRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CompleteIPRotationRequest) ProtoMessage
func (*CompleteIPRotationRequest) ProtoMessage()func (*CompleteIPRotationRequest) ProtoReflect
func (x *CompleteIPRotationRequest) ProtoReflect() protoreflect.Messagefunc (*CompleteIPRotationRequest) Reset
func (x *CompleteIPRotationRequest) Reset()func (*CompleteIPRotationRequest) String
func (x *CompleteIPRotationRequest) String() stringCompleteNodePoolUpgradeRequest
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() stringfunc (*CompleteNodePoolUpgradeRequest) ProtoMessage
func (*CompleteNodePoolUpgradeRequest) ProtoMessage()func (*CompleteNodePoolUpgradeRequest) ProtoReflect
func (x *CompleteNodePoolUpgradeRequest) ProtoReflect() protoreflect.Messagefunc (*CompleteNodePoolUpgradeRequest) Reset
func (x *CompleteNodePoolUpgradeRequest) Reset()func (*CompleteNodePoolUpgradeRequest) String
func (x *CompleteNodePoolUpgradeRequest) String() stringCompliancePostureConfig
type CompliancePostureConfig struct {
// Defines the enablement mode for Compliance Posture.
Mode *CompliancePostureConfig_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.container.v1.CompliancePostureConfig_Mode,oneof" json:"mode,omitempty"`
// List of enabled compliance standards.
ComplianceStandards []*CompliancePostureConfig_ComplianceStandard `protobuf:"bytes,2,rep,name=compliance_standards,json=complianceStandards,proto3" json:"compliance_standards,omitempty"`
// contains filtered or unexported fields
}CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.
func (*CompliancePostureConfig) Descriptor
func (*CompliancePostureConfig) Descriptor() ([]byte, []int)Deprecated: Use CompliancePostureConfig.ProtoReflect.Descriptor instead.
func (*CompliancePostureConfig) GetComplianceStandards
func (x *CompliancePostureConfig) GetComplianceStandards() []*CompliancePostureConfig_ComplianceStandardfunc (*CompliancePostureConfig) GetMode
func (x *CompliancePostureConfig) GetMode() CompliancePostureConfig_Modefunc (*CompliancePostureConfig) ProtoMessage
func (*CompliancePostureConfig) ProtoMessage()func (*CompliancePostureConfig) ProtoReflect
func (x *CompliancePostureConfig) ProtoReflect() protoreflect.Messagefunc (*CompliancePostureConfig) Reset
func (x *CompliancePostureConfig) Reset()func (*CompliancePostureConfig) String
func (x *CompliancePostureConfig) String() stringCompliancePostureConfig_ComplianceStandard
type CompliancePostureConfig_ComplianceStandard struct {
// Name of the compliance standard.
Standard *string `protobuf:"bytes,1,opt,name=standard,proto3,oneof" json:"standard,omitempty"`
// contains filtered or unexported fields
}Defines the details of a compliance standard.
func (*CompliancePostureConfig_ComplianceStandard) Descriptor
func (*CompliancePostureConfig_ComplianceStandard) Descriptor() ([]byte, []int)Deprecated: Use CompliancePostureConfig_ComplianceStandard.ProtoReflect.Descriptor instead.
func (*CompliancePostureConfig_ComplianceStandard) GetStandard
func (x *CompliancePostureConfig_ComplianceStandard) GetStandard() stringfunc (*CompliancePostureConfig_ComplianceStandard) ProtoMessage
func (*CompliancePostureConfig_ComplianceStandard) ProtoMessage()func (*CompliancePostureConfig_ComplianceStandard) ProtoReflect
func (x *CompliancePostureConfig_ComplianceStandard) ProtoReflect() protoreflect.Messagefunc (*CompliancePostureConfig_ComplianceStandard) Reset
func (x *CompliancePostureConfig_ComplianceStandard) Reset()func (*CompliancePostureConfig_ComplianceStandard) String
func (x *CompliancePostureConfig_ComplianceStandard) String() stringCompliancePostureConfig_Mode
type CompliancePostureConfig_Mode int32Mode defines enablement mode for Compliance Posture.
CompliancePostureConfig_MODE_UNSPECIFIED, CompliancePostureConfig_DISABLED, CompliancePostureConfig_ENABLED
const (
// Default value not specified.
CompliancePostureConfig_MODE_UNSPECIFIED CompliancePostureConfig_Mode = 0
// Disables Compliance Posture features on the cluster.
CompliancePostureConfig_DISABLED CompliancePostureConfig_Mode = 1
// Enables Compliance Posture features on the cluster.
CompliancePostureConfig_ENABLED CompliancePostureConfig_Mode = 2
)func (CompliancePostureConfig_Mode) Descriptor
func (CompliancePostureConfig_Mode) Descriptor() protoreflect.EnumDescriptorfunc (CompliancePostureConfig_Mode) Enum
func (x CompliancePostureConfig_Mode) Enum() *CompliancePostureConfig_Modefunc (CompliancePostureConfig_Mode) EnumDescriptor
func (CompliancePostureConfig_Mode) EnumDescriptor() ([]byte, []int)Deprecated: Use CompliancePostureConfig_Mode.Descriptor instead.
func (CompliancePostureConfig_Mode) Number
func (x CompliancePostureConfig_Mode) Number() protoreflect.EnumNumberfunc (CompliancePostureConfig_Mode) String
func (x CompliancePostureConfig_Mode) String() stringfunc (CompliancePostureConfig_Mode) Type
func (CompliancePostureConfig_Mode) Type() protoreflect.EnumTypeConfidentialNodes
type ConfidentialNodes struct {
// Whether Confidential Nodes feature is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Defines the type of technology used by the confidential node.
ConfidentialInstanceType ConfidentialNodes_ConfidentialInstanceType `protobuf:"varint,2,opt,name=confidential_instance_type,json=confidentialInstanceType,proto3,enum=google.container.v1.ConfidentialNodes_ConfidentialInstanceType" json:"confidential_instance_type,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) GetConfidentialInstanceType
func (x *ConfidentialNodes) GetConfidentialInstanceType() ConfidentialNodes_ConfidentialInstanceTypefunc (*ConfidentialNodes) GetEnabled
func (x *ConfidentialNodes) GetEnabled() boolfunc (*ConfidentialNodes) ProtoMessage
func (*ConfidentialNodes) ProtoMessage()func (*ConfidentialNodes) ProtoReflect
func (x *ConfidentialNodes) ProtoReflect() protoreflect.Messagefunc (*ConfidentialNodes) Reset
func (x *ConfidentialNodes) Reset()func (*ConfidentialNodes) String
func (x *ConfidentialNodes) String() stringConfidentialNodes_ConfidentialInstanceType
type ConfidentialNodes_ConfidentialInstanceType int32The type of technology used by the confidential node.
ConfidentialNodes_CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED, ConfidentialNodes_SEV, ConfidentialNodes_SEV_SNP, ConfidentialNodes_TDX
const (
// No type specified. Do not use this value.
ConfidentialNodes_CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED ConfidentialNodes_ConfidentialInstanceType = 0
// AMD Secure Encrypted Virtualization.
ConfidentialNodes_SEV ConfidentialNodes_ConfidentialInstanceType = 1
// AMD Secure Encrypted Virtualization - Secure Nested Paging.
ConfidentialNodes_SEV_SNP ConfidentialNodes_ConfidentialInstanceType = 2
// Intel Trust Domain eXtension.
ConfidentialNodes_TDX ConfidentialNodes_ConfidentialInstanceType = 3
)func (ConfidentialNodes_ConfidentialInstanceType) Descriptor
func (ConfidentialNodes_ConfidentialInstanceType) Descriptor() protoreflect.EnumDescriptorfunc (ConfidentialNodes_ConfidentialInstanceType) Enum
func (x ConfidentialNodes_ConfidentialInstanceType) Enum() *ConfidentialNodes_ConfidentialInstanceTypefunc (ConfidentialNodes_ConfidentialInstanceType) EnumDescriptor
func (ConfidentialNodes_ConfidentialInstanceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ConfidentialNodes_ConfidentialInstanceType.Descriptor instead.
func (ConfidentialNodes_ConfidentialInstanceType) Number
func (x ConfidentialNodes_ConfidentialInstanceType) Number() protoreflect.EnumNumberfunc (ConfidentialNodes_ConfidentialInstanceType) String
func (x ConfidentialNodes_ConfidentialInstanceType) String() stringfunc (ConfidentialNodes_ConfidentialInstanceType) Type
func (ConfidentialNodes_ConfidentialInstanceType) Type() protoreflect.EnumTypeConfigConnectorConfig
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() boolfunc (*ConfigConnectorConfig) ProtoMessage
func (*ConfigConnectorConfig) ProtoMessage()func (*ConfigConnectorConfig) ProtoReflect
func (x *ConfigConnectorConfig) ProtoReflect() protoreflect.Messagefunc (*ConfigConnectorConfig) Reset
func (x *ConfigConnectorConfig) Reset()func (*ConfigConnectorConfig) String
func (x *ConfigConnectorConfig) String() stringContainerdConfig
type ContainerdConfig struct {
// PrivateRegistryAccessConfig is used to configure access configuration
// for private container registries.
PrivateRegistryAccessConfig *ContainerdConfig_PrivateRegistryAccessConfig `protobuf:"bytes,1,opt,name=private_registry_access_config,json=privateRegistryAccessConfig,proto3" json:"private_registry_access_config,omitempty"`
// Optional. WritableCgroups defines writable cgroups configuration for the
// node pool.
WritableCgroups *ContainerdConfig_WritableCgroups `protobuf:"bytes,2,opt,name=writable_cgroups,json=writableCgroups,proto3" json:"writable_cgroups,omitempty"`
// contains filtered or unexported fields
}ContainerdConfig contains configuration to customize containerd.
func (*ContainerdConfig) Descriptor
func (*ContainerdConfig) Descriptor() ([]byte, []int)Deprecated: Use ContainerdConfig.ProtoReflect.Descriptor instead.
func (*ContainerdConfig) GetPrivateRegistryAccessConfig
func (x *ContainerdConfig) GetPrivateRegistryAccessConfig() *ContainerdConfig_PrivateRegistryAccessConfigfunc (*ContainerdConfig) GetWritableCgroups
func (x *ContainerdConfig) GetWritableCgroups() *ContainerdConfig_WritableCgroupsfunc (*ContainerdConfig) ProtoMessage
func (*ContainerdConfig) ProtoMessage()func (*ContainerdConfig) ProtoReflect
func (x *ContainerdConfig) ProtoReflect() protoreflect.Messagefunc (*ContainerdConfig) Reset
func (x *ContainerdConfig) Reset()func (*ContainerdConfig) String
func (x *ContainerdConfig) String() stringContainerdConfig_PrivateRegistryAccessConfig
type ContainerdConfig_PrivateRegistryAccessConfig struct {
// Private registry access is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Private registry access configuration.
CertificateAuthorityDomainConfig []*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig `protobuf:"bytes,2,rep,name=certificate_authority_domain_config,json=certificateAuthorityDomainConfig,proto3" json:"certificate_authority_domain_config,omitempty"`
// contains filtered or unexported fields
}PrivateRegistryAccessConfig contains access configuration for private container registries.
func (*ContainerdConfig_PrivateRegistryAccessConfig) Descriptor
func (*ContainerdConfig_PrivateRegistryAccessConfig) Descriptor() ([]byte, []int)Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig.ProtoReflect.Descriptor instead.
func (*ContainerdConfig_PrivateRegistryAccessConfig) GetCertificateAuthorityDomainConfig
func (x *ContainerdConfig_PrivateRegistryAccessConfig) GetCertificateAuthorityDomainConfig() []*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfigfunc (*ContainerdConfig_PrivateRegistryAccessConfig) GetEnabled
func (x *ContainerdConfig_PrivateRegistryAccessConfig) GetEnabled() boolfunc (*ContainerdConfig_PrivateRegistryAccessConfig) ProtoMessage
func (*ContainerdConfig_PrivateRegistryAccessConfig) ProtoMessage()func (*ContainerdConfig_PrivateRegistryAccessConfig) ProtoReflect
func (x *ContainerdConfig_PrivateRegistryAccessConfig) ProtoReflect() protoreflect.Messagefunc (*ContainerdConfig_PrivateRegistryAccessConfig) Reset
func (x *ContainerdConfig_PrivateRegistryAccessConfig) Reset()func (*ContainerdConfig_PrivateRegistryAccessConfig) String
func (x *ContainerdConfig_PrivateRegistryAccessConfig) String() stringContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig
type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig struct {
// List of fully qualified domain names (FQDN).
// Specifying port is supported.
// Wildcards are NOT supported.
// Examples:
// - my.customdomain.com
// - 10.0.1.2:5000
Fqdns []string `protobuf:"bytes,1,rep,name=fqdns,proto3" json:"fqdns,omitempty"`
// Certificate access config. The following are supported:
// - GCPSecretManagerCertificateConfig
//
// Types that are assignable to CertificateConfig:
//
// *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GcpSecretManagerCertificateConfig
CertificateConfig isContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_CertificateConfig `protobuf_oneof:"certificate_config"`
// contains filtered or unexported fields
}CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) Descriptor
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) Descriptor() ([]byte, []int)Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig.ProtoReflect.Descriptor instead.
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetCertificateConfig
func (m *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetCertificateConfig() isContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_CertificateConfigfunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetFqdns
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetFqdns() []stringfunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetGcpSecretManagerCertificateConfig
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetGcpSecretManagerCertificateConfig() *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfigfunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoMessage
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoMessage()func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoReflect
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoReflect() protoreflect.Messagefunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) Reset
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) String
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) String() stringContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig
type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig struct {
// Secret URI, in the form
// "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION".
// Version can be fixed (e.g. "2") or "latest"
SecretUri string `protobuf:"bytes,1,opt,name=secret_uri,json=secretUri,proto3" json:"secret_uri,omitempty"`
// contains filtered or unexported fields
}GCPSecretManagerCertificateConfig configures a secret from Secret Manager.
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Descriptor
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Descriptor() ([]byte, []int)Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig.ProtoReflect.Descriptor instead.
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) GetSecretUri
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) GetSecretUri() stringfunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoMessage
func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoMessage()func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoReflect
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoReflect() protoreflect.Messagefunc (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Reset
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Reset()func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) String
func (x *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) String() stringContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GcpSecretManagerCertificateConfig
type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GcpSecretManagerCertificateConfig struct {
// Google Secret Manager (GCP) certificate configuration.
GcpSecretManagerCertificateConfig *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig `protobuf:"bytes,2,opt,name=gcp_secret_manager_certificate_config,json=gcpSecretManagerCertificateConfig,proto3,oneof"`
}ContainerdConfig_WritableCgroups
type ContainerdConfig_WritableCgroups struct {
// Optional. Whether writable cgroups is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}Defines writable cgroups configuration.
func (*ContainerdConfig_WritableCgroups) Descriptor
func (*ContainerdConfig_WritableCgroups) Descriptor() ([]byte, []int)Deprecated: Use ContainerdConfig_WritableCgroups.ProtoReflect.Descriptor instead.
func (*ContainerdConfig_WritableCgroups) GetEnabled
func (x *ContainerdConfig_WritableCgroups) GetEnabled() boolfunc (*ContainerdConfig_WritableCgroups) ProtoMessage
func (*ContainerdConfig_WritableCgroups) ProtoMessage()func (*ContainerdConfig_WritableCgroups) ProtoReflect
func (x *ContainerdConfig_WritableCgroups) ProtoReflect() protoreflect.Messagefunc (*ContainerdConfig_WritableCgroups) Reset
func (x *ContainerdConfig_WritableCgroups) Reset()func (*ContainerdConfig_WritableCgroups) String
func (x *ContainerdConfig_WritableCgroups) String() stringControlPlaneEndpointsConfig
type ControlPlaneEndpointsConfig struct {
// DNS endpoint configuration.
DnsEndpointConfig *ControlPlaneEndpointsConfig_DNSEndpointConfig `protobuf:"bytes,1,opt,name=dns_endpoint_config,json=dnsEndpointConfig,proto3" json:"dns_endpoint_config,omitempty"`
// IP endpoints configuration.
IpEndpointsConfig *ControlPlaneEndpointsConfig_IPEndpointsConfig `protobuf:"bytes,3,opt,name=ip_endpoints_config,json=ipEndpointsConfig,proto3" json:"ip_endpoints_config,omitempty"`
// contains filtered or unexported fields
}Configuration for all of the cluster's control plane endpoints.
func (*ControlPlaneEndpointsConfig) Descriptor
func (*ControlPlaneEndpointsConfig) Descriptor() ([]byte, []int)Deprecated: Use ControlPlaneEndpointsConfig.ProtoReflect.Descriptor instead.
func (*ControlPlaneEndpointsConfig) GetDnsEndpointConfig
func (x *ControlPlaneEndpointsConfig) GetDnsEndpointConfig() *ControlPlaneEndpointsConfig_DNSEndpointConfigfunc (*ControlPlaneEndpointsConfig) GetIpEndpointsConfig
func (x *ControlPlaneEndpointsConfig) GetIpEndpointsConfig() *ControlPlaneEndpointsConfig_IPEndpointsConfigfunc (*ControlPlaneEndpointsConfig) ProtoMessage
func (*ControlPlaneEndpointsConfig) ProtoMessage()func (*ControlPlaneEndpointsConfig) ProtoReflect
func (x *ControlPlaneEndpointsConfig) ProtoReflect() protoreflect.Messagefunc (*ControlPlaneEndpointsConfig) Reset
func (x *ControlPlaneEndpointsConfig) Reset()func (*ControlPlaneEndpointsConfig) String
func (x *ControlPlaneEndpointsConfig) String() stringControlPlaneEndpointsConfig_DNSEndpointConfig
type ControlPlaneEndpointsConfig_DNSEndpointConfig struct {
// Output only. The cluster's DNS endpoint configuration.
// A DNS format address. This is accessible from the public internet.
// Ex: uid.us-central1.gke.goog.
// Always present, but the behavior may change according to the value of
// [DNSEndpointConfig.allow_external_traffic][google.container.v1.ControlPlaneEndpointsConfig.DNSEndpointConfig.allow_external_traffic].
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// Controls whether user traffic is allowed over this endpoint. Note that
// Google-managed services may still use the endpoint even if this is false.
AllowExternalTraffic *bool `protobuf:"varint,3,opt,name=allow_external_traffic,json=allowExternalTraffic,proto3,oneof" json:"allow_external_traffic,omitempty"`
// Controls whether the k8s token auth is allowed via DNS.
EnableK8STokensViaDns *bool `protobuf:"varint,5,opt,name=enable_k8s_tokens_via_dns,json=enableK8sTokensViaDns,proto3,oneof" json:"enable_k8s_tokens_via_dns,omitempty"`
// Controls whether the k8s certs auth is allowed via DNS.
EnableK8SCertsViaDns *bool `protobuf:"varint,6,opt,name=enable_k8s_certs_via_dns,json=enableK8sCertsViaDns,proto3,oneof" json:"enable_k8s_certs_via_dns,omitempty"`
// contains filtered or unexported fields
}Describes the configuration of a DNS endpoint.
func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) Descriptor
func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) Descriptor() ([]byte, []int)Deprecated: Use ControlPlaneEndpointsConfig_DNSEndpointConfig.ProtoReflect.Descriptor instead.
func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) GetAllowExternalTraffic
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) GetAllowExternalTraffic() boolfunc (*ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEnableK8SCertsViaDns
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEnableK8SCertsViaDns() boolfunc (*ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEnableK8STokensViaDns
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEnableK8STokensViaDns() boolfunc (*ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEndpoint
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) GetEndpoint() stringfunc (*ControlPlaneEndpointsConfig_DNSEndpointConfig) ProtoMessage
func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) ProtoMessage()func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) ProtoReflect
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) ProtoReflect() protoreflect.Messagefunc (*ControlPlaneEndpointsConfig_DNSEndpointConfig) Reset
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) Reset()func (*ControlPlaneEndpointsConfig_DNSEndpointConfig) String
func (x *ControlPlaneEndpointsConfig_DNSEndpointConfig) String() stringControlPlaneEndpointsConfig_IPEndpointsConfig
type ControlPlaneEndpointsConfig_IPEndpointsConfig struct {
// Controls whether to allow direct IP access.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Controls whether the control plane allows access through a public IP.
// It is invalid to specify both
// [PrivateClusterConfig.enablePrivateEndpoint][] and this field at the same
// time.
EnablePublicEndpoint *bool `protobuf:"varint,2,opt,name=enable_public_endpoint,json=enablePublicEndpoint,proto3,oneof" json:"enable_public_endpoint,omitempty"`
// Controls whether the control plane's private endpoint is accessible from
// sources in other regions.
// It is invalid to specify both
// [PrivateClusterMasterGlobalAccessConfig.enabled][google.container.v1.PrivateClusterMasterGlobalAccessConfig.enabled]
// and this field at the same time.
GlobalAccess *bool `protobuf:"varint,3,opt,name=global_access,json=globalAccess,proto3,oneof" json:"global_access,omitempty"`
// Configuration of authorized networks. If enabled, restricts access to the
// control plane based on source IP.
// It is invalid to specify both
// [Cluster.masterAuthorizedNetworksConfig][] and this field at the same
// time.
AuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `protobuf:"bytes,4,opt,name=authorized_networks_config,json=authorizedNetworksConfig,proto3" json:"authorized_networks_config,omitempty"`
// Output only. The external IP address of this cluster's control plane.
// Only populated if enabled.
PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
// Output only. The internal IP address of this cluster's control plane.
// Only populated if enabled.
PrivateEndpoint string `protobuf:"bytes,6,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"`
// Subnet to provision the master's private endpoint during cluster
// creation. Specified in projects/*/regions/*/subnetworks/* format. It is
// invalid to specify both
// [PrivateClusterConfig.privateEndpointSubnetwork][] and this field at the
// same time.
PrivateEndpointSubnetwork string `protobuf:"bytes,7,opt,name=private_endpoint_subnetwork,json=privateEndpointSubnetwork,proto3" json:"private_endpoint_subnetwork,omitempty"`
// contains filtered or unexported fields
}IP endpoints configuration.
func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) Descriptor
func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) Descriptor() ([]byte, []int)Deprecated: Use ControlPlaneEndpointsConfig_IPEndpointsConfig.ProtoReflect.Descriptor instead.
func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetAuthorizedNetworksConfig
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfigfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetEnablePublicEndpoint
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetEnablePublicEndpoint() boolfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetEnabled
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetEnabled() boolfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetGlobalAccess
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetGlobalAccess() boolfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPrivateEndpoint
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPrivateEndpoint() stringfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPrivateEndpointSubnetwork
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPrivateEndpointSubnetwork() stringfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPublicEndpoint
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) GetPublicEndpoint() stringfunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) ProtoMessage
func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) ProtoMessage()func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) ProtoReflect
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) ProtoReflect() protoreflect.Messagefunc (*ControlPlaneEndpointsConfig_IPEndpointsConfig) Reset
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) Reset()func (*ControlPlaneEndpointsConfig_IPEndpointsConfig) String
func (x *ControlPlaneEndpointsConfig_IPEndpointsConfig) String() stringCostManagementConfig
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() boolfunc (*CostManagementConfig) ProtoMessage
func (*CostManagementConfig) ProtoMessage()func (*CostManagementConfig) ProtoReflect
func (x *CostManagementConfig) ProtoReflect() protoreflect.Messagefunc (*CostManagementConfig) Reset
func (x *CostManagementConfig) Reset()func (*CostManagementConfig) String
func (x *CostManagementConfig) String() stringCreateClusterRequest
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() *Clusterfunc (*CreateClusterRequest) GetParent
func (x *CreateClusterRequest) GetParent() stringfunc (*CreateClusterRequest) GetProjectId
func (x *CreateClusterRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateClusterRequest) GetZone
func (x *CreateClusterRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateClusterRequest) ProtoMessage
func (*CreateClusterRequest) ProtoMessage()func (*CreateClusterRequest) ProtoReflect
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*CreateClusterRequest) Reset
func (x *CreateClusterRequest) Reset()func (*CreateClusterRequest) String
func (x *CreateClusterRequest) String() stringCreateNodePoolRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) GetNodePool
func (x *CreateNodePoolRequest) GetNodePool() *NodePoolfunc (*CreateNodePoolRequest) GetParent
func (x *CreateNodePoolRequest) GetParent() stringfunc (*CreateNodePoolRequest) GetProjectId
func (x *CreateNodePoolRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) GetZone
func (x *CreateNodePoolRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*CreateNodePoolRequest) ProtoMessage
func (*CreateNodePoolRequest) ProtoMessage()func (*CreateNodePoolRequest) ProtoReflect
func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*CreateNodePoolRequest) Reset
func (x *CreateNodePoolRequest) Reset()func (*CreateNodePoolRequest) String
func (x *CreateNodePoolRequest) String() stringDNSConfig
type DNSConfig struct {
// cluster_dns indicates which in-cluster DNS provider should be used.
ClusterDns DNSConfig_Provider `protobuf:"varint,1,opt,name=cluster_dns,json=clusterDns,proto3,enum=google.container.v1.DNSConfig_Provider" json:"cluster_dns,omitempty"`
// cluster_dns_scope indicates the scope of access to cluster DNS records.
ClusterDnsScope DNSConfig_DNSScope `protobuf:"varint,2,opt,name=cluster_dns_scope,json=clusterDnsScope,proto3,enum=google.container.v1.DNSConfig_DNSScope" json:"cluster_dns_scope,omitempty"`
// cluster_dns_domain is the suffix used for all cluster service records.
ClusterDnsDomain string `protobuf:"bytes,3,opt,name=cluster_dns_domain,json=clusterDnsDomain,proto3" json:"cluster_dns_domain,omitempty"`
// Optional. The domain used in Additive VPC scope.
AdditiveVpcScopeDnsDomain string `protobuf:"bytes,5,opt,name=additive_vpc_scope_dns_domain,json=additiveVpcScopeDnsDomain,proto3" json:"additive_vpc_scope_dns_domain,omitempty"`
// contains filtered or unexported fields
}DNSConfig contains the desired set of options for configuring clusterDNS.
func (*DNSConfig) Descriptor
Deprecated: Use DNSConfig.ProtoReflect.Descriptor instead.
func (*DNSConfig) GetAdditiveVpcScopeDnsDomain
func (*DNSConfig) GetClusterDns
func (x *DNSConfig) GetClusterDns() DNSConfig_Providerfunc (*DNSConfig) GetClusterDnsDomain
func (*DNSConfig) GetClusterDnsScope
func (x *DNSConfig) GetClusterDnsScope() DNSConfig_DNSScopefunc (*DNSConfig) ProtoMessage
func (*DNSConfig) ProtoMessage()func (*DNSConfig) ProtoReflect
func (x *DNSConfig) ProtoReflect() protoreflect.Messagefunc (*DNSConfig) Reset
func (x *DNSConfig) Reset()func (*DNSConfig) String
DNSConfig_DNSScope
type DNSConfig_DNSScope int32DNSScope 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.EnumDescriptorfunc (DNSConfig_DNSScope) Enum
func (x DNSConfig_DNSScope) Enum() *DNSConfig_DNSScopefunc (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.EnumNumberfunc (DNSConfig_DNSScope) String
func (x DNSConfig_DNSScope) String() stringfunc (DNSConfig_DNSScope) Type
func (DNSConfig_DNSScope) Type() protoreflect.EnumTypeDNSConfig_Provider
type DNSConfig_Provider int32Provider lists the various in-cluster DNS providers.
DNSConfig_PROVIDER_UNSPECIFIED, DNSConfig_PLATFORM_DEFAULT, DNSConfig_CLOUD_DNS, DNSConfig_KUBE_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
// Use KubeDNS for DNS resolution.
DNSConfig_KUBE_DNS DNSConfig_Provider = 3
)func (DNSConfig_Provider) Descriptor
func (DNSConfig_Provider) Descriptor() protoreflect.EnumDescriptorfunc (DNSConfig_Provider) Enum
func (x DNSConfig_Provider) Enum() *DNSConfig_Providerfunc (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.EnumNumberfunc (DNSConfig_Provider) String
func (x DNSConfig_Provider) String() stringfunc (DNSConfig_Provider) Type
func (DNSConfig_Provider) Type() protoreflect.EnumTypeDailyMaintenanceWindow
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() stringfunc (*DailyMaintenanceWindow) GetStartTime
func (x *DailyMaintenanceWindow) GetStartTime() stringfunc (*DailyMaintenanceWindow) ProtoMessage
func (*DailyMaintenanceWindow) ProtoMessage()func (*DailyMaintenanceWindow) ProtoReflect
func (x *DailyMaintenanceWindow) ProtoReflect() protoreflect.Messagefunc (*DailyMaintenanceWindow) Reset
func (x *DailyMaintenanceWindow) Reset()func (*DailyMaintenanceWindow) String
func (x *DailyMaintenanceWindow) String() stringDatabaseEncryption
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"`
// Output only. The current state of etcd encryption.
CurrentState *DatabaseEncryption_CurrentState `protobuf:"varint,3,opt,name=current_state,json=currentState,proto3,enum=google.container.v1.DatabaseEncryption_CurrentState,oneof" json:"current_state,omitempty"`
// Output only. Keys in use by the cluster for decrypting
// existing objects, in addition to the key in `key_name`.
//
// Each item is a CloudKMS key resource.
DecryptionKeys []string `protobuf:"bytes,4,rep,name=decryption_keys,json=decryptionKeys,proto3" json:"decryption_keys,omitempty"`
// Output only. Records errors seen during DatabaseEncryption update
// operations.
LastOperationErrors []*DatabaseEncryption_OperationError `protobuf:"bytes,5,rep,name=last_operation_errors,json=lastOperationErrors,proto3" json:"last_operation_errors,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) GetCurrentState
func (x *DatabaseEncryption) GetCurrentState() DatabaseEncryption_CurrentStatefunc (*DatabaseEncryption) GetDecryptionKeys
func (x *DatabaseEncryption) GetDecryptionKeys() []stringfunc (*DatabaseEncryption) GetKeyName
func (x *DatabaseEncryption) GetKeyName() stringfunc (*DatabaseEncryption) GetLastOperationErrors
func (x *DatabaseEncryption) GetLastOperationErrors() []*DatabaseEncryption_OperationErrorfunc (*DatabaseEncryption) GetState
func (x *DatabaseEncryption) GetState() DatabaseEncryption_Statefunc (*DatabaseEncryption) ProtoMessage
func (*DatabaseEncryption) ProtoMessage()func (*DatabaseEncryption) ProtoReflect
func (x *DatabaseEncryption) ProtoReflect() protoreflect.Messagefunc (*DatabaseEncryption) Reset
func (x *DatabaseEncryption) Reset()func (*DatabaseEncryption) String
func (x *DatabaseEncryption) String() stringDatabaseEncryption_CurrentState
type DatabaseEncryption_CurrentState int32Current State of etcd encryption.
DatabaseEncryption_CURRENT_STATE_UNSPECIFIED, DatabaseEncryption_CURRENT_STATE_ENCRYPTED, DatabaseEncryption_CURRENT_STATE_DECRYPTED, DatabaseEncryption_CURRENT_STATE_ENCRYPTION_PENDING, DatabaseEncryption_CURRENT_STATE_ENCRYPTION_ERROR, DatabaseEncryption_CURRENT_STATE_DECRYPTION_PENDING, DatabaseEncryption_CURRENT_STATE_DECRYPTION_ERROR
const (
// Should never be set
DatabaseEncryption_CURRENT_STATE_UNSPECIFIED DatabaseEncryption_CurrentState = 0
// Secrets in etcd are encrypted.
DatabaseEncryption_CURRENT_STATE_ENCRYPTED DatabaseEncryption_CurrentState = 7
// Secrets in etcd are stored in plain text (at etcd level) - this is
// unrelated to Compute Engine level full disk encryption.
DatabaseEncryption_CURRENT_STATE_DECRYPTED DatabaseEncryption_CurrentState = 2
// Encryption (or re-encryption with a different CloudKMS key)
// of Secrets is in progress.
DatabaseEncryption_CURRENT_STATE_ENCRYPTION_PENDING DatabaseEncryption_CurrentState = 3
// Encryption (or re-encryption with a different CloudKMS key) of Secrets in
// etcd encountered an error.
DatabaseEncryption_CURRENT_STATE_ENCRYPTION_ERROR DatabaseEncryption_CurrentState = 4
// De-crypting Secrets to plain text in etcd is in progress.
DatabaseEncryption_CURRENT_STATE_DECRYPTION_PENDING DatabaseEncryption_CurrentState = 5
// De-crypting Secrets to plain text in etcd encountered an error.
DatabaseEncryption_CURRENT_STATE_DECRYPTION_ERROR DatabaseEncryption_CurrentState = 6
)func (DatabaseEncryption_CurrentState) Descriptor
func (DatabaseEncryption_CurrentState) Descriptor() protoreflect.EnumDescriptorfunc (DatabaseEncryption_CurrentState) Enum
func (x DatabaseEncryption_CurrentState) Enum() *DatabaseEncryption_CurrentStatefunc (DatabaseEncryption_CurrentState) EnumDescriptor
func (DatabaseEncryption_CurrentState) EnumDescriptor() ([]byte, []int)Deprecated: Use DatabaseEncryption_CurrentState.Descriptor instead.
func (DatabaseEncryption_CurrentState) Number
func (x DatabaseEncryption_CurrentState) Number() protoreflect.EnumNumberfunc (DatabaseEncryption_CurrentState) String
func (x DatabaseEncryption_CurrentState) String() stringfunc (DatabaseEncryption_CurrentState) Type
func (DatabaseEncryption_CurrentState) Type() protoreflect.EnumTypeDatabaseEncryption_OperationError
type DatabaseEncryption_OperationError struct {
// CloudKMS key resource that had the error.
KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"`
// Description of the error seen during the operation.
ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// Time when the CloudKMS error was seen.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.
func (*DatabaseEncryption_OperationError) Descriptor
func (*DatabaseEncryption_OperationError) Descriptor() ([]byte, []int)Deprecated: Use DatabaseEncryption_OperationError.ProtoReflect.Descriptor instead.
func (*DatabaseEncryption_OperationError) GetErrorMessage
func (x *DatabaseEncryption_OperationError) GetErrorMessage() stringfunc (*DatabaseEncryption_OperationError) GetKeyName
func (x *DatabaseEncryption_OperationError) GetKeyName() stringfunc (*DatabaseEncryption_OperationError) GetTimestamp
func (x *DatabaseEncryption_OperationError) GetTimestamp() *timestamppb.Timestampfunc (*DatabaseEncryption_OperationError) ProtoMessage
func (*DatabaseEncryption_OperationError) ProtoMessage()func (*DatabaseEncryption_OperationError) ProtoReflect
func (x *DatabaseEncryption_OperationError) ProtoReflect() protoreflect.Messagefunc (*DatabaseEncryption_OperationError) Reset
func (x *DatabaseEncryption_OperationError) Reset()func (*DatabaseEncryption_OperationError) String
func (x *DatabaseEncryption_OperationError) String() stringDatabaseEncryption_State
type DatabaseEncryption_State int32State 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.EnumDescriptorfunc (DatabaseEncryption_State) Enum
func (x DatabaseEncryption_State) Enum() *DatabaseEncryption_Statefunc (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.EnumNumberfunc (DatabaseEncryption_State) String
func (x DatabaseEncryption_State) String() stringfunc (DatabaseEncryption_State) Type
func (DatabaseEncryption_State) Type() protoreflect.EnumTypeDatapathProvider
type DatapathProvider int32The 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.EnumDescriptorfunc (DatapathProvider) Enum
func (x DatapathProvider) Enum() *DatapathProviderfunc (DatapathProvider) EnumDescriptor
func (DatapathProvider) EnumDescriptor() ([]byte, []int)Deprecated: Use DatapathProvider.Descriptor instead.
func (DatapathProvider) Number
func (x DatapathProvider) Number() protoreflect.EnumNumberfunc (DatapathProvider) String
func (x DatapathProvider) String() stringfunc (DatapathProvider) Type
func (DatapathProvider) Type() protoreflect.EnumTypeDefaultComputeClassConfig
type DefaultComputeClassConfig struct {
// Enables default compute class.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}DefaultComputeClassConfig defines default compute class
configuration.
func (*DefaultComputeClassConfig) Descriptor
func (*DefaultComputeClassConfig) Descriptor() ([]byte, []int)Deprecated: Use DefaultComputeClassConfig.ProtoReflect.Descriptor instead.
func (*DefaultComputeClassConfig) GetEnabled
func (x *DefaultComputeClassConfig) GetEnabled() boolfunc (*DefaultComputeClassConfig) ProtoMessage
func (*DefaultComputeClassConfig) ProtoMessage()func (*DefaultComputeClassConfig) ProtoReflect
func (x *DefaultComputeClassConfig) ProtoReflect() protoreflect.Messagefunc (*DefaultComputeClassConfig) Reset
func (x *DefaultComputeClassConfig) Reset()func (*DefaultComputeClassConfig) String
func (x *DefaultComputeClassConfig) String() stringDefaultSnatStatus
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() boolfunc (*DefaultSnatStatus) ProtoMessage
func (*DefaultSnatStatus) ProtoMessage()func (*DefaultSnatStatus) ProtoReflect
func (x *DefaultSnatStatus) ProtoReflect() protoreflect.Messagefunc (*DefaultSnatStatus) Reset
func (x *DefaultSnatStatus) Reset()func (*DefaultSnatStatus) String
func (x *DefaultSnatStatus) String() stringDeleteClusterRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) GetName
func (x *DeleteClusterRequest) GetName() stringfunc (*DeleteClusterRequest) GetProjectId
func (x *DeleteClusterRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) GetZone
func (x *DeleteClusterRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteClusterRequest) ProtoMessage
func (*DeleteClusterRequest) ProtoMessage()func (*DeleteClusterRequest) ProtoReflect
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteClusterRequest) Reset
func (x *DeleteClusterRequest) Reset()func (*DeleteClusterRequest) String
func (x *DeleteClusterRequest) String() stringDeleteNodePoolRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetName
func (x *DeleteNodePoolRequest) GetName() stringfunc (*DeleteNodePoolRequest) GetNodePoolId
func (x *DeleteNodePoolRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetProjectId
func (x *DeleteNodePoolRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) GetZone
func (x *DeleteNodePoolRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DeleteNodePoolRequest) ProtoMessage
func (*DeleteNodePoolRequest) ProtoMessage()func (*DeleteNodePoolRequest) ProtoReflect
func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteNodePoolRequest) Reset
func (x *DeleteNodePoolRequest) Reset()func (*DeleteNodePoolRequest) String
func (x *DeleteNodePoolRequest) String() stringDesiredAdditionalIPRangesConfig
type DesiredAdditionalIPRangesConfig struct {
// List of additional IP ranges configs where each AdditionalIPRangesConfig
// corresponds to one subnetwork's IP ranges
AdditionalIpRangesConfigs []*AdditionalIPRangesConfig `protobuf:"bytes,1,rep,name=additional_ip_ranges_configs,json=additionalIpRangesConfigs,proto3" json:"additional_ip_ranges_configs,omitempty"`
// contains filtered or unexported fields
}DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.
func (*DesiredAdditionalIPRangesConfig) Descriptor
func (*DesiredAdditionalIPRangesConfig) Descriptor() ([]byte, []int)Deprecated: Use DesiredAdditionalIPRangesConfig.ProtoReflect.Descriptor instead.
func (*DesiredAdditionalIPRangesConfig) GetAdditionalIpRangesConfigs
func (x *DesiredAdditionalIPRangesConfig) GetAdditionalIpRangesConfigs() []*AdditionalIPRangesConfigfunc (*DesiredAdditionalIPRangesConfig) ProtoMessage
func (*DesiredAdditionalIPRangesConfig) ProtoMessage()func (*DesiredAdditionalIPRangesConfig) ProtoReflect
func (x *DesiredAdditionalIPRangesConfig) ProtoReflect() protoreflect.Messagefunc (*DesiredAdditionalIPRangesConfig) Reset
func (x *DesiredAdditionalIPRangesConfig) Reset()func (*DesiredAdditionalIPRangesConfig) String
func (x *DesiredAdditionalIPRangesConfig) String() stringDesiredEnterpriseConfig (deprecated)
type DesiredEnterpriseConfig struct {
// desired_tier specifies the desired tier of the cluster.
DesiredTier EnterpriseConfig_ClusterTier `protobuf:"varint,1,opt,name=desired_tier,json=desiredTier,proto3,enum=google.container.v1.EnterpriseConfig_ClusterTier" json:"desired_tier,omitempty"`
// contains filtered or unexported fields
}DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
Deprecated: GKE Enterprise features are now available without an Enterprise tier.
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*DesiredEnterpriseConfig) Descriptor (deprecated)
func (*DesiredEnterpriseConfig) Descriptor() ([]byte, []int)Deprecated: Use DesiredEnterpriseConfig.ProtoReflect.Descriptor instead.
func (*DesiredEnterpriseConfig) GetDesiredTier (deprecated)
func (x *DesiredEnterpriseConfig) GetDesiredTier() EnterpriseConfig_ClusterTierfunc (*DesiredEnterpriseConfig) ProtoMessage (deprecated)
func (*DesiredEnterpriseConfig) ProtoMessage()func (*DesiredEnterpriseConfig) ProtoReflect (deprecated)
func (x *DesiredEnterpriseConfig) ProtoReflect() protoreflect.Messagefunc (*DesiredEnterpriseConfig) Reset (deprecated)
func (x *DesiredEnterpriseConfig) Reset()func (*DesiredEnterpriseConfig) String (deprecated)
func (x *DesiredEnterpriseConfig) String() stringDnsCacheConfig
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() boolfunc (*DnsCacheConfig) ProtoMessage
func (*DnsCacheConfig) ProtoMessage()func (*DnsCacheConfig) ProtoReflect
func (x *DnsCacheConfig) ProtoReflect() protoreflect.Messagefunc (*DnsCacheConfig) Reset
func (x *DnsCacheConfig) Reset()func (*DnsCacheConfig) String
func (x *DnsCacheConfig) String() stringEnterpriseConfig (deprecated)
type EnterpriseConfig struct {
// Output only. cluster_tier indicates the effective tier of the cluster.
ClusterTier EnterpriseConfig_ClusterTier `protobuf:"varint,1,opt,name=cluster_tier,json=clusterTier,proto3,enum=google.container.v1.EnterpriseConfig_ClusterTier" json:"cluster_tier,omitempty"`
// desired_tier specifies the desired tier of the cluster.
DesiredTier EnterpriseConfig_ClusterTier `protobuf:"varint,2,opt,name=desired_tier,json=desiredTier,proto3,enum=google.container.v1.EnterpriseConfig_ClusterTier" json:"desired_tier,omitempty"`
// contains filtered or unexported fields
}EnterpriseConfig is the cluster enterprise configuration.
Deprecated: GKE Enterprise features are now available without an Enterprise tier.
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*EnterpriseConfig) Descriptor (deprecated)
func (*EnterpriseConfig) Descriptor() ([]byte, []int)Deprecated: Use EnterpriseConfig.ProtoReflect.Descriptor instead.
func (*EnterpriseConfig) GetClusterTier (deprecated)
func (x *EnterpriseConfig) GetClusterTier() EnterpriseConfig_ClusterTierfunc (*EnterpriseConfig) GetDesiredTier (deprecated)
func (x *EnterpriseConfig) GetDesiredTier() EnterpriseConfig_ClusterTierfunc (*EnterpriseConfig) ProtoMessage (deprecated)
func (*EnterpriseConfig) ProtoMessage()func (*EnterpriseConfig) ProtoReflect (deprecated)
func (x *EnterpriseConfig) ProtoReflect() protoreflect.Messagefunc (*EnterpriseConfig) Reset (deprecated)
func (x *EnterpriseConfig) Reset()func (*EnterpriseConfig) String (deprecated)
func (x *EnterpriseConfig) String() stringEnterpriseConfig_ClusterTier (deprecated)
type EnterpriseConfig_ClusterTier int32Premium tiers for GKE Cluster.
Deprecated: GKE Enterprise features are now available without an Enterprise tier.
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnterpriseConfig_CLUSTER_TIER_UNSPECIFIED, EnterpriseConfig_STANDARD, EnterpriseConfig_ENTERPRISE (deprecated)
const (
// CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.
EnterpriseConfig_CLUSTER_TIER_UNSPECIFIED EnterpriseConfig_ClusterTier = 0
// STANDARD indicates a standard GKE cluster.
EnterpriseConfig_STANDARD EnterpriseConfig_ClusterTier = 1
// ENTERPRISE indicates a GKE Enterprise cluster.
EnterpriseConfig_ENTERPRISE EnterpriseConfig_ClusterTier = 2
)func (EnterpriseConfig_ClusterTier) Descriptor (deprecated)
func (EnterpriseConfig_ClusterTier) Descriptor() protoreflect.EnumDescriptorfunc (EnterpriseConfig_ClusterTier) Enum (deprecated)
func (x EnterpriseConfig_ClusterTier) Enum() *EnterpriseConfig_ClusterTierfunc (EnterpriseConfig_ClusterTier) EnumDescriptor (deprecated)
func (EnterpriseConfig_ClusterTier) EnumDescriptor() ([]byte, []int)Deprecated: Use EnterpriseConfig_ClusterTier.Descriptor instead.
func (EnterpriseConfig_ClusterTier) Number (deprecated)
func (x EnterpriseConfig_ClusterTier) Number() protoreflect.EnumNumberfunc (EnterpriseConfig_ClusterTier) String (deprecated)
func (x EnterpriseConfig_ClusterTier) String() stringfunc (EnterpriseConfig_ClusterTier) Type (deprecated)
func (EnterpriseConfig_ClusterTier) Type() protoreflect.EnumTypeEphemeralStorageLocalSsdConfig
type EphemeralStorageLocalSsdConfig struct {
// Number of local SSDs to use to back ephemeral storage. Uses NVMe
// interfaces.
//
// A zero (or unset) value has different meanings depending on machine type
// being used:
// 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
// zero (or unset) means to disable using local SSDs as ephemeral storage. The
// limit for this value is dependent upon the maximum number of disk
// available on a machine per zone. See:
// https://cloud.google.com/compute/docs/disks/local-ssd
// for more information.
// 2. For Gen3 machines which dictate a specific number of local ssds, zero
// (or unset) means to use the default number of local ssds that goes with
// that machine type. For example, for a c3-standard-8-lssd machine, 2 local
// ssds would be provisioned. For c3-standard-8 (which doesn't support local
// ssds), 0 will be provisioned. See
// https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
// for more info.
LocalSsdCount int32 `protobuf:"varint,1,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
// Number of local SSDs to use for GKE Data Cache.
DataCacheCount int32 `protobuf:"varint,2,opt,name=data_cache_count,json=dataCacheCount,proto3" json:"data_cache_count,omitempty"`
// contains filtered or unexported fields
}EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.
func (*EphemeralStorageLocalSsdConfig) Descriptor
func (*EphemeralStorageLocalSsdConfig) Descriptor() ([]byte, []int)Deprecated: Use EphemeralStorageLocalSsdConfig.ProtoReflect.Descriptor instead.
func (*EphemeralStorageLocalSsdConfig) GetDataCacheCount
func (x *EphemeralStorageLocalSsdConfig) GetDataCacheCount() int32func (*EphemeralStorageLocalSsdConfig) GetLocalSsdCount
func (x *EphemeralStorageLocalSsdConfig) GetLocalSsdCount() int32func (*EphemeralStorageLocalSsdConfig) ProtoMessage
func (*EphemeralStorageLocalSsdConfig) ProtoMessage()func (*EphemeralStorageLocalSsdConfig) ProtoReflect
func (x *EphemeralStorageLocalSsdConfig) ProtoReflect() protoreflect.Messagefunc (*EphemeralStorageLocalSsdConfig) Reset
func (x *EphemeralStorageLocalSsdConfig) Reset()func (*EphemeralStorageLocalSsdConfig) String
func (x *EphemeralStorageLocalSsdConfig) String() stringEvictionGracePeriod
type EvictionGracePeriod struct {
// Optional. Grace period for eviction due to memory available signal. Sample
// format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
MemoryAvailable string `protobuf:"bytes,1,opt,name=memory_available,json=memoryAvailable,proto3" json:"memory_available,omitempty"`
// Optional. Grace period for eviction due to nodefs available signal. Sample
// format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
NodefsAvailable string `protobuf:"bytes,2,opt,name=nodefs_available,json=nodefsAvailable,proto3" json:"nodefs_available,omitempty"`
// Optional. Grace period for eviction due to nodefs inodes free signal.
// Sample format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
NodefsInodesFree string `protobuf:"bytes,3,opt,name=nodefs_inodes_free,json=nodefsInodesFree,proto3" json:"nodefs_inodes_free,omitempty"`
// Optional. Grace period for eviction due to imagefs available signal. Sample
// format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
ImagefsAvailable string `protobuf:"bytes,4,opt,name=imagefs_available,json=imagefsAvailable,proto3" json:"imagefs_available,omitempty"`
// Optional. Grace period for eviction due to imagefs inodes free signal.
// Sample format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
ImagefsInodesFree string `protobuf:"bytes,5,opt,name=imagefs_inodes_free,json=imagefsInodesFree,proto3" json:"imagefs_inodes_free,omitempty"`
// Optional. Grace period for eviction due to pid available signal. Sample
// format: "10s". Must be >= 0. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
PidAvailable string `protobuf:"bytes,6,opt,name=pid_available,json=pidAvailable,proto3" json:"pid_available,omitempty"`
// contains filtered or unexported fields
}Eviction grace periods are grace periods for each eviction signal.
func (*EvictionGracePeriod) Descriptor
func (*EvictionGracePeriod) Descriptor() ([]byte, []int)Deprecated: Use EvictionGracePeriod.ProtoReflect.Descriptor instead.
func (*EvictionGracePeriod) GetImagefsAvailable
func (x *EvictionGracePeriod) GetImagefsAvailable() stringfunc (*EvictionGracePeriod) GetImagefsInodesFree
func (x *EvictionGracePeriod) GetImagefsInodesFree() stringfunc (*EvictionGracePeriod) GetMemoryAvailable
func (x *EvictionGracePeriod) GetMemoryAvailable() stringfunc (*EvictionGracePeriod) GetNodefsAvailable
func (x *EvictionGracePeriod) GetNodefsAvailable() stringfunc (*EvictionGracePeriod) GetNodefsInodesFree
func (x *EvictionGracePeriod) GetNodefsInodesFree() stringfunc (*EvictionGracePeriod) GetPidAvailable
func (x *EvictionGracePeriod) GetPidAvailable() stringfunc (*EvictionGracePeriod) ProtoMessage
func (*EvictionGracePeriod) ProtoMessage()func (*EvictionGracePeriod) ProtoReflect
func (x *EvictionGracePeriod) ProtoReflect() protoreflect.Messagefunc (*EvictionGracePeriod) Reset
func (x *EvictionGracePeriod) Reset()func (*EvictionGracePeriod) String
func (x *EvictionGracePeriod) String() stringEvictionMinimumReclaim
type EvictionMinimumReclaim struct {
// Optional. Minimum reclaim for eviction due to memory available signal. Only
// take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" memoryavailable="">string `protobuf:"bytes,1,opt,name=memory_available,json=memoryAvailable,proto3" json:"memory_available,omitempty"`
// Optional. Minimum reclaim for eviction due to nodefs available signal. Only
// take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" nodefsavailable="">string `protobuf:"bytes,2,opt,name=nodefs_available,json=nodefsAvailable,proto3" json:"nodefs_available,omitempty"`
// Optional. Minimum reclaim for eviction due to nodefs inodes free signal.
// Only take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" nodefsinodesfree="">string `protobuf:"bytes,3,opt,name=nodefs_inodes_free,json=nodefsInodesFree,proto3" json:"nodefs_inodes_free,omitempty"`
// Optional. Minimum reclaim for eviction due to imagefs available signal.
// Only take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" imagefsavailable="">string `protobuf:"bytes,4,opt,name=imagefs_available,json=imagefsAvailable,proto3" json:"imagefs_available,omitempty"`
// Optional. Minimum reclaim for eviction due to imagefs inodes free signal.
// Only take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" imagefsinodesfree="">string `protobuf:"bytes,5,opt,name=imagefs_inodes_free,json=imagefsInodesFree,proto3" json:"imagefs_inodes_free,omitempty"`
// Optional. Minimum reclaim for eviction due to pid available signal. Only
// take percentage value for now. Sample format: "10%". Must be <=10%. see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" pidavailable="">string `protobuf:"bytes,6,opt,name=pid_available,json=pidAvailable,proto3" json:"pid_available,omitempty"`
// contains filtered or unexported fields
}Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.
func (*EvictionMinimumReclaim) Descriptor
func (*EvictionMinimumReclaim) Descriptor() ([]byte, []int)Deprecated: Use EvictionMinimumReclaim.ProtoReflect.Descriptor instead.
func (*EvictionMinimumReclaim) GetImagefsAvailable
func (x *EvictionMinimumReclaim) GetImagefsAvailable() stringfunc (*EvictionMinimumReclaim) GetImagefsInodesFree
func (x *EvictionMinimumReclaim) GetImagefsInodesFree() stringfunc (*EvictionMinimumReclaim) GetMemoryAvailable
func (x *EvictionMinimumReclaim) GetMemoryAvailable() stringfunc (*EvictionMinimumReclaim) GetNodefsAvailable
func (x *EvictionMinimumReclaim) GetNodefsAvailable() stringfunc (*EvictionMinimumReclaim) GetNodefsInodesFree
func (x *EvictionMinimumReclaim) GetNodefsInodesFree() stringfunc (*EvictionMinimumReclaim) GetPidAvailable
func (x *EvictionMinimumReclaim) GetPidAvailable() stringfunc (*EvictionMinimumReclaim) ProtoMessage
func (*EvictionMinimumReclaim) ProtoMessage()func (*EvictionMinimumReclaim) ProtoReflect
func (x *EvictionMinimumReclaim) ProtoReflect() protoreflect.Messagefunc (*EvictionMinimumReclaim) Reset
func (x *EvictionMinimumReclaim) Reset()func (*EvictionMinimumReclaim) String
func (x *EvictionMinimumReclaim) String() stringEvictionSignals
type EvictionSignals struct {
// Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines
// the amount of "memory.available" signal in kubelet. Default is unset, if
// not specified in the kubelet config. Format: positive number + unit, e.g.
// 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50%="" of="" the="" node's="" memory.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" memoryavailable="">string `protobuf:"bytes,1,opt,name=memory_available,json=memoryAvailable,proto3" json:"memory_available,omitempty"`
// Optional. Amount of storage available on filesystem that kubelet uses for
// volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal
// in kubelet. Default is unset, if not specified in the kubelet config. It
// takses percentage value for now. Sample format: "30%". Must be >= 10% and
// <= 50%.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" nodefsavailable="">string `protobuf:"bytes,2,opt,name=nodefs_available,json=nodefsAvailable,proto3" json:"nodefs_available,omitempty"`
// Optional. Amount of inodes available on filesystem that kubelet uses for
// volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal
// in kubelet. Default is unset, if not specified in the kubelet config. Linux
// only. It takses percentage value for now. Sample format: "30%". Must be >=
// 5% and <= 50%.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" nodefsinodesfree="">string `protobuf:"bytes,3,opt,name=nodefs_inodes_free,json=nodefsInodesFree,proto3" json:"nodefs_inodes_free,omitempty"`
// Optional. Amount of storage available on filesystem that container runtime
// uses for storing images layers. If the container filesystem and image
// filesystem are not separate, then imagefs can store both image layers and
// writeable layers. Defines the amount of "imagefs.available" signal in
// kubelet. Default is unset, if not specified in the kubelet config. It
// takses percentage value for now. Sample format: "30%". Must be >= 15% and
// <= 50%.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" imagefsavailable="">string `protobuf:"bytes,4,opt,name=imagefs_available,json=imagefsAvailable,proto3" json:"imagefs_available,omitempty"`
// Optional. Amount of inodes available on filesystem that container runtime
// uses for storing images layers. Defines the amount of "imagefs.inodesFree"
// signal in kubelet. Default is unset, if not specified in the kubelet
// config. Linux only. It takses percentage value for now. Sample format:
// "30%". Must be >= 5% and <= 50%.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" imagefsinodesfree="">string `protobuf:"bytes,5,opt,name=imagefs_inodes_free,json=imagefsInodesFree,proto3" json:"imagefs_inodes_free,omitempty"`
// Optional. Amount of PID available for pod allocation. Defines the amount of
// "pid.available" signal in kubelet. Default is unset, if not specified in
// the kubelet config. It takses percentage value for now. Sample format:
// "30%". Must be >= 10% and <= 50%.="" see="" https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals="" pidavailable="">string `protobuf:"bytes,6,opt,name=pid_available,json=pidAvailable,proto3" json:"pid_available,omitempty"`
// contains filtered or unexported fields
}Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.
func (*EvictionSignals) Descriptor
func (*EvictionSignals) Descriptor() ([]byte, []int)Deprecated: Use EvictionSignals.ProtoReflect.Descriptor instead.
func (*EvictionSignals) GetImagefsAvailable
func (x *EvictionSignals) GetImagefsAvailable() stringfunc (*EvictionSignals) GetImagefsInodesFree
func (x *EvictionSignals) GetImagefsInodesFree() stringfunc (*EvictionSignals) GetMemoryAvailable
func (x *EvictionSignals) GetMemoryAvailable() stringfunc (*EvictionSignals) GetNodefsAvailable
func (x *EvictionSignals) GetNodefsAvailable() stringfunc (*EvictionSignals) GetNodefsInodesFree
func (x *EvictionSignals) GetNodefsInodesFree() stringfunc (*EvictionSignals) GetPidAvailable
func (x *EvictionSignals) GetPidAvailable() stringfunc (*EvictionSignals) ProtoMessage
func (*EvictionSignals) ProtoMessage()func (*EvictionSignals) ProtoReflect
func (x *EvictionSignals) ProtoReflect() protoreflect.Messagefunc (*EvictionSignals) Reset
func (x *EvictionSignals) Reset()func (*EvictionSignals) String
func (x *EvictionSignals) String() stringFastSocket
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() boolfunc (*FastSocket) ProtoMessage
func (*FastSocket) ProtoMessage()func (*FastSocket) ProtoReflect
func (x *FastSocket) ProtoReflect() protoreflect.Messagefunc (*FastSocket) Reset
func (x *FastSocket) Reset()func (*FastSocket) String
func (x *FastSocket) String() stringFetchClusterUpgradeInfoRequest
type FetchClusterUpgradeInfoRequest struct {
// Required. The name (project, location, cluster) of the cluster to get.
// Specified in the format `projects/*/locations/*/clusters/*` or
// `projects/*/zones/*/clusters/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// API request version that initiates this operation.
Version string `protobuf:"bytes,100,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}FetchClusterUpgradeInfoRequest fetches the upgrade information of a cluster.
func (*FetchClusterUpgradeInfoRequest) Descriptor
func (*FetchClusterUpgradeInfoRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchClusterUpgradeInfoRequest.ProtoReflect.Descriptor instead.
func (*FetchClusterUpgradeInfoRequest) GetName
func (x *FetchClusterUpgradeInfoRequest) GetName() stringfunc (*FetchClusterUpgradeInfoRequest) GetVersion
func (x *FetchClusterUpgradeInfoRequest) GetVersion() stringfunc (*FetchClusterUpgradeInfoRequest) ProtoMessage
func (*FetchClusterUpgradeInfoRequest) ProtoMessage()func (*FetchClusterUpgradeInfoRequest) ProtoReflect
func (x *FetchClusterUpgradeInfoRequest) ProtoReflect() protoreflect.Messagefunc (*FetchClusterUpgradeInfoRequest) Reset
func (x *FetchClusterUpgradeInfoRequest) Reset()func (*FetchClusterUpgradeInfoRequest) String
func (x *FetchClusterUpgradeInfoRequest) String() stringFetchNodePoolUpgradeInfoRequest
type FetchNodePoolUpgradeInfoRequest struct {
// Required. The name (project, location, cluster, nodepool) of the nodepool
// to get. Specified in the format
// `projects/*/locations/*/clusters/*/nodePools/*` or
// `projects/*/zones/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// API request version that initiates this operation.
Version string `protobuf:"bytes,100,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}FetchNodePoolUpgradeInfoRequest fetches the upgrade information of a nodepool.
func (*FetchNodePoolUpgradeInfoRequest) Descriptor
func (*FetchNodePoolUpgradeInfoRequest) Descriptor() ([]byte, []int)Deprecated: Use FetchNodePoolUpgradeInfoRequest.ProtoReflect.Descriptor instead.
func (*FetchNodePoolUpgradeInfoRequest) GetName
func (x *FetchNodePoolUpgradeInfoRequest) GetName() stringfunc (*FetchNodePoolUpgradeInfoRequest) GetVersion
func (x *FetchNodePoolUpgradeInfoRequest) GetVersion() stringfunc (*FetchNodePoolUpgradeInfoRequest) ProtoMessage
func (*FetchNodePoolUpgradeInfoRequest) ProtoMessage()func (*FetchNodePoolUpgradeInfoRequest) ProtoReflect
func (x *FetchNodePoolUpgradeInfoRequest) ProtoReflect() protoreflect.Messagefunc (*FetchNodePoolUpgradeInfoRequest) Reset
func (x *FetchNodePoolUpgradeInfoRequest) Reset()func (*FetchNodePoolUpgradeInfoRequest) String
func (x *FetchNodePoolUpgradeInfoRequest) String() stringFleet
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"`
// The type of the cluster's fleet membership.
MembershipType Fleet_MembershipType `protobuf:"varint,4,opt,name=membership_type,json=membershipType,proto3,enum=google.container.v1.Fleet_MembershipType" json:"membership_type,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) GetMembershipType
func (x *Fleet) GetMembershipType() Fleet_MembershipTypefunc (*Fleet) GetPreRegistered
func (*Fleet) GetProject
func (*Fleet) ProtoMessage
func (*Fleet) ProtoMessage()func (*Fleet) ProtoReflect
func (x *Fleet) ProtoReflect() protoreflect.Messagefunc (*Fleet) Reset
func (x *Fleet) Reset()func (*Fleet) String
Fleet_MembershipType
type Fleet_MembershipType int32MembershipType describes if the membership supports all features or only lightweight compatible ones.
Fleet_MEMBERSHIP_TYPE_UNSPECIFIED, Fleet_LIGHTWEIGHT
const (
// The MembershipType is not set.
Fleet_MEMBERSHIP_TYPE_UNSPECIFIED Fleet_MembershipType = 0
// The membership supports only lightweight compatible features.
Fleet_LIGHTWEIGHT Fleet_MembershipType = 1
)func (Fleet_MembershipType) Descriptor
func (Fleet_MembershipType) Descriptor() protoreflect.EnumDescriptorfunc (Fleet_MembershipType) Enum
func (x Fleet_MembershipType) Enum() *Fleet_MembershipTypefunc (Fleet_MembershipType) EnumDescriptor
func (Fleet_MembershipType) EnumDescriptor() ([]byte, []int)Deprecated: Use Fleet_MembershipType.Descriptor instead.
func (Fleet_MembershipType) Number
func (x Fleet_MembershipType) Number() protoreflect.EnumNumberfunc (Fleet_MembershipType) String
func (x Fleet_MembershipType) String() stringfunc (Fleet_MembershipType) Type
func (Fleet_MembershipType) Type() protoreflect.EnumTypeGPUDriverInstallationConfig
type GPUDriverInstallationConfig struct {
// Mode for how the GPU driver is installed.
GpuDriverVersion *GPUDriverInstallationConfig_GPUDriverVersion `protobuf:"varint,1,opt,name=gpu_driver_version,json=gpuDriverVersion,proto3,enum=google.container.v1.GPUDriverInstallationConfig_GPUDriverVersion,oneof" json:"gpu_driver_version,omitempty"`
// contains filtered or unexported fields
}GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.
func (*GPUDriverInstallationConfig) Descriptor
func (*GPUDriverInstallationConfig) Descriptor() ([]byte, []int)Deprecated: Use GPUDriverInstallationConfig.ProtoReflect.Descriptor instead.
func (*GPUDriverInstallationConfig) GetGpuDriverVersion
func (x *GPUDriverInstallationConfig) GetGpuDriverVersion() GPUDriverInstallationConfig_GPUDriverVersionfunc (*GPUDriverInstallationConfig) ProtoMessage
func (*GPUDriverInstallationConfig) ProtoMessage()func (*GPUDriverInstallationConfig) ProtoReflect
func (x *GPUDriverInstallationConfig) ProtoReflect() protoreflect.Messagefunc (*GPUDriverInstallationConfig) Reset
func (x *GPUDriverInstallationConfig) Reset()func (*GPUDriverInstallationConfig) String
func (x *GPUDriverInstallationConfig) String() stringGPUDriverInstallationConfig_GPUDriverVersion
type GPUDriverInstallationConfig_GPUDriverVersion int32The GPU driver version to install.
GPUDriverInstallationConfig_GPU_DRIVER_VERSION_UNSPECIFIED, GPUDriverInstallationConfig_INSTALLATION_DISABLED, GPUDriverInstallationConfig_DEFAULT, GPUDriverInstallationConfig_LATEST
const (
// Default value is to not install any GPU driver.
GPUDriverInstallationConfig_GPU_DRIVER_VERSION_UNSPECIFIED GPUDriverInstallationConfig_GPUDriverVersion = 0
// Disable GPU driver auto installation and needs manual installation
GPUDriverInstallationConfig_INSTALLATION_DISABLED GPUDriverInstallationConfig_GPUDriverVersion = 1
// "Default" GPU driver in COS and Ubuntu.
GPUDriverInstallationConfig_DEFAULT GPUDriverInstallationConfig_GPUDriverVersion = 2
// "Latest" GPU driver in COS.
GPUDriverInstallationConfig_LATEST GPUDriverInstallationConfig_GPUDriverVersion = 3
)func (GPUDriverInstallationConfig_GPUDriverVersion) Descriptor
func (GPUDriverInstallationConfig_GPUDriverVersion) Descriptor() protoreflect.EnumDescriptorfunc (GPUDriverInstallationConfig_GPUDriverVersion) Enum
func (x GPUDriverInstallationConfig_GPUDriverVersion) Enum() *GPUDriverInstallationConfig_GPUDriverVersionfunc (GPUDriverInstallationConfig_GPUDriverVersion) EnumDescriptor
func (GPUDriverInstallationConfig_GPUDriverVersion) EnumDescriptor() ([]byte, []int)Deprecated: Use GPUDriverInstallationConfig_GPUDriverVersion.Descriptor instead.
func (GPUDriverInstallationConfig_GPUDriverVersion) Number
func (x GPUDriverInstallationConfig_GPUDriverVersion) Number() protoreflect.EnumNumberfunc (GPUDriverInstallationConfig_GPUDriverVersion) String
func (x GPUDriverInstallationConfig_GPUDriverVersion) String() stringfunc (GPUDriverInstallationConfig_GPUDriverVersion) Type
func (GPUDriverInstallationConfig_GPUDriverVersion) Type() protoreflect.EnumTypeGPUSharingConfig
type GPUSharingConfig struct {
// The max number of containers that can share a physical GPU.
MaxSharedClientsPerGpu int64 `protobuf:"varint,1,opt,name=max_shared_clients_per_gpu,json=maxSharedClientsPerGpu,proto3" json:"max_shared_clients_per_gpu,omitempty"`
// The type of GPU sharing strategy to enable on the GPU node.
GpuSharingStrategy *GPUSharingConfig_GPUSharingStrategy `protobuf:"varint,2,opt,name=gpu_sharing_strategy,json=gpuSharingStrategy,proto3,enum=google.container.v1.GPUSharingConfig_GPUSharingStrategy,oneof" json:"gpu_sharing_strategy,omitempty"`
// contains filtered or unexported fields
}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_GPUSharingStrategyfunc (*GPUSharingConfig) GetMaxSharedClientsPerGpu
func (x *GPUSharingConfig) GetMaxSharedClientsPerGpu() int64func (*GPUSharingConfig) ProtoMessage
func (*GPUSharingConfig) ProtoMessage()func (*GPUSharingConfig) ProtoReflect
func (x *GPUSharingConfig) ProtoReflect() protoreflect.Messagefunc (*GPUSharingConfig) Reset
func (x *GPUSharingConfig) Reset()func (*GPUSharingConfig) String
func (x *GPUSharingConfig) String() stringGPUSharingConfig_GPUSharingStrategy
type GPUSharingConfig_GPUSharingStrategy int32The type of GPU sharing strategy currently provided.
GPUSharingConfig_GPU_SHARING_STRATEGY_UNSPECIFIED, GPUSharingConfig_TIME_SHARING, GPUSharingConfig_MPS
const (
// Default value.
GPUSharingConfig_GPU_SHARING_STRATEGY_UNSPECIFIED GPUSharingConfig_GPUSharingStrategy = 0
// GPUs are time-shared between containers.
GPUSharingConfig_TIME_SHARING GPUSharingConfig_GPUSharingStrategy = 1
// GPUs are shared between containers with NVIDIA MPS.
GPUSharingConfig_MPS GPUSharingConfig_GPUSharingStrategy = 2
)func (GPUSharingConfig_GPUSharingStrategy) Descriptor
func (GPUSharingConfig_GPUSharingStrategy) Descriptor() protoreflect.EnumDescriptorfunc (GPUSharingConfig_GPUSharingStrategy) Enum
func (x GPUSharingConfig_GPUSharingStrategy) Enum() *GPUSharingConfig_GPUSharingStrategyfunc (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.EnumNumberfunc (GPUSharingConfig_GPUSharingStrategy) String
func (x GPUSharingConfig_GPUSharingStrategy) String() stringfunc (GPUSharingConfig_GPUSharingStrategy) Type
func (GPUSharingConfig_GPUSharingStrategy) Type() protoreflect.EnumTypeGatewayAPIConfig
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_Channelfunc (*GatewayAPIConfig) ProtoMessage
func (*GatewayAPIConfig) ProtoMessage()func (*GatewayAPIConfig) ProtoReflect
func (x *GatewayAPIConfig) ProtoReflect() protoreflect.Messagefunc (*GatewayAPIConfig) Reset
func (x *GatewayAPIConfig) Reset()func (*GatewayAPIConfig) String
func (x *GatewayAPIConfig) String() stringGatewayAPIConfig_Channel
type GatewayAPIConfig_Channel int32Channel 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
// Deprecated: use CHANNEL_STANDARD instead.
// Gateway API support is enabled, experimental CRDs are installed
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
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.EnumDescriptorfunc (GatewayAPIConfig_Channel) Enum
func (x GatewayAPIConfig_Channel) Enum() *GatewayAPIConfig_Channelfunc (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.EnumNumberfunc (GatewayAPIConfig_Channel) String
func (x GatewayAPIConfig_Channel) String() stringfunc (GatewayAPIConfig_Channel) Type
func (GatewayAPIConfig_Channel) Type() protoreflect.EnumTypeGcePersistentDiskCsiDriverConfig
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() boolfunc (*GcePersistentDiskCsiDriverConfig) ProtoMessage
func (*GcePersistentDiskCsiDriverConfig) ProtoMessage()func (*GcePersistentDiskCsiDriverConfig) ProtoReflect
func (x *GcePersistentDiskCsiDriverConfig) ProtoReflect() protoreflect.Messagefunc (*GcePersistentDiskCsiDriverConfig) Reset
func (x *GcePersistentDiskCsiDriverConfig) Reset()func (*GcePersistentDiskCsiDriverConfig) String
func (x *GcePersistentDiskCsiDriverConfig) String() stringGcfsConfig
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() boolfunc (*GcfsConfig) ProtoMessage
func (*GcfsConfig) ProtoMessage()func (*GcfsConfig) ProtoReflect
func (x *GcfsConfig) ProtoReflect() protoreflect.Messagefunc (*GcfsConfig) Reset
func (x *GcfsConfig) Reset()func (*GcfsConfig) String
func (x *GcfsConfig) String() stringGcpFilestoreCsiDriverConfig
type GcpFilestoreCsiDriverConfig struct {
// Whether the 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 Filestore CSI driver.
func (*GcpFilestoreCsiDriverConfig) Descriptor
func (*GcpFilestoreCsiDriverConfig) Descriptor() ([]byte, []int)Deprecated: Use GcpFilestoreCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*GcpFilestoreCsiDriverConfig) GetEnabled
func (x *GcpFilestoreCsiDriverConfig) GetEnabled() boolfunc (*GcpFilestoreCsiDriverConfig) ProtoMessage
func (*GcpFilestoreCsiDriverConfig) ProtoMessage()func (*GcpFilestoreCsiDriverConfig) ProtoReflect
func (x *GcpFilestoreCsiDriverConfig) ProtoReflect() protoreflect.Messagefunc (*GcpFilestoreCsiDriverConfig) Reset
func (x *GcpFilestoreCsiDriverConfig) Reset()func (*GcpFilestoreCsiDriverConfig) String
func (x *GcpFilestoreCsiDriverConfig) String() stringGcsFuseCsiDriverConfig
type GcsFuseCsiDriverConfig struct {
// Whether the Cloud Storage Fuse 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 Cloud Storage Fuse CSI driver.
func (*GcsFuseCsiDriverConfig) Descriptor
func (*GcsFuseCsiDriverConfig) Descriptor() ([]byte, []int)Deprecated: Use GcsFuseCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*GcsFuseCsiDriverConfig) GetEnabled
func (x *GcsFuseCsiDriverConfig) GetEnabled() boolfunc (*GcsFuseCsiDriverConfig) ProtoMessage
func (*GcsFuseCsiDriverConfig) ProtoMessage()func (*GcsFuseCsiDriverConfig) ProtoReflect
func (x *GcsFuseCsiDriverConfig) ProtoReflect() protoreflect.Messagefunc (*GcsFuseCsiDriverConfig) Reset
func (x *GcsFuseCsiDriverConfig) Reset()func (*GcsFuseCsiDriverConfig) String
func (x *GcsFuseCsiDriverConfig) String() stringGetClusterRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) GetName
func (x *GetClusterRequest) GetName() stringfunc (*GetClusterRequest) GetProjectId
func (x *GetClusterRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) GetZone
func (x *GetClusterRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetClusterRequest) ProtoMessage
func (*GetClusterRequest) ProtoMessage()func (*GetClusterRequest) ProtoReflect
func (x *GetClusterRequest) ProtoReflect() protoreflect.Messagefunc (*GetClusterRequest) Reset
func (x *GetClusterRequest) Reset()func (*GetClusterRequest) String
func (x *GetClusterRequest) String() stringGetJSONWebKeysRequest
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() stringfunc (*GetJSONWebKeysRequest) ProtoMessage
func (*GetJSONWebKeysRequest) ProtoMessage()func (*GetJSONWebKeysRequest) ProtoReflect
func (x *GetJSONWebKeysRequest) ProtoReflect() protoreflect.Messagefunc (*GetJSONWebKeysRequest) Reset
func (x *GetJSONWebKeysRequest) Reset()func (*GetJSONWebKeysRequest) String
func (x *GetJSONWebKeysRequest) String() stringGetJSONWebKeysResponse
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 specified in rfc 7517
func (*GetJSONWebKeysResponse) Descriptor
func (*GetJSONWebKeysResponse) Descriptor() ([]byte, []int)Deprecated: Use GetJSONWebKeysResponse.ProtoReflect.Descriptor instead.
func (*GetJSONWebKeysResponse) GetKeys
func (x *GetJSONWebKeysResponse) GetKeys() []*Jwkfunc (*GetJSONWebKeysResponse) ProtoMessage
func (*GetJSONWebKeysResponse) ProtoMessage()func (*GetJSONWebKeysResponse) ProtoReflect
func (x *GetJSONWebKeysResponse) ProtoReflect() protoreflect.Messagefunc (*GetJSONWebKeysResponse) Reset
func (x *GetJSONWebKeysResponse) Reset()func (*GetJSONWebKeysResponse) String
func (x *GetJSONWebKeysResponse) String() stringGetNodePoolRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetName
func (x *GetNodePoolRequest) GetName() stringfunc (*GetNodePoolRequest) GetNodePoolId
func (x *GetNodePoolRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetProjectId
func (x *GetNodePoolRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) GetZone
func (x *GetNodePoolRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetNodePoolRequest) ProtoMessage
func (*GetNodePoolRequest) ProtoMessage()func (*GetNodePoolRequest) ProtoReflect
func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*GetNodePoolRequest) Reset
func (x *GetNodePoolRequest) Reset()func (*GetNodePoolRequest) String
func (x *GetNodePoolRequest) String() stringGetOpenIDConfigRequest
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() stringfunc (*GetOpenIDConfigRequest) ProtoMessage
func (*GetOpenIDConfigRequest) ProtoMessage()func (*GetOpenIDConfigRequest) ProtoReflect
func (x *GetOpenIDConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetOpenIDConfigRequest) Reset
func (x *GetOpenIDConfigRequest) Reset()func (*GetOpenIDConfigRequest) String
func (x *GetOpenIDConfigRequest) String() stringGetOpenIDConfigResponse
type GetOpenIDConfigResponse struct {
// OIDC Issuer.
Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
// JSON Web Key uri.
JwksUri string `protobuf:"bytes,2,opt,name=jwks_uri,proto3" json:"jwks_uri,omitempty"`
// Supported response types.
ResponseTypesSupported []string `protobuf:"bytes,3,rep,name=response_types_supported,proto3" json:"response_types_supported,omitempty"`
// Supported subject types.
SubjectTypesSupported []string `protobuf:"bytes,4,rep,name=subject_types_supported,proto3" json:"subject_types_supported,omitempty"`
// supported ID Token signing Algorithms.
IdTokenSigningAlgValuesSupported []string `protobuf:"bytes,5,rep,name=id_token_signing_alg_values_supported,proto3" json:"id_token_signing_alg_values_supported,omitempty"`
// Supported claims.
ClaimsSupported []string `protobuf:"bytes,6,rep,name=claims_supported,proto3" json:"claims_supported,omitempty"`
// Supported grant types.
GrantTypes []string `protobuf:"bytes,7,rep,name=grant_types,proto3" json:"grant_types,omitempty"`
// contains filtered or unexported fields
}GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetOpenIDConfigResponse) Descriptor
func (*GetOpenIDConfigResponse) Descriptor() ([]byte, []int)Deprecated: Use GetOpenIDConfigResponse.ProtoReflect.Descriptor instead.
func (*GetOpenIDConfigResponse) GetClaimsSupported
func (x *GetOpenIDConfigResponse) GetClaimsSupported() []stringfunc (*GetOpenIDConfigResponse) GetGrantTypes
func (x *GetOpenIDConfigResponse) GetGrantTypes() []stringfunc (*GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported
func (x *GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported() []stringfunc (*GetOpenIDConfigResponse) GetIssuer
func (x *GetOpenIDConfigResponse) GetIssuer() stringfunc (*GetOpenIDConfigResponse) GetJwksUri
func (x *GetOpenIDConfigResponse) GetJwksUri() stringfunc (*GetOpenIDConfigResponse) GetResponseTypesSupported
func (x *GetOpenIDConfigResponse) GetResponseTypesSupported() []stringfunc (*GetOpenIDConfigResponse) GetSubjectTypesSupported
func (x *GetOpenIDConfigResponse) GetSubjectTypesSupported() []stringfunc (*GetOpenIDConfigResponse) ProtoMessage
func (*GetOpenIDConfigResponse) ProtoMessage()func (*GetOpenIDConfigResponse) ProtoReflect
func (x *GetOpenIDConfigResponse) ProtoReflect() protoreflect.Messagefunc (*GetOpenIDConfigResponse) Reset
func (x *GetOpenIDConfigResponse) Reset()func (*GetOpenIDConfigResponse) String
func (x *GetOpenIDConfigResponse) String() stringGetOperationRequest
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() stringfunc (*GetOperationRequest) GetOperationId
func (x *GetOperationRequest) GetOperationId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) GetProjectId
func (x *GetOperationRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) GetZone
func (x *GetOperationRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetOperationRequest) ProtoMessage
func (*GetOperationRequest) ProtoMessage()func (*GetOperationRequest) ProtoReflect
func (x *GetOperationRequest) ProtoReflect() protoreflect.Messagefunc (*GetOperationRequest) Reset
func (x *GetOperationRequest) Reset()func (*GetOperationRequest) String
func (x *GetOperationRequest) String() stringGetServerConfigRequest
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() stringfunc (*GetServerConfigRequest) GetProjectId
func (x *GetServerConfigRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetServerConfigRequest) GetZone
func (x *GetServerConfigRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*GetServerConfigRequest) ProtoMessage
func (*GetServerConfigRequest) ProtoMessage()func (*GetServerConfigRequest) ProtoReflect
func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetServerConfigRequest) Reset
func (x *GetServerConfigRequest) Reset()func (*GetServerConfigRequest) String
func (x *GetServerConfigRequest) String() stringGkeAutoUpgradeConfig
type GkeAutoUpgradeConfig struct {
// PatchMode specifies how auto upgrade patch builds should be
// selected.
PatchMode GkeAutoUpgradeConfig_PatchMode `protobuf:"varint,1,opt,name=patch_mode,json=patchMode,proto3,enum=google.container.v1.GkeAutoUpgradeConfig_PatchMode" json:"patch_mode,omitempty"`
// contains filtered or unexported fields
}GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
func (*GkeAutoUpgradeConfig) Descriptor
func (*GkeAutoUpgradeConfig) Descriptor() ([]byte, []int)Deprecated: Use GkeAutoUpgradeConfig.ProtoReflect.Descriptor instead.
func (*GkeAutoUpgradeConfig) GetPatchMode
func (x *GkeAutoUpgradeConfig) GetPatchMode() GkeAutoUpgradeConfig_PatchModefunc (*GkeAutoUpgradeConfig) ProtoMessage
func (*GkeAutoUpgradeConfig) ProtoMessage()func (*GkeAutoUpgradeConfig) ProtoReflect
func (x *GkeAutoUpgradeConfig) ProtoReflect() protoreflect.Messagefunc (*GkeAutoUpgradeConfig) Reset
func (x *GkeAutoUpgradeConfig) Reset()func (*GkeAutoUpgradeConfig) String
func (x *GkeAutoUpgradeConfig) String() stringGkeAutoUpgradeConfig_PatchMode
type GkeAutoUpgradeConfig_PatchMode int32PatchMode specifies how auto upgrade patch builds should be selected.
GkeAutoUpgradeConfig_PATCH_MODE_UNSPECIFIED, GkeAutoUpgradeConfig_ACCELERATED
const (
// PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the
// channel's patch upgrade targets as the upgrade target for the
// version.
GkeAutoUpgradeConfig_PATCH_MODE_UNSPECIFIED GkeAutoUpgradeConfig_PatchMode = 0
// ACCELERATED denotes that the latest patch build in the channel should be
// used as the upgrade target for the version.
GkeAutoUpgradeConfig_ACCELERATED GkeAutoUpgradeConfig_PatchMode = 1
)func (GkeAutoUpgradeConfig_PatchMode) Descriptor
func (GkeAutoUpgradeConfig_PatchMode) Descriptor() protoreflect.EnumDescriptorfunc (GkeAutoUpgradeConfig_PatchMode) Enum
func (x GkeAutoUpgradeConfig_PatchMode) Enum() *GkeAutoUpgradeConfig_PatchModefunc (GkeAutoUpgradeConfig_PatchMode) EnumDescriptor
func (GkeAutoUpgradeConfig_PatchMode) EnumDescriptor() ([]byte, []int)Deprecated: Use GkeAutoUpgradeConfig_PatchMode.Descriptor instead.
func (GkeAutoUpgradeConfig_PatchMode) Number
func (x GkeAutoUpgradeConfig_PatchMode) Number() protoreflect.EnumNumberfunc (GkeAutoUpgradeConfig_PatchMode) String
func (x GkeAutoUpgradeConfig_PatchMode) String() stringfunc (GkeAutoUpgradeConfig_PatchMode) Type
func (GkeAutoUpgradeConfig_PatchMode) Type() protoreflect.EnumTypeGkeBackupAgentConfig
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() boolfunc (*GkeBackupAgentConfig) ProtoMessage
func (*GkeBackupAgentConfig) ProtoMessage()func (*GkeBackupAgentConfig) ProtoReflect
func (x *GkeBackupAgentConfig) ProtoReflect() protoreflect.Messagefunc (*GkeBackupAgentConfig) Reset
func (x *GkeBackupAgentConfig) Reset()func (*GkeBackupAgentConfig) String
func (x *GkeBackupAgentConfig) String() stringHighScaleCheckpointingConfig
type HighScaleCheckpointingConfig struct {
// Whether the High Scale Checkpointing 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 High Scale Checkpointing.
func (*HighScaleCheckpointingConfig) Descriptor
func (*HighScaleCheckpointingConfig) Descriptor() ([]byte, []int)Deprecated: Use HighScaleCheckpointingConfig.ProtoReflect.Descriptor instead.
func (*HighScaleCheckpointingConfig) GetEnabled
func (x *HighScaleCheckpointingConfig) GetEnabled() boolfunc (*HighScaleCheckpointingConfig) ProtoMessage
func (*HighScaleCheckpointingConfig) ProtoMessage()func (*HighScaleCheckpointingConfig) ProtoReflect
func (x *HighScaleCheckpointingConfig) ProtoReflect() protoreflect.Messagefunc (*HighScaleCheckpointingConfig) Reset
func (x *HighScaleCheckpointingConfig) Reset()func (*HighScaleCheckpointingConfig) String
func (x *HighScaleCheckpointingConfig) String() stringHorizontalPodAutoscaling
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() boolfunc (*HorizontalPodAutoscaling) ProtoMessage
func (*HorizontalPodAutoscaling) ProtoMessage()func (*HorizontalPodAutoscaling) ProtoReflect
func (x *HorizontalPodAutoscaling) ProtoReflect() protoreflect.Messagefunc (*HorizontalPodAutoscaling) Reset
func (x *HorizontalPodAutoscaling) Reset()func (*HorizontalPodAutoscaling) String
func (x *HorizontalPodAutoscaling) String() stringHttpLoadBalancing
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() boolfunc (*HttpLoadBalancing) ProtoMessage
func (*HttpLoadBalancing) ProtoMessage()func (*HttpLoadBalancing) ProtoReflect
func (x *HttpLoadBalancing) ProtoReflect() protoreflect.Messagefunc (*HttpLoadBalancing) Reset
func (x *HttpLoadBalancing) Reset()func (*HttpLoadBalancing) String
func (x *HttpLoadBalancing) String() stringILBSubsettingConfig
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() boolfunc (*ILBSubsettingConfig) ProtoMessage
func (*ILBSubsettingConfig) ProtoMessage()func (*ILBSubsettingConfig) ProtoReflect
func (x *ILBSubsettingConfig) ProtoReflect() protoreflect.Messagefunc (*ILBSubsettingConfig) Reset
func (x *ILBSubsettingConfig) Reset()func (*ILBSubsettingConfig) String
func (x *ILBSubsettingConfig) String() stringIPAllocationPolicy
type IPAllocationPolicy struct {
// Whether alias IPs will be used for pod IPs in the cluster.
// This is used in conjunction with use_routes. It cannot
// be true if use_routes is true. If both use_ip_aliases and use_routes are
// false, then the server picks the default IP allocation mode
UseIpAliases bool `protobuf:"varint,1,opt,name=use_ip_aliases,json=useIpAliases,proto3" json:"use_ip_aliases,omitempty"`
// Whether a new subnetwork will be created automatically for the cluster.
//
// This field is only applicable when `use_ip_aliases` is true.
CreateSubnetwork bool `protobuf:"varint,2,opt,name=create_subnetwork,json=createSubnetwork,proto3" json:"create_subnetwork,omitempty"`
// A custom subnetwork name to be used if `create_subnetwork` is true. If
// this field is empty, then an automatic name will be chosen for the new
// subnetwork.
SubnetworkName string `protobuf:"bytes,3,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"`
// This field is deprecated, use cluster_ipv4_cidr_block.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterIpv4Cidr string `protobuf:"bytes,4,opt,name=cluster_ipv4_cidr,json=clusterIpv4Cidr,proto3" json:"cluster_ipv4_cidr,omitempty"`
// This field is deprecated, use node_ipv4_cidr_block.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodeIpv4Cidr string `protobuf:"bytes,5,opt,name=node_ipv4_cidr,json=nodeIpv4Cidr,proto3" json:"node_ipv4_cidr,omitempty"`
// This field is deprecated, use services_ipv4_cidr_block.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ServicesIpv4Cidr string `protobuf:"bytes,6,opt,name=services_ipv4_cidr,json=servicesIpv4Cidr,proto3" json:"services_ipv4_cidr,omitempty"`
// The name of the secondary range to be used for the cluster CIDR
// block. The secondary range will be used for pod IP
// addresses. This must be an existing secondary range associated
// with the cluster subnetwork.
//
// This field is only applicable with use_ip_aliases is true and
// create_subnetwork is false.
ClusterSecondaryRangeName string `protobuf:"bytes,7,opt,name=cluster_secondary_range_name,json=clusterSecondaryRangeName,proto3" json:"cluster_secondary_range_name,omitempty"`
// The name of the secondary range to be used as for the services
// CIDR block. The secondary range will be used for service
// ClusterIPs. This must be an existing secondary range associated
// with the cluster subnetwork.
//
// This field is only applicable with use_ip_aliases is true and
// create_subnetwork is false.
ServicesSecondaryRangeName string `protobuf:"bytes,8,opt,name=services_secondary_range_name,json=servicesSecondaryRangeName,proto3" json:"services_secondary_range_name,omitempty"`
// The IP address range for the cluster pod IPs. If this field is set, then
// `cluster.cluster_ipv4_cidr` must be left blank.
//
// This field is only applicable when `use_ip_aliases` is true.
//
// Set to blank to have a range chosen with the default size.
//
// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
// netmask.
//
// Set to a
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
// to use.
ClusterIpv4CidrBlock string `protobuf:"bytes,9,opt,name=cluster_ipv4_cidr_block,json=clusterIpv4CidrBlock,proto3" json:"cluster_ipv4_cidr_block,omitempty"`
// The IP address range of the instance IPs in this cluster.
//
// This is applicable only if `create_subnetwork` is true.
//
// Set to blank to have a range chosen with the default size.
//
// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
// netmask.
//
// Set to a
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
// to use.
NodeIpv4CidrBlock string `protobuf:"bytes,10,opt,name=node_ipv4_cidr_block,json=nodeIpv4CidrBlock,proto3" json:"node_ipv4_cidr_block,omitempty"`
// The IP address range of the services IPs in this cluster. If blank, a range
// will be automatically chosen with the default size.
//
// This field is only applicable when `use_ip_aliases` is true.
//
// Set to blank to have a range chosen with the default size.
//
// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
// netmask.
//
// Set to a
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
// to use.
ServicesIpv4CidrBlock string `protobuf:"bytes,11,opt,name=services_ipv4_cidr_block,json=servicesIpv4CidrBlock,proto3" json:"services_ipv4_cidr_block,omitempty"`
// The IP address range of the Cloud TPUs in this cluster. If unspecified, a
// range will be automatically chosen with the default size.
//
// This field is only applicable when `use_ip_aliases` is true.
//
// If unspecified, the range will use the default size.
//
// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
// netmask.
//
// Set to a
// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
// to use.
//
// This field is deprecated due to the deprecation of 2VM TPU. The end of life
// date for 2VM TPU is 2025-04-25.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
TpuIpv4CidrBlock string `protobuf:"bytes,13,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
// Whether routes will be used for pod IPs in the cluster.
// This is used in conjunction with use_ip_aliases. It cannot be true if
// use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
// then the server picks the default IP allocation mode
UseRoutes bool `protobuf:"varint,15,opt,name=use_routes,json=useRoutes,proto3" json:"use_routes,omitempty"`
// The IP stack type of the cluster
StackType StackType `protobuf:"varint,16,opt,name=stack_type,json=stackType,proto3,enum=google.container.v1.StackType" json:"stack_type,omitempty"`
// The ipv6 access type (internal or external) when create_subnetwork is true
Ipv6AccessType IPv6AccessType `protobuf:"varint,17,opt,name=ipv6_access_type,json=ipv6AccessType,proto3,enum=google.container.v1.IPv6AccessType" json:"ipv6_access_type,omitempty"`
// [PRIVATE FIELD]
// Pod CIDR size overprovisioning config for the cluster.
//
// Pod CIDR size per node depends on max_pods_per_node. By default, the value
// of max_pods_per_node is doubled and then rounded off to next power of 2 to
// get the size of pod CIDR block per node.
// Example: max_pods_per_node of 30 would result in 64 IPs (/26).
//
// This config can disable the doubling of IPs (we still round off to next
// power of 2)
// Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
// overprovisioning is disabled.
PodCidrOverprovisionConfig *PodCIDROverprovisionConfig `protobuf:"bytes,21,opt,name=pod_cidr_overprovision_config,json=podCidrOverprovisionConfig,proto3" json:"pod_cidr_overprovision_config,omitempty"`
// Output only. The subnet's IPv6 CIDR block used by nodes and pods.
SubnetIpv6CidrBlock string `protobuf:"bytes,22,opt,name=subnet_ipv6_cidr_block,json=subnetIpv6CidrBlock,proto3" json:"subnet_ipv6_cidr_block,omitempty"`
// Output only. The services IPv6 CIDR block for the cluster.
ServicesIpv6CidrBlock string `protobuf:"bytes,23,opt,name=services_ipv6_cidr_block,json=servicesIpv6CidrBlock,proto3" json:"services_ipv6_cidr_block,omitempty"`
// Output only. The additional pod ranges that are added to the cluster.
// These pod ranges can be used by new node pools to allocate pod IPs
// automatically. Once the range is removed it will not show up in
// IPAllocationPolicy.
AdditionalPodRangesConfig *AdditionalPodRangesConfig `protobuf:"bytes,24,opt,name=additional_pod_ranges_config,json=additionalPodRangesConfig,proto3" json:"additional_pod_ranges_config,omitempty"`
// Output only. The utilization of the cluster default IPv4 range for the
// pod. The ratio is Usage/[Total number of IPs in the secondary range],
// Usage=numNodes*numZones*podIPsPerNode.
DefaultPodIpv4RangeUtilization float64 `protobuf:"fixed64,25,opt,name=default_pod_ipv4_range_utilization,json=defaultPodIpv4RangeUtilization,proto3" json:"default_pod_ipv4_range_utilization,omitempty"`
// Output only. The additional IP ranges that are added to the cluster.
// These IP ranges can be used by new node pools to allocate node and pod IPs
// automatically.
// Each AdditionalIPRangesConfig corresponds to a single subnetwork.
// Once a range is removed it will not show up in IPAllocationPolicy.
AdditionalIpRangesConfigs []*AdditionalIPRangesConfig `protobuf:"bytes,29,rep,name=additional_ip_ranges_configs,json=additionalIpRangesConfigs,proto3" json:"additional_ip_ranges_configs,omitempty"`
// Optional. AutoIpamConfig contains all information related to Auto IPAM
AutoIpamConfig *AutoIpamConfig `protobuf:"bytes,30,opt,name=auto_ipam_config,json=autoIpamConfig,proto3" json:"auto_ipam_config,omitempty"`
// Cluster-level network tier configuration is used to determine the default
// network tier for external IP addresses on cluster resources, such as node
// pools and load balancers.
NetworkTierConfig *NetworkTierConfig `protobuf:"bytes,31,opt,name=network_tier_config,json=networkTierConfig,proto3" json:"network_tier_config,omitempty"`
// contains filtered or unexported fields
}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) GetAdditionalIpRangesConfigs
func (x *IPAllocationPolicy) GetAdditionalIpRangesConfigs() []*AdditionalIPRangesConfigfunc (*IPAllocationPolicy) GetAdditionalPodRangesConfig
func (x *IPAllocationPolicy) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfigfunc (*IPAllocationPolicy) GetAutoIpamConfig
func (x *IPAllocationPolicy) GetAutoIpamConfig() *AutoIpamConfigfunc (*IPAllocationPolicy) GetClusterIpv4Cidr
func (x *IPAllocationPolicy) GetClusterIpv4Cidr() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetClusterIpv4CidrBlock
func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() stringfunc (*IPAllocationPolicy) GetClusterSecondaryRangeName
func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() stringfunc (*IPAllocationPolicy) GetCreateSubnetwork
func (x *IPAllocationPolicy) GetCreateSubnetwork() boolfunc (*IPAllocationPolicy) GetDefaultPodIpv4RangeUtilization
func (x *IPAllocationPolicy) GetDefaultPodIpv4RangeUtilization() float64func (*IPAllocationPolicy) GetIpv6AccessType
func (x *IPAllocationPolicy) GetIpv6AccessType() IPv6AccessTypefunc (*IPAllocationPolicy) GetNetworkTierConfig
func (x *IPAllocationPolicy) GetNetworkTierConfig() *NetworkTierConfigfunc (*IPAllocationPolicy) GetNodeIpv4Cidr
func (x *IPAllocationPolicy) GetNodeIpv4Cidr() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetNodeIpv4CidrBlock
func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() stringfunc (*IPAllocationPolicy) GetPodCidrOverprovisionConfig
func (x *IPAllocationPolicy) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfigfunc (*IPAllocationPolicy) GetServicesIpv4Cidr
func (x *IPAllocationPolicy) GetServicesIpv4Cidr() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetServicesIpv4CidrBlock
func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() stringfunc (*IPAllocationPolicy) GetServicesIpv6CidrBlock
func (x *IPAllocationPolicy) GetServicesIpv6CidrBlock() stringfunc (*IPAllocationPolicy) GetServicesSecondaryRangeName
func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() stringfunc (*IPAllocationPolicy) GetStackType
func (x *IPAllocationPolicy) GetStackType() StackTypefunc (*IPAllocationPolicy) GetSubnetIpv6CidrBlock
func (x *IPAllocationPolicy) GetSubnetIpv6CidrBlock() stringfunc (*IPAllocationPolicy) GetSubnetworkName
func (x *IPAllocationPolicy) GetSubnetworkName() stringfunc (*IPAllocationPolicy) GetTpuIpv4CidrBlock
func (x *IPAllocationPolicy) GetTpuIpv4CidrBlock() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*IPAllocationPolicy) GetUseIpAliases
func (x *IPAllocationPolicy) GetUseIpAliases() boolfunc (*IPAllocationPolicy) GetUseRoutes
func (x *IPAllocationPolicy) GetUseRoutes() boolfunc (*IPAllocationPolicy) ProtoMessage
func (*IPAllocationPolicy) ProtoMessage()func (*IPAllocationPolicy) ProtoReflect
func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Messagefunc (*IPAllocationPolicy) Reset
func (x *IPAllocationPolicy) Reset()func (*IPAllocationPolicy) String
func (x *IPAllocationPolicy) String() stringIPv6AccessType
type IPv6AccessType int32Possible 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.EnumDescriptorfunc (IPv6AccessType) Enum
func (x IPv6AccessType) Enum() *IPv6AccessTypefunc (IPv6AccessType) EnumDescriptor
func (IPv6AccessType) EnumDescriptor() ([]byte, []int)Deprecated: Use IPv6AccessType.Descriptor instead.
func (IPv6AccessType) Number
func (x IPv6AccessType) Number() protoreflect.EnumNumberfunc (IPv6AccessType) String
func (x IPv6AccessType) String() stringfunc (IPv6AccessType) Type
func (IPv6AccessType) Type() protoreflect.EnumTypeIdentityServiceConfig
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() boolfunc (*IdentityServiceConfig) ProtoMessage
func (*IdentityServiceConfig) ProtoMessage()func (*IdentityServiceConfig) ProtoReflect
func (x *IdentityServiceConfig) ProtoReflect() protoreflect.Messagefunc (*IdentityServiceConfig) Reset
func (x *IdentityServiceConfig) Reset()func (*IdentityServiceConfig) String
func (x *IdentityServiceConfig) String() stringInTransitEncryptionConfig
type InTransitEncryptionConfig int32Options for in-transit encryption.
InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED, InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_DISABLED, InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT
const (
// Unspecified, will be inferred as default -
// IN_TRANSIT_ENCRYPTION_UNSPECIFIED.
InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED InTransitEncryptionConfig = 0
// In-transit encryption is disabled.
InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_DISABLED InTransitEncryptionConfig = 1
// Data in-transit is encrypted using inter-node transparent encryption.
InTransitEncryptionConfig_IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT InTransitEncryptionConfig = 2
)func (InTransitEncryptionConfig) Descriptor
func (InTransitEncryptionConfig) Descriptor() protoreflect.EnumDescriptorfunc (InTransitEncryptionConfig) Enum
func (x InTransitEncryptionConfig) Enum() *InTransitEncryptionConfigfunc (InTransitEncryptionConfig) EnumDescriptor
func (InTransitEncryptionConfig) EnumDescriptor() ([]byte, []int)Deprecated: Use InTransitEncryptionConfig.Descriptor instead.
func (InTransitEncryptionConfig) Number
func (x InTransitEncryptionConfig) Number() protoreflect.EnumNumberfunc (InTransitEncryptionConfig) String
func (x InTransitEncryptionConfig) String() stringfunc (InTransitEncryptionConfig) Type
func (InTransitEncryptionConfig) Type() protoreflect.EnumTypeIntraNodeVisibilityConfig
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() boolfunc (*IntraNodeVisibilityConfig) ProtoMessage
func (*IntraNodeVisibilityConfig) ProtoMessage()func (*IntraNodeVisibilityConfig) ProtoReflect
func (x *IntraNodeVisibilityConfig) ProtoReflect() protoreflect.Messagefunc (*IntraNodeVisibilityConfig) Reset
func (x *IntraNodeVisibilityConfig) Reset()func (*IntraNodeVisibilityConfig) String
func (x *IntraNodeVisibilityConfig) String() stringJwk
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.Messagefunc (*Jwk) Reset
func (x *Jwk) Reset()func (*Jwk) String
K8SBetaAPIConfig
type K8SBetaAPIConfig struct {
// Enabled k8s beta APIs.
EnabledApis []string `protobuf:"bytes,1,rep,name=enabled_apis,json=enabledApis,proto3" json:"enabled_apis,omitempty"`
// contains filtered or unexported fields
}K8sBetaAPIConfig , configuration for beta APIs
func (*K8SBetaAPIConfig) Descriptor
func (*K8SBetaAPIConfig) Descriptor() ([]byte, []int)Deprecated: Use K8SBetaAPIConfig.ProtoReflect.Descriptor instead.
func (*K8SBetaAPIConfig) GetEnabledApis
func (x *K8SBetaAPIConfig) GetEnabledApis() []stringfunc (*K8SBetaAPIConfig) ProtoMessage
func (*K8SBetaAPIConfig) ProtoMessage()func (*K8SBetaAPIConfig) ProtoReflect
func (x *K8SBetaAPIConfig) ProtoReflect() protoreflect.Messagefunc (*K8SBetaAPIConfig) Reset
func (x *K8SBetaAPIConfig) Reset()func (*K8SBetaAPIConfig) String
func (x *K8SBetaAPIConfig) String() stringKubernetesDashboard
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() boolfunc (*KubernetesDashboard) ProtoMessage
func (*KubernetesDashboard) ProtoMessage()func (*KubernetesDashboard) ProtoReflect
func (x *KubernetesDashboard) ProtoReflect() protoreflect.Messagefunc (*KubernetesDashboard) Reset
func (x *KubernetesDashboard) Reset()func (*KubernetesDashboard) String
func (x *KubernetesDashboard) String() stringLegacyAbac
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() boolfunc (*LegacyAbac) ProtoMessage
func (*LegacyAbac) ProtoMessage()func (*LegacyAbac) ProtoReflect
func (x *LegacyAbac) ProtoReflect() protoreflect.Messagefunc (*LegacyAbac) Reset
func (x *LegacyAbac) Reset()func (*LegacyAbac) String
func (x *LegacyAbac) String() stringLinuxNodeConfig
type LinuxNodeConfig struct {
// The Linux kernel parameters to be applied to the nodes and all pods running
// on the nodes.
//
// The following parameters are supported.
//
// net.core.busy_poll
// net.core.busy_read
// net.core.netdev_max_backlog
// net.core.rmem_max
// net.core.rmem_default
// net.core.wmem_default
// net.core.wmem_max
// net.core.optmem_max
// net.core.somaxconn
// net.ipv4.tcp_rmem
// net.ipv4.tcp_wmem
// net.ipv4.tcp_tw_reuse
// net.ipv4.tcp_max_orphans
// net.netfilter.nf_conntrack_max
// net.netfilter.nf_conntrack_buckets
// net.netfilter.nf_conntrack_tcp_timeout_close_wait
// net.netfilter.nf_conntrack_tcp_timeout_time_wait
// net.netfilter.nf_conntrack_tcp_timeout_established
// net.netfilter.nf_conntrack_acct
// kernel.shmmni
// kernel.shmmax
// kernel.shmall
// fs.aio-max-nr
// fs.file-max
// fs.inotify.max_user_instances
// fs.inotify.max_user_watches
// fs.nr_open
// vm.dirty_background_ratio
// vm.dirty_expire_centisecs
// vm.dirty_ratio
// vm.dirty_writeback_centisecs
// vm.max_map_count
// vm.overcommit_memory
// vm.overcommit_ratio
// vm.vfs_cache_pressure
// vm.swappiness
// vm.watermark_scale_factor
// vm.min_free_kbytes
Sysctls map[string]string `protobuf:"bytes,1,rep,name=sysctls,proto3" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// cgroup_mode specifies the cgroup mode to be used on the node.
CgroupMode LinuxNodeConfig_CgroupMode `protobuf:"varint,2,opt,name=cgroup_mode,json=cgroupMode,proto3,enum=google.container.v1.LinuxNodeConfig_CgroupMode" json:"cgroup_mode,omitempty"`
// Optional. Amounts for 2M and 1G hugepages
Hugepages *LinuxNodeConfig_HugepagesConfig `protobuf:"bytes,3,opt,name=hugepages,proto3,oneof" json:"hugepages,omitempty"`
// Optional. Transparent hugepage support for anonymous memory can be entirely
// disabled (mostly for debugging purposes) or only enabled inside
// MADV_HUGEPAGE regions (to avoid the risk of consuming more memory
// resources) or enabled system wide.
//
// See https://docs.kernel.org/admin-guide/mm/transhuge.html
// for more details.
TransparentHugepageEnabled LinuxNodeConfig_TransparentHugepageEnabled `protobuf:"varint,4,opt,name=transparent_hugepage_enabled,json=transparentHugepageEnabled,proto3,enum=google.container.v1.LinuxNodeConfig_TransparentHugepageEnabled" json:"transparent_hugepage_enabled,omitempty"`
// Optional. Defines the transparent hugepage defrag configuration on the
// node. VM hugepage allocation can be managed by either limiting
// defragmentation for delayed allocation or skipping it entirely for
// immediate allocation only.
//
// See https://docs.kernel.org/admin-guide/mm/transhuge.html
// for more details.
TransparentHugepageDefrag LinuxNodeConfig_TransparentHugepageDefrag `protobuf:"varint,5,opt,name=transparent_hugepage_defrag,json=transparentHugepageDefrag,proto3,enum=google.container.v1.LinuxNodeConfig_TransparentHugepageDefrag" json:"transparent_hugepage_defrag,omitempty"`
// Optional. Configuration for kernel module loading on nodes.
// When enabled, the node pool will be provisioned with a Container-Optimized
// OS image that enforces kernel module signature verification.
NodeKernelModuleLoading *LinuxNodeConfig_NodeKernelModuleLoading `protobuf:"bytes,13,opt,name=node_kernel_module_loading,json=nodeKernelModuleLoading,proto3" json:"node_kernel_module_loading,omitempty"`
// contains filtered or unexported fields
}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_CgroupModefunc (*LinuxNodeConfig) GetHugepages
func (x *LinuxNodeConfig) GetHugepages() *LinuxNodeConfig_HugepagesConfigfunc (*LinuxNodeConfig) GetNodeKernelModuleLoading
func (x *LinuxNodeConfig) GetNodeKernelModuleLoading() *LinuxNodeConfig_NodeKernelModuleLoadingfunc (*LinuxNodeConfig) GetSysctls
func (x *LinuxNodeConfig) GetSysctls() map[string]stringfunc (*LinuxNodeConfig) GetTransparentHugepageDefrag
func (x *LinuxNodeConfig) GetTransparentHugepageDefrag() LinuxNodeConfig_TransparentHugepageDefragfunc (*LinuxNodeConfig) GetTransparentHugepageEnabled
func (x *LinuxNodeConfig) GetTransparentHugepageEnabled() LinuxNodeConfig_TransparentHugepageEnabledfunc (*LinuxNodeConfig) ProtoMessage
func (*LinuxNodeConfig) ProtoMessage()func (*LinuxNodeConfig) ProtoReflect
func (x *LinuxNodeConfig) ProtoReflect() protoreflect.Messagefunc (*LinuxNodeConfig) Reset
func (x *LinuxNodeConfig) Reset()func (*LinuxNodeConfig) String
func (x *LinuxNodeConfig) String() stringLinuxNodeConfig_CgroupMode
type LinuxNodeConfig_CgroupMode int32Possible 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.EnumDescriptorfunc (LinuxNodeConfig_CgroupMode) Enum
func (x LinuxNodeConfig_CgroupMode) Enum() *LinuxNodeConfig_CgroupModefunc (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.EnumNumberfunc (LinuxNodeConfig_CgroupMode) String
func (x LinuxNodeConfig_CgroupMode) String() stringfunc (LinuxNodeConfig_CgroupMode) Type
func (LinuxNodeConfig_CgroupMode) Type() protoreflect.EnumTypeLinuxNodeConfig_HugepagesConfig
type LinuxNodeConfig_HugepagesConfig struct {
// Optional. Amount of 2M hugepages
HugepageSize2M *int32 `protobuf:"varint,1,opt,name=hugepage_size2m,json=hugepageSize2m,proto3,oneof" json:"hugepage_size2m,omitempty"`
// Optional. Amount of 1G hugepages
HugepageSize1G *int32 `protobuf:"varint,2,opt,name=hugepage_size1g,json=hugepageSize1g,proto3,oneof" json:"hugepage_size1g,omitempty"`
// contains filtered or unexported fields
}Hugepages amount in both 2m and 1g size
func (*LinuxNodeConfig_HugepagesConfig) Descriptor
func (*LinuxNodeConfig_HugepagesConfig) Descriptor() ([]byte, []int)Deprecated: Use LinuxNodeConfig_HugepagesConfig.ProtoReflect.Descriptor instead.
func (*LinuxNodeConfig_HugepagesConfig) GetHugepageSize1G
func (x *LinuxNodeConfig_HugepagesConfig) GetHugepageSize1G() int32func (*LinuxNodeConfig_HugepagesConfig) GetHugepageSize2M
func (x *LinuxNodeConfig_HugepagesConfig) GetHugepageSize2M() int32func (*LinuxNodeConfig_HugepagesConfig) ProtoMessage
func (*LinuxNodeConfig_HugepagesConfig) ProtoMessage()func (*LinuxNodeConfig_HugepagesConfig) ProtoReflect
func (x *LinuxNodeConfig_HugepagesConfig) ProtoReflect() protoreflect.Messagefunc (*LinuxNodeConfig_HugepagesConfig) Reset
func (x *LinuxNodeConfig_HugepagesConfig) Reset()func (*LinuxNodeConfig_HugepagesConfig) String
func (x *LinuxNodeConfig_HugepagesConfig) String() stringLinuxNodeConfig_NodeKernelModuleLoading
type LinuxNodeConfig_NodeKernelModuleLoading struct {
// Set the node module loading policy for nodes in the node pool.
Policy LinuxNodeConfig_NodeKernelModuleLoading_Policy `protobuf:"varint,1,opt,name=policy,proto3,enum=google.container.v1.LinuxNodeConfig_NodeKernelModuleLoading_Policy" json:"policy,omitempty"`
// contains filtered or unexported fields
}Configuration for kernel module loading on nodes.
func (*LinuxNodeConfig_NodeKernelModuleLoading) Descriptor
func (*LinuxNodeConfig_NodeKernelModuleLoading) Descriptor() ([]byte, []int)Deprecated: Use LinuxNodeConfig_NodeKernelModuleLoading.ProtoReflect.Descriptor instead.
func (*LinuxNodeConfig_NodeKernelModuleLoading) GetPolicy
func (x *LinuxNodeConfig_NodeKernelModuleLoading) GetPolicy() LinuxNodeConfig_NodeKernelModuleLoading_Policyfunc (*LinuxNodeConfig_NodeKernelModuleLoading) ProtoMessage
func (*LinuxNodeConfig_NodeKernelModuleLoading) ProtoMessage()func (*LinuxNodeConfig_NodeKernelModuleLoading) ProtoReflect
func (x *LinuxNodeConfig_NodeKernelModuleLoading) ProtoReflect() protoreflect.Messagefunc (*LinuxNodeConfig_NodeKernelModuleLoading) Reset
func (x *LinuxNodeConfig_NodeKernelModuleLoading) Reset()func (*LinuxNodeConfig_NodeKernelModuleLoading) String
func (x *LinuxNodeConfig_NodeKernelModuleLoading) String() stringLinuxNodeConfig_NodeKernelModuleLoading_Policy
type LinuxNodeConfig_NodeKernelModuleLoading_Policy int32Defines the kernel module loading policy for nodes in the nodepool.
LinuxNodeConfig_NodeKernelModuleLoading_POLICY_UNSPECIFIED, LinuxNodeConfig_NodeKernelModuleLoading_ENFORCE_SIGNED_MODULES, LinuxNodeConfig_NodeKernelModuleLoading_DO_NOT_ENFORCE_SIGNED_MODULES
const (
// Default behavior. GKE selects the image based on node type.
// For CPU and TPU nodes, the image will not allow loading external
// kernel modules.
// For GPU nodes, the image will allow loading any module, whether it
// is signed or not.
LinuxNodeConfig_NodeKernelModuleLoading_POLICY_UNSPECIFIED LinuxNodeConfig_NodeKernelModuleLoading_Policy = 0
// Enforced signature verification: Node pools will use a
// Container-Optimized OS image configured to allow loading of
// *Google-signed* external kernel modules.
// Loadpin is enabled but configured to exclude modules, and kernel
// module signature checking is enforced.
LinuxNodeConfig_NodeKernelModuleLoading_ENFORCE_SIGNED_MODULES LinuxNodeConfig_NodeKernelModuleLoading_Policy = 1
// Mirrors existing DEFAULT behavior:
// For CPU and TPU nodes, the image will not allow loading external
// kernel modules.
// For GPU nodes, the image will allow loading any module, whether it
// is signed or not.
LinuxNodeConfig_NodeKernelModuleLoading_DO_NOT_ENFORCE_SIGNED_MODULES LinuxNodeConfig_NodeKernelModuleLoading_Policy = 2
)func (LinuxNodeConfig_NodeKernelModuleLoading_Policy) Descriptor
func (LinuxNodeConfig_NodeKernelModuleLoading_Policy) Descriptor() protoreflect.EnumDescriptorfunc (LinuxNodeConfig_NodeKernelModuleLoading_Policy) Enum
func (x LinuxNodeConfig_NodeKernelModuleLoading_Policy) Enum() *LinuxNodeConfig_NodeKernelModuleLoading_Policyfunc (LinuxNodeConfig_NodeKernelModuleLoading_Policy) EnumDescriptor
func (LinuxNodeConfig_NodeKernelModuleLoading_Policy) EnumDescriptor() ([]byte, []int)Deprecated: Use LinuxNodeConfig_NodeKernelModuleLoading_Policy.Descriptor instead.
func (LinuxNodeConfig_NodeKernelModuleLoading_Policy) Number
func (x LinuxNodeConfig_NodeKernelModuleLoading_Policy) Number() protoreflect.EnumNumberfunc (LinuxNodeConfig_NodeKernelModuleLoading_Policy) String
func (x LinuxNodeConfig_NodeKernelModuleLoading_Policy) String() stringfunc (LinuxNodeConfig_NodeKernelModuleLoading_Policy) Type
LinuxNodeConfig_TransparentHugepageDefrag
type LinuxNodeConfig_TransparentHugepageDefrag int32Possible values for transparent hugepage defrag support.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_NEVER
const (
// Default value. GKE will not modify the kernel configuration.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED LinuxNodeConfig_TransparentHugepageDefrag = 0
// It means that an application requesting THP will stall on allocation
// failure and directly reclaim pages and compact memory in an effort to
// allocate a THP immediately.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS LinuxNodeConfig_TransparentHugepageDefrag = 1
// It means that an application will wake kswapd in the background to
// reclaim pages and wake kcompactd to compact memory so that THP is
// available in the near future. It's the responsibility of khugepaged to
// then install the THP pages later.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER LinuxNodeConfig_TransparentHugepageDefrag = 2
// It means that an application will enter direct reclaim and compaction
// like always, but only for regions that have used madvise(MADV_HUGEPAGE);
// all other regions will wake kswapd in the background to reclaim pages and
// wake kcompactd to compact memory so that THP is available in the near
// future.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE LinuxNodeConfig_TransparentHugepageDefrag = 3
// It means that an application will enter direct reclaim like always but
// only for regions that are have used madvise(MADV_HUGEPAGE). This is the
// default kernel configuration.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE LinuxNodeConfig_TransparentHugepageDefrag = 4
// It means that an application will never enter direct reclaim or
// compaction.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_DEFRAG_NEVER LinuxNodeConfig_TransparentHugepageDefrag = 5
)func (LinuxNodeConfig_TransparentHugepageDefrag) Descriptor
func (LinuxNodeConfig_TransparentHugepageDefrag) Descriptor() protoreflect.EnumDescriptorfunc (LinuxNodeConfig_TransparentHugepageDefrag) Enum
func (x LinuxNodeConfig_TransparentHugepageDefrag) Enum() *LinuxNodeConfig_TransparentHugepageDefragfunc (LinuxNodeConfig_TransparentHugepageDefrag) EnumDescriptor
func (LinuxNodeConfig_TransparentHugepageDefrag) EnumDescriptor() ([]byte, []int)Deprecated: Use LinuxNodeConfig_TransparentHugepageDefrag.Descriptor instead.
func (LinuxNodeConfig_TransparentHugepageDefrag) Number
func (x LinuxNodeConfig_TransparentHugepageDefrag) Number() protoreflect.EnumNumberfunc (LinuxNodeConfig_TransparentHugepageDefrag) String
func (x LinuxNodeConfig_TransparentHugepageDefrag) String() stringfunc (LinuxNodeConfig_TransparentHugepageDefrag) Type
func (LinuxNodeConfig_TransparentHugepageDefrag) Type() protoreflect.EnumTypeLinuxNodeConfig_TransparentHugepageEnabled
type LinuxNodeConfig_TransparentHugepageEnabled int32Possible values for transparent hugepage enabled support.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_MADVISE, LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_NEVER
const (
// Default value. GKE will not modify the kernel configuration.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED LinuxNodeConfig_TransparentHugepageEnabled = 0
// Transparent hugepage support for anonymous memory is enabled system wide.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS LinuxNodeConfig_TransparentHugepageEnabled = 1
// Transparent hugepage support for anonymous memory is enabled inside
// MADV_HUGEPAGE regions. This is the default kernel configuration.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_MADVISE LinuxNodeConfig_TransparentHugepageEnabled = 2
// Transparent hugepage support for anonymous memory is disabled.
LinuxNodeConfig_TRANSPARENT_HUGEPAGE_ENABLED_NEVER LinuxNodeConfig_TransparentHugepageEnabled = 3
)func (LinuxNodeConfig_TransparentHugepageEnabled) Descriptor
func (LinuxNodeConfig_TransparentHugepageEnabled) Descriptor() protoreflect.EnumDescriptorfunc (LinuxNodeConfig_TransparentHugepageEnabled) Enum
func (x LinuxNodeConfig_TransparentHugepageEnabled) Enum() *LinuxNodeConfig_TransparentHugepageEnabledfunc (LinuxNodeConfig_TransparentHugepageEnabled) EnumDescriptor
func (LinuxNodeConfig_TransparentHugepageEnabled) EnumDescriptor() ([]byte, []int)Deprecated: Use LinuxNodeConfig_TransparentHugepageEnabled.Descriptor instead.
func (LinuxNodeConfig_TransparentHugepageEnabled) Number
func (x LinuxNodeConfig_TransparentHugepageEnabled) Number() protoreflect.EnumNumberfunc (LinuxNodeConfig_TransparentHugepageEnabled) String
func (x LinuxNodeConfig_TransparentHugepageEnabled) String() stringfunc (LinuxNodeConfig_TransparentHugepageEnabled) Type
func (LinuxNodeConfig_TransparentHugepageEnabled) Type() protoreflect.EnumTypeListClustersRequest
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() stringfunc (*ListClustersRequest) GetProjectId
func (x *ListClustersRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListClustersRequest) GetZone
func (x *ListClustersRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListClustersRequest) ProtoMessage
func (*ListClustersRequest) ProtoMessage()func (*ListClustersRequest) ProtoReflect
func (x *ListClustersRequest) ProtoReflect() protoreflect.Messagefunc (*ListClustersRequest) Reset
func (x *ListClustersRequest) Reset()func (*ListClustersRequest) String
func (x *ListClustersRequest) String() stringListClustersResponse
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() []*Clusterfunc (*ListClustersResponse) GetMissingZones
func (x *ListClustersResponse) GetMissingZones() []stringfunc (*ListClustersResponse) ProtoMessage
func (*ListClustersResponse) ProtoMessage()func (*ListClustersResponse) ProtoReflect
func (x *ListClustersResponse) ProtoReflect() protoreflect.Messagefunc (*ListClustersResponse) Reset
func (x *ListClustersResponse) Reset()func (*ListClustersResponse) String
func (x *ListClustersResponse) String() stringListNodePoolsRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) GetParent
func (x *ListNodePoolsRequest) GetParent() stringfunc (*ListNodePoolsRequest) GetProjectId
func (x *ListNodePoolsRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) GetZone
func (x *ListNodePoolsRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListNodePoolsRequest) ProtoMessage
func (*ListNodePoolsRequest) ProtoMessage()func (*ListNodePoolsRequest) ProtoReflect
func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Messagefunc (*ListNodePoolsRequest) Reset
func (x *ListNodePoolsRequest) Reset()func (*ListNodePoolsRequest) String
func (x *ListNodePoolsRequest) String() stringListNodePoolsResponse
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() []*NodePoolfunc (*ListNodePoolsResponse) ProtoMessage
func (*ListNodePoolsResponse) ProtoMessage()func (*ListNodePoolsResponse) ProtoReflect
func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Messagefunc (*ListNodePoolsResponse) Reset
func (x *ListNodePoolsResponse) Reset()func (*ListNodePoolsResponse) String
func (x *ListNodePoolsResponse) String() stringListOperationsRequest
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() stringfunc (*ListOperationsRequest) GetProjectId
func (x *ListOperationsRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListOperationsRequest) GetZone
func (x *ListOperationsRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*ListOperationsRequest) ProtoMessage
func (*ListOperationsRequest) ProtoMessage()func (*ListOperationsRequest) ProtoReflect
func (x *ListOperationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListOperationsRequest) Reset
func (x *ListOperationsRequest) Reset()func (*ListOperationsRequest) String
func (x *ListOperationsRequest) String() stringListOperationsResponse
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() []stringfunc (*ListOperationsResponse) GetOperations
func (x *ListOperationsResponse) GetOperations() []*Operationfunc (*ListOperationsResponse) ProtoMessage
func (*ListOperationsResponse) ProtoMessage()func (*ListOperationsResponse) ProtoReflect
func (x *ListOperationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListOperationsResponse) Reset
func (x *ListOperationsResponse) Reset()func (*ListOperationsResponse) String
func (x *ListOperationsResponse) String() stringListUsableSubnetworksRequest
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() stringfunc (*ListUsableSubnetworksRequest) GetPageSize
func (x *ListUsableSubnetworksRequest) GetPageSize() int32func (*ListUsableSubnetworksRequest) GetPageToken
func (x *ListUsableSubnetworksRequest) GetPageToken() stringfunc (*ListUsableSubnetworksRequest) GetParent
func (x *ListUsableSubnetworksRequest) GetParent() stringfunc (*ListUsableSubnetworksRequest) ProtoMessage
func (*ListUsableSubnetworksRequest) ProtoMessage()func (*ListUsableSubnetworksRequest) ProtoReflect
func (x *ListUsableSubnetworksRequest) ProtoReflect() protoreflect.Messagefunc (*ListUsableSubnetworksRequest) Reset
func (x *ListUsableSubnetworksRequest) Reset()func (*ListUsableSubnetworksRequest) String
func (x *ListUsableSubnetworksRequest) String() stringListUsableSubnetworksResponse
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() stringfunc (*ListUsableSubnetworksResponse) GetSubnetworks
func (x *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetworkfunc (*ListUsableSubnetworksResponse) ProtoMessage
func (*ListUsableSubnetworksResponse) ProtoMessage()func (*ListUsableSubnetworksResponse) ProtoReflect
func (x *ListUsableSubnetworksResponse) ProtoReflect() protoreflect.Messagefunc (*ListUsableSubnetworksResponse) Reset
func (x *ListUsableSubnetworksResponse) Reset()func (*ListUsableSubnetworksResponse) String
func (x *ListUsableSubnetworksResponse) String() stringLocalNvmeSsdBlockConfig
type LocalNvmeSsdBlockConfig struct {
// Number of local NVMe SSDs to use. The limit for this value is dependent
// upon the maximum number of disk available on a machine per zone. See:
// https://cloud.google.com/compute/docs/disks/local-ssd
// for more information.
//
// A zero (or unset) value has different meanings depending on machine type
// being used:
// 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
// zero (or unset) means to disable using local SSDs as ephemeral storage.
// 2. For Gen3 machines which dictate a specific number of local ssds, zero
// (or unset) means to use the default number of local ssds that goes with
// that machine type. For example, for a c3-standard-8-lssd machine, 2 local
// ssds would be provisioned. For c3-standard-8 (which doesn't support local
// ssds), 0 will be provisioned. See
// https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
// for more info.
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 SSDs
func (*LocalNvmeSsdBlockConfig) Descriptor
func (*LocalNvmeSsdBlockConfig) Descriptor() ([]byte, []int)Deprecated: Use LocalNvmeSsdBlockConfig.ProtoReflect.Descriptor instead.
func (*LocalNvmeSsdBlockConfig) GetLocalSsdCount
func (x *LocalNvmeSsdBlockConfig) GetLocalSsdCount() int32func (*LocalNvmeSsdBlockConfig) ProtoMessage
func (*LocalNvmeSsdBlockConfig) ProtoMessage()func (*LocalNvmeSsdBlockConfig) ProtoReflect
func (x *LocalNvmeSsdBlockConfig) ProtoReflect() protoreflect.Messagefunc (*LocalNvmeSsdBlockConfig) Reset
func (x *LocalNvmeSsdBlockConfig) Reset()func (*LocalNvmeSsdBlockConfig) String
func (x *LocalNvmeSsdBlockConfig) String() stringLoggingComponentConfig
type LoggingComponentConfig struct {
// Select components to collect logs. An empty set would disable all logging.
EnableComponents []LoggingComponentConfig_Component `protobuf:"varint,1,rep,packed,name=enable_components,json=enableComponents,proto3,enum=google.container.v1.LoggingComponentConfig_Component" json:"enable_components,omitempty"`
// contains filtered or unexported fields
}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_Componentfunc (*LoggingComponentConfig) ProtoMessage
func (*LoggingComponentConfig) ProtoMessage()func (*LoggingComponentConfig) ProtoReflect
func (x *LoggingComponentConfig) ProtoReflect() protoreflect.Messagefunc (*LoggingComponentConfig) Reset
func (x *LoggingComponentConfig) Reset()func (*LoggingComponentConfig) String
func (x *LoggingComponentConfig) String() stringLoggingComponentConfig_Component
type LoggingComponentConfig_Component int32GKE components exposing logs
LoggingComponentConfig_COMPONENT_UNSPECIFIED, LoggingComponentConfig_SYSTEM_COMPONENTS, LoggingComponentConfig_WORKLOADS, LoggingComponentConfig_APISERVER, LoggingComponentConfig_SCHEDULER, LoggingComponentConfig_CONTROLLER_MANAGER, LoggingComponentConfig_KCP_SSHD, LoggingComponentConfig_KCP_CONNECTION, LoggingComponentConfig_KCP_HPA
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
// kcp-sshd
LoggingComponentConfig_KCP_SSHD LoggingComponentConfig_Component = 7
// kcp connection logs
LoggingComponentConfig_KCP_CONNECTION LoggingComponentConfig_Component = 8
// horizontal pod autoscaler decision logs
LoggingComponentConfig_KCP_HPA LoggingComponentConfig_Component = 9
)func (LoggingComponentConfig_Component) Descriptor
func (LoggingComponentConfig_Component) Descriptor() protoreflect.EnumDescriptorfunc (LoggingComponentConfig_Component) Enum
func (x LoggingComponentConfig_Component) Enum() *LoggingComponentConfig_Componentfunc (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.EnumNumberfunc (LoggingComponentConfig_Component) String
func (x LoggingComponentConfig_Component) String() stringfunc (LoggingComponentConfig_Component) Type
func (LoggingComponentConfig_Component) Type() protoreflect.EnumTypeLoggingConfig
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() *LoggingComponentConfigfunc (*LoggingConfig) ProtoMessage
func (*LoggingConfig) ProtoMessage()func (*LoggingConfig) ProtoReflect
func (x *LoggingConfig) ProtoReflect() protoreflect.Messagefunc (*LoggingConfig) Reset
func (x *LoggingConfig) Reset()func (*LoggingConfig) String
func (x *LoggingConfig) String() stringLoggingVariantConfig
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_Variantfunc (*LoggingVariantConfig) ProtoMessage
func (*LoggingVariantConfig) ProtoMessage()func (*LoggingVariantConfig) ProtoReflect
func (x *LoggingVariantConfig) ProtoReflect() protoreflect.Messagefunc (*LoggingVariantConfig) Reset
func (x *LoggingVariantConfig) Reset()func (*LoggingVariantConfig) String
func (x *LoggingVariantConfig) String() stringLoggingVariantConfig_Variant
type LoggingVariantConfig_Variant int32Logging 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.EnumDescriptorfunc (LoggingVariantConfig_Variant) Enum
func (x LoggingVariantConfig_Variant) Enum() *LoggingVariantConfig_Variantfunc (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.EnumNumberfunc (LoggingVariantConfig_Variant) String
func (x LoggingVariantConfig_Variant) String() stringfunc (LoggingVariantConfig_Variant) Type
func (LoggingVariantConfig_Variant) Type() protoreflect.EnumTypeLustreCsiDriverConfig
type LustreCsiDriverConfig struct {
// Whether the Lustre CSI driver is enabled for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// If set to true, the Lustre CSI driver will install Lustre kernel modules
// using port 6988.
// This serves as a workaround for a port conflict with the
// gke-metadata-server. This field is required ONLY under the following
// conditions:
// 1. The GKE node version is older than 1.33.2-gke.4655000.
// 2. You're connecting to a Lustre instance that has the
// 'gke-support-enabled' flag.
// Deprecated: This flag is no longer required as of GKE node version
// 1.33.2-gke.4655000, unless you are connecting to a Lustre instance
// that has the `gke-support-enabled` flag.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnableLegacyLustrePort bool `protobuf:"varint,3,opt,name=enable_legacy_lustre_port,json=enableLegacyLustrePort,proto3" json:"enable_legacy_lustre_port,omitempty"`
// contains filtered or unexported fields
}Configuration for the Lustre CSI driver.
func (*LustreCsiDriverConfig) Descriptor
func (*LustreCsiDriverConfig) Descriptor() ([]byte, []int)Deprecated: Use LustreCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*LustreCsiDriverConfig) GetEnableLegacyLustrePort
func (x *LustreCsiDriverConfig) GetEnableLegacyLustrePort() boolDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*LustreCsiDriverConfig) GetEnabled
func (x *LustreCsiDriverConfig) GetEnabled() boolfunc (*LustreCsiDriverConfig) ProtoMessage
func (*LustreCsiDriverConfig) ProtoMessage()func (*LustreCsiDriverConfig) ProtoReflect
func (x *LustreCsiDriverConfig) ProtoReflect() protoreflect.Messagefunc (*LustreCsiDriverConfig) Reset
func (x *LustreCsiDriverConfig) Reset()func (*LustreCsiDriverConfig) String
func (x *LustreCsiDriverConfig) String() stringMaintenanceExclusionOptions
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"`
// EndTimeBehavior specifies the behavior of the exclusion end time.
EndTimeBehavior MaintenanceExclusionOptions_EndTimeBehavior `protobuf:"varint,2,opt,name=end_time_behavior,json=endTimeBehavior,proto3,enum=google.container.v1.MaintenanceExclusionOptions_EndTimeBehavior" json:"end_time_behavior,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) GetEndTimeBehavior
func (x *MaintenanceExclusionOptions) GetEndTimeBehavior() MaintenanceExclusionOptions_EndTimeBehaviorfunc (*MaintenanceExclusionOptions) GetScope
func (x *MaintenanceExclusionOptions) GetScope() MaintenanceExclusionOptions_Scopefunc (*MaintenanceExclusionOptions) ProtoMessage
func (*MaintenanceExclusionOptions) ProtoMessage()func (*MaintenanceExclusionOptions) ProtoReflect
func (x *MaintenanceExclusionOptions) ProtoReflect() protoreflect.Messagefunc (*MaintenanceExclusionOptions) Reset
func (x *MaintenanceExclusionOptions) Reset()func (*MaintenanceExclusionOptions) String
func (x *MaintenanceExclusionOptions) String() stringMaintenanceExclusionOptions_EndTimeBehavior
type MaintenanceExclusionOptions_EndTimeBehavior int32EndTimeBehavior specifies the behavior of the exclusion end time.
MaintenanceExclusionOptions_END_TIME_BEHAVIOR_UNSPECIFIED, MaintenanceExclusionOptions_UNTIL_END_OF_SUPPORT
const (
// END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed
// end time.
MaintenanceExclusionOptions_END_TIME_BEHAVIOR_UNSPECIFIED MaintenanceExclusionOptions_EndTimeBehavior = 0
// UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end
// of the support of the cluster's current version.
MaintenanceExclusionOptions_UNTIL_END_OF_SUPPORT MaintenanceExclusionOptions_EndTimeBehavior = 1
)func (MaintenanceExclusionOptions_EndTimeBehavior) Descriptor
func (MaintenanceExclusionOptions_EndTimeBehavior) Descriptor() protoreflect.EnumDescriptorfunc (MaintenanceExclusionOptions_EndTimeBehavior) Enum
func (x MaintenanceExclusionOptions_EndTimeBehavior) Enum() *MaintenanceExclusionOptions_EndTimeBehaviorfunc (MaintenanceExclusionOptions_EndTimeBehavior) EnumDescriptor
func (MaintenanceExclusionOptions_EndTimeBehavior) EnumDescriptor() ([]byte, []int)Deprecated: Use MaintenanceExclusionOptions_EndTimeBehavior.Descriptor instead.
func (MaintenanceExclusionOptions_EndTimeBehavior) Number
func (x MaintenanceExclusionOptions_EndTimeBehavior) Number() protoreflect.EnumNumberfunc (MaintenanceExclusionOptions_EndTimeBehavior) String
func (x MaintenanceExclusionOptions_EndTimeBehavior) String() stringfunc (MaintenanceExclusionOptions_EndTimeBehavior) Type
func (MaintenanceExclusionOptions_EndTimeBehavior) Type() protoreflect.EnumTypeMaintenanceExclusionOptions_Scope
type MaintenanceExclusionOptions_Scope int32Scope 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.EnumDescriptorfunc (MaintenanceExclusionOptions_Scope) Enum
func (x MaintenanceExclusionOptions_Scope) Enum() *MaintenanceExclusionOptions_Scopefunc (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.EnumNumberfunc (MaintenanceExclusionOptions_Scope) String
func (x MaintenanceExclusionOptions_Scope) String() stringfunc (MaintenanceExclusionOptions_Scope) Type
func (MaintenanceExclusionOptions_Scope) Type() protoreflect.EnumTypeMaintenancePolicy
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() stringfunc (*MaintenancePolicy) GetWindow
func (x *MaintenancePolicy) GetWindow() *MaintenanceWindowfunc (*MaintenancePolicy) ProtoMessage
func (*MaintenancePolicy) ProtoMessage()func (*MaintenancePolicy) ProtoReflect
func (x *MaintenancePolicy) ProtoReflect() protoreflect.Messagefunc (*MaintenancePolicy) Reset
func (x *MaintenancePolicy) Reset()func (*MaintenancePolicy) String
func (x *MaintenancePolicy) String() stringMaintenanceWindow
type MaintenanceWindow struct {
// Types that are assignable to Policy:
//
// *MaintenanceWindow_DailyMaintenanceWindow
// *MaintenanceWindow_RecurringWindow
Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
// Exceptions to maintenance window. Non-emergency maintenance should not
// occur in these windows.
MaintenanceExclusions map[string]*TimeWindow `protobuf:"bytes,4,rep,name=maintenance_exclusions,json=maintenanceExclusions,proto3" json:"maintenance_exclusions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}MaintenanceWindow defines the maintenance window to be used for the cluster.
func (*MaintenanceWindow) Descriptor
func (*MaintenanceWindow) Descriptor() ([]byte, []int)Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetDailyMaintenanceWindow
func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindowfunc (*MaintenanceWindow) GetMaintenanceExclusions
func (x *MaintenanceWindow) GetMaintenanceExclusions() map[string]*TimeWindowfunc (*MaintenanceWindow) GetPolicy
func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policyfunc (*MaintenanceWindow) GetRecurringWindow
func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindowfunc (*MaintenanceWindow) ProtoMessage
func (*MaintenanceWindow) ProtoMessage()func (*MaintenanceWindow) ProtoReflect
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Messagefunc (*MaintenanceWindow) Reset
func (x *MaintenanceWindow) Reset()func (*MaintenanceWindow) String
func (x *MaintenanceWindow) String() stringMaintenanceWindow_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"`
// GKE Workload Auto-Monitoring Configuration.
AutoMonitoringConfig *AutoMonitoringConfig `protobuf:"bytes,2,opt,name=auto_monitoring_config,json=autoMonitoringConfig,proto3" json:"auto_monitoring_config,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) GetAutoMonitoringConfig
func (x *ManagedPrometheusConfig) GetAutoMonitoringConfig() *AutoMonitoringConfigfunc (*ManagedPrometheusConfig) GetEnabled
func (x *ManagedPrometheusConfig) GetEnabled() boolfunc (*ManagedPrometheusConfig) ProtoMessage
func (*ManagedPrometheusConfig) ProtoMessage()func (*ManagedPrometheusConfig) ProtoReflect
func (x *ManagedPrometheusConfig) ProtoReflect() protoreflect.Messagefunc (*ManagedPrometheusConfig) Reset
func (x *ManagedPrometheusConfig) Reset()func (*ManagedPrometheusConfig) String
func (x *ManagedPrometheusConfig) String() stringMasterAuth
type MasterAuth struct {
// The username to use for HTTP basic authentication to the master endpoint.
// For clusters v1.6.0 and later, basic authentication can be disabled by
// leaving username unspecified (or setting it to the empty string).
//
// Warning: basic authentication is deprecated, and will be removed in GKE
// control plane versions 1.19 and newer. For a list of recommended
// authentication methods, see:
// https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
// The password to use for HTTP basic authentication to the master endpoint.
// Because the master endpoint is open to the Internet, you should create a
// strong password. If a password is provided for cluster creation, username
// must be non-empty.
//
// Warning: basic authentication is deprecated, and will be removed in GKE
// control plane versions 1.19 and newer. For a list of recommended
// authentication methods, see:
// https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// Configuration for client certificate authentication on the cluster. For
// clusters before v1.12, if no configuration is specified, a client
// certificate is issued.
ClientCertificateConfig *ClientCertificateConfig `protobuf:"bytes,3,opt,name=client_certificate_config,json=clientCertificateConfig,proto3" json:"client_certificate_config,omitempty"`
// Output only. Base64-encoded public certificate that is the root of
// trust for the cluster.
ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
// Output only. Base64-encoded public certificate used by clients to
// authenticate to the cluster endpoint. Issued only if
// client_certificate_config is set.
ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
// Output only. Base64-encoded private key used by clients to authenticate
// to the cluster endpoint.
ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
// contains filtered or unexported fields
}The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
func (*MasterAuth) Descriptor
func (*MasterAuth) Descriptor() ([]byte, []int)Deprecated: Use MasterAuth.ProtoReflect.Descriptor instead.
func (*MasterAuth) GetClientCertificate
func (x *MasterAuth) GetClientCertificate() stringfunc (*MasterAuth) GetClientCertificateConfig
func (x *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfigfunc (*MasterAuth) GetClientKey
func (x *MasterAuth) GetClientKey() stringfunc (*MasterAuth) GetClusterCaCertificate
func (x *MasterAuth) GetClusterCaCertificate() stringfunc (*MasterAuth) GetPassword
func (x *MasterAuth) GetPassword() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*MasterAuth) GetUsername
func (x *MasterAuth) GetUsername() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*MasterAuth) ProtoMessage
func (*MasterAuth) ProtoMessage()func (*MasterAuth) ProtoReflect
func (x *MasterAuth) ProtoReflect() protoreflect.Messagefunc (*MasterAuth) Reset
func (x *MasterAuth) Reset()func (*MasterAuth) String
func (x *MasterAuth) String() stringMasterAuthorizedNetworksConfig
type MasterAuthorizedNetworksConfig struct {
// Whether or not master authorized networks is enabled.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// cidr_blocks define up to 50 external networks that could access
// Kubernetes master through HTTPS.
CidrBlocks []*MasterAuthorizedNetworksConfig_CidrBlock `protobuf:"bytes,2,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"`
// Whether master is accessible via Google Compute Engine Public IP addresses.
GcpPublicCidrsAccessEnabled *bool `protobuf:"varint,3,opt,name=gcp_public_cidrs_access_enabled,json=gcpPublicCidrsAccessEnabled,proto3,oneof" json:"gcp_public_cidrs_access_enabled,omitempty"`
// Whether master authorized networks is enforced on private endpoint or not.
PrivateEndpointEnforcementEnabled *bool `protobuf:"varint,5,opt,name=private_endpoint_enforcement_enabled,json=privateEndpointEnforcementEnabled,proto3,oneof" json:"private_endpoint_enforcement_enabled,omitempty"`
// contains filtered or unexported fields
}Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.
func (*MasterAuthorizedNetworksConfig) Descriptor
func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int)Deprecated: Use MasterAuthorizedNetworksConfig.ProtoReflect.Descriptor instead.
func (*MasterAuthorizedNetworksConfig) GetCidrBlocks
func (x *MasterAuthorizedNetworksConfig) GetCidrBlocks() []*MasterAuthorizedNetworksConfig_CidrBlockfunc (*MasterAuthorizedNetworksConfig) GetEnabled
func (x *MasterAuthorizedNetworksConfig) GetEnabled() boolfunc (*MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled
func (x *MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled() boolfunc (*MasterAuthorizedNetworksConfig) GetPrivateEndpointEnforcementEnabled
func (x *MasterAuthorizedNetworksConfig) GetPrivateEndpointEnforcementEnabled() boolfunc (*MasterAuthorizedNetworksConfig) ProtoMessage
func (*MasterAuthorizedNetworksConfig) ProtoMessage()func (*MasterAuthorizedNetworksConfig) ProtoReflect
func (x *MasterAuthorizedNetworksConfig) ProtoReflect() protoreflect.Messagefunc (*MasterAuthorizedNetworksConfig) Reset
func (x *MasterAuthorizedNetworksConfig) Reset()func (*MasterAuthorizedNetworksConfig) String
func (x *MasterAuthorizedNetworksConfig) String() stringMasterAuthorizedNetworksConfig_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() stringfunc (*MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName
func (x *MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName() stringfunc (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage
func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage()func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect
func (x *MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect() protoreflect.Messagefunc (*MasterAuthorizedNetworksConfig_CidrBlock) Reset
func (x *MasterAuthorizedNetworksConfig_CidrBlock) Reset()func (*MasterAuthorizedNetworksConfig_CidrBlock) String
func (x *MasterAuthorizedNetworksConfig_CidrBlock) String() stringMaxPodsConstraint
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() int64func (*MaxPodsConstraint) ProtoMessage
func (*MaxPodsConstraint) ProtoMessage()func (*MaxPodsConstraint) ProtoReflect
func (x *MaxPodsConstraint) ProtoReflect() protoreflect.Messagefunc (*MaxPodsConstraint) Reset
func (x *MaxPodsConstraint) Reset()func (*MaxPodsConstraint) String
func (x *MaxPodsConstraint) String() stringMemoryManager
type MemoryManager struct {
// Controls the memory management policy on the Node.
// See
// https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies
//
// The following values are allowed.
// * "none"
// * "static"
// The default value is 'none' if unspecified.
Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found here.
func (*MemoryManager) Descriptor
func (*MemoryManager) Descriptor() ([]byte, []int)Deprecated: Use MemoryManager.ProtoReflect.Descriptor instead.
func (*MemoryManager) GetPolicy
func (x *MemoryManager) GetPolicy() stringfunc (*MemoryManager) ProtoMessage
func (*MemoryManager) ProtoMessage()func (*MemoryManager) ProtoReflect
func (x *MemoryManager) ProtoReflect() protoreflect.Messagefunc (*MemoryManager) Reset
func (x *MemoryManager) Reset()func (*MemoryManager) String
func (x *MemoryManager) String() stringMeshCertificates
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.BoolValuefunc (*MeshCertificates) ProtoMessage
func (*MeshCertificates) ProtoMessage()func (*MeshCertificates) ProtoReflect
func (x *MeshCertificates) ProtoReflect() protoreflect.Messagefunc (*MeshCertificates) Reset
func (x *MeshCertificates) Reset()func (*MeshCertificates) String
func (x *MeshCertificates) String() stringMonitoringComponentConfig
type MonitoringComponentConfig struct {
// Select components to collect metrics. An empty set would disable all
// monitoring.
EnableComponents []MonitoringComponentConfig_Component `protobuf:"varint,1,rep,packed,name=enable_components,json=enableComponents,proto3,enum=google.container.v1.MonitoringComponentConfig_Component" json:"enable_components,omitempty"`
// contains filtered or unexported fields
}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_Componentfunc (*MonitoringComponentConfig) ProtoMessage
func (*MonitoringComponentConfig) ProtoMessage()func (*MonitoringComponentConfig) ProtoReflect
func (x *MonitoringComponentConfig) ProtoReflect() protoreflect.Messagefunc (*MonitoringComponentConfig) Reset
func (x *MonitoringComponentConfig) Reset()func (*MonitoringComponentConfig) String
func (x *MonitoringComponentConfig) String() stringMonitoringComponentConfig_Component
type MonitoringComponentConfig_Component int32GKE components exposing metrics
MonitoringComponentConfig_COMPONENT_UNSPECIFIED, MonitoringComponentConfig_SYSTEM_COMPONENTS, MonitoringComponentConfig_APISERVER, MonitoringComponentConfig_SCHEDULER, MonitoringComponentConfig_CONTROLLER_MANAGER, MonitoringComponentConfig_STORAGE, MonitoringComponentConfig_HPA, MonitoringComponentConfig_POD, MonitoringComponentConfig_DAEMONSET, MonitoringComponentConfig_DEPLOYMENT, MonitoringComponentConfig_STATEFULSET, MonitoringComponentConfig_CADVISOR, MonitoringComponentConfig_KUBELET, MonitoringComponentConfig_DCGM, MonitoringComponentConfig_JOBSET
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
// Storage
MonitoringComponentConfig_STORAGE MonitoringComponentConfig_Component = 7
// Horizontal Pod Autoscaling
MonitoringComponentConfig_HPA MonitoringComponentConfig_Component = 8
// Pod
MonitoringComponentConfig_POD MonitoringComponentConfig_Component = 9
// DaemonSet
MonitoringComponentConfig_DAEMONSET MonitoringComponentConfig_Component = 10
// Deployment
MonitoringComponentConfig_DEPLOYMENT MonitoringComponentConfig_Component = 11
// Statefulset
MonitoringComponentConfig_STATEFULSET MonitoringComponentConfig_Component = 12
// CADVISOR
MonitoringComponentConfig_CADVISOR MonitoringComponentConfig_Component = 13
// KUBELET
MonitoringComponentConfig_KUBELET MonitoringComponentConfig_Component = 14
// NVIDIA Data Center GPU Manager (DCGM)
MonitoringComponentConfig_DCGM MonitoringComponentConfig_Component = 15
// JobSet
MonitoringComponentConfig_JOBSET MonitoringComponentConfig_Component = 16
)func (MonitoringComponentConfig_Component) Descriptor
func (MonitoringComponentConfig_Component) Descriptor() protoreflect.EnumDescriptorfunc (MonitoringComponentConfig_Component) Enum
func (x MonitoringComponentConfig_Component) Enum() *MonitoringComponentConfig_Componentfunc (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.EnumNumberfunc (MonitoringComponentConfig_Component) String
func (x MonitoringComponentConfig_Component) String() stringfunc (MonitoringComponentConfig_Component) Type
func (MonitoringComponentConfig_Component) Type() protoreflect.EnumTypeMonitoringConfig
type MonitoringConfig struct {
// Monitoring components configuration
ComponentConfig *MonitoringComponentConfig `protobuf:"bytes,1,opt,name=component_config,json=componentConfig,proto3" json:"component_config,omitempty"`
// Enable Google Cloud Managed Service for Prometheus
// in the cluster.
ManagedPrometheusConfig *ManagedPrometheusConfig `protobuf:"bytes,2,opt,name=managed_prometheus_config,json=managedPrometheusConfig,proto3" json:"managed_prometheus_config,omitempty"`
// Configuration of Advanced Datapath Observability features.
AdvancedDatapathObservabilityConfig *AdvancedDatapathObservabilityConfig `protobuf:"bytes,3,opt,name=advanced_datapath_observability_config,json=advancedDatapathObservabilityConfig,proto3" json:"advanced_datapath_observability_config,omitempty"`
// contains filtered or unexported fields
}MonitoringConfig is cluster monitoring configuration.
func (*MonitoringConfig) Descriptor
func (*MonitoringConfig) Descriptor() ([]byte, []int)Deprecated: Use MonitoringConfig.ProtoReflect.Descriptor instead.
func (*MonitoringConfig) GetAdvancedDatapathObservabilityConfig
func (x *MonitoringConfig) GetAdvancedDatapathObservabilityConfig() *AdvancedDatapathObservabilityConfigfunc (*MonitoringConfig) GetComponentConfig
func (x *MonitoringConfig) GetComponentConfig() *MonitoringComponentConfigfunc (*MonitoringConfig) GetManagedPrometheusConfig
func (x *MonitoringConfig) GetManagedPrometheusConfig() *ManagedPrometheusConfigfunc (*MonitoringConfig) ProtoMessage
func (*MonitoringConfig) ProtoMessage()func (*MonitoringConfig) ProtoReflect
func (x *MonitoringConfig) ProtoReflect() protoreflect.Messagefunc (*MonitoringConfig) Reset
func (x *MonitoringConfig) Reset()func (*MonitoringConfig) String
func (x *MonitoringConfig) String() stringNetworkConfig
type NetworkConfig struct {
// Output only. The relative name of the Google Compute Engine
// [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
// to which the cluster is connected. Example:
// projects/my-project/global/networks/my-network
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
// Output only. The relative name of the Google Compute Engine
// [subnetwork](https://cloud.google.com/compute/docs/vpc)
// to which the cluster is connected. Example:
// projects/my-project/regions/us-central1/subnetworks/my-subnet
Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Whether Intra-node visibility is enabled for this cluster.
// This makes same node pod to pod traffic visible for VPC network.
EnableIntraNodeVisibility bool `protobuf:"varint,5,opt,name=enable_intra_node_visibility,json=enableIntraNodeVisibility,proto3" json:"enable_intra_node_visibility,omitempty"`
// Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
// will be disabled when default_snat_status is disabled. When disabled is set
// to false, default IP masquerade rules will be applied to the nodes to
// prevent sNAT on cluster internal traffic.
DefaultSnatStatus *DefaultSnatStatus `protobuf:"bytes,7,opt,name=default_snat_status,json=defaultSnatStatus,proto3" json:"default_snat_status,omitempty"`
// Whether L4ILB Subsetting is enabled for this cluster.
EnableL4IlbSubsetting bool `protobuf:"varint,10,opt,name=enable_l4ilb_subsetting,json=enableL4ilbSubsetting,proto3" json:"enable_l4ilb_subsetting,omitempty"`
// The desired datapath provider for this cluster. By default, uses the
// IPTables-based kube-proxy implementation.
DatapathProvider DatapathProvider `protobuf:"varint,11,opt,name=datapath_provider,json=datapathProvider,proto3,enum=google.container.v1.DatapathProvider" json:"datapath_provider,omitempty"`
// The desired state of IPv6 connectivity to Google Services.
// By default, no private IPv6 access to or from Google Services (all access
// will be via IPv4)
PrivateIpv6GoogleAccess PrivateIPv6GoogleAccess `protobuf:"varint,12,opt,name=private_ipv6_google_access,json=privateIpv6GoogleAccess,proto3,enum=google.container.v1.PrivateIPv6GoogleAccess" json:"private_ipv6_google_access,omitempty"`
// DNSConfig contains clusterDNS config for this cluster.
DnsConfig *DNSConfig `protobuf:"bytes,13,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"`
// ServiceExternalIPsConfig specifies if services with externalIPs field are
// blocked or not.
ServiceExternalIpsConfig *ServiceExternalIPsConfig `protobuf:"bytes,15,opt,name=service_external_ips_config,json=serviceExternalIpsConfig,proto3" json:"service_external_ips_config,omitempty"`
// GatewayAPIConfig contains the desired config of Gateway API on this
// cluster.
GatewayApiConfig *GatewayAPIConfig `protobuf:"bytes,16,opt,name=gateway_api_config,json=gatewayApiConfig,proto3" json:"gateway_api_config,omitempty"`
// Whether multi-networking is enabled for this cluster.
EnableMultiNetworking bool `protobuf:"varint,17,opt,name=enable_multi_networking,json=enableMultiNetworking,proto3" json:"enable_multi_networking,omitempty"`
// Network bandwidth tier configuration.
NetworkPerformanceConfig *NetworkConfig_ClusterNetworkPerformanceConfig `protobuf:"bytes,18,opt,name=network_performance_config,json=networkPerformanceConfig,proto3" json:"network_performance_config,omitempty"`
// Whether FQDN Network Policy is enabled on this cluster.
EnableFqdnNetworkPolicy *bool `protobuf:"varint,19,opt,name=enable_fqdn_network_policy,json=enableFqdnNetworkPolicy,proto3,oneof" json:"enable_fqdn_network_policy,omitempty"`
// Specify the details of in-transit encryption.
// Now named inter-node transparent encryption.
InTransitEncryptionConfig *InTransitEncryptionConfig `protobuf:"varint,20,opt,name=in_transit_encryption_config,json=inTransitEncryptionConfig,proto3,enum=google.container.v1.InTransitEncryptionConfig,oneof" json:"in_transit_encryption_config,omitempty"`
// Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
EnableCiliumClusterwideNetworkPolicy *bool `protobuf:"varint,21,opt,name=enable_cilium_clusterwide_network_policy,json=enableCiliumClusterwideNetworkPolicy,proto3,oneof" json:"enable_cilium_clusterwide_network_policy,omitempty"`
// Controls whether by default nodes have private IP addresses only.
// It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][]
// and this field at the same time.
// To update the default setting, use
// [ClusterUpdate.desired_default_enable_private_nodes][google.container.v1.ClusterUpdate.desired_default_enable_private_nodes]
DefaultEnablePrivateNodes *bool `protobuf:"varint,22,opt,name=default_enable_private_nodes,json=defaultEnablePrivateNodes,proto3,oneof" json:"default_enable_private_nodes,omitempty"`
// Disable L4 load balancer VPC firewalls to enable firewall policies.
DisableL4LbFirewallReconciliation *bool `protobuf:"varint,24,opt,name=disable_l4_lb_firewall_reconciliation,json=disableL4LbFirewallReconciliation,proto3,oneof" json:"disable_l4_lb_firewall_reconciliation,omitempty"`
// contains filtered or unexported fields
}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() DatapathProviderfunc (*NetworkConfig) GetDefaultEnablePrivateNodes
func (x *NetworkConfig) GetDefaultEnablePrivateNodes() boolfunc (*NetworkConfig) GetDefaultSnatStatus
func (x *NetworkConfig) GetDefaultSnatStatus() *DefaultSnatStatusfunc (*NetworkConfig) GetDisableL4LbFirewallReconciliation
func (x *NetworkConfig) GetDisableL4LbFirewallReconciliation() boolfunc (*NetworkConfig) GetDnsConfig
func (x *NetworkConfig) GetDnsConfig() *DNSConfigfunc (*NetworkConfig) GetEnableCiliumClusterwideNetworkPolicy
func (x *NetworkConfig) GetEnableCiliumClusterwideNetworkPolicy() boolfunc (*NetworkConfig) GetEnableFqdnNetworkPolicy
func (x *NetworkConfig) GetEnableFqdnNetworkPolicy() boolfunc (*NetworkConfig) GetEnableIntraNodeVisibility
func (x *NetworkConfig) GetEnableIntraNodeVisibility() boolfunc (*NetworkConfig) GetEnableL4IlbSubsetting
func (x *NetworkConfig) GetEnableL4IlbSubsetting() boolfunc (*NetworkConfig) GetEnableMultiNetworking
func (x *NetworkConfig) GetEnableMultiNetworking() boolfunc (*NetworkConfig) GetGatewayApiConfig
func (x *NetworkConfig) GetGatewayApiConfig() *GatewayAPIConfigfunc (*NetworkConfig) GetInTransitEncryptionConfig
func (x *NetworkConfig) GetInTransitEncryptionConfig() InTransitEncryptionConfigfunc (*NetworkConfig) GetNetwork
func (x *NetworkConfig) GetNetwork() stringfunc (*NetworkConfig) GetNetworkPerformanceConfig
func (x *NetworkConfig) GetNetworkPerformanceConfig() *NetworkConfig_ClusterNetworkPerformanceConfigfunc (*NetworkConfig) GetPrivateIpv6GoogleAccess
func (x *NetworkConfig) GetPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccessfunc (*NetworkConfig) GetServiceExternalIpsConfig
func (x *NetworkConfig) GetServiceExternalIpsConfig() *ServiceExternalIPsConfigfunc (*NetworkConfig) GetSubnetwork
func (x *NetworkConfig) GetSubnetwork() stringfunc (*NetworkConfig) ProtoMessage
func (*NetworkConfig) ProtoMessage()func (*NetworkConfig) ProtoReflect
func (x *NetworkConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkConfig) Reset
func (x *NetworkConfig) Reset()func (*NetworkConfig) String
func (x *NetworkConfig) String() stringNetworkConfig_ClusterNetworkPerformanceConfig
type NetworkConfig_ClusterNetworkPerformanceConfig struct {
// Specifies the total network bandwidth tier for NodePools in the cluster.
TotalEgressBandwidthTier *NetworkConfig_ClusterNetworkPerformanceConfig_Tier `protobuf:"varint,1,opt,name=total_egress_bandwidth_tier,json=totalEgressBandwidthTier,proto3,enum=google.container.v1.NetworkConfig_ClusterNetworkPerformanceConfig_Tier,oneof" json:"total_egress_bandwidth_tier,omitempty"`
// contains filtered or unexported fields
}Configuration of network bandwidth tiers
func (*NetworkConfig_ClusterNetworkPerformanceConfig) Descriptor
func (*NetworkConfig_ClusterNetworkPerformanceConfig) Descriptor() ([]byte, []int)Deprecated: Use NetworkConfig_ClusterNetworkPerformanceConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig_ClusterNetworkPerformanceConfig) GetTotalEgressBandwidthTier
func (x *NetworkConfig_ClusterNetworkPerformanceConfig) GetTotalEgressBandwidthTier() NetworkConfig_ClusterNetworkPerformanceConfig_Tierfunc (*NetworkConfig_ClusterNetworkPerformanceConfig) ProtoMessage
func (*NetworkConfig_ClusterNetworkPerformanceConfig) ProtoMessage()func (*NetworkConfig_ClusterNetworkPerformanceConfig) ProtoReflect
func (x *NetworkConfig_ClusterNetworkPerformanceConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkConfig_ClusterNetworkPerformanceConfig) Reset
func (x *NetworkConfig_ClusterNetworkPerformanceConfig) Reset()func (*NetworkConfig_ClusterNetworkPerformanceConfig) String
func (x *NetworkConfig_ClusterNetworkPerformanceConfig) String() stringNetworkConfig_ClusterNetworkPerformanceConfig_Tier
type NetworkConfig_ClusterNetworkPerformanceConfig_Tier int32Node network tier
NetworkConfig_ClusterNetworkPerformanceConfig_TIER_UNSPECIFIED, NetworkConfig_ClusterNetworkPerformanceConfig_TIER_1
const (
// Default value
NetworkConfig_ClusterNetworkPerformanceConfig_TIER_UNSPECIFIED NetworkConfig_ClusterNetworkPerformanceConfig_Tier = 0
// Higher bandwidth, actual values based on VM size.
NetworkConfig_ClusterNetworkPerformanceConfig_TIER_1 NetworkConfig_ClusterNetworkPerformanceConfig_Tier = 1
)func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Descriptor
func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Descriptor() protoreflect.EnumDescriptorfunc (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Enum
func (x NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Enum() *NetworkConfig_ClusterNetworkPerformanceConfig_Tierfunc (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) EnumDescriptor
func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkConfig_ClusterNetworkPerformanceConfig_Tier.Descriptor instead.
func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Number
func (x NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Number() protoreflect.EnumNumberfunc (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) String
func (x NetworkConfig_ClusterNetworkPerformanceConfig_Tier) String() stringfunc (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Type
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() boolfunc (*NetworkPolicy) GetProvider
func (x *NetworkPolicy) GetProvider() NetworkPolicy_Providerfunc (*NetworkPolicy) ProtoMessage
func (*NetworkPolicy) ProtoMessage()func (*NetworkPolicy) ProtoReflect
func (x *NetworkPolicy) ProtoReflect() protoreflect.Messagefunc (*NetworkPolicy) Reset
func (x *NetworkPolicy) Reset()func (*NetworkPolicy) String
func (x *NetworkPolicy) String() stringNetworkPolicyConfig
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() boolfunc (*NetworkPolicyConfig) ProtoMessage
func (*NetworkPolicyConfig) ProtoMessage()func (*NetworkPolicyConfig) ProtoReflect
func (x *NetworkPolicyConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkPolicyConfig) Reset
func (x *NetworkPolicyConfig) Reset()func (*NetworkPolicyConfig) String
func (x *NetworkPolicyConfig) String() stringNetworkPolicy_Provider
type NetworkPolicy_Provider int32Allowed 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.EnumDescriptorfunc (NetworkPolicy_Provider) Enum
func (x NetworkPolicy_Provider) Enum() *NetworkPolicy_Providerfunc (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.EnumNumberfunc (NetworkPolicy_Provider) String
func (x NetworkPolicy_Provider) String() stringfunc (NetworkPolicy_Provider) Type
func (NetworkPolicy_Provider) Type() protoreflect.EnumTypeNetworkTags
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() []stringfunc (*NetworkTags) ProtoMessage
func (*NetworkTags) ProtoMessage()func (*NetworkTags) ProtoReflect
func (x *NetworkTags) ProtoReflect() protoreflect.Messagefunc (*NetworkTags) Reset
func (x *NetworkTags) Reset()func (*NetworkTags) String
func (x *NetworkTags) String() stringNetworkTierConfig
type NetworkTierConfig struct {
// Network tier configuration.
NetworkTier NetworkTierConfig_NetworkTier `protobuf:"varint,1,opt,name=network_tier,json=networkTier,proto3,enum=google.container.v1.NetworkTierConfig_NetworkTier" json:"network_tier,omitempty"`
// contains filtered or unexported fields
}NetworkTierConfig contains network tier information.
func (*NetworkTierConfig) Descriptor
func (*NetworkTierConfig) Descriptor() ([]byte, []int)Deprecated: Use NetworkTierConfig.ProtoReflect.Descriptor instead.
func (*NetworkTierConfig) GetNetworkTier
func (x *NetworkTierConfig) GetNetworkTier() NetworkTierConfig_NetworkTierfunc (*NetworkTierConfig) ProtoMessage
func (*NetworkTierConfig) ProtoMessage()func (*NetworkTierConfig) ProtoReflect
func (x *NetworkTierConfig) ProtoReflect() protoreflect.Messagefunc (*NetworkTierConfig) Reset
func (x *NetworkTierConfig) Reset()func (*NetworkTierConfig) String
func (x *NetworkTierConfig) String() stringNetworkTierConfig_NetworkTier
type NetworkTierConfig_NetworkTier int32Network tier configuration.
NetworkTierConfig_NETWORK_TIER_UNSPECIFIED, NetworkTierConfig_NETWORK_TIER_DEFAULT, NetworkTierConfig_NETWORK_TIER_PREMIUM, NetworkTierConfig_NETWORK_TIER_STANDARD
const (
// By default, use project-level configuration. When unspecified, the
// behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this
// implies no action (no-op).
NetworkTierConfig_NETWORK_TIER_UNSPECIFIED NetworkTierConfig_NetworkTier = 0
// Default network tier. Use project-level configuration. User can specify
// this value, meaning they want to keep the same behaviour as before
// cluster level network tier configuration is introduced. This field
// ensures backward compatibility for the network tier of cluster resources,
// such as node pools and load balancers, for their external IP addresses.
NetworkTierConfig_NETWORK_TIER_DEFAULT NetworkTierConfig_NetworkTier = 1
// Premium network tier.
NetworkTierConfig_NETWORK_TIER_PREMIUM NetworkTierConfig_NetworkTier = 2
// Standard network tier.
NetworkTierConfig_NETWORK_TIER_STANDARD NetworkTierConfig_NetworkTier = 3
)func (NetworkTierConfig_NetworkTier) Descriptor
func (NetworkTierConfig_NetworkTier) Descriptor() protoreflect.EnumDescriptorfunc (NetworkTierConfig_NetworkTier) Enum
func (x NetworkTierConfig_NetworkTier) Enum() *NetworkTierConfig_NetworkTierfunc (NetworkTierConfig_NetworkTier) EnumDescriptor
func (NetworkTierConfig_NetworkTier) EnumDescriptor() ([]byte, []int)Deprecated: Use NetworkTierConfig_NetworkTier.Descriptor instead.
func (NetworkTierConfig_NetworkTier) Number
func (x NetworkTierConfig_NetworkTier) Number() protoreflect.EnumNumberfunc (NetworkTierConfig_NetworkTier) String
func (x NetworkTierConfig_NetworkTier) String() stringfunc (NetworkTierConfig_NetworkTier) Type
func (NetworkTierConfig_NetworkTier) Type() protoreflect.EnumTypeNodeConfig
type NodeConfig struct {
// The name of a Google Compute Engine [machine
// type](https://cloud.google.com/compute/docs/machine-types)
//
// If unspecified, the default machine type is `e2-medium`.
MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Size of the disk attached to each node, specified in GB.
// The smallest allowed disk size is 10GB.
//
// If unspecified, the default disk size is 100GB.
DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
// The set of Google API scopes to be made available on all of the
// node VMs under the "default" service account.
//
// The following scopes are recommended, but not required, and by default are
// not included:
//
// * `https://www.googleapis.com/auth/compute` is required for mounting
// persistent storage on your nodes.
// * `https://www.googleapis.com/auth/devstorage.read_only` is required for
// communicating with **gcr.io**
// (the [Artifact Registry](https://cloud.google.com/artifact-registry/)).
//
// If unspecified, no scopes are added, unless Cloud Logging or Cloud
// Monitoring are enabled, in which case their required scopes will be added.
OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
// The Google Cloud Platform Service Account to be used by the node VMs.
// Specify the email address of the Service Account; otherwise, if no Service
// Account is specified, the "default" service account is used.
ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// The metadata key/value pairs assigned to instances in the cluster.
//
// Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
// in length. These are reflected as part of a URL in the metadata server.
// Additionally, to avoid ambiguity, keys must not conflict with any other
// metadata keys for the project or be one of the reserved keys:
//
// - "cluster-location"
// - "cluster-name"
// - "cluster-uid"
// - "configure-sh"
// - "containerd-configure-sh"
// - "enable-os-login"
// - "gci-ensure-gke-docker"
// - "gci-metrics-enabled"
// - "gci-update-strategy"
// - "instance-template"
// - "kube-env"
// - "startup-script"
// - "user-data"
// - "disable-address-manager"
// - "windows-startup-script-ps1"
// - "common-psm1"
// - "k8s-node-setup-psm1"
// - "install-ssh-psm1"
// - "user-profile-psm1"
//
// Values are free-form strings, and only have meaning as interpreted by
// the image running in the instance. The only restriction placed on them is
// that each value's size must be less than or equal to 32 KB.
//
// The total size of all keys and values must be less than 512 KB.
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The image type to use for this node. Note that for a given image type,
// the latest version of it will be used. Please see
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images
// for available image types.
ImageType string `protobuf:"bytes,5,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
// The map of Kubernetes labels (key/value pairs) to be applied to each node.
// These will added in addition to any default label(s) that
// Kubernetes may apply to the node.
// In case of conflict in label keys, the applied set may differ depending on
// the Kubernetes version -- it's best to assume the behavior is undefined
// and conflicts should be avoided.
// For more information, including usage and the valid values, see:
// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// The number of local SSD disks to be attached to the node.
//
// The limit for this value is dependent upon the maximum number of
// disks available on a machine per zone. See:
// https://cloud.google.com/compute/docs/disks/local-ssd
// for more information.
LocalSsdCount int32 `protobuf:"varint,7,opt,name=local_ssd_count,json=localSsdCount,proto3" json:"local_ssd_count,omitempty"`
// The list of instance tags applied to all nodes. Tags are used to identify
// valid sources or targets for network firewalls and are specified by
// the client during cluster or node pool creation. Each tag within the list
// must comply with RFC1035.
Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
// Whether the nodes are created as preemptible VM instances. See:
// https://cloud.google.com/compute/docs/instances/preemptible
// for more information about preemptible VM instances.
Preemptible bool `protobuf:"varint,10,opt,name=preemptible,proto3" json:"preemptible,omitempty"`
// A list of hardware accelerators to be attached to each node.
// See
// https://cloud.google.com/compute/docs/gpus
// for more information about support for GPUs.
Accelerators []*AcceleratorConfig `protobuf:"bytes,11,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or
// 'pd-balanced')
//
// If unspecified, the default disk type is 'pd-standard'
DiskType string `protobuf:"bytes,12,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Minimum CPU platform to be used by this instance. The instance may be
// scheduled on the specified or newer CPU platform. Applicable values are the
// friendly names of CPU platforms, such as
// `minCpuPlatform: "Intel Haswell"` or
// `minCpuPlatform: "Intel Sandy Bridge"`. For more
// information, read [how to specify min CPU
// platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
MinCpuPlatform string `protobuf:"bytes,13,opt,name=min_cpu_platform,json=minCpuPlatform,proto3" json:"min_cpu_platform,omitempty"`
// The workload metadata configuration for this node.
WorkloadMetadataConfig *WorkloadMetadataConfig `protobuf:"bytes,14,opt,name=workload_metadata_config,json=workloadMetadataConfig,proto3" json:"workload_metadata_config,omitempty"`
// List of kubernetes taints to be applied to each node.
//
// For more information, including usage and the valid values, see:
// https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
Taints []*NodeTaint `protobuf:"bytes,15,rep,name=taints,proto3" json:"taints,omitempty"`
// Sandbox configuration for this node.
SandboxConfig *SandboxConfig `protobuf:"bytes,17,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"`
// Setting this field will assign instances of this
// pool to run on the specified node group. This is useful for running
// workloads on [sole tenant
// nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
NodeGroup string `protobuf:"bytes,18,opt,name=node_group,json=nodeGroup,proto3" json:"node_group,omitempty"`
// The optional reservation affinity. Setting this field will apply
// the specified [Zonal Compute
// Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
// to this node pool.
ReservationAffinity *ReservationAffinity `protobuf:"bytes,19,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"`
// Shielded Instance options.
ShieldedInstanceConfig *ShieldedInstanceConfig `protobuf:"bytes,20,opt,name=shielded_instance_config,json=shieldedInstanceConfig,proto3" json:"shielded_instance_config,omitempty"`
// Parameters that can be configured on Linux nodes.
LinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,21,opt,name=linux_node_config,json=linuxNodeConfig,proto3" json:"linux_node_config,omitempty"`
// Node kubelet configs.
KubeletConfig *NodeKubeletConfig `protobuf:"bytes,22,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
// The Customer Managed Encryption Key used to encrypt the boot disk attached
// to each node in the node pool. This should be of the form
// projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
// For more information about protecting resources with Cloud KMS Keys please
// see:
// https://cloud.google.com/compute/docs/disks/customer-managed-encryption
BootDiskKmsKey string `protobuf:"bytes,23,opt,name=boot_disk_kms_key,json=bootDiskKmsKey,proto3" json:"boot_disk_kms_key,omitempty"`
// Google Container File System (image streaming) configs.
GcfsConfig *GcfsConfig `protobuf:"bytes,25,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
// Advanced features for the Compute Engine VM.
AdvancedMachineFeatures *AdvancedMachineFeatures `protobuf:"bytes,26,opt,name=advanced_machine_features,json=advancedMachineFeatures,proto3" json:"advanced_machine_features,omitempty"`
// Enable or disable gvnic in the node pool.
Gvnic *VirtualNIC `protobuf:"bytes,29,opt,name=gvnic,proto3" json:"gvnic,omitempty"`
// Spot flag for enabling Spot VM, which is a rebrand of
// the existing preemptible flag.
Spot bool `protobuf:"varint,32,opt,name=spot,proto3" json:"spot,omitempty"`
// Confidential nodes config.
// All the nodes in the node pool will be Confidential VM once enabled.
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,35,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
// Enable or disable NCCL fast socket for the node pool.
FastSocket *FastSocket `protobuf:"bytes,36,opt,name=fast_socket,json=fastSocket,proto3,oneof" json:"fast_socket,omitempty"`
// The resource labels for the node pool to use to annotate any related
// Google Compute Engine resources.
ResourceLabels map[string]string `protobuf:"bytes,37,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Logging configuration.
LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,38,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
// Parameters that can be configured on Windows nodes.
WindowsNodeConfig *WindowsNodeConfig `protobuf:"bytes,39,opt,name=windows_node_config,json=windowsNodeConfig,proto3" json:"windows_node_config,omitempty"`
// Parameters for using raw-block Local NVMe SSDs.
LocalNvmeSsdBlockConfig *LocalNvmeSsdBlockConfig `protobuf:"bytes,40,opt,name=local_nvme_ssd_block_config,json=localNvmeSsdBlockConfig,proto3" json:"local_nvme_ssd_block_config,omitempty"`
// Parameters for the node ephemeral storage using Local SSDs.
// If unspecified, ephemeral storage is backed by the boot disk.
EphemeralStorageLocalSsdConfig *EphemeralStorageLocalSsdConfig `protobuf:"bytes,41,opt,name=ephemeral_storage_local_ssd_config,json=ephemeralStorageLocalSsdConfig,proto3" json:"ephemeral_storage_local_ssd_config,omitempty"`
// Parameters for node pools to be backed by shared sole tenant node groups.
SoleTenantConfig *SoleTenantConfig `protobuf:"bytes,42,opt,name=sole_tenant_config,json=soleTenantConfig,proto3" json:"sole_tenant_config,omitempty"`
// Parameters for containerd customization.
ContainerdConfig *ContainerdConfig `protobuf:"bytes,43,opt,name=containerd_config,json=containerdConfig,proto3" json:"containerd_config,omitempty"`
// A map of resource manager tag keys and values to be attached to the nodes.
ResourceManagerTags *ResourceManagerTags `protobuf:"bytes,45,opt,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty"`
// Optional. Reserved for future use.
EnableConfidentialStorage bool `protobuf:"varint,46,opt,name=enable_confidential_storage,json=enableConfidentialStorage,proto3" json:"enable_confidential_storage,omitempty"`
// List of secondary boot disks attached to the nodes.
SecondaryBootDisks []*SecondaryBootDisk `protobuf:"bytes,48,rep,name=secondary_boot_disks,json=secondaryBootDisks,proto3" json:"secondary_boot_disks,omitempty"`
// List of Storage Pools where boot disks are provisioned.
StoragePools []string `protobuf:"bytes,49,rep,name=storage_pools,json=storagePools,proto3" json:"storage_pools,omitempty"`
// Secondary boot disk update strategy.
SecondaryBootDiskUpdateStrategy *SecondaryBootDiskUpdateStrategy `protobuf:"bytes,50,opt,name=secondary_boot_disk_update_strategy,json=secondaryBootDiskUpdateStrategy,proto3,oneof" json:"secondary_boot_disk_update_strategy,omitempty"`
// The maximum duration for the nodes to exist.
// If unspecified, the nodes can exist indefinitely.
MaxRunDuration *durationpb.Duration `protobuf:"bytes,53,opt,name=max_run_duration,json=maxRunDuration,proto3" json:"max_run_duration,omitempty"`
// Specifies which method should be used for encrypting the
// Local SSDs attached to the node.
LocalSsdEncryptionMode *NodeConfig_LocalSsdEncryptionMode `protobuf:"varint,54,opt,name=local_ssd_encryption_mode,json=localSsdEncryptionMode,proto3,enum=google.container.v1.NodeConfig_LocalSsdEncryptionMode,oneof" json:"local_ssd_encryption_mode,omitempty"`
// Output only. effective_cgroup_mode is the cgroup mode actually used by the
// node pool. It is determined by the cgroup mode specified in the
// LinuxNodeConfig or the default cgroup mode based on the cluster creation
// version.
EffectiveCgroupMode NodeConfig_EffectiveCgroupMode `protobuf:"varint,55,opt,name=effective_cgroup_mode,json=effectiveCgroupMode,proto3,enum=google.container.v1.NodeConfig_EffectiveCgroupMode" json:"effective_cgroup_mode,omitempty"`
// Flex Start flag for enabling Flex Start VM.
FlexStart *bool `protobuf:"varint,56,opt,name=flex_start,json=flexStart,proto3,oneof" json:"flex_start,omitempty"`
// The boot disk configuration for the node pool.
BootDisk *BootDisk `protobuf:"bytes,57,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
// contains filtered or unexported fields
}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() []*AcceleratorConfigfunc (*NodeConfig) GetAdvancedMachineFeatures
func (x *NodeConfig) GetAdvancedMachineFeatures() *AdvancedMachineFeaturesfunc (*NodeConfig) GetBootDisk
func (x *NodeConfig) GetBootDisk() *BootDiskfunc (*NodeConfig) GetBootDiskKmsKey
func (x *NodeConfig) GetBootDiskKmsKey() stringfunc (*NodeConfig) GetConfidentialNodes
func (x *NodeConfig) GetConfidentialNodes() *ConfidentialNodesfunc (*NodeConfig) GetContainerdConfig
func (x *NodeConfig) GetContainerdConfig() *ContainerdConfigfunc (*NodeConfig) GetDiskSizeGb
func (x *NodeConfig) GetDiskSizeGb() int32func (*NodeConfig) GetDiskType
func (x *NodeConfig) GetDiskType() stringfunc (*NodeConfig) GetEffectiveCgroupMode
func (x *NodeConfig) GetEffectiveCgroupMode() NodeConfig_EffectiveCgroupModefunc (*NodeConfig) GetEnableConfidentialStorage
func (x *NodeConfig) GetEnableConfidentialStorage() boolfunc (*NodeConfig) GetEphemeralStorageLocalSsdConfig
func (x *NodeConfig) GetEphemeralStorageLocalSsdConfig() *EphemeralStorageLocalSsdConfigfunc (*NodeConfig) GetFastSocket
func (x *NodeConfig) GetFastSocket() *FastSocketfunc (*NodeConfig) GetFlexStart
func (x *NodeConfig) GetFlexStart() boolfunc (*NodeConfig) GetGcfsConfig
func (x *NodeConfig) GetGcfsConfig() *GcfsConfigfunc (*NodeConfig) GetGvnic
func (x *NodeConfig) GetGvnic() *VirtualNICfunc (*NodeConfig) GetImageType
func (x *NodeConfig) GetImageType() stringfunc (*NodeConfig) GetKubeletConfig
func (x *NodeConfig) GetKubeletConfig() *NodeKubeletConfigfunc (*NodeConfig) GetLabels
func (x *NodeConfig) GetLabels() map[string]stringfunc (*NodeConfig) GetLinuxNodeConfig
func (x *NodeConfig) GetLinuxNodeConfig() *LinuxNodeConfigfunc (*NodeConfig) GetLocalNvmeSsdBlockConfig
func (x *NodeConfig) GetLocalNvmeSsdBlockConfig() *LocalNvmeSsdBlockConfigfunc (*NodeConfig) GetLocalSsdCount
func (x *NodeConfig) GetLocalSsdCount() int32func (*NodeConfig) GetLocalSsdEncryptionMode
func (x *NodeConfig) GetLocalSsdEncryptionMode() NodeConfig_LocalSsdEncryptionModefunc (*NodeConfig) GetLoggingConfig
func (x *NodeConfig) GetLoggingConfig() *NodePoolLoggingConfigfunc (*NodeConfig) GetMachineType
func (x *NodeConfig) GetMachineType() stringfunc (*NodeConfig) GetMaxRunDuration
func (x *NodeConfig) GetMaxRunDuration() *durationpb.Durationfunc (*NodeConfig) GetMetadata
func (x *NodeConfig) GetMetadata() map[string]stringfunc (*NodeConfig) GetMinCpuPlatform
func (x *NodeConfig) GetMinCpuPlatform() stringfunc (*NodeConfig) GetNodeGroup
func (x *NodeConfig) GetNodeGroup() stringfunc (*NodeConfig) GetOauthScopes
func (x *NodeConfig) GetOauthScopes() []stringfunc (*NodeConfig) GetPreemptible
func (x *NodeConfig) GetPreemptible() boolfunc (*NodeConfig) GetReservationAffinity
func (x *NodeConfig) GetReservationAffinity() *ReservationAffinityfunc (*NodeConfig) GetResourceLabels
func (x *NodeConfig) GetResourceLabels() map[string]stringfunc (*NodeConfig) GetResourceManagerTags
func (x *NodeConfig) GetResourceManagerTags() *ResourceManagerTagsfunc (*NodeConfig) GetSandboxConfig
func (x *NodeConfig) GetSandboxConfig() *SandboxConfigfunc (*NodeConfig) GetSecondaryBootDiskUpdateStrategy
func (x *NodeConfig) GetSecondaryBootDiskUpdateStrategy() *SecondaryBootDiskUpdateStrategyfunc (*NodeConfig) GetSecondaryBootDisks
func (x *NodeConfig) GetSecondaryBootDisks() []*SecondaryBootDiskfunc (*NodeConfig) GetServiceAccount
func (x *NodeConfig) GetServiceAccount() stringfunc (*NodeConfig) GetShieldedInstanceConfig
func (x *NodeConfig) GetShieldedInstanceConfig() *ShieldedInstanceConfigfunc (*NodeConfig) GetSoleTenantConfig
func (x *NodeConfig) GetSoleTenantConfig() *SoleTenantConfigfunc (*NodeConfig) GetSpot
func (x *NodeConfig) GetSpot() boolfunc (*NodeConfig) GetStoragePools
func (x *NodeConfig) GetStoragePools() []stringfunc (*NodeConfig) GetTags
func (x *NodeConfig) GetTags() []stringfunc (*NodeConfig) GetTaints
func (x *NodeConfig) GetTaints() []*NodeTaintfunc (*NodeConfig) GetWindowsNodeConfig
func (x *NodeConfig) GetWindowsNodeConfig() *WindowsNodeConfigfunc (*NodeConfig) GetWorkloadMetadataConfig
func (x *NodeConfig) GetWorkloadMetadataConfig() *WorkloadMetadataConfigfunc (*NodeConfig) ProtoMessage
func (*NodeConfig) ProtoMessage()func (*NodeConfig) ProtoReflect
func (x *NodeConfig) ProtoReflect() protoreflect.Messagefunc (*NodeConfig) Reset
func (x *NodeConfig) Reset()func (*NodeConfig) String
func (x *NodeConfig) String() stringNodeConfigDefaults
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"`
// Parameters for containerd customization.
ContainerdConfig *ContainerdConfig `protobuf:"bytes,4,opt,name=containerd_config,json=containerdConfig,proto3" json:"containerd_config,omitempty"`
// NodeKubeletConfig controls the defaults for new node-pools.
//
// Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
NodeKubeletConfig *NodeKubeletConfig `protobuf:"bytes,6,opt,name=node_kubelet_config,json=nodeKubeletConfig,proto3" json:"node_kubelet_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) GetContainerdConfig
func (x *NodeConfigDefaults) GetContainerdConfig() *ContainerdConfigfunc (*NodeConfigDefaults) GetGcfsConfig
func (x *NodeConfigDefaults) GetGcfsConfig() *GcfsConfigfunc (*NodeConfigDefaults) GetLoggingConfig
func (x *NodeConfigDefaults) GetLoggingConfig() *NodePoolLoggingConfigfunc (*NodeConfigDefaults) GetNodeKubeletConfig
func (x *NodeConfigDefaults) GetNodeKubeletConfig() *NodeKubeletConfigfunc (*NodeConfigDefaults) ProtoMessage
func (*NodeConfigDefaults) ProtoMessage()func (*NodeConfigDefaults) ProtoReflect
func (x *NodeConfigDefaults) ProtoReflect() protoreflect.Messagefunc (*NodeConfigDefaults) Reset
func (x *NodeConfigDefaults) Reset()func (*NodeConfigDefaults) String
func (x *NodeConfigDefaults) String() stringNodeConfig_EffectiveCgroupMode
type NodeConfig_EffectiveCgroupMode int32Possible effective cgroup modes for the node.
NodeConfig_EFFECTIVE_CGROUP_MODE_UNSPECIFIED, NodeConfig_EFFECTIVE_CGROUP_MODE_V1, NodeConfig_EFFECTIVE_CGROUP_MODE_V2
const (
// EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the
// node pool is unspecified, i.e. the node pool is a Windows node pool.
NodeConfig_EFFECTIVE_CGROUP_MODE_UNSPECIFIED NodeConfig_EffectiveCgroupMode = 0
// CGROUP_MODE_V1 means the node pool is configured to use cgroupv1 for the
// cgroup configuration.
NodeConfig_EFFECTIVE_CGROUP_MODE_V1 NodeConfig_EffectiveCgroupMode = 1
// CGROUP_MODE_V2 means the node pool is configured to use cgroupv2 for the
// cgroup configuration.
NodeConfig_EFFECTIVE_CGROUP_MODE_V2 NodeConfig_EffectiveCgroupMode = 2
)func (NodeConfig_EffectiveCgroupMode) Descriptor
func (NodeConfig_EffectiveCgroupMode) Descriptor() protoreflect.EnumDescriptorfunc (NodeConfig_EffectiveCgroupMode) Enum
func (x NodeConfig_EffectiveCgroupMode) Enum() *NodeConfig_EffectiveCgroupModefunc (NodeConfig_EffectiveCgroupMode) EnumDescriptor
func (NodeConfig_EffectiveCgroupMode) EnumDescriptor() ([]byte, []int)Deprecated: Use NodeConfig_EffectiveCgroupMode.Descriptor instead.
func (NodeConfig_EffectiveCgroupMode) Number
func (x NodeConfig_EffectiveCgroupMode) Number() protoreflect.EnumNumberfunc (NodeConfig_EffectiveCgroupMode) String
func (x NodeConfig_EffectiveCgroupMode) String() stringfunc (NodeConfig_EffectiveCgroupMode) Type
func (NodeConfig_EffectiveCgroupMode) Type() protoreflect.EnumTypeNodeConfig_LocalSsdEncryptionMode
type NodeConfig_LocalSsdEncryptionMode int32LocalSsdEncryptionMode specifies the method used for encrypting the Local SSDs attached to the node.
NodeConfig_LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED, NodeConfig_STANDARD_ENCRYPTION, NodeConfig_EPHEMERAL_KEY_ENCRYPTION
const (
// The given node will be encrypted using keys managed by Google
// infrastructure and the keys will be deleted when the node is
// deleted.
NodeConfig_LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED NodeConfig_LocalSsdEncryptionMode = 0
// The given node will be encrypted using keys managed by Google
// infrastructure and the keys will be deleted when the node is
// deleted.
NodeConfig_STANDARD_ENCRYPTION NodeConfig_LocalSsdEncryptionMode = 1
// The given node will opt-in for using ephemeral key for
// encryption of Local SSDs.
// The Local SSDs will not be able to recover data in case of node
// crash.
NodeConfig_EPHEMERAL_KEY_ENCRYPTION NodeConfig_LocalSsdEncryptionMode = 2
)func (NodeConfig_LocalSsdEncryptionMode) Descriptor
func (NodeConfig_LocalSsdEncryptionMode) Descriptor() protoreflect.EnumDescriptorfunc (NodeConfig_LocalSsdEncryptionMode) Enum
func (x NodeConfig_LocalSsdEncryptionMode) Enum() *NodeConfig_LocalSsdEncryptionModefunc (NodeConfig_LocalSsdEncryptionMode) EnumDescriptor
func (NodeConfig_LocalSsdEncryptionMode) EnumDescriptor() ([]byte, []int)Deprecated: Use NodeConfig_LocalSsdEncryptionMode.Descriptor instead.
func (NodeConfig_LocalSsdEncryptionMode) Number
func (x NodeConfig_LocalSsdEncryptionMode) Number() protoreflect.EnumNumberfunc (NodeConfig_LocalSsdEncryptionMode) String
func (x NodeConfig_LocalSsdEncryptionMode) String() stringfunc (NodeConfig_LocalSsdEncryptionMode) Type
func (NodeConfig_LocalSsdEncryptionMode) Type() protoreflect.EnumTypeNodeKubeletConfig
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"`
// Optional. Controls Topology Manager configuration on the node.
// For more information, see:
// https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
TopologyManager *TopologyManager `protobuf:"bytes,8,opt,name=topology_manager,json=topologyManager,proto3" json:"topology_manager,omitempty"`
// Optional. Controls NUMA-aware Memory Manager configuration on the
// node. For more information, see:
// https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/
MemoryManager *MemoryManager `protobuf:"bytes,9,opt,name=memory_manager,json=memoryManager,proto3" json:"memory_manager,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 between 1ms and 1 second, inclusive.
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"`
// Enable or disable Kubelet read only port.
InsecureKubeletReadonlyPortEnabled *bool `protobuf:"varint,7,opt,name=insecure_kubelet_readonly_port_enabled,json=insecureKubeletReadonlyPortEnabled,proto3,oneof" json:"insecure_kubelet_readonly_port_enabled,omitempty"`
// Optional. Defines the percent of disk usage before which image garbage
// collection is never run. Lowest disk usage to garbage collect to. The
// percent is calculated as this field value out of 100.
//
// The value must be between 10 and 85, inclusive and smaller than
// image_gc_high_threshold_percent.
//
// The default value is 80 if unspecified.
ImageGcLowThresholdPercent int32 `protobuf:"varint,10,opt,name=image_gc_low_threshold_percent,json=imageGcLowThresholdPercent,proto3" json:"image_gc_low_threshold_percent,omitempty"`
// Optional. Defines the percent of disk usage after which image garbage
// collection is always run. The percent is calculated as this field value out
// of 100.
//
// The value must be between 10 and 85, inclusive and greater than
// image_gc_low_threshold_percent.
//
// The default value is 85 if unspecified.
ImageGcHighThresholdPercent int32 `protobuf:"varint,11,opt,name=image_gc_high_threshold_percent,json=imageGcHighThresholdPercent,proto3" json:"image_gc_high_threshold_percent,omitempty"`
// Optional. Defines the minimum age for an unused image before it is garbage
// collected.
//
// The string must be a sequence of decimal numbers, each with optional
// fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time
// units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
//
// The value must be a positive duration less than or equal to 2 minutes.
//
// The default value is "2m0s" if unspecified.
ImageMinimumGcAge string `protobuf:"bytes,12,opt,name=image_minimum_gc_age,json=imageMinimumGcAge,proto3" json:"image_minimum_gc_age,omitempty"`
// Optional. Defines the maximum age an image can be unused before it is
// garbage collected. The string must be a sequence of decimal numbers, each
// with optional fraction and a unit suffix, such as "300s", "1.5h", and
// "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
//
// The value must be a positive duration greater than image_minimum_gc_age
// or "0s".
//
// The default value is "0s" if unspecified, which disables this field,
// meaning images won't be garbage collected based on being unused for too
// long.
ImageMaximumGcAge string `protobuf:"bytes,13,opt,name=image_maximum_gc_age,json=imageMaximumGcAge,proto3" json:"image_maximum_gc_age,omitempty"`
// Optional. Defines the maximum size of the container log file before it is
// rotated. See
// https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation
//
// Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are
// Ki, Mi, Gi.
// The value must be between 10Mi and 500Mi, inclusive.
//
// Note that the total container log size (container_log_max_size *
// container_log_max_files) cannot exceed 1% of the total
// storage of the node, to avoid disk pressure caused by log files.
//
// The default value is 10Mi if unspecified.
ContainerLogMaxSize string `protobuf:"bytes,14,opt,name=container_log_max_size,json=containerLogMaxSize,proto3" json:"container_log_max_size,omitempty"`
// Optional. Defines the maximum number of container log files that can be
// present for a container. See
// https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation
//
// The value must be an integer between 2 and 10, inclusive.
// The default value is 5 if unspecified.
ContainerLogMaxFiles int32 `protobuf:"varint,15,opt,name=container_log_max_files,json=containerLogMaxFiles,proto3" json:"container_log_max_files,omitempty"`
// Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl
// patterns (ending in `*`).
//
// The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`,
// `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty
// means they cannot be set on Pods.
//
// To allow certain sysctls or sysctl patterns to be set on Pods, list them
// separated by commas.
// For example: `kernel.msg*,net.ipv4.route.min_pmtu`.
//
// See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/
// for more details.
AllowedUnsafeSysctls []string `protobuf:"bytes,16,rep,name=allowed_unsafe_sysctls,json=allowedUnsafeSysctls,proto3" json:"allowed_unsafe_sysctls,omitempty"`
// Optional. eviction_soft is a map of signal names to quantities that defines
// soft eviction thresholds. Each signal is compared to its corresponding
// threshold to determine if a pod eviction should occur.
EvictionSoft *EvictionSignals `protobuf:"bytes,17,opt,name=eviction_soft,json=evictionSoft,proto3" json:"eviction_soft,omitempty"`
// Optional. eviction_soft_grace_period is a map of signal names to quantities
// that defines grace periods for each soft eviction signal. The grace period
// is the amount of time that a pod must be under pressure before an eviction
// occurs.
EvictionSoftGracePeriod *EvictionGracePeriod `protobuf:"bytes,18,opt,name=eviction_soft_grace_period,json=evictionSoftGracePeriod,proto3" json:"eviction_soft_grace_period,omitempty"`
// Optional. eviction_minimum_reclaim is a map of signal names to quantities
// that defines minimum reclaims, which describe the minimum amount of a given
// resource the kubelet will reclaim when performing a pod eviction while that
// resource is under pressure.
EvictionMinimumReclaim *EvictionMinimumReclaim `protobuf:"bytes,19,opt,name=eviction_minimum_reclaim,json=evictionMinimumReclaim,proto3" json:"eviction_minimum_reclaim,omitempty"`
// Optional. eviction_max_pod_grace_period_seconds is the maximum allowed
// grace period (in seconds) to use when terminating pods in response to a
// soft eviction threshold being met. This value effectively caps the Pod's
// terminationGracePeriodSeconds value during soft evictions. Default: 0.
// Range: [0, 300].
EvictionMaxPodGracePeriodSeconds int32 `protobuf:"varint,20,opt,name=eviction_max_pod_grace_period_seconds,json=evictionMaxPodGracePeriodSeconds,proto3" json:"eviction_max_pod_grace_period_seconds,omitempty"`
// Optional. Defines the maximum number of image pulls in parallel.
// The range is 2 to 5, inclusive.
// The default value is 2 or 3 depending on the disk type.
//
// See
// https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls
// for more details.
MaxParallelImagePulls int32 `protobuf:"varint,21,opt,name=max_parallel_image_pulls,json=maxParallelImagePulls,proto3" json:"max_parallel_image_pulls,omitempty"`
// Optional. Defines whether to enable single process OOM killer.
// If true, will prevent the memory.oom.group flag from being set for
// container cgroups in cgroups v2. This causes processes in the container to
// be OOM killed individually instead of as a group.
SingleProcessOomKill *bool `protobuf:"varint,22,opt,name=single_process_oom_kill,json=singleProcessOomKill,proto3,oneof" json:"single_process_oom_kill,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) GetAllowedUnsafeSysctls
func (x *NodeKubeletConfig) GetAllowedUnsafeSysctls() []stringfunc (*NodeKubeletConfig) GetContainerLogMaxFiles
func (x *NodeKubeletConfig) GetContainerLogMaxFiles() int32func (*NodeKubeletConfig) GetContainerLogMaxSize
func (x *NodeKubeletConfig) GetContainerLogMaxSize() stringfunc (*NodeKubeletConfig) GetCpuCfsQuota
func (x *NodeKubeletConfig) GetCpuCfsQuota() *wrapperspb.BoolValuefunc (*NodeKubeletConfig) GetCpuCfsQuotaPeriod
func (x *NodeKubeletConfig) GetCpuCfsQuotaPeriod() stringfunc (*NodeKubeletConfig) GetCpuManagerPolicy
func (x *NodeKubeletConfig) GetCpuManagerPolicy() stringfunc (*NodeKubeletConfig) GetEvictionMaxPodGracePeriodSeconds
func (x *NodeKubeletConfig) GetEvictionMaxPodGracePeriodSeconds() int32func (*NodeKubeletConfig) GetEvictionMinimumReclaim
func (x *NodeKubeletConfig) GetEvictionMinimumReclaim() *EvictionMinimumReclaimfunc (*NodeKubeletConfig) GetEvictionSoft
func (x *NodeKubeletConfig) GetEvictionSoft() *EvictionSignalsfunc (*NodeKubeletConfig) GetEvictionSoftGracePeriod
func (x *NodeKubeletConfig) GetEvictionSoftGracePeriod() *EvictionGracePeriodfunc (*NodeKubeletConfig) GetImageGcHighThresholdPercent
func (x *NodeKubeletConfig) GetImageGcHighThresholdPercent() int32func (*NodeKubeletConfig) GetImageGcLowThresholdPercent
func (x *NodeKubeletConfig) GetImageGcLowThresholdPercent() int32func (*NodeKubeletConfig) GetImageMaximumGcAge
func (x *NodeKubeletConfig) GetImageMaximumGcAge() stringfunc (*NodeKubeletConfig) GetImageMinimumGcAge
func (x *NodeKubeletConfig) GetImageMinimumGcAge() stringfunc (*NodeKubeletConfig) GetInsecureKubeletReadonlyPortEnabled
func (x *NodeKubeletConfig) GetInsecureKubeletReadonlyPortEnabled() boolfunc (*NodeKubeletConfig) GetMaxParallelImagePulls
func (x *NodeKubeletConfig) GetMaxParallelImagePulls() int32func (*NodeKubeletConfig) GetMemoryManager
func (x *NodeKubeletConfig) GetMemoryManager() *MemoryManagerfunc (*NodeKubeletConfig) GetPodPidsLimit
func (x *NodeKubeletConfig) GetPodPidsLimit() int64func (*NodeKubeletConfig) GetSingleProcessOomKill
func (x *NodeKubeletConfig) GetSingleProcessOomKill() boolfunc (*NodeKubeletConfig) GetTopologyManager
func (x *NodeKubeletConfig) GetTopologyManager() *TopologyManagerfunc (*NodeKubeletConfig) ProtoMessage
func (*NodeKubeletConfig) ProtoMessage()func (*NodeKubeletConfig) ProtoReflect
func (x *NodeKubeletConfig) ProtoReflect() protoreflect.Messagefunc (*NodeKubeletConfig) Reset
func (x *NodeKubeletConfig) Reset()func (*NodeKubeletConfig) String
func (x *NodeKubeletConfig) String() stringNodeLabels
type NodeLabels struct {
// Map of node label keys and node label values.
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}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]stringfunc (*NodeLabels) ProtoMessage
func (*NodeLabels) ProtoMessage()func (*NodeLabels) ProtoReflect
func (x *NodeLabels) ProtoReflect() protoreflect.Messagefunc (*NodeLabels) Reset
func (x *NodeLabels) Reset()func (*NodeLabels) String
func (x *NodeLabels) String() stringNodeManagement
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() boolfunc (*NodeManagement) GetAutoUpgrade
func (x *NodeManagement) GetAutoUpgrade() boolfunc (*NodeManagement) GetUpgradeOptions
func (x *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptionsfunc (*NodeManagement) ProtoMessage
func (*NodeManagement) ProtoMessage()func (*NodeManagement) ProtoReflect
func (x *NodeManagement) ProtoReflect() protoreflect.Messagefunc (*NodeManagement) Reset
func (x *NodeManagement) Reset()func (*NodeManagement) String
func (x *NodeManagement) String() stringNodeNetworkConfig
type NodeNetworkConfig struct {
// Input only. Whether to create a new range for pod IPs in this node pool.
// Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they
// are not specified.
//
// If neither `create_pod_range` or `pod_range` are specified, the
// cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is
// used.
//
// Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
//
// This field cannot be changed after the node pool has been created.
CreatePodRange bool `protobuf:"varint,4,opt,name=create_pod_range,json=createPodRange,proto3" json:"create_pod_range,omitempty"`
// The ID of the secondary range for pod IPs.
// If `create_pod_range` is true, this ID is used for the new range.
// If `create_pod_range` is false, uses an existing secondary range with this
// ID.
//
// Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
//
// This field cannot be changed after the node pool has been created.
PodRange string `protobuf:"bytes,5,opt,name=pod_range,json=podRange,proto3" json:"pod_range,omitempty"`
// The IP address range for pod IPs in this node pool.
//
// Only applicable if `create_pod_range` is true.
//
// Set to blank to have a range chosen with the default size.
//
// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
// netmask.
//
// Set to a
// [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
// notation (e.g. `10.96.0.0/14`) to pick a specific range to use.
//
// Only applicable if `ip_allocation_policy.use_ip_aliases` is true.
//
// This field cannot be changed after the node pool has been created.
PodIpv4CidrBlock string `protobuf:"bytes,6,opt,name=pod_ipv4_cidr_block,json=podIpv4CidrBlock,proto3" json:"pod_ipv4_cidr_block,omitempty"`
// Whether nodes have internal IP addresses only.
// If enable_private_nodes is not specified, then the value is derived from
// [Cluster.NetworkConfig.default_enable_private_nodes][]
EnablePrivateNodes *bool `protobuf:"varint,9,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3,oneof" json:"enable_private_nodes,omitempty"`
// Network bandwidth tier configuration.
NetworkPerformanceConfig *NodeNetworkConfig_NetworkPerformanceConfig `protobuf:"bytes,11,opt,name=network_performance_config,json=networkPerformanceConfig,proto3,oneof" json:"network_performance_config,omitempty"`
// [PRIVATE FIELD]
// Pod CIDR size overprovisioning config for the nodepool.
//
// Pod CIDR size per node depends on max_pods_per_node. By default, the value
// of max_pods_per_node is rounded off to next power of 2 and we then double
// that to get the size of pod CIDR block per node.
// Example: max_pods_per_node of 30 would result in 64 IPs (/26).
//
// This config can disable the doubling of IPs (we still round off to next
// power of 2)
// Example: max_pods_per_node of 30 will result in 32 IPs (/27) when
// overprovisioning is disabled.
PodCidrOverprovisionConfig *PodCIDROverprovisionConfig `protobuf:"bytes,13,opt,name=pod_cidr_overprovision_config,json=podCidrOverprovisionConfig,proto3" json:"pod_cidr_overprovision_config,omitempty"`
// We specify the additional node networks for this node pool using this list.
// Each node network corresponds to an additional interface
AdditionalNodeNetworkConfigs []*AdditionalNodeNetworkConfig `protobuf:"bytes,14,rep,name=additional_node_network_configs,json=additionalNodeNetworkConfigs,proto3" json:"additional_node_network_configs,omitempty"`
// We specify the additional pod networks for this node pool using this list.
// Each pod network corresponds to an additional alias IP range for the node
AdditionalPodNetworkConfigs []*AdditionalPodNetworkConfig `protobuf:"bytes,15,rep,name=additional_pod_network_configs,json=additionalPodNetworkConfigs,proto3" json:"additional_pod_network_configs,omitempty"`
// Output only. The utilization of the IPv4 range for the pod.
// The ratio is Usage/[Total number of IPs in the secondary range],
// Usage=numNodes*numZones*podIPsPerNode.
PodIpv4RangeUtilization float64 `protobuf:"fixed64,16,opt,name=pod_ipv4_range_utilization,json=podIpv4RangeUtilization,proto3" json:"pod_ipv4_range_utilization,omitempty"`
// Output only. The subnetwork path for the node pool.
// Format: projects/{project}/regions/{region}/subnetworks/{subnetwork}
// If the cluster is associated with multiple subnetworks, the subnetwork for
// the node pool is picked based on the IP utilization during node pool
// creation and is immutable.
Subnetwork string `protobuf:"bytes,19,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
// Output only. The network tier configuration for the node pool inherits from
// the cluster-level configuration and remains immutable throughout the node
// pool's lifecycle, including during upgrades.
NetworkTierConfig *NetworkTierConfig `protobuf:"bytes,20,opt,name=network_tier_config,json=networkTierConfig,proto3" json:"network_tier_config,omitempty"`
// contains filtered or unexported fields
}Parameters for node pool-level network config.
func (*NodeNetworkConfig) Descriptor
func (*NodeNetworkConfig) Descriptor() ([]byte, []int)Deprecated: Use NodeNetworkConfig.ProtoReflect.Descriptor instead.
func (*NodeNetworkConfig) GetAdditionalNodeNetworkConfigs
func (x *NodeNetworkConfig) GetAdditionalNodeNetworkConfigs() []*AdditionalNodeNetworkConfigfunc (*NodeNetworkConfig) GetAdditionalPodNetworkConfigs
func (x *NodeNetworkConfig) GetAdditionalPodNetworkConfigs() []*AdditionalPodNetworkConfigfunc (*NodeNetworkConfig) GetCreatePodRange
func (x *NodeNetworkConfig) GetCreatePodRange() boolfunc (*NodeNetworkConfig) GetEnablePrivateNodes
func (x *NodeNetworkConfig) GetEnablePrivateNodes() boolfunc (*NodeNetworkConfig) GetNetworkPerformanceConfig
func (x *NodeNetworkConfig) GetNetworkPerformanceConfig() *NodeNetworkConfig_NetworkPerformanceConfigfunc (*NodeNetworkConfig) GetNetworkTierConfig
func (x *NodeNetworkConfig) GetNetworkTierConfig() *NetworkTierConfigfunc (*NodeNetworkConfig) GetPodCidrOverprovisionConfig
func (x *NodeNetworkConfig) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfigfunc (*NodeNetworkConfig) GetPodIpv4CidrBlock
func (x *NodeNetworkConfig) GetPodIpv4CidrBlock() stringfunc (*NodeNetworkConfig) GetPodIpv4RangeUtilization
func (x *NodeNetworkConfig) GetPodIpv4RangeUtilization() float64func (*NodeNetworkConfig) GetPodRange
func (x *NodeNetworkConfig) GetPodRange() stringfunc (*NodeNetworkConfig) GetSubnetwork
func (x *NodeNetworkConfig) GetSubnetwork() stringfunc (*NodeNetworkConfig) ProtoMessage
func (*NodeNetworkConfig) ProtoMessage()func (*NodeNetworkConfig) ProtoReflect
func (x *NodeNetworkConfig) ProtoReflect() protoreflect.Messagefunc (*NodeNetworkConfig) Reset
func (x *NodeNetworkConfig) Reset()func (*NodeNetworkConfig) String
func (x *NodeNetworkConfig) String() stringNodeNetworkConfig_NetworkPerformanceConfig
type NodeNetworkConfig_NetworkPerformanceConfig struct {
// Specifies the total network bandwidth tier for the NodePool.
TotalEgressBandwidthTier *NodeNetworkConfig_NetworkPerformanceConfig_Tier `protobuf:"varint,1,opt,name=total_egress_bandwidth_tier,json=totalEgressBandwidthTier,proto3,enum=google.container.v1.NodeNetworkConfig_NetworkPerformanceConfig_Tier,oneof" json:"total_egress_bandwidth_tier,omitempty"`
// contains filtered or unexported fields
}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_Tierfunc (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoMessage
func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoMessage()func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoReflect
func (x *NodeNetworkConfig_NetworkPerformanceConfig) ProtoReflect() protoreflect.Messagefunc (*NodeNetworkConfig_NetworkPerformanceConfig) Reset
func (x *NodeNetworkConfig_NetworkPerformanceConfig) Reset()func (*NodeNetworkConfig_NetworkPerformanceConfig) String
func (x *NodeNetworkConfig_NetworkPerformanceConfig) String() stringNodeNetworkConfig_NetworkPerformanceConfig_Tier
type NodeNetworkConfig_NetworkPerformanceConfig_Tier int32Node 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.EnumDescriptorfunc (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Enum
func (x NodeNetworkConfig_NetworkPerformanceConfig_Tier) Enum() *NodeNetworkConfig_NetworkPerformanceConfig_Tierfunc (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.EnumNumberfunc (NodeNetworkConfig_NetworkPerformanceConfig_Tier) String
func (x NodeNetworkConfig_NetworkPerformanceConfig_Tier) String() stringfunc (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. 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"`
// Specifies the configuration of queued provisioning.
QueuedProvisioning *NodePool_QueuedProvisioning `protobuf:"bytes,112,opt,name=queued_provisioning,json=queuedProvisioning,proto3" json:"queued_provisioning,omitempty"`
// Enable best effort provisioning for nodes
BestEffortProvisioning *BestEffortProvisioning `protobuf:"bytes,113,opt,name=best_effort_provisioning,json=bestEffortProvisioning,proto3" json:"best_effort_provisioning,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() *NodePoolAutoscalingfunc (*NodePool) GetBestEffortProvisioning
func (x *NodePool) GetBestEffortProvisioning() *BestEffortProvisioningfunc (*NodePool) GetConditions
func (x *NodePool) GetConditions() []*StatusConditionfunc (*NodePool) GetConfig
func (x *NodePool) GetConfig() *NodeConfigfunc (*NodePool) GetEtag
func (*NodePool) GetInitialNodeCount
func (*NodePool) GetInstanceGroupUrls
func (*NodePool) GetLocations
func (*NodePool) GetManagement
func (x *NodePool) GetManagement() *NodeManagementfunc (*NodePool) GetMaxPodsConstraint
func (x *NodePool) GetMaxPodsConstraint() *MaxPodsConstraintfunc (*NodePool) GetName
func (*NodePool) GetNetworkConfig
func (x *NodePool) GetNetworkConfig() *NodeNetworkConfigfunc (*NodePool) GetPlacementPolicy
func (x *NodePool) GetPlacementPolicy() *NodePool_PlacementPolicyfunc (*NodePool) GetPodIpv4CidrSize
func (*NodePool) GetQueuedProvisioning
func (x *NodePool) GetQueuedProvisioning() *NodePool_QueuedProvisioningfunc (*NodePool) GetSelfLink
func (*NodePool) GetStatus
func (x *NodePool) GetStatus() NodePool_Statusfunc (*NodePool) GetStatusMessage
Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*NodePool) GetUpdateInfo
func (x *NodePool) GetUpdateInfo() *NodePool_UpdateInfofunc (*NodePool) GetUpgradeSettings
func (x *NodePool) GetUpgradeSettings() *NodePool_UpgradeSettingsfunc (*NodePool) GetVersion
func (*NodePool) ProtoMessage
func (*NodePool) ProtoMessage()func (*NodePool) ProtoReflect
func (x *NodePool) ProtoReflect() protoreflect.Messagefunc (*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"`
// Resource manager tag keys and values to be attached to the nodes
// for managing Compute Engine firewalls using Network Firewall Policies.
ResourceManagerTags *ResourceManagerTags `protobuf:"bytes,2,opt,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty"`
// NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
//
// Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
NodeKubeletConfig *NodeKubeletConfig `protobuf:"bytes,3,opt,name=node_kubelet_config,json=nodeKubeletConfig,proto3" json:"node_kubelet_config,omitempty"`
// Output only. Configuration options for Linux nodes.
LinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,4,opt,name=linux_node_config,json=linuxNodeConfig,proto3" json:"linux_node_config,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) GetLinuxNodeConfig
func (x *NodePoolAutoConfig) GetLinuxNodeConfig() *LinuxNodeConfigfunc (*NodePoolAutoConfig) GetNetworkTags
func (x *NodePoolAutoConfig) GetNetworkTags() *NetworkTagsfunc (*NodePoolAutoConfig) GetNodeKubeletConfig
func (x *NodePoolAutoConfig) GetNodeKubeletConfig() *NodeKubeletConfigfunc (*NodePoolAutoConfig) GetResourceManagerTags
func (x *NodePoolAutoConfig) GetResourceManagerTags() *ResourceManagerTagsfunc (*NodePoolAutoConfig) ProtoMessage
func (*NodePoolAutoConfig) ProtoMessage()func (*NodePoolAutoConfig) ProtoReflect
func (x *NodePoolAutoConfig) ProtoReflect() protoreflect.Messagefunc (*NodePoolAutoConfig) Reset
func (x *NodePoolAutoConfig) Reset()func (*NodePoolAutoConfig) String
func (x *NodePoolAutoConfig) String() stringNodePoolAutoscaling
type NodePoolAutoscaling struct {
// Is autoscaling enabled for this node pool.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Minimum number of nodes for one location in the node pool. Must be greater
// than or equal to 0 and less than or equal to max_node_count.
MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
// Maximum number of nodes for one location in the node pool. Must be >=
// min_node_count. There has to be enough quota to scale up the cluster.
MaxNodeCount int32 `protobuf:"varint,3,opt,name=max_node_count,json=maxNodeCount,proto3" json:"max_node_count,omitempty"`
// Can this node pool be deleted automatically.
Autoprovisioned bool `protobuf:"varint,4,opt,name=autoprovisioned,proto3" json:"autoprovisioned,omitempty"`
// Location policy used when scaling up a nodepool.
LocationPolicy NodePoolAutoscaling_LocationPolicy `protobuf:"varint,5,opt,name=location_policy,json=locationPolicy,proto3,enum=google.container.v1.NodePoolAutoscaling_LocationPolicy" json:"location_policy,omitempty"`
// Minimum number of nodes in the node pool. Must be greater than or equal
// to 0 and less than or equal to total_max_node_count.
// The total_*_node_count fields are mutually exclusive with the *_node_count
// fields.
TotalMinNodeCount int32 `protobuf:"varint,6,opt,name=total_min_node_count,json=totalMinNodeCount,proto3" json:"total_min_node_count,omitempty"`
// Maximum number of nodes in the node pool. Must be greater than or equal to
// total_min_node_count. There has to be enough quota to scale up the cluster.
// The total_*_node_count fields are mutually exclusive with the *_node_count
// fields.
TotalMaxNodeCount int32 `protobuf:"varint,7,opt,name=total_max_node_count,json=totalMaxNodeCount,proto3" json:"total_max_node_count,omitempty"`
// contains filtered or unexported fields
}NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
func (*NodePoolAutoscaling) Descriptor
func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.
func (*NodePoolAutoscaling) GetAutoprovisioned
func (x *NodePoolAutoscaling) GetAutoprovisioned() boolfunc (*NodePoolAutoscaling) GetEnabled
func (x *NodePoolAutoscaling) GetEnabled() boolfunc (*NodePoolAutoscaling) GetLocationPolicy
func (x *NodePoolAutoscaling) GetLocationPolicy() NodePoolAutoscaling_LocationPolicyfunc (*NodePoolAutoscaling) GetMaxNodeCount
func (x *NodePoolAutoscaling) GetMaxNodeCount() int32func (*NodePoolAutoscaling) GetMinNodeCount
func (x *NodePoolAutoscaling) GetMinNodeCount() int32func (*NodePoolAutoscaling) GetTotalMaxNodeCount
func (x *NodePoolAutoscaling) GetTotalMaxNodeCount() int32func (*NodePoolAutoscaling) GetTotalMinNodeCount
func (x *NodePoolAutoscaling) GetTotalMinNodeCount() int32func (*NodePoolAutoscaling) ProtoMessage
func (*NodePoolAutoscaling) ProtoMessage()func (*NodePoolAutoscaling) ProtoReflect
func (x *NodePoolAutoscaling) ProtoReflect() protoreflect.Messagefunc (*NodePoolAutoscaling) Reset
func (x *NodePoolAutoscaling) Reset()func (*NodePoolAutoscaling) String
func (x *NodePoolAutoscaling) String() stringNodePoolAutoscaling_LocationPolicy
type NodePoolAutoscaling_LocationPolicy int32Location 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.EnumDescriptorfunc (NodePoolAutoscaling_LocationPolicy) Enum
func (x NodePoolAutoscaling_LocationPolicy) Enum() *NodePoolAutoscaling_LocationPolicyfunc (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.EnumNumberfunc (NodePoolAutoscaling_LocationPolicy) String
func (x NodePoolAutoscaling_LocationPolicy) String() stringfunc (NodePoolAutoscaling_LocationPolicy) Type
func (NodePoolAutoscaling_LocationPolicy) Type() protoreflect.EnumTypeNodePoolDefaults
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() *NodeConfigDefaultsfunc (*NodePoolDefaults) ProtoMessage
func (*NodePoolDefaults) ProtoMessage()func (*NodePoolDefaults) ProtoReflect
func (x *NodePoolDefaults) ProtoReflect() protoreflect.Messagefunc (*NodePoolDefaults) Reset
func (x *NodePoolDefaults) Reset()func (*NodePoolDefaults) String
func (x *NodePoolDefaults) String() stringNodePoolLoggingConfig
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() *LoggingVariantConfigfunc (*NodePoolLoggingConfig) ProtoMessage
func (*NodePoolLoggingConfig) ProtoMessage()func (*NodePoolLoggingConfig) ProtoReflect
func (x *NodePoolLoggingConfig) ProtoReflect() protoreflect.Messagefunc (*NodePoolLoggingConfig) Reset
func (x *NodePoolLoggingConfig) Reset()func (*NodePoolLoggingConfig) String
func (x *NodePoolLoggingConfig) String() stringNodePoolUpdateStrategy
type NodePoolUpdateStrategy int32Strategy 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.EnumDescriptorfunc (NodePoolUpdateStrategy) Enum
func (x NodePoolUpdateStrategy) Enum() *NodePoolUpdateStrategyfunc (NodePoolUpdateStrategy) EnumDescriptor
func (NodePoolUpdateStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use NodePoolUpdateStrategy.Descriptor instead.
func (NodePoolUpdateStrategy) Number
func (x NodePoolUpdateStrategy) Number() protoreflect.EnumNumberfunc (NodePoolUpdateStrategy) String
func (x NodePoolUpdateStrategy) String() stringfunc (NodePoolUpdateStrategy) Type
func (NodePoolUpdateStrategy) Type() protoreflect.EnumTypeNodePoolUpgradeInfo
type NodePoolUpgradeInfo struct {
// minor_target_version indicates the target version for minor upgrade.
MinorTargetVersion *string `protobuf:"bytes,1,opt,name=minor_target_version,json=minorTargetVersion,proto3,oneof" json:"minor_target_version,omitempty"`
// patch_target_version indicates the target version for patch upgrade.
PatchTargetVersion *string `protobuf:"bytes,2,opt,name=patch_target_version,json=patchTargetVersion,proto3,oneof" json:"patch_target_version,omitempty"`
// The auto upgrade status.
AutoUpgradeStatus []NodePoolUpgradeInfo_AutoUpgradeStatus `protobuf:"varint,3,rep,packed,name=auto_upgrade_status,json=autoUpgradeStatus,proto3,enum=google.container.v1.NodePoolUpgradeInfo_AutoUpgradeStatus" json:"auto_upgrade_status,omitempty"`
// The auto upgrade paused reason.
PausedReason []NodePoolUpgradeInfo_AutoUpgradePausedReason `protobuf:"varint,4,rep,packed,name=paused_reason,json=pausedReason,proto3,enum=google.container.v1.NodePoolUpgradeInfo_AutoUpgradePausedReason" json:"paused_reason,omitempty"`
// The list of past auto upgrades.
UpgradeDetails []*UpgradeDetails `protobuf:"bytes,5,rep,name=upgrade_details,json=upgradeDetails,proto3" json:"upgrade_details,omitempty"`
// The nodepool's current minor version's end of standard support timestamp.
EndOfStandardSupportTimestamp *string `protobuf:"bytes,6,opt,name=end_of_standard_support_timestamp,json=endOfStandardSupportTimestamp,proto3,oneof" json:"end_of_standard_support_timestamp,omitempty"`
// The nodepool's current minor version's end of extended support timestamp.
EndOfExtendedSupportTimestamp *string `protobuf:"bytes,7,opt,name=end_of_extended_support_timestamp,json=endOfExtendedSupportTimestamp,proto3,oneof" json:"end_of_extended_support_timestamp,omitempty"`
// contains filtered or unexported fields
}NodePoolUpgradeInfo contains the upgrade information of a nodepool.
func (*NodePoolUpgradeInfo) Descriptor
func (*NodePoolUpgradeInfo) Descriptor() ([]byte, []int)Deprecated: Use NodePoolUpgradeInfo.ProtoReflect.Descriptor instead.
func (*NodePoolUpgradeInfo) GetAutoUpgradeStatus
func (x *NodePoolUpgradeInfo) GetAutoUpgradeStatus() []NodePoolUpgradeInfo_AutoUpgradeStatusfunc (*NodePoolUpgradeInfo) GetEndOfExtendedSupportTimestamp
func (x *NodePoolUpgradeInfo) GetEndOfExtendedSupportTimestamp() stringfunc (*NodePoolUpgradeInfo) GetEndOfStandardSupportTimestamp
func (x *NodePoolUpgradeInfo) GetEndOfStandardSupportTimestamp() stringfunc (*NodePoolUpgradeInfo) GetMinorTargetVersion
func (x *NodePoolUpgradeInfo) GetMinorTargetVersion() stringfunc (*NodePoolUpgradeInfo) GetPatchTargetVersion
func (x *NodePoolUpgradeInfo) GetPatchTargetVersion() stringfunc (*NodePoolUpgradeInfo) GetPausedReason
func (x *NodePoolUpgradeInfo) GetPausedReason() []NodePoolUpgradeInfo_AutoUpgradePausedReasonfunc (*NodePoolUpgradeInfo) GetUpgradeDetails
func (x *NodePoolUpgradeInfo) GetUpgradeDetails() []*UpgradeDetailsfunc (*NodePoolUpgradeInfo) ProtoMessage
func (*NodePoolUpgradeInfo) ProtoMessage()func (*NodePoolUpgradeInfo) ProtoReflect
func (x *NodePoolUpgradeInfo) ProtoReflect() protoreflect.Messagefunc (*NodePoolUpgradeInfo) Reset
func (x *NodePoolUpgradeInfo) Reset()func (*NodePoolUpgradeInfo) String
func (x *NodePoolUpgradeInfo) String() stringNodePoolUpgradeInfo_AutoUpgradePausedReason
type NodePoolUpgradeInfo_AutoUpgradePausedReason int32AutoUpgradePausedReason indicates the reason for auto upgrade paused status.
NodePoolUpgradeInfo_AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED, NodePoolUpgradeInfo_MAINTENANCE_WINDOW, NodePoolUpgradeInfo_MAINTENANCE_EXCLUSION_NO_UPGRADES, NodePoolUpgradeInfo_MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES, NodePoolUpgradeInfo_SYSTEM_CONFIG
const (
// AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.
NodePoolUpgradeInfo_AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED NodePoolUpgradeInfo_AutoUpgradePausedReason = 0
// MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance
// window.
NodePoolUpgradeInfo_MAINTENANCE_WINDOW NodePoolUpgradeInfo_AutoUpgradePausedReason = 1
// MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a
// maintenance exclusion with scope NO_UPGRADES.
NodePoolUpgradeInfo_MAINTENANCE_EXCLUSION_NO_UPGRADES NodePoolUpgradeInfo_AutoUpgradePausedReason = 2
// MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a
// maintenance exclusion with scope NO_MINOR_UPGRADES.
NodePoolUpgradeInfo_MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES NodePoolUpgradeInfo_AutoUpgradePausedReason = 3
// SYSTEM_CONFIG indicates the cluster upgrade is paused by system config.
NodePoolUpgradeInfo_SYSTEM_CONFIG NodePoolUpgradeInfo_AutoUpgradePausedReason = 4
)func (NodePoolUpgradeInfo_AutoUpgradePausedReason) Descriptor
func (NodePoolUpgradeInfo_AutoUpgradePausedReason) Descriptor() protoreflect.EnumDescriptorfunc (NodePoolUpgradeInfo_AutoUpgradePausedReason) Enum
func (x NodePoolUpgradeInfo_AutoUpgradePausedReason) Enum() *NodePoolUpgradeInfo_AutoUpgradePausedReasonfunc (NodePoolUpgradeInfo_AutoUpgradePausedReason) EnumDescriptor
func (NodePoolUpgradeInfo_AutoUpgradePausedReason) EnumDescriptor() ([]byte, []int)Deprecated: Use NodePoolUpgradeInfo_AutoUpgradePausedReason.Descriptor instead.
func (NodePoolUpgradeInfo_AutoUpgradePausedReason) Number
func (x NodePoolUpgradeInfo_AutoUpgradePausedReason) Number() protoreflect.EnumNumberfunc (NodePoolUpgradeInfo_AutoUpgradePausedReason) String
func (x NodePoolUpgradeInfo_AutoUpgradePausedReason) String() stringfunc (NodePoolUpgradeInfo_AutoUpgradePausedReason) Type
func (NodePoolUpgradeInfo_AutoUpgradePausedReason) Type() protoreflect.EnumTypeNodePoolUpgradeInfo_AutoUpgradeStatus
type NodePoolUpgradeInfo_AutoUpgradeStatus int32AutoUpgradeStatus indicates the status of auto upgrade.
NodePoolUpgradeInfo_UNKNOWN, NodePoolUpgradeInfo_ACTIVE, NodePoolUpgradeInfo_MINOR_UPGRADE_PAUSED, NodePoolUpgradeInfo_UPGRADE_PAUSED
const (
// UNKNOWN indicates an unknown status.
NodePoolUpgradeInfo_UNKNOWN NodePoolUpgradeInfo_AutoUpgradeStatus = 0
// ACTIVE indicates an active status.
NodePoolUpgradeInfo_ACTIVE NodePoolUpgradeInfo_AutoUpgradeStatus = 1
// MINOR_UPGRADE_PAUSED indicates the minor version upgrade is
// paused.
NodePoolUpgradeInfo_MINOR_UPGRADE_PAUSED NodePoolUpgradeInfo_AutoUpgradeStatus = 2
// UPGRADE_PAUSED indicates the upgrade is paused.
NodePoolUpgradeInfo_UPGRADE_PAUSED NodePoolUpgradeInfo_AutoUpgradeStatus = 3
)func (NodePoolUpgradeInfo_AutoUpgradeStatus) Descriptor
func (NodePoolUpgradeInfo_AutoUpgradeStatus) Descriptor() protoreflect.EnumDescriptorfunc (NodePoolUpgradeInfo_AutoUpgradeStatus) Enum
func (NodePoolUpgradeInfo_AutoUpgradeStatus) EnumDescriptor
func (NodePoolUpgradeInfo_AutoUpgradeStatus) EnumDescriptor() ([]byte, []int)Deprecated: Use NodePoolUpgradeInfo_AutoUpgradeStatus.Descriptor instead.
func (NodePoolUpgradeInfo_AutoUpgradeStatus) Number
func (x NodePoolUpgradeInfo_AutoUpgradeStatus) Number() protoreflect.EnumNumberfunc (NodePoolUpgradeInfo_AutoUpgradeStatus) String
func (x NodePoolUpgradeInfo_AutoUpgradeStatus) String() stringfunc (NodePoolUpgradeInfo_AutoUpgradeStatus) Type
func (NodePoolUpgradeInfo_AutoUpgradeStatus) Type() protoreflect.EnumTypeNodePool_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"`
// Optional. TPU placement topology for pod slice node pool.
// https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
TpuTopology string `protobuf:"bytes,2,opt,name=tpu_topology,json=tpuTopology,proto3" json:"tpu_topology,omitempty"`
// If set, refers to the name of a custom resource policy supplied by the
// user. The resource policy must be in the same project and region as the
// node pool. If not found, InvalidArgument error is returned.
PolicyName string `protobuf:"bytes,3,opt,name=policy_name,json=policyName,proto3" json:"policy_name,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) GetPolicyName
func (x *NodePool_PlacementPolicy) GetPolicyName() stringfunc (*NodePool_PlacementPolicy) GetTpuTopology
func (x *NodePool_PlacementPolicy) GetTpuTopology() stringfunc (*NodePool_PlacementPolicy) GetType
func (x *NodePool_PlacementPolicy) GetType() NodePool_PlacementPolicy_Typefunc (*NodePool_PlacementPolicy) ProtoMessage
func (*NodePool_PlacementPolicy) ProtoMessage()func (*NodePool_PlacementPolicy) ProtoReflect
func (x *NodePool_PlacementPolicy) ProtoReflect() protoreflect.Messagefunc (*NodePool_PlacementPolicy) Reset
func (x *NodePool_PlacementPolicy) Reset()func (*NodePool_PlacementPolicy) String
func (x *NodePool_PlacementPolicy) String() stringNodePool_PlacementPolicy_Type
type NodePool_PlacementPolicy_Type int32Type 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.EnumDescriptorfunc (NodePool_PlacementPolicy_Type) Enum
func (x NodePool_PlacementPolicy_Type) Enum() *NodePool_PlacementPolicy_Typefunc (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.EnumNumberfunc (NodePool_PlacementPolicy_Type) String
func (x NodePool_PlacementPolicy_Type) String() stringfunc (NodePool_PlacementPolicy_Type) Type
func (NodePool_PlacementPolicy_Type) Type() protoreflect.EnumTypeNodePool_QueuedProvisioning
type NodePool_QueuedProvisioning struct {
// Denotes that this nodepool is QRM specific, meaning nodes can be only
// obtained through queuing via the Cluster Autoscaler ProvisioningRequest
// API.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}QueuedProvisioning defines the queued provisioning used by the node pool.
func (*NodePool_QueuedProvisioning) Descriptor
func (*NodePool_QueuedProvisioning) Descriptor() ([]byte, []int)Deprecated: Use NodePool_QueuedProvisioning.ProtoReflect.Descriptor instead.
func (*NodePool_QueuedProvisioning) GetEnabled
func (x *NodePool_QueuedProvisioning) GetEnabled() boolfunc (*NodePool_QueuedProvisioning) ProtoMessage
func (*NodePool_QueuedProvisioning) ProtoMessage()func (*NodePool_QueuedProvisioning) ProtoReflect
func (x *NodePool_QueuedProvisioning) ProtoReflect() protoreflect.Messagefunc (*NodePool_QueuedProvisioning) Reset
func (x *NodePool_QueuedProvisioning) Reset()func (*NodePool_QueuedProvisioning) String
func (x *NodePool_QueuedProvisioning) String() stringNodePool_Status
type NodePool_Status int32The 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.EnumDescriptorfunc (NodePool_Status) Enum
func (x NodePool_Status) Enum() *NodePool_Statusfunc (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.EnumNumberfunc (NodePool_Status) String
func (x NodePool_Status) String() stringfunc (NodePool_Status) Type
func (NodePool_Status) Type() protoreflect.EnumTypeNodePool_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_BlueGreenInfofunc (*NodePool_UpdateInfo) ProtoMessage
func (*NodePool_UpdateInfo) ProtoMessage()func (*NodePool_UpdateInfo) ProtoReflect
func (x *NodePool_UpdateInfo) ProtoReflect() protoreflect.Messagefunc (*NodePool_UpdateInfo) Reset
func (x *NodePool_UpdateInfo) Reset()func (*NodePool_UpdateInfo) String
func (x *NodePool_UpdateInfo) String() stringNodePool_UpdateInfo_BlueGreenInfo
type NodePool_UpdateInfo_BlueGreenInfo struct {
// Current blue-green upgrade phase.
Phase NodePool_UpdateInfo_BlueGreenInfo_Phase `protobuf:"varint,1,opt,name=phase,proto3,enum=google.container.v1.NodePool_UpdateInfo_BlueGreenInfo_Phase" json:"phase,omitempty"`
// The resource URLs of the [managed instance groups]
// (/compute/docs/instance-groups/creating-groups-of-managed-instances)
// associated with blue pool.
BlueInstanceGroupUrls []string `protobuf:"bytes,2,rep,name=blue_instance_group_urls,json=blueInstanceGroupUrls,proto3" json:"blue_instance_group_urls,omitempty"`
// The resource URLs of the [managed instance groups]
// (/compute/docs/instance-groups/creating-groups-of-managed-instances)
// associated with green pool.
GreenInstanceGroupUrls []string `protobuf:"bytes,3,rep,name=green_instance_group_urls,json=greenInstanceGroupUrls,proto3" json:"green_instance_group_urls,omitempty"`
// Time to start deleting blue pool to complete blue-green upgrade,
// in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
BluePoolDeletionStartTime string `protobuf:"bytes,4,opt,name=blue_pool_deletion_start_time,json=bluePoolDeletionStartTime,proto3" json:"blue_pool_deletion_start_time,omitempty"`
// Version of green pool.
GreenPoolVersion string `protobuf:"bytes,5,opt,name=green_pool_version,json=greenPoolVersion,proto3" json:"green_pool_version,omitempty"`
// contains filtered or unexported fields
}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() []stringfunc (*NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime() stringfunc (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls() []stringfunc (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion() stringfunc (*NodePool_UpdateInfo_BlueGreenInfo) GetPhase
func (x *NodePool_UpdateInfo_BlueGreenInfo) GetPhase() NodePool_UpdateInfo_BlueGreenInfo_Phasefunc (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage
func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage()func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoReflect
func (x *NodePool_UpdateInfo_BlueGreenInfo) ProtoReflect() protoreflect.Messagefunc (*NodePool_UpdateInfo_BlueGreenInfo) Reset
func (x *NodePool_UpdateInfo_BlueGreenInfo) Reset()func (*NodePool_UpdateInfo_BlueGreenInfo) String
func (x *NodePool_UpdateInfo_BlueGreenInfo) String() stringNodePool_UpdateInfo_BlueGreenInfo_Phase
type NodePool_UpdateInfo_BlueGreenInfo_Phase int32Phase 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.EnumDescriptorfunc (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.EnumNumberfunc (NodePool_UpdateInfo_BlueGreenInfo_Phase) String
func (x NodePool_UpdateInfo_BlueGreenInfo_Phase) String() stringfunc (NodePool_UpdateInfo_BlueGreenInfo_Phase) Type
func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Type() protoreflect.EnumTypeNodePool_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() *BlueGreenSettingsfunc (*NodePool_UpgradeSettings) GetMaxSurge
func (x *NodePool_UpgradeSettings) GetMaxSurge() int32func (*NodePool_UpgradeSettings) GetMaxUnavailable
func (x *NodePool_UpgradeSettings) GetMaxUnavailable() int32func (*NodePool_UpgradeSettings) GetStrategy
func (x *NodePool_UpgradeSettings) GetStrategy() NodePoolUpdateStrategyfunc (*NodePool_UpgradeSettings) ProtoMessage
func (*NodePool_UpgradeSettings) ProtoMessage()func (*NodePool_UpgradeSettings) ProtoReflect
func (x *NodePool_UpgradeSettings) ProtoReflect() protoreflect.Messagefunc (*NodePool_UpgradeSettings) Reset
func (x *NodePool_UpgradeSettings) Reset()func (*NodePool_UpgradeSettings) String
func (x *NodePool_UpgradeSettings) String() stringNodeTaint
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_Effectfunc (*NodeTaint) GetKey
func (*NodeTaint) GetValue
func (*NodeTaint) ProtoMessage
func (*NodeTaint) ProtoMessage()func (*NodeTaint) ProtoReflect
func (x *NodeTaint) ProtoReflect() protoreflect.Messagefunc (*NodeTaint) Reset
func (x *NodeTaint) Reset()func (*NodeTaint) String
NodeTaint_Effect
type NodeTaint_Effect int32Possible 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.EnumDescriptorfunc (NodeTaint_Effect) Enum
func (x NodeTaint_Effect) Enum() *NodeTaint_Effectfunc (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.EnumNumberfunc (NodeTaint_Effect) String
func (x NodeTaint_Effect) String() stringfunc (NodeTaint_Effect) Type
func (NodeTaint_Effect) Type() protoreflect.EnumTypeNodeTaints
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() []*NodeTaintfunc (*NodeTaints) ProtoMessage
func (*NodeTaints) ProtoMessage()func (*NodeTaints) ProtoReflect
func (x *NodeTaints) ProtoReflect() protoreflect.Messagefunc (*NodeTaints) Reset
func (x *NodeTaints) Reset()func (*NodeTaints) String
func (x *NodeTaints) String() stringNotificationConfig
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_PubSubfunc (*NotificationConfig) ProtoMessage
func (*NotificationConfig) ProtoMessage()func (*NotificationConfig) ProtoReflect
func (x *NotificationConfig) ProtoReflect() protoreflect.Messagefunc (*NotificationConfig) Reset
func (x *NotificationConfig) Reset()func (*NotificationConfig) String
func (x *NotificationConfig) String() stringNotificationConfig_EventType
type NotificationConfig_EventType int32Types 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, NotificationConfig_UPGRADE_INFO_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
// Corresponds with UpgradeInfoEvent.
NotificationConfig_UPGRADE_INFO_EVENT NotificationConfig_EventType = 4
)func (NotificationConfig_EventType) Descriptor
func (NotificationConfig_EventType) Descriptor() protoreflect.EnumDescriptorfunc (NotificationConfig_EventType) Enum
func (x NotificationConfig_EventType) Enum() *NotificationConfig_EventTypefunc (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.EnumNumberfunc (NotificationConfig_EventType) String
func (x NotificationConfig_EventType) String() stringfunc (NotificationConfig_EventType) Type
func (NotificationConfig_EventType) Type() protoreflect.EnumTypeNotificationConfig_Filter
type NotificationConfig_Filter struct {
// Event types to allowlist.
EventType []NotificationConfig_EventType `protobuf:"varint,1,rep,packed,name=event_type,json=eventType,proto3,enum=google.container.v1.NotificationConfig_EventType" json:"event_type,omitempty"`
// contains filtered or unexported fields
}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_EventTypefunc (*NotificationConfig_Filter) ProtoMessage
func (*NotificationConfig_Filter) ProtoMessage()func (*NotificationConfig_Filter) ProtoReflect
func (x *NotificationConfig_Filter) ProtoReflect() protoreflect.Messagefunc (*NotificationConfig_Filter) Reset
func (x *NotificationConfig_Filter) Reset()func (*NotificationConfig_Filter) String
func (x *NotificationConfig_Filter) String() stringNotificationConfig_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() boolfunc (*NotificationConfig_PubSub) GetFilter
func (x *NotificationConfig_PubSub) GetFilter() *NotificationConfig_Filterfunc (*NotificationConfig_PubSub) GetTopic
func (x *NotificationConfig_PubSub) GetTopic() stringfunc (*NotificationConfig_PubSub) ProtoMessage
func (*NotificationConfig_PubSub) ProtoMessage()func (*NotificationConfig_PubSub) ProtoReflect
func (x *NotificationConfig_PubSub) ProtoReflect() protoreflect.Messagefunc (*NotificationConfig_PubSub) Reset
func (x *NotificationConfig_PubSub) Reset()func (*NotificationConfig_PubSub) String
func (x *NotificationConfig_PubSub) String() stringOperation
type Operation struct {
// Output only. The server-assigned ID for the operation.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The name of the Google Compute Engine
// [zone](https://cloud.google.com/compute/docs/zones#available)
// in which the operation is taking place. This field is deprecated, use
// location instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// Output only. The operation type.
OperationType Operation_Type `protobuf:"varint,3,opt,name=operation_type,json=operationType,proto3,enum=google.container.v1.Operation_Type" json:"operation_type,omitempty"`
// Output only. The current status of the operation.
Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"`
// Output only. Detailed operation progress, if available.
Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
// Output only. If an error has occurred, a textual description of the error.
// Deprecated. Use the field error instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Server-defined URI for the operation. Example:
// `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.
SelfLink string `protobuf:"bytes,6,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
// Output only. Server-defined URI for the target of the operation. The format
// of this is a URI to the resource being modified (such as a cluster, node
// pool, or node). For node pool repairs, there may be multiple nodes being
// repaired, but only one will be the target.
//
// Examples:
//
// -
// ##
// `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster`
//
// ##
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np`
//
// `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`
TargetLink string `protobuf:"bytes,7,opt,name=target_link,json=targetLink,proto3" json:"target_link,omitempty"`
// Output only. The name of the Google Compute Engine
// [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
// or
// [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
// in which the cluster resides.
Location string `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
// Output only. The time the operation started, in
// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
StartTime string `protobuf:"bytes,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The time the operation completed, in
// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
EndTime string `protobuf:"bytes,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Progress information for an operation.
Progress *OperationProgress `protobuf:"bytes,12,opt,name=progress,proto3" json:"progress,omitempty"`
// Which conditions caused the current cluster state.
// Deprecated. Use field error instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
ClusterConditions []*StatusCondition `protobuf:"bytes,13,rep,name=cluster_conditions,json=clusterConditions,proto3" json:"cluster_conditions,omitempty"`
// Which conditions caused the current node pool state.
// Deprecated. Use field error instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
NodepoolConditions []*StatusCondition `protobuf:"bytes,14,rep,name=nodepool_conditions,json=nodepoolConditions,proto3" json:"nodepool_conditions,omitempty"`
// The error result of the operation in case of failure.
Error *status.Status `protobuf:"bytes,15,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
func (*Operation) Descriptor
Deprecated: Use Operation.ProtoReflect.Descriptor instead.
func (*Operation) GetClusterConditions
func (x *Operation) GetClusterConditions() []*StatusConditionDeprecated: 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() []*StatusConditionDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*Operation) GetOperationType
func (x *Operation) GetOperationType() Operation_Typefunc (*Operation) GetProgress
func (x *Operation) GetProgress() *OperationProgressfunc (*Operation) GetSelfLink
func (*Operation) GetStartTime
func (*Operation) GetStatus
func (x *Operation) GetStatus() Operation_Statusfunc (*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.Messagefunc (*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_Metricfunc (*OperationProgress) GetName
func (x *OperationProgress) GetName() stringfunc (*OperationProgress) GetStages
func (x *OperationProgress) GetStages() []*OperationProgressfunc (*OperationProgress) GetStatus
func (x *OperationProgress) GetStatus() Operation_Statusfunc (*OperationProgress) ProtoMessage
func (*OperationProgress) ProtoMessage()func (*OperationProgress) ProtoReflect
func (x *OperationProgress) ProtoReflect() protoreflect.Messagefunc (*OperationProgress) Reset
func (x *OperationProgress) Reset()func (*OperationProgress) String
func (x *OperationProgress) String() stringOperationProgress_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() float64func (*OperationProgress_Metric) GetIntValue
func (x *OperationProgress_Metric) GetIntValue() int64func (*OperationProgress_Metric) GetName
func (x *OperationProgress_Metric) GetName() stringfunc (*OperationProgress_Metric) GetStringValue
func (x *OperationProgress_Metric) GetStringValue() stringfunc (*OperationProgress_Metric) GetValue
func (m *OperationProgress_Metric) GetValue() isOperationProgress_Metric_Valuefunc (*OperationProgress_Metric) ProtoMessage
func (*OperationProgress_Metric) ProtoMessage()func (*OperationProgress_Metric) ProtoReflect
func (x *OperationProgress_Metric) ProtoReflect() protoreflect.Messagefunc (*OperationProgress_Metric) Reset
func (x *OperationProgress_Metric) Reset()func (*OperationProgress_Metric) String
func (x *OperationProgress_Metric) String() stringOperationProgress_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 int32Current 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.EnumDescriptorfunc (Operation_Status) Enum
func (x Operation_Status) Enum() *Operation_Statusfunc (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.EnumNumberfunc (Operation_Status) String
func (x Operation_Status) String() stringfunc (Operation_Status) Type
func (Operation_Status) Type() protoreflect.EnumTypeOperation_Type
type Operation_Type int32Operation 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, Operation_FLEET_FEATURE_UPGRADE
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][google.container.v1.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][google.container.v1.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
// Fleet features of GKE Enterprise are being upgraded. The cluster should
// be assumed to be blocked for other upgrades until the operation finishes.
Operation_FLEET_FEATURE_UPGRADE Operation_Type = 19
)func (Operation_Type) Descriptor
func (Operation_Type) Descriptor() protoreflect.EnumDescriptorfunc (Operation_Type) Enum
func (x Operation_Type) Enum() *Operation_Typefunc (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.EnumNumberfunc (Operation_Type) String
func (x Operation_Type) String() stringfunc (Operation_Type) Type
func (Operation_Type) Type() protoreflect.EnumTypeParallelstoreCsiDriverConfig
type ParallelstoreCsiDriverConfig struct {
// Whether the Cloud Storage Parallelstore 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 Cloud Storage Parallelstore CSI driver.
func (*ParallelstoreCsiDriverConfig) Descriptor
func (*ParallelstoreCsiDriverConfig) Descriptor() ([]byte, []int)Deprecated: Use ParallelstoreCsiDriverConfig.ProtoReflect.Descriptor instead.
func (*ParallelstoreCsiDriverConfig) GetEnabled
func (x *ParallelstoreCsiDriverConfig) GetEnabled() boolfunc (*ParallelstoreCsiDriverConfig) ProtoMessage
func (*ParallelstoreCsiDriverConfig) ProtoMessage()func (*ParallelstoreCsiDriverConfig) ProtoReflect
func (x *ParallelstoreCsiDriverConfig) ProtoReflect() protoreflect.Messagefunc (*ParallelstoreCsiDriverConfig) Reset
func (x *ParallelstoreCsiDriverConfig) Reset()func (*ParallelstoreCsiDriverConfig) String
func (x *ParallelstoreCsiDriverConfig) String() stringPodAutoscaling
type PodAutoscaling struct {
// Selected Horizontal Pod Autoscaling profile.
HpaProfile *PodAutoscaling_HPAProfile `protobuf:"varint,2,opt,name=hpa_profile,json=hpaProfile,proto3,enum=google.container.v1.PodAutoscaling_HPAProfile,oneof" json:"hpa_profile,omitempty"`
// contains filtered or unexported fields
}PodAutoscaling is used for configuration of parameters for workload autoscaling.
func (*PodAutoscaling) Descriptor
func (*PodAutoscaling) Descriptor() ([]byte, []int)Deprecated: Use PodAutoscaling.ProtoReflect.Descriptor instead.
func (*PodAutoscaling) GetHpaProfile
func (x *PodAutoscaling) GetHpaProfile() PodAutoscaling_HPAProfilefunc (*PodAutoscaling) ProtoMessage
func (*PodAutoscaling) ProtoMessage()func (*PodAutoscaling) ProtoReflect
func (x *PodAutoscaling) ProtoReflect() protoreflect.Messagefunc (*PodAutoscaling) Reset
func (x *PodAutoscaling) Reset()func (*PodAutoscaling) String
func (x *PodAutoscaling) String() stringPodAutoscaling_HPAProfile
type PodAutoscaling_HPAProfile int32Possible types of Horizontal Pod Autoscaling profile.
PodAutoscaling_HPA_PROFILE_UNSPECIFIED, PodAutoscaling_NONE, PodAutoscaling_PERFORMANCE
const (
// HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.
PodAutoscaling_HPA_PROFILE_UNSPECIFIED PodAutoscaling_HPAProfile = 0
// Customers explicitly opt-out of HPA profiles.
PodAutoscaling_NONE PodAutoscaling_HPAProfile = 1
// PERFORMANCE is used when customers opt-in to the performance HPA profile.
// In this profile we support a higher number of HPAs per cluster and faster
// metrics collection for workload autoscaling.
PodAutoscaling_PERFORMANCE PodAutoscaling_HPAProfile = 2
)func (PodAutoscaling_HPAProfile) Descriptor
func (PodAutoscaling_HPAProfile) Descriptor() protoreflect.EnumDescriptorfunc (PodAutoscaling_HPAProfile) Enum
func (x PodAutoscaling_HPAProfile) Enum() *PodAutoscaling_HPAProfilefunc (PodAutoscaling_HPAProfile) EnumDescriptor
func (PodAutoscaling_HPAProfile) EnumDescriptor() ([]byte, []int)Deprecated: Use PodAutoscaling_HPAProfile.Descriptor instead.
func (PodAutoscaling_HPAProfile) Number
func (x PodAutoscaling_HPAProfile) Number() protoreflect.EnumNumberfunc (PodAutoscaling_HPAProfile) String
func (x PodAutoscaling_HPAProfile) String() stringfunc (PodAutoscaling_HPAProfile) Type
func (PodAutoscaling_HPAProfile) Type() protoreflect.EnumTypePodCIDROverprovisionConfig
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() boolfunc (*PodCIDROverprovisionConfig) ProtoMessage
func (*PodCIDROverprovisionConfig) ProtoMessage()func (*PodCIDROverprovisionConfig) ProtoReflect
func (x *PodCIDROverprovisionConfig) ProtoReflect() protoreflect.Messagefunc (*PodCIDROverprovisionConfig) Reset
func (x *PodCIDROverprovisionConfig) Reset()func (*PodCIDROverprovisionConfig) String
func (x *PodCIDROverprovisionConfig) String() stringPrivateClusterConfig
type PrivateClusterConfig struct {
// Whether nodes have internal IP addresses only. If enabled, all nodes are
// given only RFC 1918 private addresses and communicate with the master via
// private networking.
//
// Deprecated: Use
// [NetworkConfig.default_enable_private_nodes][google.container.v1.NetworkConfig.default_enable_private_nodes]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"`
// Whether the master's internal IP address is used as the cluster endpoint.
//
// Deprecated: Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint]
// instead. Note that the value of enable_public_endpoint is reversed: if
// enable_private_endpoint is false, then enable_public_endpoint will be true.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
EnablePrivateEndpoint bool `protobuf:"varint,2,opt,name=enable_private_endpoint,json=enablePrivateEndpoint,proto3" json:"enable_private_endpoint,omitempty"`
// The IP range in CIDR notation to use for the hosted master network. This
// range will be used for assigning internal IP addresses to the master or
// set of masters, as well as the ILB VIP. This range must not overlap with
// any other ranges in use within the cluster's network.
MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"`
// Output only. The internal IP address of this cluster's master endpoint.
//
// Deprecated: Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"`
// Output only. The external IP address of this cluster's master endpoint.
//
// Deprecated:Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
// Output only. The peering name in the customer VPC used by this cluster.
PeeringName string `protobuf:"bytes,7,opt,name=peering_name,json=peeringName,proto3" json:"peering_name,omitempty"`
// Controls master global access settings.
//
// Deprecated: Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access][]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
MasterGlobalAccessConfig *PrivateClusterMasterGlobalAccessConfig `protobuf:"bytes,8,opt,name=master_global_access_config,json=masterGlobalAccessConfig,proto3" json:"master_global_access_config,omitempty"`
// Subnet to provision the master's private endpoint during cluster creation.
// Specified in projects/*/regions/*/subnetworks/* format.
//
// Deprecated: Use
// [ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork][google.container.v1.ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork]
// instead.
//
// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
PrivateEndpointSubnetwork string `protobuf:"bytes,10,opt,name=private_endpoint_subnetwork,json=privateEndpointSubnetwork,proto3" json:"private_endpoint_subnetwork,omitempty"`
// contains filtered or unexported fields
}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() boolDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) GetEnablePrivateNodes
func (x *PrivateClusterConfig) GetEnablePrivateNodes() boolDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) GetMasterGlobalAccessConfig
func (x *PrivateClusterConfig) GetMasterGlobalAccessConfig() *PrivateClusterMasterGlobalAccessConfigDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) GetMasterIpv4CidrBlock
func (x *PrivateClusterConfig) GetMasterIpv4CidrBlock() stringfunc (*PrivateClusterConfig) GetPeeringName
func (x *PrivateClusterConfig) GetPeeringName() stringfunc (*PrivateClusterConfig) GetPrivateEndpoint
func (x *PrivateClusterConfig) GetPrivateEndpoint() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) GetPrivateEndpointSubnetwork
func (x *PrivateClusterConfig) GetPrivateEndpointSubnetwork() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) GetPublicEndpoint
func (x *PrivateClusterConfig) GetPublicEndpoint() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*PrivateClusterConfig) ProtoMessage
func (*PrivateClusterConfig) ProtoMessage()func (*PrivateClusterConfig) ProtoReflect
func (x *PrivateClusterConfig) ProtoReflect() protoreflect.Messagefunc (*PrivateClusterConfig) Reset
func (x *PrivateClusterConfig) Reset()func (*PrivateClusterConfig) String
func (x *PrivateClusterConfig) String() stringPrivateClusterMasterGlobalAccessConfig
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() boolfunc (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage
func (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage()func (*PrivateClusterMasterGlobalAccessConfig) ProtoReflect
func (x *PrivateClusterMasterGlobalAccessConfig) ProtoReflect() protoreflect.Messagefunc (*PrivateClusterMasterGlobalAccessConfig) Reset
func (x *PrivateClusterMasterGlobalAccessConfig) Reset()func (*PrivateClusterMasterGlobalAccessConfig) String
func (x *PrivateClusterMasterGlobalAccessConfig) String() stringPrivateIPv6GoogleAccess
type PrivateIPv6GoogleAccess int32PrivateIPv6GoogleAccess 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.EnumDescriptorfunc (PrivateIPv6GoogleAccess) Enum
func (x PrivateIPv6GoogleAccess) Enum() *PrivateIPv6GoogleAccessfunc (PrivateIPv6GoogleAccess) EnumDescriptor
func (PrivateIPv6GoogleAccess) EnumDescriptor() ([]byte, []int)Deprecated: Use PrivateIPv6GoogleAccess.Descriptor instead.
func (PrivateIPv6GoogleAccess) Number
func (x PrivateIPv6GoogleAccess) Number() protoreflect.EnumNumberfunc (PrivateIPv6GoogleAccess) String
func (x PrivateIPv6GoogleAccess) String() stringfunc (PrivateIPv6GoogleAccess) Type
func (PrivateIPv6GoogleAccess) Type() protoreflect.EnumTypePrivilegedAdmissionConfig
type PrivilegedAdmissionConfig struct {
// The customer allowlist Cloud Storage paths for the cluster. These paths are
// used with the `--autopilot-privileged-admission` flag to authorize
// privileged workloads in Autopilot clusters.
//
// Paths can be GKE-owned, in the format
// `gke://PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.
func (*PrivilegedAdmissionConfig) Descriptor
func (*PrivilegedAdmissionConfig) Descriptor() ([]byte, []int)Deprecated: Use PrivilegedAdmissionConfig.ProtoReflect.Descriptor instead.
func (*PrivilegedAdmissionConfig) GetAllowlistPaths
func (x *PrivilegedAdmissionConfig) GetAllowlistPaths() []stringfunc (*PrivilegedAdmissionConfig) ProtoMessage
func (*PrivilegedAdmissionConfig) ProtoMessage()func (*PrivilegedAdmissionConfig) ProtoReflect
func (x *PrivilegedAdmissionConfig) ProtoReflect() protoreflect.Messagefunc (*PrivilegedAdmissionConfig) Reset
func (x *PrivilegedAdmissionConfig) Reset()func (*PrivilegedAdmissionConfig) String
func (x *PrivilegedAdmissionConfig) String() stringRBACBindingConfig
type RBACBindingConfig struct {
// Setting this to true will allow any ClusterRoleBinding and RoleBinding
// with subjets system:anonymous or system:unauthenticated.
EnableInsecureBindingSystemUnauthenticated *bool `protobuf:"varint,1,opt,name=enable_insecure_binding_system_unauthenticated,json=enableInsecureBindingSystemUnauthenticated,proto3,oneof" json:"enable_insecure_binding_system_unauthenticated,omitempty"`
// Setting this to true will allow any ClusterRoleBinding and RoleBinding
// with subjects system:authenticated.
EnableInsecureBindingSystemAuthenticated *bool `protobuf:"varint,2,opt,name=enable_insecure_binding_system_authenticated,json=enableInsecureBindingSystemAuthenticated,proto3,oneof" json:"enable_insecure_binding_system_authenticated,omitempty"`
// contains filtered or unexported fields
}RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
func (*RBACBindingConfig) Descriptor
func (*RBACBindingConfig) Descriptor() ([]byte, []int)Deprecated: Use RBACBindingConfig.ProtoReflect.Descriptor instead.
func (*RBACBindingConfig) GetEnableInsecureBindingSystemAuthenticated
func (x *RBACBindingConfig) GetEnableInsecureBindingSystemAuthenticated() boolfunc (*RBACBindingConfig) GetEnableInsecureBindingSystemUnauthenticated
func (x *RBACBindingConfig) GetEnableInsecureBindingSystemUnauthenticated() boolfunc (*RBACBindingConfig) ProtoMessage
func (*RBACBindingConfig) ProtoMessage()func (*RBACBindingConfig) ProtoReflect
func (x *RBACBindingConfig) ProtoReflect() protoreflect.Messagefunc (*RBACBindingConfig) Reset
func (x *RBACBindingConfig) Reset()func (*RBACBindingConfig) String
func (x *RBACBindingConfig) String() stringRangeInfo
type RangeInfo struct {
// Output only. Name of a range.
RangeName string `protobuf:"bytes,1,opt,name=range_name,json=rangeName,proto3" json:"range_name,omitempty"`
// Output only. The utilization of the range.
Utilization float64 `protobuf:"fixed64,2,opt,name=utilization,proto3" json:"utilization,omitempty"`
// contains filtered or unexported fields
}RangeInfo contains the range name and the range utilization by this cluster.
func (*RangeInfo) Descriptor
Deprecated: Use RangeInfo.ProtoReflect.Descriptor instead.
func (*RangeInfo) GetRangeName
func (*RangeInfo) GetUtilization
func (*RangeInfo) ProtoMessage
func (*RangeInfo) ProtoMessage()func (*RangeInfo) ProtoReflect
func (x *RangeInfo) ProtoReflect() protoreflect.Messagefunc (*RangeInfo) Reset
func (x *RangeInfo) Reset()func (*RangeInfo) String
RayClusterLoggingConfig
type RayClusterLoggingConfig struct {
// Enable log collection for Ray clusters.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}RayClusterLoggingConfig specifies configuration of Ray logging.
func (*RayClusterLoggingConfig) Descriptor
func (*RayClusterLoggingConfig) Descriptor() ([]byte, []int)Deprecated: Use RayClusterLoggingConfig.ProtoReflect.Descriptor instead.
func (*RayClusterLoggingConfig) GetEnabled
func (x *RayClusterLoggingConfig) GetEnabled() boolfunc (*RayClusterLoggingConfig) ProtoMessage
func (*RayClusterLoggingConfig) ProtoMessage()func (*RayClusterLoggingConfig) ProtoReflect
func (x *RayClusterLoggingConfig) ProtoReflect() protoreflect.Messagefunc (*RayClusterLoggingConfig) Reset
func (x *RayClusterLoggingConfig) Reset()func (*RayClusterLoggingConfig) String
func (x *RayClusterLoggingConfig) String() stringRayClusterMonitoringConfig
type RayClusterMonitoringConfig struct {
// Enable metrics collection for Ray clusters.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.
func (*RayClusterMonitoringConfig) Descriptor
func (*RayClusterMonitoringConfig) Descriptor() ([]byte, []int)Deprecated: Use RayClusterMonitoringConfig.ProtoReflect.Descriptor instead.
func (*RayClusterMonitoringConfig) GetEnabled
func (x *RayClusterMonitoringConfig) GetEnabled() boolfunc (*RayClusterMonitoringConfig) ProtoMessage
func (*RayClusterMonitoringConfig) ProtoMessage()func (*RayClusterMonitoringConfig) ProtoReflect
func (x *RayClusterMonitoringConfig) ProtoReflect() protoreflect.Messagefunc (*RayClusterMonitoringConfig) Reset
func (x *RayClusterMonitoringConfig) Reset()func (*RayClusterMonitoringConfig) String
func (x *RayClusterMonitoringConfig) String() stringRayOperatorConfig
type RayOperatorConfig struct {
// Whether the Ray Operator addon is enabled for this cluster.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Optional. Logging configuration for Ray clusters.
RayClusterLoggingConfig *RayClusterLoggingConfig `protobuf:"bytes,2,opt,name=ray_cluster_logging_config,json=rayClusterLoggingConfig,proto3" json:"ray_cluster_logging_config,omitempty"`
// Optional. Monitoring configuration for Ray clusters.
RayClusterMonitoringConfig *RayClusterMonitoringConfig `protobuf:"bytes,3,opt,name=ray_cluster_monitoring_config,json=rayClusterMonitoringConfig,proto3" json:"ray_cluster_monitoring_config,omitempty"`
// contains filtered or unexported fields
}Configuration options for the Ray Operator add-on.
func (*RayOperatorConfig) Descriptor
func (*RayOperatorConfig) Descriptor() ([]byte, []int)Deprecated: Use RayOperatorConfig.ProtoReflect.Descriptor instead.
func (*RayOperatorConfig) GetEnabled
func (x *RayOperatorConfig) GetEnabled() boolfunc (*RayOperatorConfig) GetRayClusterLoggingConfig
func (x *RayOperatorConfig) GetRayClusterLoggingConfig() *RayClusterLoggingConfigfunc (*RayOperatorConfig) GetRayClusterMonitoringConfig
func (x *RayOperatorConfig) GetRayClusterMonitoringConfig() *RayClusterMonitoringConfigfunc (*RayOperatorConfig) ProtoMessage
func (*RayOperatorConfig) ProtoMessage()func (*RayOperatorConfig) ProtoReflect
func (x *RayOperatorConfig) ProtoReflect() protoreflect.Messagefunc (*RayOperatorConfig) Reset
func (x *RayOperatorConfig) Reset()func (*RayOperatorConfig) String
func (x *RayOperatorConfig) String() stringRecurringTimeWindow
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() stringfunc (*RecurringTimeWindow) GetWindow
func (x *RecurringTimeWindow) GetWindow() *TimeWindowfunc (*RecurringTimeWindow) ProtoMessage
func (*RecurringTimeWindow) ProtoMessage()func (*RecurringTimeWindow) ProtoReflect
func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Messagefunc (*RecurringTimeWindow) Reset
func (x *RecurringTimeWindow) Reset()func (*RecurringTimeWindow) String
func (x *RecurringTimeWindow) String() stringReleaseChannel
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_Channelfunc (*ReleaseChannel) ProtoMessage
func (*ReleaseChannel) ProtoMessage()func (*ReleaseChannel) ProtoReflect
func (x *ReleaseChannel) ProtoReflect() protoreflect.Messagefunc (*ReleaseChannel) Reset
func (x *ReleaseChannel) Reset()func (*ReleaseChannel) String
func (x *ReleaseChannel) String() stringReleaseChannel_Channel
type ReleaseChannel_Channel int32Possible values for 'channel'.
ReleaseChannel_UNSPECIFIED, ReleaseChannel_RAPID, ReleaseChannel_REGULAR, ReleaseChannel_STABLE, ReleaseChannel_EXTENDED
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
// Clusters subscribed to EXTENDED receive extended support and availability
// for versions which are known to be stable and reliable in production.
ReleaseChannel_EXTENDED ReleaseChannel_Channel = 4
)func (ReleaseChannel_Channel) Descriptor
func (ReleaseChannel_Channel) Descriptor() protoreflect.EnumDescriptorfunc (ReleaseChannel_Channel) Enum
func (x ReleaseChannel_Channel) Enum() *ReleaseChannel_Channelfunc (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.EnumNumberfunc (ReleaseChannel_Channel) String
func (x ReleaseChannel_Channel) String() stringfunc (ReleaseChannel_Channel) Type
func (ReleaseChannel_Channel) Type() protoreflect.EnumTypeReservationAffinity
type ReservationAffinity struct {
// Corresponds to the type of reservation consumption.
ConsumeReservationType ReservationAffinity_Type `protobuf:"varint,1,opt,name=consume_reservation_type,json=consumeReservationType,proto3,enum=google.container.v1.ReservationAffinity_Type" json:"consume_reservation_type,omitempty"`
// Corresponds to the label key of a reservation resource. To target a
// SPECIFIC_RESERVATION by name, specify
// "compute.googleapis.com/reservation-name" as the key and specify the name
// of your reservation as its value.
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// Corresponds to the label value(s) of reservation resource(s).
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}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_Typefunc (*ReservationAffinity) GetKey
func (x *ReservationAffinity) GetKey() stringfunc (*ReservationAffinity) GetValues
func (x *ReservationAffinity) GetValues() []stringfunc (*ReservationAffinity) ProtoMessage
func (*ReservationAffinity) ProtoMessage()func (*ReservationAffinity) ProtoReflect
func (x *ReservationAffinity) ProtoReflect() protoreflect.Messagefunc (*ReservationAffinity) Reset
func (x *ReservationAffinity) Reset()func (*ReservationAffinity) String
func (x *ReservationAffinity) String() stringReservationAffinity_Type
type ReservationAffinity_Type int32Indicates 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.EnumDescriptorfunc (ReservationAffinity_Type) Enum
func (x ReservationAffinity_Type) Enum() *ReservationAffinity_Typefunc (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.EnumNumberfunc (ReservationAffinity_Type) String
func (x ReservationAffinity_Type) String() stringfunc (ReservationAffinity_Type) Type
func (ReservationAffinity_Type) Type() protoreflect.EnumTypeResourceLabels
type ResourceLabels struct {
// Map of node label keys and node label values.
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Collection of Resource Manager labels.
func (*ResourceLabels) Descriptor
func (*ResourceLabels) Descriptor() ([]byte, []int)Deprecated: Use ResourceLabels.ProtoReflect.Descriptor instead.
func (*ResourceLabels) GetLabels
func (x *ResourceLabels) GetLabels() map[string]stringfunc (*ResourceLabels) ProtoMessage
func (*ResourceLabels) ProtoMessage()func (*ResourceLabels) ProtoReflect
func (x *ResourceLabels) ProtoReflect() protoreflect.Messagefunc (*ResourceLabels) Reset
func (x *ResourceLabels) Reset()func (*ResourceLabels) String
func (x *ResourceLabels) String() stringResourceLimit
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() int64func (*ResourceLimit) GetMinimum
func (x *ResourceLimit) GetMinimum() int64func (*ResourceLimit) GetResourceType
func (x *ResourceLimit) GetResourceType() stringfunc (*ResourceLimit) ProtoMessage
func (*ResourceLimit) ProtoMessage()func (*ResourceLimit) ProtoReflect
func (x *ResourceLimit) ProtoReflect() protoreflect.Messagefunc (*ResourceLimit) Reset
func (x *ResourceLimit) Reset()func (*ResourceLimit) String
func (x *ResourceLimit) String() stringResourceManagerTags
type ResourceManagerTags struct {
// TagKeyValue must be in one of the following formats ([KEY]=[VALUE])
// 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}`
// 2. `{org_id}/{tag_key_name}={tag_value_name}`
// 3. `{project_id}/{tag_key_name}={tag_value_name}`
Tags map[string]string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.
func (*ResourceManagerTags) Descriptor
func (*ResourceManagerTags) Descriptor() ([]byte, []int)Deprecated: Use ResourceManagerTags.ProtoReflect.Descriptor instead.
func (*ResourceManagerTags) GetTags
func (x *ResourceManagerTags) GetTags() map[string]stringfunc (*ResourceManagerTags) ProtoMessage
func (*ResourceManagerTags) ProtoMessage()func (*ResourceManagerTags) ProtoReflect
func (x *ResourceManagerTags) ProtoReflect() protoreflect.Messagefunc (*ResourceManagerTags) Reset
func (x *ResourceManagerTags) Reset()func (*ResourceManagerTags) String
func (x *ResourceManagerTags) String() stringResourceUsageExportConfig
type ResourceUsageExportConfig struct {
// Configuration to use BigQuery as usage export destination.
BigqueryDestination *ResourceUsageExportConfig_BigQueryDestination `protobuf:"bytes,1,opt,name=bigquery_destination,json=bigqueryDestination,proto3" json:"bigquery_destination,omitempty"`
// Whether to enable network egress metering for this cluster. If enabled, a
// daemonset will be created in the cluster to meter network egress traffic.
EnableNetworkEgressMetering bool `protobuf:"varint,2,opt,name=enable_network_egress_metering,json=enableNetworkEgressMetering,proto3" json:"enable_network_egress_metering,omitempty"`
// Configuration to enable resource consumption metering.
ConsumptionMeteringConfig *ResourceUsageExportConfig_ConsumptionMeteringConfig `protobuf:"bytes,3,opt,name=consumption_metering_config,json=consumptionMeteringConfig,proto3" json:"consumption_metering_config,omitempty"`
// contains filtered or unexported fields
}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_BigQueryDestinationfunc (*ResourceUsageExportConfig) GetConsumptionMeteringConfig
func (x *ResourceUsageExportConfig) GetConsumptionMeteringConfig() *ResourceUsageExportConfig_ConsumptionMeteringConfigfunc (*ResourceUsageExportConfig) GetEnableNetworkEgressMetering
func (x *ResourceUsageExportConfig) GetEnableNetworkEgressMetering() boolfunc (*ResourceUsageExportConfig) ProtoMessage
func (*ResourceUsageExportConfig) ProtoMessage()func (*ResourceUsageExportConfig) ProtoReflect
func (x *ResourceUsageExportConfig) ProtoReflect() protoreflect.Messagefunc (*ResourceUsageExportConfig) Reset
func (x *ResourceUsageExportConfig) Reset()func (*ResourceUsageExportConfig) String
func (x *ResourceUsageExportConfig) String() stringResourceUsageExportConfig_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() stringfunc (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage
func (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage()func (*ResourceUsageExportConfig_BigQueryDestination) ProtoReflect
func (x *ResourceUsageExportConfig_BigQueryDestination) ProtoReflect() protoreflect.Messagefunc (*ResourceUsageExportConfig_BigQueryDestination) Reset
func (x *ResourceUsageExportConfig_BigQueryDestination) Reset()func (*ResourceUsageExportConfig_BigQueryDestination) String
func (x *ResourceUsageExportConfig_BigQueryDestination) String() stringResourceUsageExportConfig_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() boolfunc (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoMessage
func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoMessage()func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoReflect
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoReflect() protoreflect.Messagefunc (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Reset
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) Reset()func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) String
func (x *ResourceUsageExportConfig_ConsumptionMeteringConfig) String() stringRollbackNodePoolUpgradeRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetName
func (x *RollbackNodePoolUpgradeRequest) GetName() stringfunc (*RollbackNodePoolUpgradeRequest) GetNodePoolId
func (x *RollbackNodePoolUpgradeRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetProjectId
func (x *RollbackNodePoolUpgradeRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) GetRespectPdb
func (x *RollbackNodePoolUpgradeRequest) GetRespectPdb() boolfunc (*RollbackNodePoolUpgradeRequest) GetZone
func (x *RollbackNodePoolUpgradeRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*RollbackNodePoolUpgradeRequest) ProtoMessage
func (*RollbackNodePoolUpgradeRequest) ProtoMessage()func (*RollbackNodePoolUpgradeRequest) ProtoReflect
func (x *RollbackNodePoolUpgradeRequest) ProtoReflect() protoreflect.Messagefunc (*RollbackNodePoolUpgradeRequest) Reset
func (x *RollbackNodePoolUpgradeRequest) Reset()func (*RollbackNodePoolUpgradeRequest) String
func (x *RollbackNodePoolUpgradeRequest) String() stringSandboxConfig
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_Typefunc (*SandboxConfig) ProtoMessage
func (*SandboxConfig) ProtoMessage()func (*SandboxConfig) ProtoReflect
func (x *SandboxConfig) ProtoReflect() protoreflect.Messagefunc (*SandboxConfig) Reset
func (x *SandboxConfig) Reset()func (*SandboxConfig) String
func (x *SandboxConfig) String() stringSandboxConfig_Type
type SandboxConfig_Type int32Possible 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.EnumDescriptorfunc (SandboxConfig_Type) Enum
func (x SandboxConfig_Type) Enum() *SandboxConfig_Typefunc (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.EnumNumberfunc (SandboxConfig_Type) String
func (x SandboxConfig_Type) String() stringfunc (SandboxConfig_Type) Type
func (SandboxConfig_Type) Type() protoreflect.EnumTypeSecondaryBootDisk
type SecondaryBootDisk struct {
// Disk mode (container image cache, etc.)
Mode SecondaryBootDisk_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.container.v1.SecondaryBootDisk_Mode" json:"mode,omitempty"`
// Fully-qualified resource ID for an existing disk image.
DiskImage string `protobuf:"bytes,2,opt,name=disk_image,json=diskImage,proto3" json:"disk_image,omitempty"`
// contains filtered or unexported fields
}SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.
func (*SecondaryBootDisk) Descriptor
func (*SecondaryBootDisk) Descriptor() ([]byte, []int)Deprecated: Use SecondaryBootDisk.ProtoReflect.Descriptor instead.
func (*SecondaryBootDisk) GetDiskImage
func (x *SecondaryBootDisk) GetDiskImage() stringfunc (*SecondaryBootDisk) GetMode
func (x *SecondaryBootDisk) GetMode() SecondaryBootDisk_Modefunc (*SecondaryBootDisk) ProtoMessage
func (*SecondaryBootDisk) ProtoMessage()func (*SecondaryBootDisk) ProtoReflect
func (x *SecondaryBootDisk) ProtoReflect() protoreflect.Messagefunc (*SecondaryBootDisk) Reset
func (x *SecondaryBootDisk) Reset()func (*SecondaryBootDisk) String
func (x *SecondaryBootDisk) String() stringSecondaryBootDiskUpdateStrategy
type SecondaryBootDiskUpdateStrategy struct {
// contains filtered or unexported fields
}SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the future to define different options for updating secondary boot disks.
func (*SecondaryBootDiskUpdateStrategy) Descriptor
func (*SecondaryBootDiskUpdateStrategy) Descriptor() ([]byte, []int)Deprecated: Use SecondaryBootDiskUpdateStrategy.ProtoReflect.Descriptor instead.
func (*SecondaryBootDiskUpdateStrategy) ProtoMessage
func (*SecondaryBootDiskUpdateStrategy) ProtoMessage()func (*SecondaryBootDiskUpdateStrategy) ProtoReflect
func (x *SecondaryBootDiskUpdateStrategy) ProtoReflect() protoreflect.Messagefunc (*SecondaryBootDiskUpdateStrategy) Reset
func (x *SecondaryBootDiskUpdateStrategy) Reset()func (*SecondaryBootDiskUpdateStrategy) String
func (x *SecondaryBootDiskUpdateStrategy) String() stringSecondaryBootDisk_Mode
type SecondaryBootDisk_Mode int32Mode specifies how the secondary boot disk will be used. This triggers mode-specified logic in the control plane.
SecondaryBootDisk_MODE_UNSPECIFIED, SecondaryBootDisk_CONTAINER_IMAGE_CACHE
const (
// MODE_UNSPECIFIED is when mode is not set.
SecondaryBootDisk_MODE_UNSPECIFIED SecondaryBootDisk_Mode = 0
// CONTAINER_IMAGE_CACHE is for using the secondary boot disk as
// a container image cache.
SecondaryBootDisk_CONTAINER_IMAGE_CACHE SecondaryBootDisk_Mode = 1
)func (SecondaryBootDisk_Mode) Descriptor
func (SecondaryBootDisk_Mode) Descriptor() protoreflect.EnumDescriptorfunc (SecondaryBootDisk_Mode) Enum
func (x SecondaryBootDisk_Mode) Enum() *SecondaryBootDisk_Modefunc (SecondaryBootDisk_Mode) EnumDescriptor
func (SecondaryBootDisk_Mode) EnumDescriptor() ([]byte, []int)Deprecated: Use SecondaryBootDisk_Mode.Descriptor instead.
func (SecondaryBootDisk_Mode) Number
func (x SecondaryBootDisk_Mode) Number() protoreflect.EnumNumberfunc (SecondaryBootDisk_Mode) String
func (x SecondaryBootDisk_Mode) String() stringfunc (SecondaryBootDisk_Mode) Type
func (SecondaryBootDisk_Mode) Type() protoreflect.EnumTypeSecretManagerConfig
type SecretManagerConfig struct {
// Enable/Disable Secret Manager Config.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Rotation config for secret manager.
RotationConfig *SecretManagerConfig_RotationConfig `protobuf:"bytes,2,opt,name=rotation_config,json=rotationConfig,proto3,oneof" json:"rotation_config,omitempty"`
// contains filtered or unexported fields
}SecretManagerConfig is config for secret manager enablement.
func (*SecretManagerConfig) Descriptor
func (*SecretManagerConfig) Descriptor() ([]byte, []int)Deprecated: Use SecretManagerConfig.ProtoReflect.Descriptor instead.
func (*SecretManagerConfig) GetEnabled
func (x *SecretManagerConfig) GetEnabled() boolfunc (*SecretManagerConfig) GetRotationConfig
func (x *SecretManagerConfig) GetRotationConfig() *SecretManagerConfig_RotationConfigfunc (*SecretManagerConfig) ProtoMessage
func (*SecretManagerConfig) ProtoMessage()func (*SecretManagerConfig) ProtoReflect
func (x *SecretManagerConfig) ProtoReflect() protoreflect.Messagefunc (*SecretManagerConfig) Reset
func (x *SecretManagerConfig) Reset()func (*SecretManagerConfig) String
func (x *SecretManagerConfig) String() stringSecretManagerConfig_RotationConfig
type SecretManagerConfig_RotationConfig struct {
// Whether the rotation is enabled.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// The interval between two consecutive rotations. Default rotation interval
// is 2 minutes.
RotationInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=rotation_interval,json=rotationInterval,proto3,oneof" json:"rotation_interval,omitempty"`
// contains filtered or unexported fields
}RotationConfig is config for secret manager auto rotation.
func (*SecretManagerConfig_RotationConfig) Descriptor
func (*SecretManagerConfig_RotationConfig) Descriptor() ([]byte, []int)Deprecated: Use SecretManagerConfig_RotationConfig.ProtoReflect.Descriptor instead.
func (*SecretManagerConfig_RotationConfig) GetEnabled
func (x *SecretManagerConfig_RotationConfig) GetEnabled() boolfunc (*SecretManagerConfig_RotationConfig) GetRotationInterval
func (x *SecretManagerConfig_RotationConfig) GetRotationInterval() *durationpb.Durationfunc (*SecretManagerConfig_RotationConfig) ProtoMessage
func (*SecretManagerConfig_RotationConfig) ProtoMessage()func (*SecretManagerConfig_RotationConfig) ProtoReflect
func (x *SecretManagerConfig_RotationConfig) ProtoReflect() protoreflect.Messagefunc (*SecretManagerConfig_RotationConfig) Reset
func (x *SecretManagerConfig_RotationConfig) Reset()func (*SecretManagerConfig_RotationConfig) String
func (x *SecretManagerConfig_RotationConfig) String() stringSecurityBulletinEvent
type SecurityBulletinEvent struct {
// The resource type (node/control plane) that has the vulnerability. Multiple
// notifications (1 notification per resource type) will be sent for a
// vulnerability that affects > 1 resource type.
ResourceTypeAffected string `protobuf:"bytes,1,opt,name=resource_type_affected,json=resourceTypeAffected,proto3" json:"resource_type_affected,omitempty"`
// The ID of the bulletin corresponding to the vulnerability.
BulletinId string `protobuf:"bytes,2,opt,name=bulletin_id,json=bulletinId,proto3" json:"bulletin_id,omitempty"`
// The CVEs associated with this bulletin.
CveIds []string `protobuf:"bytes,3,rep,name=cve_ids,json=cveIds,proto3" json:"cve_ids,omitempty"`
// The severity of this bulletin as it relates to GKE.
Severity string `protobuf:"bytes,4,opt,name=severity,proto3" json:"severity,omitempty"`
// The URI link to the bulletin on the website for more information.
BulletinUri string `protobuf:"bytes,5,opt,name=bulletin_uri,json=bulletinUri,proto3" json:"bulletin_uri,omitempty"`
// A brief description of the bulletin. See the bulletin pointed to by the
// bulletin_uri field for an expanded description.
BriefDescription string `protobuf:"bytes,6,opt,name=brief_description,json=briefDescription,proto3" json:"brief_description,omitempty"`
// The GKE minor versions affected by this vulnerability.
AffectedSupportedMinors []string `protobuf:"bytes,7,rep,name=affected_supported_minors,json=affectedSupportedMinors,proto3" json:"affected_supported_minors,omitempty"`
// The GKE versions where this vulnerability is patched.
PatchedVersions []string `protobuf:"bytes,8,rep,name=patched_versions,json=patchedVersions,proto3" json:"patched_versions,omitempty"`
// This represents a version selected from the patched_versions field that
// the cluster receiving this notification should most likely want to upgrade
// to based on its current version. Note that if this notification is being
// received by a given cluster, it means that this version is currently
// available as an upgrade target in that cluster's location.
SuggestedUpgradeTarget string `protobuf:"bytes,9,opt,name=suggested_upgrade_target,json=suggestedUpgradeTarget,proto3" json:"suggested_upgrade_target,omitempty"`
// If this field is specified, it means there are manual steps that the user
// must take to make their clusters safe.
ManualStepsRequired bool `protobuf:"varint,10,opt,name=manual_steps_required,json=manualStepsRequired,proto3" json:"manual_steps_required,omitempty"`
// The GKE versions where this vulnerability is mitigated.
MitigatedVersions []string `protobuf:"bytes,11,rep,name=mitigated_versions,json=mitigatedVersions,proto3" json:"mitigated_versions,omitempty"`
// contains filtered or unexported fields
}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() []stringfunc (*SecurityBulletinEvent) GetBriefDescription
func (x *SecurityBulletinEvent) GetBriefDescription() stringfunc (*SecurityBulletinEvent) GetBulletinId
func (x *SecurityBulletinEvent) GetBulletinId() stringfunc (*SecurityBulletinEvent) GetBulletinUri
func (x *SecurityBulletinEvent) GetBulletinUri() stringfunc (*SecurityBulletinEvent) GetCveIds
func (x *SecurityBulletinEvent) GetCveIds() []stringfunc (*SecurityBulletinEvent) GetManualStepsRequired
func (x *SecurityBulletinEvent) GetManualStepsRequired() boolfunc (*SecurityBulletinEvent) GetMitigatedVersions
func (x *SecurityBulletinEvent) GetMitigatedVersions() []stringfunc (*SecurityBulletinEvent) GetPatchedVersions
func (x *SecurityBulletinEvent) GetPatchedVersions() []stringfunc (*SecurityBulletinEvent) GetResourceTypeAffected
func (x *SecurityBulletinEvent) GetResourceTypeAffected() stringfunc (*SecurityBulletinEvent) GetSeverity
func (x *SecurityBulletinEvent) GetSeverity() stringfunc (*SecurityBulletinEvent) GetSuggestedUpgradeTarget
func (x *SecurityBulletinEvent) GetSuggestedUpgradeTarget() stringfunc (*SecurityBulletinEvent) ProtoMessage
func (*SecurityBulletinEvent) ProtoMessage()func (*SecurityBulletinEvent) ProtoReflect
func (x *SecurityBulletinEvent) ProtoReflect() protoreflect.Messagefunc (*SecurityBulletinEvent) Reset
func (x *SecurityBulletinEvent) Reset()func (*SecurityBulletinEvent) String
func (x *SecurityBulletinEvent) String() stringSecurityPostureConfig
type SecurityPostureConfig struct {
// Sets which mode to use for Security Posture features.
Mode *SecurityPostureConfig_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.container.v1.SecurityPostureConfig_Mode,oneof" json:"mode,omitempty"`
// Sets which mode to use for vulnerability scanning.
VulnerabilityMode *SecurityPostureConfig_VulnerabilityMode `protobuf:"varint,2,opt,name=vulnerability_mode,json=vulnerabilityMode,proto3,enum=google.container.v1.SecurityPostureConfig_VulnerabilityMode,oneof" json:"vulnerability_mode,omitempty"`
// contains filtered or unexported fields
}SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.
func (*SecurityPostureConfig) Descriptor
func (*SecurityPostureConfig) Descriptor() ([]byte, []int)Deprecated: Use SecurityPostureConfig.ProtoReflect.Descriptor instead.
func (*SecurityPostureConfig) GetMode
func (x *SecurityPostureConfig) GetMode() SecurityPostureConfig_Modefunc (*SecurityPostureConfig) GetVulnerabilityMode
func (x *SecurityPostureConfig) GetVulnerabilityMode() SecurityPostureConfig_VulnerabilityModefunc (*SecurityPostureConfig) ProtoMessage
func (*SecurityPostureConfig) ProtoMessage()func (*SecurityPostureConfig) ProtoReflect
func (x *SecurityPostureConfig) ProtoReflect() protoreflect.Messagefunc (*SecurityPostureConfig) Reset
func (x *SecurityPostureConfig) Reset()func (*SecurityPostureConfig) String
func (x *SecurityPostureConfig) String() stringSecurityPostureConfig_Mode
type SecurityPostureConfig_Mode int32Mode defines enablement mode for GKE Security posture features.
SecurityPostureConfig_MODE_UNSPECIFIED, SecurityPostureConfig_DISABLED, SecurityPostureConfig_BASIC, SecurityPostureConfig_ENTERPRISE
const (
// Default value not specified.
SecurityPostureConfig_MODE_UNSPECIFIED SecurityPostureConfig_Mode = 0
// Disables Security Posture features on the cluster.
SecurityPostureConfig_DISABLED SecurityPostureConfig_Mode = 1
// Applies Security Posture features on the cluster.
SecurityPostureConfig_BASIC SecurityPostureConfig_Mode = 2
// Applies the Security Posture off cluster Enterprise level features.
SecurityPostureConfig_ENTERPRISE SecurityPostureConfig_Mode = 3
)func (SecurityPostureConfig_Mode) Descriptor
func (SecurityPostureConfig_Mode) Descriptor() protoreflect.EnumDescriptorfunc (SecurityPostureConfig_Mode) Enum
func (x SecurityPostureConfig_Mode) Enum() *SecurityPostureConfig_Modefunc (SecurityPostureConfig_Mode) EnumDescriptor
func (SecurityPostureConfig_Mode) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityPostureConfig_Mode.Descriptor instead.
func (SecurityPostureConfig_Mode) Number
func (x SecurityPostureConfig_Mode) Number() protoreflect.EnumNumberfunc (SecurityPostureConfig_Mode) String
func (x SecurityPostureConfig_Mode) String() stringfunc (SecurityPostureConfig_Mode) Type
func (SecurityPostureConfig_Mode) Type() protoreflect.EnumTypeSecurityPostureConfig_VulnerabilityMode
type SecurityPostureConfig_VulnerabilityMode int32VulnerabilityMode defines enablement mode for vulnerability scanning.
SecurityPostureConfig_VULNERABILITY_MODE_UNSPECIFIED, SecurityPostureConfig_VULNERABILITY_DISABLED, SecurityPostureConfig_VULNERABILITY_BASIC, SecurityPostureConfig_VULNERABILITY_ENTERPRISE
const (
// Default value not specified.
SecurityPostureConfig_VULNERABILITY_MODE_UNSPECIFIED SecurityPostureConfig_VulnerabilityMode = 0
// Disables vulnerability scanning on the cluster.
SecurityPostureConfig_VULNERABILITY_DISABLED SecurityPostureConfig_VulnerabilityMode = 1
// Applies basic vulnerability scanning on the cluster.
SecurityPostureConfig_VULNERABILITY_BASIC SecurityPostureConfig_VulnerabilityMode = 2
// Applies the Security Posture's vulnerability on cluster Enterprise level
// features.
SecurityPostureConfig_VULNERABILITY_ENTERPRISE SecurityPostureConfig_VulnerabilityMode = 3
)func (SecurityPostureConfig_VulnerabilityMode) Descriptor
func (SecurityPostureConfig_VulnerabilityMode) Descriptor() protoreflect.EnumDescriptorfunc (SecurityPostureConfig_VulnerabilityMode) Enum
func (SecurityPostureConfig_VulnerabilityMode) EnumDescriptor
func (SecurityPostureConfig_VulnerabilityMode) EnumDescriptor() ([]byte, []int)Deprecated: Use SecurityPostureConfig_VulnerabilityMode.Descriptor instead.
func (SecurityPostureConfig_VulnerabilityMode) Number
func (x SecurityPostureConfig_VulnerabilityMode) Number() protoreflect.EnumNumberfunc (SecurityPostureConfig_VulnerabilityMode) String
func (x SecurityPostureConfig_VulnerabilityMode) String() stringfunc (SecurityPostureConfig_VulnerabilityMode) Type
func (SecurityPostureConfig_VulnerabilityMode) Type() protoreflect.EnumTypeServerConfig
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_ReleaseChannelConfigfunc (*ServerConfig) GetDefaultClusterVersion
func (x *ServerConfig) GetDefaultClusterVersion() stringfunc (*ServerConfig) GetDefaultImageType
func (x *ServerConfig) GetDefaultImageType() stringfunc (*ServerConfig) GetValidImageTypes
func (x *ServerConfig) GetValidImageTypes() []stringfunc (*ServerConfig) GetValidMasterVersions
func (x *ServerConfig) GetValidMasterVersions() []stringfunc (*ServerConfig) GetValidNodeVersions
func (x *ServerConfig) GetValidNodeVersions() []stringfunc (*ServerConfig) ProtoMessage
func (*ServerConfig) ProtoMessage()func (*ServerConfig) ProtoReflect
func (x *ServerConfig) ProtoReflect() protoreflect.Messagefunc (*ServerConfig) Reset
func (x *ServerConfig) Reset()func (*ServerConfig) String
func (x *ServerConfig) String() stringServerConfig_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"`
// The auto upgrade target version for clusters on the channel.
UpgradeTargetVersion string `protobuf:"bytes,5,opt,name=upgrade_target_version,json=upgradeTargetVersion,proto3" json:"upgrade_target_version,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_Channelfunc (*ServerConfig_ReleaseChannelConfig) GetDefaultVersion
func (x *ServerConfig_ReleaseChannelConfig) GetDefaultVersion() stringfunc (*ServerConfig_ReleaseChannelConfig) GetUpgradeTargetVersion
func (x *ServerConfig_ReleaseChannelConfig) GetUpgradeTargetVersion() stringfunc (*ServerConfig_ReleaseChannelConfig) GetValidVersions
func (x *ServerConfig_ReleaseChannelConfig) GetValidVersions() []stringfunc (*ServerConfig_ReleaseChannelConfig) ProtoMessage
func (*ServerConfig_ReleaseChannelConfig) ProtoMessage()func (*ServerConfig_ReleaseChannelConfig) ProtoReflect
func (x *ServerConfig_ReleaseChannelConfig) ProtoReflect() protoreflect.Messagefunc (*ServerConfig_ReleaseChannelConfig) Reset
func (x *ServerConfig_ReleaseChannelConfig) Reset()func (*ServerConfig_ReleaseChannelConfig) String
func (x *ServerConfig_ReleaseChannelConfig) String() stringServiceExternalIPsConfig
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() boolfunc (*ServiceExternalIPsConfig) ProtoMessage
func (*ServiceExternalIPsConfig) ProtoMessage()func (*ServiceExternalIPsConfig) ProtoReflect
func (x *ServiceExternalIPsConfig) ProtoReflect() protoreflect.Messagefunc (*ServiceExternalIPsConfig) Reset
func (x *ServiceExternalIPsConfig) Reset()func (*ServiceExternalIPsConfig) String
func (x *ServiceExternalIPsConfig) String() stringSetAddonsConfigRequest
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() *AddonsConfigfunc (*SetAddonsConfigRequest) GetClusterId
func (x *SetAddonsConfigRequest) GetClusterId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) GetName
func (x *SetAddonsConfigRequest) GetName() stringfunc (*SetAddonsConfigRequest) GetProjectId
func (x *SetAddonsConfigRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) GetZone
func (x *SetAddonsConfigRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetAddonsConfigRequest) ProtoMessage
func (*SetAddonsConfigRequest) ProtoMessage()func (*SetAddonsConfigRequest) ProtoReflect
func (x *SetAddonsConfigRequest) ProtoReflect() protoreflect.Messagefunc (*SetAddonsConfigRequest) Reset
func (x *SetAddonsConfigRequest) Reset()func (*SetAddonsConfigRequest) String
func (x *SetAddonsConfigRequest) String() stringSetLabelsRequest
type SetLabelsRequest 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. The labels to set for that cluster.
ResourceLabels map[string]string `protobuf:"bytes,4,rep,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. The fingerprint of the previous set of labels for this resource,
// used to detect conflicts. The fingerprint is initially generated by
// Kubernetes Engine and changes after every request to modify or update
// labels. You must always provide an up-to-date fingerprint hash when
// updating or changing labels. Make a `get()` request to the
// resource to get the latest fingerprint.
LabelFingerprint string `protobuf:"bytes,5,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
// The name (project, location, cluster name) of the cluster to set labels.
// Specified in the format `projects/*/locations/*/clusters/*`.
Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) GetLabelFingerprint
func (x *SetLabelsRequest) GetLabelFingerprint() stringfunc (*SetLabelsRequest) GetName
func (x *SetLabelsRequest) GetName() stringfunc (*SetLabelsRequest) GetProjectId
func (x *SetLabelsRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) GetResourceLabels
func (x *SetLabelsRequest) GetResourceLabels() map[string]stringfunc (*SetLabelsRequest) GetZone
func (x *SetLabelsRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLabelsRequest) ProtoMessage
func (*SetLabelsRequest) ProtoMessage()func (*SetLabelsRequest) ProtoReflect
func (x *SetLabelsRequest) ProtoReflect() protoreflect.Messagefunc (*SetLabelsRequest) Reset
func (x *SetLabelsRequest) Reset()func (*SetLabelsRequest) String
func (x *SetLabelsRequest) String() stringSetLegacyAbacRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) GetEnabled
func (x *SetLegacyAbacRequest) GetEnabled() boolfunc (*SetLegacyAbacRequest) GetName
func (x *SetLegacyAbacRequest) GetName() stringfunc (*SetLegacyAbacRequest) GetProjectId
func (x *SetLegacyAbacRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) GetZone
func (x *SetLegacyAbacRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLegacyAbacRequest) ProtoMessage
func (*SetLegacyAbacRequest) ProtoMessage()func (*SetLegacyAbacRequest) ProtoReflect
func (x *SetLegacyAbacRequest) ProtoReflect() protoreflect.Messagefunc (*SetLegacyAbacRequest) Reset
func (x *SetLegacyAbacRequest) Reset()func (*SetLegacyAbacRequest) String
func (x *SetLegacyAbacRequest) String() stringSetLocationsRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) GetLocations
func (x *SetLocationsRequest) GetLocations() []stringfunc (*SetLocationsRequest) GetName
func (x *SetLocationsRequest) GetName() stringfunc (*SetLocationsRequest) GetProjectId
func (x *SetLocationsRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) GetZone
func (x *SetLocationsRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLocationsRequest) ProtoMessage
func (*SetLocationsRequest) ProtoMessage()func (*SetLocationsRequest) ProtoReflect
func (x *SetLocationsRequest) ProtoReflect() protoreflect.Messagefunc (*SetLocationsRequest) Reset
func (x *SetLocationsRequest) Reset()func (*SetLocationsRequest) String
func (x *SetLocationsRequest) String() stringSetLoggingServiceRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) GetLoggingService
func (x *SetLoggingServiceRequest) GetLoggingService() stringfunc (*SetLoggingServiceRequest) GetName
func (x *SetLoggingServiceRequest) GetName() stringfunc (*SetLoggingServiceRequest) GetProjectId
func (x *SetLoggingServiceRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) GetZone
func (x *SetLoggingServiceRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetLoggingServiceRequest) ProtoMessage
func (*SetLoggingServiceRequest) ProtoMessage()func (*SetLoggingServiceRequest) ProtoReflect
func (x *SetLoggingServiceRequest) ProtoReflect() protoreflect.Messagefunc (*SetLoggingServiceRequest) Reset
func (x *SetLoggingServiceRequest) Reset()func (*SetLoggingServiceRequest) String
func (x *SetLoggingServiceRequest) String() stringSetMaintenancePolicyRequest
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() stringfunc (*SetMaintenancePolicyRequest) GetMaintenancePolicy
func (x *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicyfunc (*SetMaintenancePolicyRequest) GetName
func (x *SetMaintenancePolicyRequest) GetName() stringfunc (*SetMaintenancePolicyRequest) GetProjectId
func (x *SetMaintenancePolicyRequest) GetProjectId() stringfunc (*SetMaintenancePolicyRequest) GetZone
func (x *SetMaintenancePolicyRequest) GetZone() stringfunc (*SetMaintenancePolicyRequest) ProtoMessage
func (*SetMaintenancePolicyRequest) ProtoMessage()func (*SetMaintenancePolicyRequest) ProtoReflect
func (x *SetMaintenancePolicyRequest) ProtoReflect() protoreflect.Messagefunc (*SetMaintenancePolicyRequest) Reset
func (x *SetMaintenancePolicyRequest) Reset()func (*SetMaintenancePolicyRequest) String
func (x *SetMaintenancePolicyRequest) String() stringSetMasterAuthRequest
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_Actionfunc (*SetMasterAuthRequest) GetClusterId
func (x *SetMasterAuthRequest) GetClusterId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) GetName
func (x *SetMasterAuthRequest) GetName() stringfunc (*SetMasterAuthRequest) GetProjectId
func (x *SetMasterAuthRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) GetUpdate
func (x *SetMasterAuthRequest) GetUpdate() *MasterAuthfunc (*SetMasterAuthRequest) GetZone
func (x *SetMasterAuthRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMasterAuthRequest) ProtoMessage
func (*SetMasterAuthRequest) ProtoMessage()func (*SetMasterAuthRequest) ProtoReflect
func (x *SetMasterAuthRequest) ProtoReflect() protoreflect.Messagefunc (*SetMasterAuthRequest) Reset
func (x *SetMasterAuthRequest) Reset()func (*SetMasterAuthRequest) String
func (x *SetMasterAuthRequest) String() stringSetMasterAuthRequest_Action
type SetMasterAuthRequest_Action int32Operation 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.EnumDescriptorfunc (SetMasterAuthRequest_Action) Enum
func (x SetMasterAuthRequest_Action) Enum() *SetMasterAuthRequest_Actionfunc (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.EnumNumberfunc (SetMasterAuthRequest_Action) String
func (x SetMasterAuthRequest_Action) String() stringfunc (SetMasterAuthRequest_Action) Type
func (SetMasterAuthRequest_Action) Type() protoreflect.EnumTypeSetMonitoringServiceRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) GetMonitoringService
func (x *SetMonitoringServiceRequest) GetMonitoringService() stringfunc (*SetMonitoringServiceRequest) GetName
func (x *SetMonitoringServiceRequest) GetName() stringfunc (*SetMonitoringServiceRequest) GetProjectId
func (x *SetMonitoringServiceRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) GetZone
func (x *SetMonitoringServiceRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetMonitoringServiceRequest) ProtoMessage
func (*SetMonitoringServiceRequest) ProtoMessage()func (*SetMonitoringServiceRequest) ProtoReflect
func (x *SetMonitoringServiceRequest) ProtoReflect() protoreflect.Messagefunc (*SetMonitoringServiceRequest) Reset
func (x *SetMonitoringServiceRequest) Reset()func (*SetMonitoringServiceRequest) String
func (x *SetMonitoringServiceRequest) String() stringSetNetworkPolicyRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) GetName
func (x *SetNetworkPolicyRequest) GetName() stringfunc (*SetNetworkPolicyRequest) GetNetworkPolicy
func (x *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicyfunc (*SetNetworkPolicyRequest) GetProjectId
func (x *SetNetworkPolicyRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) GetZone
func (x *SetNetworkPolicyRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNetworkPolicyRequest) ProtoMessage
func (*SetNetworkPolicyRequest) ProtoMessage()func (*SetNetworkPolicyRequest) ProtoReflect
func (x *SetNetworkPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*SetNetworkPolicyRequest) Reset
func (x *SetNetworkPolicyRequest) Reset()func (*SetNetworkPolicyRequest) String
func (x *SetNetworkPolicyRequest) String() stringSetNodePoolAutoscalingRequest
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() *NodePoolAutoscalingfunc (*SetNodePoolAutoscalingRequest) GetClusterId
func (x *SetNodePoolAutoscalingRequest) GetClusterId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetName
func (x *SetNodePoolAutoscalingRequest) GetName() stringfunc (*SetNodePoolAutoscalingRequest) GetNodePoolId
func (x *SetNodePoolAutoscalingRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetProjectId
func (x *SetNodePoolAutoscalingRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) GetZone
func (x *SetNodePoolAutoscalingRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolAutoscalingRequest) ProtoMessage
func (*SetNodePoolAutoscalingRequest) ProtoMessage()func (*SetNodePoolAutoscalingRequest) ProtoReflect
func (x *SetNodePoolAutoscalingRequest) ProtoReflect() protoreflect.Messagefunc (*SetNodePoolAutoscalingRequest) Reset
func (x *SetNodePoolAutoscalingRequest) Reset()func (*SetNodePoolAutoscalingRequest) String
func (x *SetNodePoolAutoscalingRequest) String() stringSetNodePoolManagementRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetManagement
func (x *SetNodePoolManagementRequest) GetManagement() *NodeManagementfunc (*SetNodePoolManagementRequest) GetName
func (x *SetNodePoolManagementRequest) GetName() stringfunc (*SetNodePoolManagementRequest) GetNodePoolId
func (x *SetNodePoolManagementRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetProjectId
func (x *SetNodePoolManagementRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) GetZone
func (x *SetNodePoolManagementRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolManagementRequest) ProtoMessage
func (*SetNodePoolManagementRequest) ProtoMessage()func (*SetNodePoolManagementRequest) ProtoReflect
func (x *SetNodePoolManagementRequest) ProtoReflect() protoreflect.Messagefunc (*SetNodePoolManagementRequest) Reset
func (x *SetNodePoolManagementRequest) Reset()func (*SetNodePoolManagementRequest) String
func (x *SetNodePoolManagementRequest) String() stringSetNodePoolSizeRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetName
func (x *SetNodePoolSizeRequest) GetName() stringfunc (*SetNodePoolSizeRequest) GetNodeCount
func (x *SetNodePoolSizeRequest) GetNodeCount() int32func (*SetNodePoolSizeRequest) GetNodePoolId
func (x *SetNodePoolSizeRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetProjectId
func (x *SetNodePoolSizeRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) GetZone
func (x *SetNodePoolSizeRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*SetNodePoolSizeRequest) ProtoMessage
func (*SetNodePoolSizeRequest) ProtoMessage()func (*SetNodePoolSizeRequest) ProtoReflect
func (x *SetNodePoolSizeRequest) ProtoReflect() protoreflect.Messagefunc (*SetNodePoolSizeRequest) Reset
func (x *SetNodePoolSizeRequest) Reset()func (*SetNodePoolSizeRequest) String
func (x *SetNodePoolSizeRequest) String() stringShieldedInstanceConfig
type ShieldedInstanceConfig struct {
// Defines whether the instance has Secure Boot enabled.
//
// Secure Boot helps ensure that the system only runs authentic software by
// verifying the digital signature of all boot components, and halting the
// boot process if signature verification fails.
EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"`
// Defines whether the instance has integrity monitoring enabled.
//
// Enables monitoring and attestation of the boot integrity of the instance.
// The attestation is performed against the integrity policy baseline. This
// baseline is initially derived from the implicitly trusted boot image when
// the instance is created.
EnableIntegrityMonitoring bool `protobuf:"varint,2,opt,name=enable_integrity_monitoring,json=enableIntegrityMonitoring,proto3" json:"enable_integrity_monitoring,omitempty"`
// contains filtered or unexported fields
}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() boolfunc (*ShieldedInstanceConfig) GetEnableSecureBoot
func (x *ShieldedInstanceConfig) GetEnableSecureBoot() boolfunc (*ShieldedInstanceConfig) ProtoMessage
func (*ShieldedInstanceConfig) ProtoMessage()func (*ShieldedInstanceConfig) ProtoReflect
func (x *ShieldedInstanceConfig) ProtoReflect() protoreflect.Messagefunc (*ShieldedInstanceConfig) Reset
func (x *ShieldedInstanceConfig) Reset()func (*ShieldedInstanceConfig) String
func (x *ShieldedInstanceConfig) String() stringShieldedNodes
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() boolfunc (*ShieldedNodes) ProtoMessage
func (*ShieldedNodes) ProtoMessage()func (*ShieldedNodes) ProtoReflect
func (x *ShieldedNodes) ProtoReflect() protoreflect.Messagefunc (*ShieldedNodes) Reset
func (x *ShieldedNodes) Reset()func (*ShieldedNodes) String
func (x *ShieldedNodes) String() stringSoleTenantConfig
type SoleTenantConfig struct {
// NodeAffinities used to match to a shared sole tenant node group.
NodeAffinities []*SoleTenantConfig_NodeAffinity `protobuf:"bytes,1,rep,name=node_affinities,json=nodeAffinities,proto3" json:"node_affinities,omitempty"`
// Optional. The minimum number of virtual CPUs this instance will consume
// when running on a sole-tenant node. This field can only be set if the node
// pool is created in a shared sole-tenant node group.
MinNodeCpus *int32 `protobuf:"varint,2,opt,name=min_node_cpus,json=minNodeCpus,proto3,oneof" json:"min_node_cpus,omitempty"`
// contains filtered or unexported fields
}SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.
func (*SoleTenantConfig) Descriptor
func (*SoleTenantConfig) Descriptor() ([]byte, []int)Deprecated: Use SoleTenantConfig.ProtoReflect.Descriptor instead.
func (*SoleTenantConfig) GetMinNodeCpus
func (x *SoleTenantConfig) GetMinNodeCpus() int32func (*SoleTenantConfig) GetNodeAffinities
func (x *SoleTenantConfig) GetNodeAffinities() []*SoleTenantConfig_NodeAffinityfunc (*SoleTenantConfig) ProtoMessage
func (*SoleTenantConfig) ProtoMessage()func (*SoleTenantConfig) ProtoReflect
func (x *SoleTenantConfig) ProtoReflect() protoreflect.Messagefunc (*SoleTenantConfig) Reset
func (x *SoleTenantConfig) Reset()func (*SoleTenantConfig) String
func (x *SoleTenantConfig) String() stringSoleTenantConfig_NodeAffinity
type SoleTenantConfig_NodeAffinity struct {
// Key for NodeAffinity.
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Operator for NodeAffinity.
Operator SoleTenantConfig_NodeAffinity_Operator `protobuf:"varint,2,opt,name=operator,proto3,enum=google.container.v1.SoleTenantConfig_NodeAffinity_Operator" json:"operator,omitempty"`
// Values for NodeAffinity.
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}Specifies the NodeAffinity key, values, and affinity operator according to shared sole tenant node group affinities.
func (*SoleTenantConfig_NodeAffinity) Descriptor
func (*SoleTenantConfig_NodeAffinity) Descriptor() ([]byte, []int)Deprecated: Use SoleTenantConfig_NodeAffinity.ProtoReflect.Descriptor instead.
func (*SoleTenantConfig_NodeAffinity) GetKey
func (x *SoleTenantConfig_NodeAffinity) GetKey() stringfunc (*SoleTenantConfig_NodeAffinity) GetOperator
func (x *SoleTenantConfig_NodeAffinity) GetOperator() SoleTenantConfig_NodeAffinity_Operatorfunc (*SoleTenantConfig_NodeAffinity) GetValues
func (x *SoleTenantConfig_NodeAffinity) GetValues() []stringfunc (*SoleTenantConfig_NodeAffinity) ProtoMessage
func (*SoleTenantConfig_NodeAffinity) ProtoMessage()func (*SoleTenantConfig_NodeAffinity) ProtoReflect
func (x *SoleTenantConfig_NodeAffinity) ProtoReflect() protoreflect.Messagefunc (*SoleTenantConfig_NodeAffinity) Reset
func (x *SoleTenantConfig_NodeAffinity) Reset()func (*SoleTenantConfig_NodeAffinity) String
func (x *SoleTenantConfig_NodeAffinity) String() stringSoleTenantConfig_NodeAffinity_Operator
type SoleTenantConfig_NodeAffinity_Operator int32Operator allows user to specify affinity or anti-affinity for the given key values.
SoleTenantConfig_NodeAffinity_OPERATOR_UNSPECIFIED, SoleTenantConfig_NodeAffinity_IN, SoleTenantConfig_NodeAffinity_NOT_IN
const (
// Invalid or unspecified affinity operator.
SoleTenantConfig_NodeAffinity_OPERATOR_UNSPECIFIED SoleTenantConfig_NodeAffinity_Operator = 0
// Affinity operator.
SoleTenantConfig_NodeAffinity_IN SoleTenantConfig_NodeAffinity_Operator = 1
// Anti-affinity operator.
SoleTenantConfig_NodeAffinity_NOT_IN SoleTenantConfig_NodeAffinity_Operator = 2
)func (SoleTenantConfig_NodeAffinity_Operator) Descriptor
func (SoleTenantConfig_NodeAffinity_Operator) Descriptor() protoreflect.EnumDescriptorfunc (SoleTenantConfig_NodeAffinity_Operator) Enum
func (SoleTenantConfig_NodeAffinity_Operator) EnumDescriptor
func (SoleTenantConfig_NodeAffinity_Operator) EnumDescriptor() ([]byte, []int)Deprecated: Use SoleTenantConfig_NodeAffinity_Operator.Descriptor instead.
func (SoleTenantConfig_NodeAffinity_Operator) Number
func (x SoleTenantConfig_NodeAffinity_Operator) Number() protoreflect.EnumNumberfunc (SoleTenantConfig_NodeAffinity_Operator) String
func (x SoleTenantConfig_NodeAffinity_Operator) String() stringfunc (SoleTenantConfig_NodeAffinity_Operator) Type
func (SoleTenantConfig_NodeAffinity_Operator) Type() protoreflect.EnumTypeStackType
type StackType int32Possible 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.EnumDescriptorfunc (StackType) Enum
func (StackType) EnumDescriptor
Deprecated: Use StackType.Descriptor instead.
func (StackType) Number
func (x StackType) Number() protoreflect.EnumNumberfunc (StackType) String
func (StackType) Type
func (StackType) Type() protoreflect.EnumTypeStartIPRotationRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) GetName
func (x *StartIPRotationRequest) GetName() stringfunc (*StartIPRotationRequest) GetProjectId
func (x *StartIPRotationRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) GetRotateCredentials
func (x *StartIPRotationRequest) GetRotateCredentials() boolfunc (*StartIPRotationRequest) GetZone
func (x *StartIPRotationRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StartIPRotationRequest) ProtoMessage
func (*StartIPRotationRequest) ProtoMessage()func (*StartIPRotationRequest) ProtoReflect
func (x *StartIPRotationRequest) ProtoReflect() protoreflect.Messagefunc (*StartIPRotationRequest) Reset
func (x *StartIPRotationRequest) Reset()func (*StartIPRotationRequest) String
func (x *StartIPRotationRequest) String() stringStatefulHAConfig
type StatefulHAConfig struct {
// Whether the Stateful HA add-on 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 Stateful HA add-on.
func (*StatefulHAConfig) Descriptor
func (*StatefulHAConfig) Descriptor() ([]byte, []int)Deprecated: Use StatefulHAConfig.ProtoReflect.Descriptor instead.
func (*StatefulHAConfig) GetEnabled
func (x *StatefulHAConfig) GetEnabled() boolfunc (*StatefulHAConfig) ProtoMessage
func (*StatefulHAConfig) ProtoMessage()func (*StatefulHAConfig) ProtoReflect
func (x *StatefulHAConfig) ProtoReflect() protoreflect.Messagefunc (*StatefulHAConfig) Reset
func (x *StatefulHAConfig) Reset()func (*StatefulHAConfig) String
func (x *StatefulHAConfig) String() stringStatusCondition
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.Codefunc (*StatusCondition) GetCode
func (x *StatusCondition) GetCode() StatusCondition_CodeDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*StatusCondition) GetMessage
func (x *StatusCondition) GetMessage() stringfunc (*StatusCondition) ProtoMessage
func (*StatusCondition) ProtoMessage()func (*StatusCondition) ProtoReflect
func (x *StatusCondition) ProtoReflect() protoreflect.Messagefunc (*StatusCondition) Reset
func (x *StatusCondition) Reset()func (*StatusCondition) String
func (x *StatusCondition) String() stringStatusCondition_Code
type StatusCondition_Code int32Code 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, StatusCondition_NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS, StatusCondition_CLOUD_KMS_KEY_DESTROYED
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
// Node service account is missing permissions.
StatusCondition_NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS StatusCondition_Code = 10
// Cloud KMS key version used for etcd level encryption has been destroyed.
// This is a permanent error.
StatusCondition_CLOUD_KMS_KEY_DESTROYED StatusCondition_Code = 11
)func (StatusCondition_Code) Descriptor
func (StatusCondition_Code) Descriptor() protoreflect.EnumDescriptorfunc (StatusCondition_Code) Enum
func (x StatusCondition_Code) Enum() *StatusCondition_Codefunc (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.EnumNumberfunc (StatusCondition_Code) String
func (x StatusCondition_Code) String() stringfunc (StatusCondition_Code) Type
func (StatusCondition_Code) Type() protoreflect.EnumTypeTimeWindow
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.Timestampfunc (*TimeWindow) GetMaintenanceExclusionOptions
func (x *TimeWindow) GetMaintenanceExclusionOptions() *MaintenanceExclusionOptionsfunc (*TimeWindow) GetOptions
func (m *TimeWindow) GetOptions() isTimeWindow_Optionsfunc (*TimeWindow) GetStartTime
func (x *TimeWindow) GetStartTime() *timestamppb.Timestampfunc (*TimeWindow) ProtoMessage
func (*TimeWindow) ProtoMessage()func (*TimeWindow) ProtoReflect
func (x *TimeWindow) ProtoReflect() protoreflect.Messagefunc (*TimeWindow) Reset
func (x *TimeWindow) Reset()func (*TimeWindow) String
func (x *TimeWindow) String() stringTimeWindow_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"`
}TopologyManager
type TopologyManager struct {
// Configures the strategy for resource alignment.
// Allowed values are:
//
// * none: the default policy, and does not perform any topology alignment.
// * restricted: the topology manager stores the preferred NUMA node affinity
// for the container, and will reject the pod if the affinity if not
// preferred.
// * best-effort: the topology manager stores the preferred NUMA node affinity
// for the container. If the affinity is not preferred, the topology manager
// will admit the pod to the node anyway.
// * single-numa-node: the topology manager determines if the single NUMA node
// affinity is possible. If it is, Topology Manager will store this and the
// Hint Providers can then use this information when making the resource
// allocation decision. If, however, this is not possible then the
// Topology Manager will reject the pod from the node. This will result in a
// pod in a Terminated state with a pod admission failure.
//
// The default policy value is 'none' if unspecified.
// Details about each strategy can be found
// [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).
Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// The Topology Manager aligns resources in following scopes:
//
// * container
// * pod
//
// The default scope is 'container' if unspecified.
// See
// https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes
Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
// contains filtered or unexported fields
}TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
func (*TopologyManager) Descriptor
func (*TopologyManager) Descriptor() ([]byte, []int)Deprecated: Use TopologyManager.ProtoReflect.Descriptor instead.
func (*TopologyManager) GetPolicy
func (x *TopologyManager) GetPolicy() stringfunc (*TopologyManager) GetScope
func (x *TopologyManager) GetScope() stringfunc (*TopologyManager) ProtoMessage
func (*TopologyManager) ProtoMessage()func (*TopologyManager) ProtoReflect
func (x *TopologyManager) ProtoReflect() protoreflect.Messagefunc (*TopologyManager) Reset
func (x *TopologyManager) Reset()func (*TopologyManager) String
func (x *TopologyManager) String() stringUnimplementedClusterManagerServer
type UnimplementedClusterManagerServer struct {
}UnimplementedClusterManagerServer should be embedded to have forward compatible implementations.
func (UnimplementedClusterManagerServer) CancelOperation
func (UnimplementedClusterManagerServer) CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error)func (UnimplementedClusterManagerServer) CheckAutopilotCompatibility
func (UnimplementedClusterManagerServer) CheckAutopilotCompatibility(context.Context, *CheckAutopilotCompatibilityRequest) (*CheckAutopilotCompatibilityResponse, 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) FetchClusterUpgradeInfo
func (UnimplementedClusterManagerServer) FetchClusterUpgradeInfo(context.Context, *FetchClusterUpgradeInfoRequest) (*ClusterUpgradeInfo, error)func (UnimplementedClusterManagerServer) FetchNodePoolUpgradeInfo
func (UnimplementedClusterManagerServer) FetchNodePoolUpgradeInfo(context.Context, *FetchNodePoolUpgradeInfoRequest) (*NodePoolUpgradeInfo, 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)UnsafeClusterManagerServer
type UnsafeClusterManagerServer interface {
// contains filtered or unexported methods
}UnsafeClusterManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterManagerServer will result in compilation errors.
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) GetName
func (x *UpdateClusterRequest) GetName() stringfunc (*UpdateClusterRequest) GetProjectId
func (x *UpdateClusterRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) GetUpdate
func (x *UpdateClusterRequest) GetUpdate() *ClusterUpdatefunc (*UpdateClusterRequest) GetZone
func (x *UpdateClusterRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateClusterRequest) ProtoMessage
func (*UpdateClusterRequest) ProtoMessage()func (*UpdateClusterRequest) ProtoReflect
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateClusterRequest) Reset
func (x *UpdateClusterRequest) Reset()func (*UpdateClusterRequest) String
func (x *UpdateClusterRequest) String() stringUpdateMasterRequest
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() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) GetMasterVersion
func (x *UpdateMasterRequest) GetMasterVersion() stringfunc (*UpdateMasterRequest) GetName
func (x *UpdateMasterRequest) GetName() stringfunc (*UpdateMasterRequest) GetProjectId
func (x *UpdateMasterRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) GetZone
func (x *UpdateMasterRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateMasterRequest) ProtoMessage
func (*UpdateMasterRequest) ProtoMessage()func (*UpdateMasterRequest) ProtoReflect
func (x *UpdateMasterRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateMasterRequest) Reset
func (x *UpdateMasterRequest) Reset()func (*UpdateMasterRequest) String
func (x *UpdateMasterRequest) String() stringUpdateNodePoolRequest
type UpdateNodePoolRequest 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. The Kubernetes version to change the nodes to (typically an
// upgrade).
//
// Users may specify either explicit versions offered by Kubernetes Engine or
// version aliases, which have the following behavior:
//
// - "latest": picks the highest valid Kubernetes version
// - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
// - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
// - "1.X.Y-gke.N": picks an explicit Kubernetes version
// - "-": picks the Kubernetes master version
NodeVersion string `protobuf:"bytes,5,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"`
// Required. The desired image type for the node pool. Please see
// https://cloud.google.com/kubernetes-engine/docs/concepts/node-images
// for available image types.
ImageType string `protobuf:"bytes,6,opt,name=image_type,json=imageType,proto3" json:"image_type,omitempty"`
// The name (project, location, cluster, node pool) of the node pool to
// update. Specified in the format
// `projects/*/locations/*/clusters/*/nodePools/*`.
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
// The desired list of Google Compute Engine
// [zones](https://cloud.google.com/compute/docs/zones#available)
// in which the node pool's nodes should be located. Changing the locations
// for a node pool will result in nodes being either created or removed from
// the node pool, depending on whether locations are being added or removed.
//
// Warning: It is recommended to update node pool locations in a standalone
// API call. Do not combine a location update with changes to other fields
// (such as `tags`, `labels`, `taints`, etc.) in the same request.
// Otherwise, the API performs a structural modification where changes to
// other fields will only apply to newly created nodes and will not be
// applied to existing nodes in the node pool. To ensure all nodes are updated
// consistently, use a separate API call for location changes.
Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
// The desired workload metadata config for the node pool.
WorkloadMetadataConfig *WorkloadMetadataConfig `protobuf:"bytes,14,opt,name=workload_metadata_config,json=workloadMetadataConfig,proto3" json:"workload_metadata_config,omitempty"`
// Upgrade settings control disruption and speed of the upgrade.
UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,15,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"`
// The desired network tags to be applied to all nodes in the node pool.
// If this field is not present, the tags will not be changed. Otherwise,
// the existing network tags will be *replaced* with the provided tags.
Tags *NetworkTags `protobuf:"bytes,16,opt,name=tags,proto3" json:"tags,omitempty"`
// The desired node taints to be applied to all nodes in the node pool.
// If this field is not present, the taints will not be changed. Otherwise,
// the existing node taints will be *replaced* with the provided taints.
Taints *NodeTaints `protobuf:"bytes,17,opt,name=taints,proto3" json:"taints,omitempty"`
// The desired node labels to be applied to all nodes in the node pool.
// If this field is not present, the labels will not be changed. Otherwise,
// the existing node labels will be *replaced* with the provided labels.
Labels *NodeLabels `protobuf:"bytes,18,opt,name=labels,proto3" json:"labels,omitempty"`
// Parameters that can be configured on Linux nodes.
LinuxNodeConfig *LinuxNodeConfig `protobuf:"bytes,19,opt,name=linux_node_config,json=linuxNodeConfig,proto3" json:"linux_node_config,omitempty"`
// Node kubelet configs.
KubeletConfig *NodeKubeletConfig `protobuf:"bytes,20,opt,name=kubelet_config,json=kubeletConfig,proto3" json:"kubelet_config,omitempty"`
// Node network config.
NodeNetworkConfig *NodeNetworkConfig `protobuf:"bytes,21,opt,name=node_network_config,json=nodeNetworkConfig,proto3" json:"node_network_config,omitempty"`
// GCFS config.
GcfsConfig *GcfsConfig `protobuf:"bytes,22,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
// Confidential nodes config.
// All the nodes in the node pool will be Confidential VM once enabled.
ConfidentialNodes *ConfidentialNodes `protobuf:"bytes,23,opt,name=confidential_nodes,json=confidentialNodes,proto3" json:"confidential_nodes,omitempty"`
// Enable or disable gvnic on the node pool.
Gvnic *VirtualNIC `protobuf:"bytes,29,opt,name=gvnic,proto3" json:"gvnic,omitempty"`
// The current etag of the node pool.
// If an etag is provided and does not match the current etag of the node
// pool, update will be blocked and an ABORTED error will be returned.
Etag string `protobuf:"bytes,30,opt,name=etag,proto3" json:"etag,omitempty"`
// Enable or disable NCCL fast socket for the node pool.
FastSocket *FastSocket `protobuf:"bytes,31,opt,name=fast_socket,json=fastSocket,proto3" json:"fast_socket,omitempty"`
// Logging configuration.
LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,32,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
// The resource labels for the node pool to use to annotate any related
// Google Compute Engine resources.
ResourceLabels *ResourceLabels `protobuf:"bytes,33,opt,name=resource_labels,json=resourceLabels,proto3" json:"resource_labels,omitempty"`
// Parameters that can be configured on Windows nodes.
WindowsNodeConfig *WindowsNodeConfig `protobuf:"bytes,34,opt,name=windows_node_config,json=windowsNodeConfig,proto3" json:"windows_node_config,omitempty"`
// A list of hardware accelerators to be attached to each node.
// See
// https://cloud.google.com/compute/docs/gpus
// for more information about support for GPUs.
Accelerators []*AcceleratorConfig `protobuf:"bytes,35,rep,name=accelerators,proto3" json:"accelerators,omitempty"`
// Optional. The desired [Google Compute Engine machine
// type](https://cloud.google.com/compute/docs/machine-types)
// for nodes in the node pool. Initiates an upgrade operation that migrates
// the nodes in the node pool to the specified machine type.
MachineType string `protobuf:"bytes,36,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
// Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or
// 'pd-balanced') for nodes in the node pool.
// Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified disk type.
DiskType string `protobuf:"bytes,37,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
// Optional. The desired disk size for nodes in the node pool specified in GB.
// The smallest allowed disk size is 10GB.
// Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified disk size.
DiskSizeGb int64 `protobuf:"varint,38,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
// Desired resource manager tag keys and values to be attached to the nodes
// for managing Compute Engine firewalls using Network Firewall Policies.
// Existing tags will be replaced with new values.
ResourceManagerTags *ResourceManagerTags `protobuf:"bytes,39,opt,name=resource_manager_tags,json=resourceManagerTags,proto3" json:"resource_manager_tags,omitempty"`
// The desired containerd config for nodes in the node pool.
// Initiates an upgrade operation that recreates the nodes with the new
// config.
ContainerdConfig *ContainerdConfig `protobuf:"bytes,40,opt,name=containerd_config,json=containerdConfig,proto3" json:"containerd_config,omitempty"`
// Specifies the configuration of queued provisioning.
QueuedProvisioning *NodePool_QueuedProvisioning `protobuf:"bytes,42,opt,name=queued_provisioning,json=queuedProvisioning,proto3" json:"queued_provisioning,omitempty"`
// List of Storage Pools where boot disks are provisioned.
// Existing Storage Pools will be replaced with storage-pools.
StoragePools []string `protobuf:"bytes,43,rep,name=storage_pools,json=storagePools,proto3" json:"storage_pools,omitempty"`
// The maximum duration for the nodes to exist.
// If unspecified, the nodes can exist indefinitely.
MaxRunDuration *durationpb.Duration `protobuf:"bytes,45,opt,name=max_run_duration,json=maxRunDuration,proto3" json:"max_run_duration,omitempty"`
// Flex Start flag for enabling Flex Start VM.
FlexStart *bool `protobuf:"varint,46,opt,name=flex_start,json=flexStart,proto3,oneof" json:"flex_start,omitempty"`
// The desired boot disk config for nodes in the node pool.
// Initiates an upgrade operation that migrates the nodes in the
// node pool to the specified boot disk config.
BootDisk *BootDisk `protobuf:"bytes,47,opt,name=boot_disk,json=bootDisk,proto3" json:"boot_disk,omitempty"`
// contains filtered or unexported fields
}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) GetAccelerators
func (x *UpdateNodePoolRequest) GetAccelerators() []*AcceleratorConfigfunc (*UpdateNodePoolRequest) GetBootDisk
func (x *UpdateNodePoolRequest) GetBootDisk() *BootDiskfunc (*UpdateNodePoolRequest) GetClusterId
func (x *UpdateNodePoolRequest) GetClusterId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetConfidentialNodes
func (x *UpdateNodePoolRequest) GetConfidentialNodes() *ConfidentialNodesfunc (*UpdateNodePoolRequest) GetContainerdConfig
func (x *UpdateNodePoolRequest) GetContainerdConfig() *ContainerdConfigfunc (*UpdateNodePoolRequest) GetDiskSizeGb
func (x *UpdateNodePoolRequest) GetDiskSizeGb() int64func (*UpdateNodePoolRequest) GetDiskType
func (x *UpdateNodePoolRequest) GetDiskType() stringfunc (*UpdateNodePoolRequest) GetEtag
func (x *UpdateNodePoolRequest) GetEtag() stringfunc (*UpdateNodePoolRequest) GetFastSocket
func (x *UpdateNodePoolRequest) GetFastSocket() *FastSocketfunc (*UpdateNodePoolRequest) GetFlexStart
func (x *UpdateNodePoolRequest) GetFlexStart() boolfunc (*UpdateNodePoolRequest) GetGcfsConfig
func (x *UpdateNodePoolRequest) GetGcfsConfig() *GcfsConfigfunc (*UpdateNodePoolRequest) GetGvnic
func (x *UpdateNodePoolRequest) GetGvnic() *VirtualNICfunc (*UpdateNodePoolRequest) GetImageType
func (x *UpdateNodePoolRequest) GetImageType() stringfunc (*UpdateNodePoolRequest) GetKubeletConfig
func (x *UpdateNodePoolRequest) GetKubeletConfig() *NodeKubeletConfigfunc (*UpdateNodePoolRequest) GetLabels
func (x *UpdateNodePoolRequest) GetLabels() *NodeLabelsfunc (*UpdateNodePoolRequest) GetLinuxNodeConfig
func (x *UpdateNodePoolRequest) GetLinuxNodeConfig() *LinuxNodeConfigfunc (*UpdateNodePoolRequest) GetLocations
func (x *UpdateNodePoolRequest) GetLocations() []stringfunc (*UpdateNodePoolRequest) GetLoggingConfig
func (x *UpdateNodePoolRequest) GetLoggingConfig() *NodePoolLoggingConfigfunc (*UpdateNodePoolRequest) GetMachineType
func (x *UpdateNodePoolRequest) GetMachineType() stringfunc (*UpdateNodePoolRequest) GetMaxRunDuration
func (x *UpdateNodePoolRequest) GetMaxRunDuration() *durationpb.Durationfunc (*UpdateNodePoolRequest) GetName
func (x *UpdateNodePoolRequest) GetName() stringfunc (*UpdateNodePoolRequest) GetNodeNetworkConfig
func (x *UpdateNodePoolRequest) GetNodeNetworkConfig() *NodeNetworkConfigfunc (*UpdateNodePoolRequest) GetNodePoolId
func (x *UpdateNodePoolRequest) GetNodePoolId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetNodeVersion
func (x *UpdateNodePoolRequest) GetNodeVersion() stringfunc (*UpdateNodePoolRequest) GetProjectId
func (x *UpdateNodePoolRequest) GetProjectId() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) GetQueuedProvisioning
func (x *UpdateNodePoolRequest) GetQueuedProvisioning() *NodePool_QueuedProvisioningfunc (*UpdateNodePoolRequest) GetResourceLabels
func (x *UpdateNodePoolRequest) GetResourceLabels() *ResourceLabelsfunc (*UpdateNodePoolRequest) GetResourceManagerTags
func (x *UpdateNodePoolRequest) GetResourceManagerTags() *ResourceManagerTagsfunc (*UpdateNodePoolRequest) GetStoragePools
func (x *UpdateNodePoolRequest) GetStoragePools() []stringfunc (*UpdateNodePoolRequest) GetTags
func (x *UpdateNodePoolRequest) GetTags() *NetworkTagsfunc (*UpdateNodePoolRequest) GetTaints
func (x *UpdateNodePoolRequest) GetTaints() *NodeTaintsfunc (*UpdateNodePoolRequest) GetUpgradeSettings
func (x *UpdateNodePoolRequest) GetUpgradeSettings() *NodePool_UpgradeSettingsfunc (*UpdateNodePoolRequest) GetWindowsNodeConfig
func (x *UpdateNodePoolRequest) GetWindowsNodeConfig() *WindowsNodeConfigfunc (*UpdateNodePoolRequest) GetWorkloadMetadataConfig
func (x *UpdateNodePoolRequest) GetWorkloadMetadataConfig() *WorkloadMetadataConfigfunc (*UpdateNodePoolRequest) GetZone
func (x *UpdateNodePoolRequest) GetZone() stringDeprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
func (*UpdateNodePoolRequest) ProtoMessage
func (*UpdateNodePoolRequest) ProtoMessage()func (*UpdateNodePoolRequest) ProtoReflect
func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateNodePoolRequest) Reset
func (x *UpdateNodePoolRequest) Reset()func (*UpdateNodePoolRequest) String
func (x *UpdateNodePoolRequest) String() stringUpgradeAvailableEvent
type UpgradeAvailableEvent struct {
// The release version available for upgrade.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// The resource type of the release version.
ResourceType UpgradeResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=google.container.v1.UpgradeResourceType" json:"resource_type,omitempty"`
// The release channel of the version. If empty, it means a non-channel
// release.
ReleaseChannel *ReleaseChannel `protobuf:"bytes,3,opt,name=release_channel,json=releaseChannel,proto3" json:"release_channel,omitempty"`
// Optional relative path to the resource. For example, the relative path of
// the node pool.
Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}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() *ReleaseChannelfunc (*UpgradeAvailableEvent) GetResource
func (x *UpgradeAvailableEvent) GetResource() stringfunc (*UpgradeAvailableEvent) GetResourceType
func (x *UpgradeAvailableEvent) GetResourceType() UpgradeResourceTypefunc (*UpgradeAvailableEvent) GetVersion
func (x *UpgradeAvailableEvent) GetVersion() stringfunc (*UpgradeAvailableEvent) ProtoMessage
func (*UpgradeAvailableEvent) ProtoMessage()