containerpb

package
v1.37.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	StatusCondition_Code_name = map[int32]string{
		0: "UNKNOWN",
		1: "GCE_STOCKOUT",
		2: "GKE_SERVICE_ACCOUNT_DELETED",
		3: "GCE_QUOTA_EXCEEDED",
		4: "SET_BY_OPERATOR",
		7: "CLOUD_KMS_KEY_ERROR",
		9: "CA_EXPIRING",
	}
	StatusCondition_Code_value = map[string]int32{
		"UNKNOWN":                     0,
		"GCE_STOCKOUT":                1,
		"GKE_SERVICE_ACCOUNT_DELETED": 2,
		"GCE_QUOTA_EXCEEDED":          3,
		"SET_BY_OPERATOR":             4,
		"CLOUD_KMS_KEY_ERROR":         7,
		"CA_EXPIRING":                 9,
	}
)

Enum value maps for StatusCondition_Code.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	ReleaseChannel_Channel_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "RAPID",
		2: "REGULAR",
		3: "STABLE",
	}
	ReleaseChannel_Channel_value = map[string]int32{
		"UNSPECIFIED": 0,
		"RAPID":       1,
		"REGULAR":     2,
		"STABLE":      3,
	}
)

Enum value maps for ReleaseChannel_Channel.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	NotificationConfig_EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "UPGRADE_AVAILABLE_EVENT",
		2: "UPGRADE_EVENT",
		3: "SECURITY_BULLETIN_EVENT",
	}
	NotificationConfig_EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED":  0,
		"UPGRADE_AVAILABLE_EVENT": 1,
		"UPGRADE_EVENT":           2,
		"SECURITY_BULLETIN_EVENT": 3,
	}
)

Enum value maps for NotificationConfig_EventType.

View Source
var (
	LoggingComponentConfig_Component_name = map[int32]string{
		0: "COMPONENT_UNSPECIFIED",
		1: "SYSTEM_COMPONENTS",
		2: "WORKLOADS",
		3: "APISERVER",
		4: "SCHEDULER",
		5: "CONTROLLER_MANAGER",
	}
	LoggingComponentConfig_Component_value = map[string]int32{
		"COMPONENT_UNSPECIFIED": 0,
		"SYSTEM_COMPONENTS":     1,
		"WORKLOADS":             2,
		"APISERVER":             3,
		"SCHEDULER":             4,
		"CONTROLLER_MANAGER":    5,
	}
)

Enum value maps for LoggingComponentConfig_Component.

View Source
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.

View Source
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.

View Source
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",
	}
	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,
	}
)

Enum value maps for MonitoringComponentConfig_Component.

View Source
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.

View Source
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.

View Source
var File_google_container_v1_cluster_service_proto protoreflect.FileDescriptor

Functions

func RegisterClusterManagerServer

func RegisterClusterManagerServer(s *grpc.Server, srv ClusterManagerServer)

Types

type 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 `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

AcceleratorConfig represents a Hardware Accelerator request.

func (*AcceleratorConfig) Descriptor deprecated

func (*AcceleratorConfig) Descriptor() ([]byte, []int)

Deprecated: Use AcceleratorConfig.ProtoReflect.Descriptor instead.

func (*AcceleratorConfig) GetAcceleratorCount

func (x *AcceleratorConfig) GetAcceleratorCount() int64

func (*AcceleratorConfig) GetAcceleratorType

func (x *AcceleratorConfig) GetAcceleratorType() string

func (*AcceleratorConfig) GetGpuDriverInstallationConfig added in v1.22.0

func (x *AcceleratorConfig) GetGpuDriverInstallationConfig() *GPUDriverInstallationConfig

func (*AcceleratorConfig) GetGpuPartitionSize

func (x *AcceleratorConfig) GetGpuPartitionSize() string

func (*AcceleratorConfig) GetGpuSharingConfig

func (x *AcceleratorConfig) GetGpuSharingConfig() *GPUSharingConfig

func (*AcceleratorConfig) ProtoMessage

func (*AcceleratorConfig) ProtoMessage()

func (*AcceleratorConfig) ProtoReflect

func (x *AcceleratorConfig) ProtoReflect() protoreflect.Message

func (*AcceleratorConfig) Reset

func (x *AcceleratorConfig) Reset()

func (*AcceleratorConfig) String

func (x *AcceleratorConfig) String() string

type AdditionalNodeNetworkConfig added in v1.24.0

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 deprecated added in v1.24.0

func (*AdditionalNodeNetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use AdditionalNodeNetworkConfig.ProtoReflect.Descriptor instead.

func (*AdditionalNodeNetworkConfig) GetNetwork added in v1.24.0

func (x *AdditionalNodeNetworkConfig) GetNetwork() string

func (*AdditionalNodeNetworkConfig) GetSubnetwork added in v1.24.0

func (x *AdditionalNodeNetworkConfig) GetSubnetwork() string

func (*AdditionalNodeNetworkConfig) ProtoMessage added in v1.24.0

func (*AdditionalNodeNetworkConfig) ProtoMessage()

func (*AdditionalNodeNetworkConfig) ProtoReflect added in v1.24.0

func (*AdditionalNodeNetworkConfig) Reset added in v1.24.0

func (x *AdditionalNodeNetworkConfig) Reset()

func (*AdditionalNodeNetworkConfig) String added in v1.24.0

func (x *AdditionalNodeNetworkConfig) String() string

type AdditionalPodNetworkConfig added in v1.24.0

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 deprecated added in v1.24.0

func (*AdditionalPodNetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use AdditionalPodNetworkConfig.ProtoReflect.Descriptor instead.

func (*AdditionalPodNetworkConfig) GetMaxPodsPerNode added in v1.24.0

func (x *AdditionalPodNetworkConfig) GetMaxPodsPerNode() *MaxPodsConstraint

func (*AdditionalPodNetworkConfig) GetSecondaryPodRange added in v1.24.0

func (x *AdditionalPodNetworkConfig) GetSecondaryPodRange() string

func (*AdditionalPodNetworkConfig) GetSubnetwork added in v1.24.0

func (x *AdditionalPodNetworkConfig) GetSubnetwork() string

func (*AdditionalPodNetworkConfig) ProtoMessage added in v1.24.0

func (*AdditionalPodNetworkConfig) ProtoMessage()

func (*AdditionalPodNetworkConfig) ProtoReflect added in v1.24.0

func (*AdditionalPodNetworkConfig) Reset added in v1.24.0

func (x *AdditionalPodNetworkConfig) Reset()

func (*AdditionalPodNetworkConfig) String added in v1.24.0

func (x *AdditionalPodNetworkConfig) String() string

type AdditionalPodRangesConfig added in v1.16.0

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. [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 deprecated added in v1.16.0

func (*AdditionalPodRangesConfig) Descriptor() ([]byte, []int)

Deprecated: Use AdditionalPodRangesConfig.ProtoReflect.Descriptor instead.

func (*AdditionalPodRangesConfig) GetPodRangeInfo added in v1.24.0

func (x *AdditionalPodRangesConfig) GetPodRangeInfo() []*RangeInfo

func (*AdditionalPodRangesConfig) GetPodRangeNames added in v1.17.0

func (x *AdditionalPodRangesConfig) GetPodRangeNames() []string

func (*AdditionalPodRangesConfig) ProtoMessage added in v1.16.0

func (*AdditionalPodRangesConfig) ProtoMessage()

func (*AdditionalPodRangesConfig) ProtoReflect added in v1.16.0

func (*AdditionalPodRangesConfig) Reset added in v1.16.0

func (x *AdditionalPodRangesConfig) Reset()

func (*AdditionalPodRangesConfig) String added in v1.16.0

func (x *AdditionalPodRangesConfig) String() string

type AddonsConfig

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 `` /* 135-byte string literal not displayed */
	// 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 GCP services through the Kubernetes API
	ConfigConnectorConfig *ConfigConnectorConfig `` /* 127-byte string literal not displayed */
	// Configuration for the Compute Engine Persistent Disk CSI driver.
	GcePersistentDiskCsiDriverConfig *GcePersistentDiskCsiDriverConfig `` /* 166-byte string literal not displayed */
	// Configuration for the GCP Filestore CSI driver.
	GcpFilestoreCsiDriverConfig *GcpFilestoreCsiDriverConfig `` /* 149-byte string literal not displayed */
	// Configuration for the Backup for GKE agent addon.
	GkeBackupAgentConfig *GkeBackupAgentConfig `` /* 126-byte string literal not displayed */
	// Configuration for the Cloud Storage Fuse CSI driver.
	GcsFuseCsiDriverConfig *GcsFuseCsiDriverConfig `` /* 134-byte string literal not displayed */
	// 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"`
	// contains filtered or unexported fields
}

Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.

func (*AddonsConfig) Descriptor deprecated

func (*AddonsConfig) Descriptor() ([]byte, []int)

Deprecated: Use AddonsConfig.ProtoReflect.Descriptor instead.

func (*AddonsConfig) GetCloudRunConfig

func (x *AddonsConfig) GetCloudRunConfig() *CloudRunConfig

func (*AddonsConfig) GetConfigConnectorConfig

func (x *AddonsConfig) GetConfigConnectorConfig() *ConfigConnectorConfig

func (*AddonsConfig) GetDnsCacheConfig

func (x *AddonsConfig) GetDnsCacheConfig() *DnsCacheConfig

func (*AddonsConfig) GetGcePersistentDiskCsiDriverConfig

func (x *AddonsConfig) GetGcePersistentDiskCsiDriverConfig() *GcePersistentDiskCsiDriverConfig

func (*AddonsConfig) GetGcpFilestoreCsiDriverConfig

func (x *AddonsConfig) GetGcpFilestoreCsiDriverConfig() *GcpFilestoreCsiDriverConfig

func (*AddonsConfig) GetGcsFuseCsiDriverConfig added in v1.24.0

func (x *AddonsConfig) GetGcsFuseCsiDriverConfig() *GcsFuseCsiDriverConfig

func (*AddonsConfig) GetGkeBackupAgentConfig

func (x *AddonsConfig) GetGkeBackupAgentConfig() *GkeBackupAgentConfig

func (*AddonsConfig) GetHorizontalPodAutoscaling

func (x *AddonsConfig) GetHorizontalPodAutoscaling() *HorizontalPodAutoscaling

func (*AddonsConfig) GetHttpLoadBalancing

func (x *AddonsConfig) GetHttpLoadBalancing() *HttpLoadBalancing

func (*AddonsConfig) GetKubernetesDashboard deprecated

func (x *AddonsConfig) GetKubernetesDashboard() *KubernetesDashboard

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*AddonsConfig) GetNetworkPolicyConfig

func (x *AddonsConfig) GetNetworkPolicyConfig() *NetworkPolicyConfig

func (*AddonsConfig) GetStatefulHaConfig added in v1.31.0

func (x *AddonsConfig) GetStatefulHaConfig() *StatefulHAConfig

func (*AddonsConfig) ProtoMessage

func (*AddonsConfig) ProtoMessage()

func (*AddonsConfig) ProtoReflect

func (x *AddonsConfig) ProtoReflect() protoreflect.Message

func (*AddonsConfig) Reset

func (x *AddonsConfig) Reset()

func (*AddonsConfig) String

func (x *AddonsConfig) String() string

type AdvancedDatapathObservabilityConfig added in v1.24.0

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 `` /* 160-byte string literal not displayed */
	// 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 deprecated added in v1.24.0

func (*AdvancedDatapathObservabilityConfig) Descriptor() ([]byte, []int)

Deprecated: Use AdvancedDatapathObservabilityConfig.ProtoReflect.Descriptor instead.

func (*AdvancedDatapathObservabilityConfig) GetEnableMetrics added in v1.24.0

func (x *AdvancedDatapathObservabilityConfig) GetEnableMetrics() bool

func (*AdvancedDatapathObservabilityConfig) GetEnableRelay added in v1.29.0

func (x *AdvancedDatapathObservabilityConfig) GetEnableRelay() bool

func (*AdvancedDatapathObservabilityConfig) GetRelayMode added in v1.24.0

func (*AdvancedDatapathObservabilityConfig) ProtoMessage added in v1.24.0

func (*AdvancedDatapathObservabilityConfig) ProtoMessage()

func (*AdvancedDatapathObservabilityConfig) ProtoReflect added in v1.24.0

func (*AdvancedDatapathObservabilityConfig) Reset added in v1.24.0

func (*AdvancedDatapathObservabilityConfig) String added in v1.24.0

type AdvancedDatapathObservabilityConfig_RelayMode added in v1.24.0

type AdvancedDatapathObservabilityConfig_RelayMode int32

Supported Relay modes

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 added in v1.24.0

func (AdvancedDatapathObservabilityConfig_RelayMode) Enum added in v1.24.0

func (AdvancedDatapathObservabilityConfig_RelayMode) EnumDescriptor deprecated added in v1.24.0

func (AdvancedDatapathObservabilityConfig_RelayMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AdvancedDatapathObservabilityConfig_RelayMode.Descriptor instead.

func (AdvancedDatapathObservabilityConfig_RelayMode) Number added in v1.24.0

func (AdvancedDatapathObservabilityConfig_RelayMode) String added in v1.24.0

func (AdvancedDatapathObservabilityConfig_RelayMode) Type added in v1.24.0

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 `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies options for controlling advanced machine features.

func (*AdvancedMachineFeatures) Descriptor deprecated

func (*AdvancedMachineFeatures) Descriptor() ([]byte, []int)

Deprecated: Use AdvancedMachineFeatures.ProtoReflect.Descriptor instead.

func (*AdvancedMachineFeatures) GetEnableNestedVirtualization added in v1.36.0

func (x *AdvancedMachineFeatures) GetEnableNestedVirtualization() bool

func (*AdvancedMachineFeatures) GetThreadsPerCore

func (x *AdvancedMachineFeatures) GetThreadsPerCore() int64

func (*AdvancedMachineFeatures) ProtoMessage

func (*AdvancedMachineFeatures) ProtoMessage()

func (*AdvancedMachineFeatures) ProtoReflect

func (x *AdvancedMachineFeatures) ProtoReflect() protoreflect.Message

func (*AdvancedMachineFeatures) Reset

func (x *AdvancedMachineFeatures) Reset()

func (*AdvancedMachineFeatures) String

func (x *AdvancedMachineFeatures) String() string

type AuthenticatorGroupsConfig

type AuthenticatorGroupsConfig struct {

	// Whether this cluster should return group membership lookups
	// during authentication using a group of security groups.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The name of the security group-of-groups to be used. Only relevant
	// if enabled = true.
	SecurityGroup string `protobuf:"bytes,2,opt,name=security_group,json=securityGroup,proto3" json:"security_group,omitempty"`
	// contains filtered or unexported fields
}

Configuration for returning group information from authenticators.

func (*AuthenticatorGroupsConfig) Descriptor deprecated

func (*AuthenticatorGroupsConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuthenticatorGroupsConfig.ProtoReflect.Descriptor instead.

func (*AuthenticatorGroupsConfig) GetEnabled

func (x *AuthenticatorGroupsConfig) GetEnabled() bool

func (*AuthenticatorGroupsConfig) GetSecurityGroup

func (x *AuthenticatorGroupsConfig) GetSecurityGroup() string

func (*AuthenticatorGroupsConfig) ProtoMessage

func (*AuthenticatorGroupsConfig) ProtoMessage()

func (*AuthenticatorGroupsConfig) ProtoReflect

func (*AuthenticatorGroupsConfig) Reset

func (x *AuthenticatorGroupsConfig) Reset()

func (*AuthenticatorGroupsConfig) String

func (x *AuthenticatorGroupsConfig) String() string

type AutoUpgradeOptions

type AutoUpgradeOptions struct {

	// [Output only] This field is set when upgrades are about to commence
	// with the approximate start time for the upgrades, in
	// [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	AutoUpgradeStartTime string `protobuf:"bytes,1,opt,name=auto_upgrade_start_time,json=autoUpgradeStartTime,proto3" json:"auto_upgrade_start_time,omitempty"`
	// [Output only] This field is set when upgrades are about to commence
	// with the description of the upgrade.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.

func (*AutoUpgradeOptions) Descriptor deprecated

func (*AutoUpgradeOptions) Descriptor() ([]byte, []int)

Deprecated: Use AutoUpgradeOptions.ProtoReflect.Descriptor instead.

func (*AutoUpgradeOptions) GetAutoUpgradeStartTime

func (x *AutoUpgradeOptions) GetAutoUpgradeStartTime() string

func (*AutoUpgradeOptions) GetDescription

func (x *AutoUpgradeOptions) GetDescription() string

func (*AutoUpgradeOptions) ProtoMessage

func (*AutoUpgradeOptions) ProtoMessage()

func (*AutoUpgradeOptions) ProtoReflect

func (x *AutoUpgradeOptions) ProtoReflect() protoreflect.Message

func (*AutoUpgradeOptions) Reset

func (x *AutoUpgradeOptions) Reset()

func (*AutoUpgradeOptions) String

func (x *AutoUpgradeOptions) String() string

type Autopilot

type Autopilot struct {

	// Enable Autopilot
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Workload policy configuration for Autopilot.
	WorkloadPolicyConfig *WorkloadPolicyConfig `protobuf:"bytes,2,opt,name=workload_policy_config,json=workloadPolicyConfig,proto3" json:"workload_policy_config,omitempty"`
	// contains filtered or unexported fields
}

Autopilot is the configuration for Autopilot settings on the cluster.

func (*Autopilot) Descriptor deprecated

func (*Autopilot) Descriptor() ([]byte, []int)

Deprecated: Use Autopilot.ProtoReflect.Descriptor instead.

func (*Autopilot) GetEnabled

func (x *Autopilot) GetEnabled() bool

func (*Autopilot) GetWorkloadPolicyConfig added in v1.22.0

func (x *Autopilot) GetWorkloadPolicyConfig() *WorkloadPolicyConfig

func (*Autopilot) ProtoMessage

func (*Autopilot) ProtoMessage()

func (*Autopilot) ProtoReflect

func (x *Autopilot) ProtoReflect() protoreflect.Message

func (*Autopilot) Reset

func (x *Autopilot) Reset()

func (*Autopilot) String

func (x *Autopilot) String() string

type AutopilotCompatibilityIssue added in v1.21.0

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 `` /* 182-byte string literal not displayed */
	// 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 documnetation, 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 deprecated added in v1.21.0

func (*AutopilotCompatibilityIssue) Descriptor() ([]byte, []int)

Deprecated: Use AutopilotCompatibilityIssue.ProtoReflect.Descriptor instead.

func (*AutopilotCompatibilityIssue) GetConstraintType added in v1.21.0

func (x *AutopilotCompatibilityIssue) GetConstraintType() string

func (*AutopilotCompatibilityIssue) GetDescription added in v1.21.0

func (x *AutopilotCompatibilityIssue) GetDescription() string

func (*AutopilotCompatibilityIssue) GetDocumentationUrl added in v1.21.0

func (x *AutopilotCompatibilityIssue) GetDocumentationUrl() string

func (*AutopilotCompatibilityIssue) GetIncompatibilityType added in v1.21.0

func (*AutopilotCompatibilityIssue) GetLastObservation added in v1.21.0

func (x *AutopilotCompatibilityIssue) GetLastObservation() *timestamppb.Timestamp

func (*AutopilotCompatibilityIssue) GetSubjects added in v1.21.0

func (x *AutopilotCompatibilityIssue) GetSubjects() []string

func (*AutopilotCompatibilityIssue) ProtoMessage added in v1.21.0

func (*AutopilotCompatibilityIssue) ProtoMessage()

func (*AutopilotCompatibilityIssue) ProtoReflect added in v1.21.0

func (*AutopilotCompatibilityIssue) Reset added in v1.21.0

func (x *AutopilotCompatibilityIssue) Reset()

func (*AutopilotCompatibilityIssue) String added in v1.21.0

func (x *AutopilotCompatibilityIssue) String() string

type AutopilotCompatibilityIssue_IssueType added in v1.21.0

type AutopilotCompatibilityIssue_IssueType int32

The type of the reported issue.

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 added in v1.21.0

func (AutopilotCompatibilityIssue_IssueType) Enum added in v1.21.0

func (AutopilotCompatibilityIssue_IssueType) EnumDescriptor deprecated added in v1.21.0

func (AutopilotCompatibilityIssue_IssueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutopilotCompatibilityIssue_IssueType.Descriptor instead.

func (AutopilotCompatibilityIssue_IssueType) Number added in v1.21.0

func (AutopilotCompatibilityIssue_IssueType) String added in v1.21.0

func (AutopilotCompatibilityIssue_IssueType) Type added in v1.21.0

type AutoprovisioningNodePoolDefaults

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 `` /* 129-byte string literal not displayed */
	// 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"`
	// Enable or disable Kubelet read only port.
	InsecureKubeletReadonlyPortEnabled *bool `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

func (*AutoprovisioningNodePoolDefaults) Descriptor deprecated

func (*AutoprovisioningNodePoolDefaults) Descriptor() ([]byte, []int)

Deprecated: Use AutoprovisioningNodePoolDefaults.ProtoReflect.Descriptor instead.

func (*AutoprovisioningNodePoolDefaults) GetBootDiskKmsKey

func (x *AutoprovisioningNodePoolDefaults) GetBootDiskKmsKey() string

func (*AutoprovisioningNodePoolDefaults) GetDiskSizeGb

func (x *AutoprovisioningNodePoolDefaults) GetDiskSizeGb() int32

func (*AutoprovisioningNodePoolDefaults) GetDiskType

func (x *AutoprovisioningNodePoolDefaults) GetDiskType() string

func (*AutoprovisioningNodePoolDefaults) GetImageType

func (x *AutoprovisioningNodePoolDefaults) GetImageType() string

func (*AutoprovisioningNodePoolDefaults) GetInsecureKubeletReadonlyPortEnabled added in v1.24.0

func (x *AutoprovisioningNodePoolDefaults) GetInsecureKubeletReadonlyPortEnabled() bool

func (*AutoprovisioningNodePoolDefaults) GetManagement

func (*AutoprovisioningNodePoolDefaults) GetMinCpuPlatform deprecated

func (x *AutoprovisioningNodePoolDefaults) GetMinCpuPlatform() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*AutoprovisioningNodePoolDefaults) GetOauthScopes

func (x *AutoprovisioningNodePoolDefaults) GetOauthScopes() []string

func (*AutoprovisioningNodePoolDefaults) GetServiceAccount

func (x *AutoprovisioningNodePoolDefaults) GetServiceAccount() string

func (*AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig

func (x *AutoprovisioningNodePoolDefaults) GetShieldedInstanceConfig() *ShieldedInstanceConfig

func (*AutoprovisioningNodePoolDefaults) GetUpgradeSettings

func (*AutoprovisioningNodePoolDefaults) ProtoMessage

func (*AutoprovisioningNodePoolDefaults) ProtoMessage()

func (*AutoprovisioningNodePoolDefaults) ProtoReflect

func (*AutoprovisioningNodePoolDefaults) Reset

func (*AutoprovisioningNodePoolDefaults) String

type BestEffortProvisioning added in v1.21.0

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 deprecated added in v1.21.0

func (*BestEffortProvisioning) Descriptor() ([]byte, []int)

Deprecated: Use BestEffortProvisioning.ProtoReflect.Descriptor instead.

func (*BestEffortProvisioning) GetEnabled added in v1.21.0

func (x *BestEffortProvisioning) GetEnabled() bool

func (*BestEffortProvisioning) GetMinProvisionNodes added in v1.21.0

func (x *BestEffortProvisioning) GetMinProvisionNodes() int32

func (*BestEffortProvisioning) ProtoMessage added in v1.21.0

func (*BestEffortProvisioning) ProtoMessage()

func (*BestEffortProvisioning) ProtoReflect added in v1.21.0

func (x *BestEffortProvisioning) ProtoReflect() protoreflect.Message

func (*BestEffortProvisioning) Reset added in v1.21.0

func (x *BestEffortProvisioning) Reset()

func (*BestEffortProvisioning) String added in v1.21.0

func (x *BestEffortProvisioning) String() string

type BinaryAuthorization

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 `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for Binary Authorization.

func (*BinaryAuthorization) Descriptor deprecated

func (*BinaryAuthorization) Descriptor() ([]byte, []int)

Deprecated: Use BinaryAuthorization.ProtoReflect.Descriptor instead.

func (*BinaryAuthorization) GetEnabled deprecated

func (x *BinaryAuthorization) GetEnabled() bool

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*BinaryAuthorization) GetEvaluationMode

func (*BinaryAuthorization) ProtoMessage

func (*BinaryAuthorization) ProtoMessage()

func (*BinaryAuthorization) ProtoReflect

func (x *BinaryAuthorization) ProtoReflect() protoreflect.Message

func (*BinaryAuthorization) Reset

func (x *BinaryAuthorization) Reset()

func (*BinaryAuthorization) String

func (x *BinaryAuthorization) String() string

type BinaryAuthorization_EvaluationMode

type BinaryAuthorization_EvaluationMode int32

Binary Authorization mode of operation.

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) Enum

func (BinaryAuthorization_EvaluationMode) EnumDescriptor deprecated

func (BinaryAuthorization_EvaluationMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BinaryAuthorization_EvaluationMode.Descriptor instead.

func (BinaryAuthorization_EvaluationMode) Number

func (BinaryAuthorization_EvaluationMode) String

func (BinaryAuthorization_EvaluationMode) Type

type BlueGreenSettings

type BlueGreenSettings struct {

	// The rollout policy controls the general rollout progress of blue-green.
	//
	// Types that are assignable to RolloutPolicy:
	//
	//	*BlueGreenSettings_StandardRolloutPolicy_
	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 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settings for blue-green upgrade.

func (*BlueGreenSettings) Descriptor deprecated

func (*BlueGreenSettings) Descriptor() ([]byte, []int)

Deprecated: Use BlueGreenSettings.ProtoReflect.Descriptor instead.

func (*BlueGreenSettings) GetNodePoolSoakDuration

func (x *BlueGreenSettings) GetNodePoolSoakDuration() *durationpb.Duration

func (*BlueGreenSettings) GetRolloutPolicy

func (m *BlueGreenSettings) GetRolloutPolicy() isBlueGreenSettings_RolloutPolicy

func (*BlueGreenSettings) GetStandardRolloutPolicy

func (x *BlueGreenSettings) GetStandardRolloutPolicy() *BlueGreenSettings_StandardRolloutPolicy

func (*BlueGreenSettings) ProtoMessage

func (*BlueGreenSettings) ProtoMessage()

func (*BlueGreenSettings) ProtoReflect

func (x *BlueGreenSettings) ProtoReflect() protoreflect.Message

func (*BlueGreenSettings) Reset

func (x *BlueGreenSettings) Reset()

func (*BlueGreenSettings) String

func (x *BlueGreenSettings) String() string

type 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 deprecated

func (*BlueGreenSettings_StandardRolloutPolicy) Descriptor() ([]byte, []int)

Deprecated: Use BlueGreenSettings_StandardRolloutPolicy.ProtoReflect.Descriptor instead.

func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchNodeCount

func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchNodeCount() int32

func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage

func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchPercentage() float32

func (*BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration

func (x *BlueGreenSettings_StandardRolloutPolicy) GetBatchSoakDuration() *durationpb.Duration

func (*BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize

func (m *BlueGreenSettings_StandardRolloutPolicy) GetUpdateBatchSize() isBlueGreenSettings_StandardRolloutPolicy_UpdateBatchSize

func (*BlueGreenSettings_StandardRolloutPolicy) ProtoMessage

func (*BlueGreenSettings_StandardRolloutPolicy) ProtoReflect

func (*BlueGreenSettings_StandardRolloutPolicy) Reset

func (*BlueGreenSettings_StandardRolloutPolicy) String

type BlueGreenSettings_StandardRolloutPolicy_

type BlueGreenSettings_StandardRolloutPolicy_ struct {
	// Standard policy for the blue-green upgrade.
	StandardRolloutPolicy *BlueGreenSettings_StandardRolloutPolicy `protobuf:"bytes,1,opt,name=standard_rollout_policy,json=standardRolloutPolicy,proto3,oneof"`
}

type 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"`
}

type 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"`
}

type 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 deprecated

func (*CancelOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelOperationRequest.ProtoReflect.Descriptor instead.

func (*CancelOperationRequest) GetName

func (x *CancelOperationRequest) GetName() string

func (*CancelOperationRequest) GetOperationId deprecated

func (x *CancelOperationRequest) GetOperationId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CancelOperationRequest) GetProjectId deprecated

func (x *CancelOperationRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CancelOperationRequest) GetZone deprecated

func (x *CancelOperationRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CancelOperationRequest) ProtoMessage

func (*CancelOperationRequest) ProtoMessage()

func (*CancelOperationRequest) ProtoReflect

func (x *CancelOperationRequest) ProtoReflect() protoreflect.Message

func (*CancelOperationRequest) Reset

func (x *CancelOperationRequest) Reset()

func (*CancelOperationRequest) String

func (x *CancelOperationRequest) String() string

type CheckAutopilotCompatibilityRequest added in v1.21.0

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 deprecated added in v1.21.0

func (*CheckAutopilotCompatibilityRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckAutopilotCompatibilityRequest.ProtoReflect.Descriptor instead.

func (*CheckAutopilotCompatibilityRequest) GetName added in v1.21.0

func (*CheckAutopilotCompatibilityRequest) ProtoMessage added in v1.21.0

func (*CheckAutopilotCompatibilityRequest) ProtoMessage()

func (*CheckAutopilotCompatibilityRequest) ProtoReflect added in v1.21.0

func (*CheckAutopilotCompatibilityRequest) Reset added in v1.21.0

func (*CheckAutopilotCompatibilityRequest) String added in v1.21.0

type CheckAutopilotCompatibilityResponse added in v1.21.0

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 deprecated added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) Descriptor() ([]byte, []int)

Deprecated: Use CheckAutopilotCompatibilityResponse.ProtoReflect.Descriptor instead.

func (*CheckAutopilotCompatibilityResponse) GetIssues added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) GetSummary added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) ProtoMessage added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) ProtoMessage()

func (*CheckAutopilotCompatibilityResponse) ProtoReflect added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) Reset added in v1.21.0

func (*CheckAutopilotCompatibilityResponse) String added in v1.21.0

type ClientCertificateConfig

type ClientCertificateConfig struct {

	// Issue a client certificate.
	IssueClientCertificate bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for client certificates on the cluster.

func (*ClientCertificateConfig) Descriptor deprecated

func (*ClientCertificateConfig) Descriptor() ([]byte, []int)

Deprecated: Use ClientCertificateConfig.ProtoReflect.Descriptor instead.

func (*ClientCertificateConfig) GetIssueClientCertificate

func (x *ClientCertificateConfig) GetIssueClientCertificate() bool

func (*ClientCertificateConfig) ProtoMessage

func (*ClientCertificateConfig) ProtoMessage()

func (*ClientCertificateConfig) ProtoReflect

func (x *ClientCertificateConfig) ProtoReflect() protoreflect.Message

func (*ClientCertificateConfig) Reset

func (x *ClientCertificateConfig) Reset()

func (*ClientCertificateConfig) String

func (x *ClientCertificateConfig) String() string

type CloudRunConfig

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 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration options for the Cloud Run feature.

func (*CloudRunConfig) Descriptor deprecated

func (*CloudRunConfig) Descriptor() ([]byte, []int)

Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.

func (*CloudRunConfig) GetDisabled

func (x *CloudRunConfig) GetDisabled() bool

func (*CloudRunConfig) GetLoadBalancerType

func (x *CloudRunConfig) GetLoadBalancerType() CloudRunConfig_LoadBalancerType

func (*CloudRunConfig) ProtoMessage

func (*CloudRunConfig) ProtoMessage()

func (*CloudRunConfig) ProtoReflect

func (x *CloudRunConfig) ProtoReflect() protoreflect.Message

func (*CloudRunConfig) Reset

func (x *CloudRunConfig) Reset()

func (*CloudRunConfig) String

func (x *CloudRunConfig) String() string

type CloudRunConfig_LoadBalancerType

type CloudRunConfig_LoadBalancerType int32

Load balancer type of ingress service of Cloud Run.

const (
	// Load balancer type for Cloud Run is unspecified.
	CloudRunConfig_LOAD_BALANCER_TYPE_UNSPECIFIED CloudRunConfig_LoadBalancerType = 0
	// Install external load balancer for Cloud Run.
	CloudRunConfig_LOAD_BALANCER_TYPE_EXTERNAL CloudRunConfig_LoadBalancerType = 1
	// Install internal load balancer for Cloud Run.
	CloudRunConfig_LOAD_BALANCER_TYPE_INTERNAL CloudRunConfig_LoadBalancerType = 2
)

func (CloudRunConfig_LoadBalancerType) Descriptor

func (CloudRunConfig_LoadBalancerType) Enum

func (CloudRunConfig_LoadBalancerType) EnumDescriptor deprecated

func (CloudRunConfig_LoadBalancerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CloudRunConfig_LoadBalancerType.Descriptor instead.

func (CloudRunConfig_LoadBalancerType) Number

func (CloudRunConfig_LoadBalancerType) String

func (CloudRunConfig_LoadBalancerType) Type

type Cluster

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 `` /* 128-byte string literal not displayed */
	// The resource labels for the cluster to use to annotate any related
	// Google Compute Engine resources.
	ResourceLabels map[string]string `` /* 192-byte string literal not displayed */
	// The fingerprint of the set of labels for this cluster.
	LabelFingerprint string `protobuf:"bytes,16,opt,name=label_fingerprint,json=labelFingerprint,proto3" json:"label_fingerprint,omitempty"`
	// Configuration for the legacy ABAC authorization mode.
	LegacyAbac *LegacyAbac `protobuf:"bytes,18,opt,name=legacy_abac,json=legacyAbac,proto3" json:"legacy_abac,omitempty"`
	// Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,19,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
	// Configuration for cluster IP allocation.
	IpAllocationPolicy *IPAllocationPolicy `protobuf:"bytes,20,opt,name=ip_allocation_policy,json=ipAllocationPolicy,proto3" json:"ip_allocation_policy,omitempty"`
	// The configuration options for master authorized networks feature.
	MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 156-byte string literal not displayed */
	// 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 `` /* 138-byte string literal not displayed */
	// Configuration for exporting resource usages. Resource usage export is
	// disabled when this config is unspecified.
	ResourceUsageExportConfig *ResourceUsageExportConfig `` /* 141-byte string literal not displayed */
	// Configuration controlling RBAC group membership information.
	AuthenticatorGroupsConfig *AuthenticatorGroupsConfig `` /* 139-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// 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 GCP IAM
	// policies.
	WorkloadIdentityConfig *WorkloadIdentityConfig `` /* 130-byte string literal not displayed */
	// 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 `` /* 127-byte string literal not displayed */
	// [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 `` /* 128-byte string literal not displayed */
	// [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"`
	// 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.
	EnableTpu bool `protobuf:"varint,115,opt,name=enable_tpu,json=enableTpu,proto3" json:"enable_tpu,omitempty"`
	// [Output only] The IP address range of the Cloud TPUs in this cluster, in
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `1.2.3.4/29`).
	TpuIpv4CidrBlock string `protobuf:"bytes,116,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
	// Which conditions caused the current cluster state.
	Conditions []*StatusCondition `protobuf:"bytes,118,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// 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"`
	// 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 `` /* 128-byte string literal not displayed */
	// 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.
	EnterpriseConfig *EnterpriseConfig `protobuf:"bytes,149,opt,name=enterprise_config,json=enterpriseConfig,proto3" json:"enterprise_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"`
	// contains filtered or unexported fields
}

A Google Kubernetes Engine cluster.

func (*Cluster) Descriptor deprecated

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAddonsConfig

func (x *Cluster) GetAddonsConfig() *AddonsConfig

func (*Cluster) GetAuthenticatorGroupsConfig

func (x *Cluster) GetAuthenticatorGroupsConfig() *AuthenticatorGroupsConfig

func (*Cluster) GetAutopilot

func (x *Cluster) GetAutopilot() *Autopilot

func (*Cluster) GetAutoscaling

func (x *Cluster) GetAutoscaling() *ClusterAutoscaling

func (*Cluster) GetBinaryAuthorization

func (x *Cluster) GetBinaryAuthorization() *BinaryAuthorization

func (*Cluster) GetClusterIpv4Cidr

func (x *Cluster) GetClusterIpv4Cidr() string

func (*Cluster) GetConditions

func (x *Cluster) GetConditions() []*StatusCondition

func (*Cluster) GetConfidentialNodes

func (x *Cluster) GetConfidentialNodes() *ConfidentialNodes

func (*Cluster) GetCostManagementConfig

func (x *Cluster) GetCostManagementConfig() *CostManagementConfig

func (*Cluster) GetCreateTime

func (x *Cluster) GetCreateTime() string

func (*Cluster) GetCurrentMasterVersion

func (x *Cluster) GetCurrentMasterVersion() string

func (*Cluster) GetCurrentNodeCount deprecated

func (x *Cluster) GetCurrentNodeCount() int32

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetCurrentNodeVersion deprecated

func (x *Cluster) GetCurrentNodeVersion() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetDatabaseEncryption

func (x *Cluster) GetDatabaseEncryption() *DatabaseEncryption

func (*Cluster) GetDefaultMaxPodsConstraint

func (x *Cluster) GetDefaultMaxPodsConstraint() *MaxPodsConstraint

func (*Cluster) GetDescription

func (x *Cluster) GetDescription() string

func (*Cluster) GetEnableK8SBetaApis added in v1.21.0

func (x *Cluster) GetEnableK8SBetaApis() *K8SBetaAPIConfig

func (*Cluster) GetEnableKubernetesAlpha

func (x *Cluster) GetEnableKubernetesAlpha() bool

func (*Cluster) GetEnableTpu

func (x *Cluster) GetEnableTpu() bool

func (*Cluster) GetEndpoint

func (x *Cluster) GetEndpoint() string

func (*Cluster) GetEnterpriseConfig added in v1.28.0

func (x *Cluster) GetEnterpriseConfig() *EnterpriseConfig

func (*Cluster) GetEtag added in v1.10.0

func (x *Cluster) GetEtag() string

func (*Cluster) GetExpireTime

func (x *Cluster) GetExpireTime() string

func (*Cluster) GetFleet added in v1.15.0

func (x *Cluster) GetFleet() *Fleet

func (*Cluster) GetId

func (x *Cluster) GetId() string

func (*Cluster) GetIdentityServiceConfig

func (x *Cluster) GetIdentityServiceConfig() *IdentityServiceConfig

func (*Cluster) GetInitialClusterVersion

func (x *Cluster) GetInitialClusterVersion() string

func (*Cluster) GetInitialNodeCount deprecated

func (x *Cluster) GetInitialNodeCount() int32

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetInstanceGroupUrls deprecated

func (x *Cluster) GetInstanceGroupUrls() []string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetIpAllocationPolicy

func (x *Cluster) GetIpAllocationPolicy() *IPAllocationPolicy

func (*Cluster) GetLabelFingerprint

func (x *Cluster) GetLabelFingerprint() string

func (*Cluster) GetLegacyAbac

func (x *Cluster) GetLegacyAbac() *LegacyAbac

func (*Cluster) GetLocation

func (x *Cluster) GetLocation() string

func (*Cluster) GetLocations

func (x *Cluster) GetLocations() []string

func (*Cluster) GetLoggingConfig

func (x *Cluster) GetLoggingConfig() *LoggingConfig

func (*Cluster) GetLoggingService

func (x *Cluster) GetLoggingService() string

func (*Cluster) GetMaintenancePolicy

func (x *Cluster) GetMaintenancePolicy() *MaintenancePolicy

func (*Cluster) GetMasterAuth

func (x *Cluster) GetMasterAuth() *MasterAuth

func (*Cluster) GetMasterAuthorizedNetworksConfig

func (x *Cluster) GetMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*Cluster) GetMeshCertificates

func (x *Cluster) GetMeshCertificates() *MeshCertificates

func (*Cluster) GetMonitoringConfig

func (x *Cluster) GetMonitoringConfig() *MonitoringConfig

func (*Cluster) GetMonitoringService

func (x *Cluster) GetMonitoringService() string

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetwork

func (x *Cluster) GetNetwork() string

func (*Cluster) GetNetworkConfig

func (x *Cluster) GetNetworkConfig() *NetworkConfig

func (*Cluster) GetNetworkPolicy

func (x *Cluster) GetNetworkPolicy() *NetworkPolicy

func (*Cluster) GetNodeConfig deprecated

func (x *Cluster) GetNodeConfig() *NodeConfig

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetNodeIpv4CidrSize

func (x *Cluster) GetNodeIpv4CidrSize() int32

func (*Cluster) GetNodePoolAutoConfig

func (x *Cluster) GetNodePoolAutoConfig() *NodePoolAutoConfig

func (*Cluster) GetNodePoolDefaults

func (x *Cluster) GetNodePoolDefaults() *NodePoolDefaults

func (*Cluster) GetNodePools

func (x *Cluster) GetNodePools() []*NodePool

func (*Cluster) GetNotificationConfig

func (x *Cluster) GetNotificationConfig() *NotificationConfig

func (*Cluster) GetPrivateClusterConfig

func (x *Cluster) GetPrivateClusterConfig() *PrivateClusterConfig

func (*Cluster) GetReleaseChannel

func (x *Cluster) GetReleaseChannel() *ReleaseChannel

func (*Cluster) GetResourceLabels

func (x *Cluster) GetResourceLabels() map[string]string

func (*Cluster) GetResourceUsageExportConfig

func (x *Cluster) GetResourceUsageExportConfig() *ResourceUsageExportConfig

func (*Cluster) GetSatisfiesPzi added in v1.36.0

func (x *Cluster) GetSatisfiesPzi() bool

func (*Cluster) GetSatisfiesPzs added in v1.36.0

func (x *Cluster) GetSatisfiesPzs() bool

func (*Cluster) GetSecurityPostureConfig added in v1.22.0

func (x *Cluster) GetSecurityPostureConfig() *SecurityPostureConfig
func (x *Cluster) GetSelfLink() string

func (*Cluster) GetServicesIpv4Cidr

func (x *Cluster) GetServicesIpv4Cidr() string

func (*Cluster) GetShieldedNodes

func (x *Cluster) GetShieldedNodes() *ShieldedNodes

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) GetStatusMessage deprecated

func (x *Cluster) GetStatusMessage() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) GetSubnetwork

func (x *Cluster) GetSubnetwork() string

func (*Cluster) GetTpuIpv4CidrBlock

func (x *Cluster) GetTpuIpv4CidrBlock() string

func (*Cluster) GetVerticalPodAutoscaling

func (x *Cluster) GetVerticalPodAutoscaling() *VerticalPodAutoscaling

func (*Cluster) GetWorkloadIdentityConfig

func (x *Cluster) GetWorkloadIdentityConfig() *WorkloadIdentityConfig

func (*Cluster) GetZone deprecated

func (x *Cluster) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

type ClusterAutoscaling

type ClusterAutoscaling struct {

	// Enables automatic node pool creation and deletion.
	EnableNodeAutoprovisioning bool `` /* 142-byte string literal not displayed */
	// 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 `` /* 179-byte string literal not displayed */
	// AutoprovisioningNodePoolDefaults contains defaults for a node pool
	// created by NAP.
	AutoprovisioningNodePoolDefaults *AutoprovisioningNodePoolDefaults `` /* 161-byte string literal not displayed */
	// 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 `` /* 136-byte string literal not displayed */
	// 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 deprecated

func (*ClusterAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use ClusterAutoscaling.ProtoReflect.Descriptor instead.

func (*ClusterAutoscaling) GetAutoprovisioningLocations

func (x *ClusterAutoscaling) GetAutoprovisioningLocations() []string

func (*ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults

func (x *ClusterAutoscaling) GetAutoprovisioningNodePoolDefaults() *AutoprovisioningNodePoolDefaults

func (*ClusterAutoscaling) GetAutoscalingProfile

func (x *ClusterAutoscaling) GetAutoscalingProfile() ClusterAutoscaling_AutoscalingProfile

func (*ClusterAutoscaling) GetEnableNodeAutoprovisioning

func (x *ClusterAutoscaling) GetEnableNodeAutoprovisioning() bool

func (*ClusterAutoscaling) GetResourceLimits

func (x *ClusterAutoscaling) GetResourceLimits() []*ResourceLimit

func (*ClusterAutoscaling) ProtoMessage

func (*ClusterAutoscaling) ProtoMessage()

func (*ClusterAutoscaling) ProtoReflect

func (x *ClusterAutoscaling) ProtoReflect() protoreflect.Message

func (*ClusterAutoscaling) Reset

func (x *ClusterAutoscaling) Reset()

func (*ClusterAutoscaling) String

func (x *ClusterAutoscaling) String() string

type ClusterAutoscaling_AutoscalingProfile

type ClusterAutoscaling_AutoscalingProfile int32

Defines possible options for autoscaling_profile field.

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) Enum

func (ClusterAutoscaling_AutoscalingProfile) EnumDescriptor deprecated

func (ClusterAutoscaling_AutoscalingProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use ClusterAutoscaling_AutoscalingProfile.Descriptor instead.

func (ClusterAutoscaling_AutoscalingProfile) Number

func (ClusterAutoscaling_AutoscalingProfile) String

func (ClusterAutoscaling_AutoscalingProfile) Type

type ClusterManagerClient

type ClusterManagerClient interface {
	// Lists all clusters owned by a project in either the specified zone or all
	// zones.
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Gets the details of a specific cluster.
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Creates a cluster, consisting of the specified number and type of Google
	// Compute Engine instances.
	//
	// By default, the cluster is created in the project's
	// [default
	// network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
	//
	// One firewall is added for the cluster. After cluster creation,
	// the Kubelet creates routes for each node to allow the containers
	// on that node to communicate with all other instances in the
	// cluster.
	//
	// Finally, an entry is added to the project's global metadata indicating
	// which CIDR range the cluster is using.
	CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the settings of a specific cluster.
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the version and/or image type for the specified node pool.
	UpdateNodePool(ctx context.Context, in *UpdateNodePoolRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the autoscaling settings for the specified node pool.
	SetNodePoolAutoscaling(ctx context.Context, in *SetNodePoolAutoscalingRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the logging service for a specific cluster.
	SetLoggingService(ctx context.Context, in *SetLoggingServiceRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the monitoring service for a specific cluster.
	SetMonitoringService(ctx context.Context, in *SetMonitoringServiceRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets the addons for a specific cluster.
	SetAddonsConfig(ctx context.Context, in *SetAddonsConfigRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deprecated: Do not use.
	// Sets the locations for a specific cluster.
	// Deprecated. Use
	// [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
	// instead.
	SetLocations(ctx context.Context, in *SetLocationsRequest, opts ...grpc.CallOption) (*Operation, error)
	// Updates the master for a specific cluster.
	UpdateMaster(ctx context.Context, in *UpdateMasterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Sets master auth materials. Currently supports changing the admin password
	// or a specific cluster, either via password generation or explicitly setting
	// the password.
	SetMasterAuth(ctx context.Context, in *SetMasterAuthRequest, opts ...grpc.CallOption) (*Operation, error)
	// Deletes the cluster, including the Kubernetes endpoint and all worker
	// nodes.
	//
	// Firewalls and routes that were configured during cluster creation
	// are also deleted.
	//
	// Other Google Compute Engine resources that might be in use by the cluster,
	// such as load balancer resources, are not deleted if they weren't present
	// when the cluster was initially created.
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*Operation, error)
	// Lists all operations in a project in a specific zone or all zones.
	ListOperations(ctx context.Context, in *ListOperationsRequest, opts ...grpc.CallOption) (*ListOperationsResponse, error)
	// Gets the specified operation.
	GetOperation(ctx context.Context, in *GetOperationRequest, opts ...grpc.CallOption) (*Operation, error)
	// Cancels the specified operation.
	CancelOperation(ctx context.Context, in *CancelOperationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns configuration info about the Google Kubernetes Engine service.
	GetServerConfig(ctx context.Context, in *GetServerConfigRequest, opts ...grpc.CallOption) (*ServerConfig, error)
	// Gets the public component of the cluster signing keys in
	// JSON Web Key format.
	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)
}

ClusterManagerClient is the client API for ClusterManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ClusterManagerServer

type ClusterManagerServer interface {
	// Lists all clusters owned by a project in either the specified zone or all
	// zones.
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Gets the details of a specific cluster.
	GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
	// Creates a cluster, consisting of the specified number and type of Google
	// Compute Engine instances.
	//
	// By default, the cluster is created in the project's
	// [default
	// network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
	//
	// One firewall is added for the cluster. After cluster creation,
	// the Kubelet creates routes for each node to allow the containers
	// on that node to communicate with all other instances in the
	// cluster.
	//
	// Finally, an entry is added to the project's global metadata indicating
	// which CIDR range the cluster is using.
	CreateCluster(context.Context, *CreateClusterRequest) (*Operation, error)
	// Updates the settings of a specific cluster.
	UpdateCluster(context.Context, *UpdateClusterRequest) (*Operation, error)
	// Updates the version and/or image type for the specified node pool.
	UpdateNodePool(context.Context, *UpdateNodePoolRequest) (*Operation, error)
	// Sets the autoscaling settings for the specified node pool.
	SetNodePoolAutoscaling(context.Context, *SetNodePoolAutoscalingRequest) (*Operation, error)
	// Sets the logging service for a specific cluster.
	SetLoggingService(context.Context, *SetLoggingServiceRequest) (*Operation, error)
	// Sets the monitoring service for a specific cluster.
	SetMonitoringService(context.Context, *SetMonitoringServiceRequest) (*Operation, error)
	// Sets the addons for a specific cluster.
	SetAddonsConfig(context.Context, *SetAddonsConfigRequest) (*Operation, error)
	// Deprecated: Do not use.
	// Sets the locations for a specific cluster.
	// Deprecated. Use
	// [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
	// instead.
	SetLocations(context.Context, *SetLocationsRequest) (*Operation, error)
	// Updates the master for a specific cluster.
	UpdateMaster(context.Context, *UpdateMasterRequest) (*Operation, error)
	// Sets master auth materials. Currently supports changing the admin password
	// or a specific cluster, either via password generation or explicitly setting
	// the password.
	SetMasterAuth(context.Context, *SetMasterAuthRequest) (*Operation, error)
	// Deletes the cluster, including the Kubernetes endpoint and all worker
	// nodes.
	//
	// Firewalls and routes that were configured during cluster creation
	// are also deleted.
	//
	// Other Google Compute Engine resources that might be in use by the cluster,
	// such as load balancer resources, are not deleted if they weren't present
	// when the cluster was initially created.
	DeleteCluster(context.Context, *DeleteClusterRequest) (*Operation, error)
	// Lists all operations in a project in a specific zone or all zones.
	ListOperations(context.Context, *ListOperationsRequest) (*ListOperationsResponse, error)
	// Gets the specified operation.
	GetOperation(context.Context, *GetOperationRequest) (*Operation, error)
	// Cancels the specified operation.
	CancelOperation(context.Context, *CancelOperationRequest) (*emptypb.Empty, error)
	// Returns configuration info about the Google Kubernetes Engine service.
	GetServerConfig(context.Context, *GetServerConfigRequest) (*ServerConfig, error)
	// Gets the public component of the cluster signing keys in
	// JSON Web Key format.
	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)
}

ClusterManagerServer is the server API for ClusterManager service.

type 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 `` /* 135-byte string literal not displayed */
	// 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 `` /* 139-byte string literal not displayed */
	// Configuration for Workload Identity.
	DesiredWorkloadIdentityConfig *WorkloadIdentityConfig `` /* 153-byte string literal not displayed */
	// Configuration for issuance of mTLS keys and certificates to Kubernetes
	// pods.
	DesiredMeshCertificates *MeshCertificates `` /* 133-byte string literal not displayed */
	// 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 `` /* 147-byte string literal not displayed */
	// 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 `` /* 143-byte string literal not displayed */
	// The desired list of Google Compute Engine
	// [zones](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster's nodes should be located.
	//
	// This list must always include the cluster's primary zone.
	//
	// Warning: changing cluster locations will update the locations of all node
	// pools and will result in nodes being added and/or removed.
	DesiredLocations []string `protobuf:"bytes,10,rep,name=desired_locations,json=desiredLocations,proto3" json:"desired_locations,omitempty"`
	// The desired configuration options for master authorized networks feature.
	DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `` /* 179-byte string literal not displayed */
	// Cluster-level autoscaling configuration.
	DesiredClusterAutoscaling *ClusterAutoscaling `` /* 139-byte string literal not displayed */
	// The desired configuration options for the Binary Authorization feature.
	DesiredBinaryAuthorization *BinaryAuthorization `` /* 142-byte string literal not displayed */
	// 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 `` /* 127-byte string literal not displayed */
	// The desired configuration for exporting resource usage.
	DesiredResourceUsageExportConfig *ResourceUsageExportConfig `` /* 164-byte string literal not displayed */
	// Cluster-level Vertical Pod Autoscaling configuration.
	DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `` /* 153-byte string literal not displayed */
	// 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].
	DesiredPrivateClusterConfig *PrivateClusterConfig `` /* 147-byte string literal not displayed */
	// The desired config of Intra-node visibility.
	DesiredIntraNodeVisibilityConfig *IntraNodeVisibilityConfig `` /* 164-byte string literal not displayed */
	// The desired status of whether to disable default sNAT for this cluster.
	DesiredDefaultSnatStatus *DefaultSnatStatus `` /* 138-byte string literal not displayed */
	// The desired release channel configuration.
	DesiredReleaseChannel *ReleaseChannel `` /* 127-byte string literal not displayed */
	// The desired L4 Internal Load Balancer Subsetting configuration.
	DesiredL4IlbSubsettingConfig *ILBSubsettingConfig `` /* 150-byte string literal not displayed */
	// The desired datapath provider for the cluster.
	DesiredDatapathProvider DatapathProvider `` /* 176-byte string literal not displayed */
	// The desired state of IPv6 connectivity to Google Services.
	DesiredPrivateIpv6GoogleAccess PrivateIPv6GoogleAccess `` /* 208-byte string literal not displayed */
	// The desired notification configuration.
	DesiredNotificationConfig *NotificationConfig `` /* 139-byte string literal not displayed */
	// The desired authenticator groups config for the cluster.
	DesiredAuthenticatorGroupsConfig *AuthenticatorGroupsConfig `` /* 162-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// The desired Identity Service component configuration.
	DesiredIdentityServiceConfig *IdentityServiceConfig `` /* 150-byte string literal not displayed */
	// ServiceExternalIPsConfig specifies the config for the use of Services with
	// ExternalIPs field.
	DesiredServiceExternalIpsConfig *ServiceExternalIPsConfig `` /* 161-byte string literal not displayed */
	// Enable/Disable private endpoint for the cluster's master.
	DesiredEnablePrivateEndpoint *bool `` /* 157-byte string literal not displayed */
	// 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 `` /* 181-byte string literal not displayed */
	// The desired config of Gateway API on this cluster.
	DesiredGatewayApiConfig *GatewayAPIConfig `` /* 136-byte string literal not displayed */
	// 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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 149-byte string literal not displayed */
	// 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 `` /* 142-byte string literal not displayed */
	// 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 `` /* 165-byte string literal not displayed */
	// 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 `` /* 151-byte string literal not displayed */
	// The desired network performance config.
	DesiredNetworkPerformanceConfig *NetworkConfig_ClusterNetworkPerformanceConfig `` /* 160-byte string literal not displayed */
	// Enable/Disable FQDN Network Policy for the cluster.
	DesiredEnableFqdnNetworkPolicy *bool `` /* 166-byte string literal not displayed */
	// The desired workload policy configuration for the autopilot cluster.
	DesiredAutopilotWorkloadPolicyConfig *WorkloadPolicyConfig `` /* 177-byte string literal not displayed */
	// 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 `` /* 134-byte string literal not displayed */
	// Enable/Disable Multi-Networking for the cluster
	DesiredEnableMultiNetworking *bool `` /* 158-byte string literal not displayed */
	// The desired resource manager tags that apply to all auto-provisioned node
	// pools in autopilot clusters and node auto-provisioning enabled clusters.
	DesiredNodePoolAutoConfigResourceManagerTags *ResourceManagerTags `` /* 207-byte string literal not displayed */
	// Specify the details of in-transit encryption.
	DesiredInTransitEncryptionConfig *InTransitEncryptionConfig `` /* 223-byte string literal not displayed */
	// Enable/Disable Cilium Clusterwide Network Policy for the cluster.
	DesiredEnableCiliumClusterwideNetworkPolicy *bool `` /* 207-byte string literal not displayed */
	// The desired node kubelet config for the cluster.
	DesiredNodeKubeletConfig *NodeKubeletConfig `` /* 139-byte string literal not displayed */
	// The desired node kubelet config for all auto-provisioned node pools
	// in autopilot clusters and node auto-provisioning enabled clusters.
	DesiredNodePoolAutoConfigKubeletConfig *NodeKubeletConfig `` /* 187-byte string literal not displayed */
	// 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 deprecated

func (*ClusterUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ClusterUpdate.ProtoReflect.Descriptor instead.

func (*ClusterUpdate) GetAdditionalPodRangesConfig added in v1.16.0

func (x *ClusterUpdate) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfig

func (*ClusterUpdate) GetDesiredAddonsConfig

func (x *ClusterUpdate) GetDesiredAddonsConfig() *AddonsConfig

func (*ClusterUpdate) GetDesiredAuthenticatorGroupsConfig

func (x *ClusterUpdate) GetDesiredAuthenticatorGroupsConfig() *AuthenticatorGroupsConfig

func (*ClusterUpdate) GetDesiredAutopilotWorkloadPolicyConfig added in v1.22.0

func (x *ClusterUpdate) GetDesiredAutopilotWorkloadPolicyConfig() *WorkloadPolicyConfig

func (*ClusterUpdate) GetDesiredBinaryAuthorization

func (x *ClusterUpdate) GetDesiredBinaryAuthorization() *BinaryAuthorization

func (*ClusterUpdate) GetDesiredClusterAutoscaling

func (x *ClusterUpdate) GetDesiredClusterAutoscaling() *ClusterAutoscaling

func (*ClusterUpdate) GetDesiredContainerdConfig added in v1.36.0

func (x *ClusterUpdate) GetDesiredContainerdConfig() *ContainerdConfig

func (*ClusterUpdate) GetDesiredCostManagementConfig

func (x *ClusterUpdate) GetDesiredCostManagementConfig() *CostManagementConfig

func (*ClusterUpdate) GetDesiredDatabaseEncryption

func (x *ClusterUpdate) GetDesiredDatabaseEncryption() *DatabaseEncryption

func (*ClusterUpdate) GetDesiredDatapathProvider

func (x *ClusterUpdate) GetDesiredDatapathProvider() DatapathProvider

func (*ClusterUpdate) GetDesiredDefaultSnatStatus

func (x *ClusterUpdate) GetDesiredDefaultSnatStatus() *DefaultSnatStatus

func (*ClusterUpdate) GetDesiredDnsConfig

func (x *ClusterUpdate) GetDesiredDnsConfig() *DNSConfig

func (*ClusterUpdate) GetDesiredEnableCiliumClusterwideNetworkPolicy added in v1.33.0

func (x *ClusterUpdate) GetDesiredEnableCiliumClusterwideNetworkPolicy() bool

func (*ClusterUpdate) GetDesiredEnableFqdnNetworkPolicy added in v1.21.0

func (x *ClusterUpdate) GetDesiredEnableFqdnNetworkPolicy() bool

func (*ClusterUpdate) GetDesiredEnableMultiNetworking added in v1.34.0

func (x *ClusterUpdate) GetDesiredEnableMultiNetworking() bool

func (*ClusterUpdate) GetDesiredEnablePrivateEndpoint added in v1.8.0

func (x *ClusterUpdate) GetDesiredEnablePrivateEndpoint() bool

func (*ClusterUpdate) GetDesiredFleet added in v1.18.0

func (x *ClusterUpdate) GetDesiredFleet() *Fleet

func (*ClusterUpdate) GetDesiredGatewayApiConfig added in v1.8.0

func (x *ClusterUpdate) GetDesiredGatewayApiConfig() *GatewayAPIConfig

func (*ClusterUpdate) GetDesiredGcfsConfig

func (x *ClusterUpdate) GetDesiredGcfsConfig() *GcfsConfig

func (*ClusterUpdate) GetDesiredIdentityServiceConfig

func (x *ClusterUpdate) GetDesiredIdentityServiceConfig() *IdentityServiceConfig

func (*ClusterUpdate) GetDesiredImageType

func (x *ClusterUpdate) GetDesiredImageType() string

func (*ClusterUpdate) GetDesiredInTransitEncryptionConfig added in v1.30.0

func (x *ClusterUpdate) GetDesiredInTransitEncryptionConfig() InTransitEncryptionConfig

func (*ClusterUpdate) GetDesiredIntraNodeVisibilityConfig

func (x *ClusterUpdate) GetDesiredIntraNodeVisibilityConfig() *IntraNodeVisibilityConfig

func (*ClusterUpdate) GetDesiredK8SBetaApis added in v1.21.0

func (x *ClusterUpdate) GetDesiredK8SBetaApis() *K8SBetaAPIConfig

func (*ClusterUpdate) GetDesiredL4IlbSubsettingConfig

func (x *ClusterUpdate) GetDesiredL4IlbSubsettingConfig() *ILBSubsettingConfig

func (*ClusterUpdate) GetDesiredLocations

func (x *ClusterUpdate) GetDesiredLocations() []string

func (*ClusterUpdate) GetDesiredLoggingConfig

func (x *ClusterUpdate) GetDesiredLoggingConfig() *LoggingConfig

func (*ClusterUpdate) GetDesiredLoggingService

func (x *ClusterUpdate) GetDesiredLoggingService() string

func (*ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig

func (x *ClusterUpdate) GetDesiredMasterAuthorizedNetworksConfig() *MasterAuthorizedNetworksConfig

func (*ClusterUpdate) GetDesiredMasterVersion

func (x *ClusterUpdate) GetDesiredMasterVersion() string

func (*ClusterUpdate) GetDesiredMeshCertificates

func (x *ClusterUpdate) GetDesiredMeshCertificates() *MeshCertificates

func (*ClusterUpdate) GetDesiredMonitoringConfig

func (x *ClusterUpdate) GetDesiredMonitoringConfig() *MonitoringConfig

func (*ClusterUpdate) GetDesiredMonitoringService

func (x *ClusterUpdate) GetDesiredMonitoringService() string

func (*ClusterUpdate) GetDesiredNetworkPerformanceConfig added in v1.23.0

func (x *ClusterUpdate) GetDesiredNetworkPerformanceConfig() *NetworkConfig_ClusterNetworkPerformanceConfig

func (*ClusterUpdate) GetDesiredNodeKubeletConfig added in v1.36.0

func (x *ClusterUpdate) GetDesiredNodeKubeletConfig() *NodeKubeletConfig

func (*ClusterUpdate) GetDesiredNodePoolAutoConfigKubeletConfig added in v1.36.0

func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigKubeletConfig() *NodeKubeletConfig

func (*ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags

func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigNetworkTags() *NetworkTags

func (*ClusterUpdate) GetDesiredNodePoolAutoConfigResourceManagerTags added in v1.27.0

func (x *ClusterUpdate) GetDesiredNodePoolAutoConfigResourceManagerTags() *ResourceManagerTags

func (*ClusterUpdate) GetDesiredNodePoolAutoscaling

func (x *ClusterUpdate) GetDesiredNodePoolAutoscaling() *NodePoolAutoscaling

func (*ClusterUpdate) GetDesiredNodePoolId

func (x *ClusterUpdate) GetDesiredNodePoolId() string

func (*ClusterUpdate) GetDesiredNodePoolLoggingConfig

func (x *ClusterUpdate) GetDesiredNodePoolLoggingConfig() *NodePoolLoggingConfig

func (*ClusterUpdate) GetDesiredNodeVersion

func (x *ClusterUpdate) GetDesiredNodeVersion() string

func (*ClusterUpdate) GetDesiredNotificationConfig

func (x *ClusterUpdate) GetDesiredNotificationConfig() *NotificationConfig

func (*ClusterUpdate) GetDesiredPrivateClusterConfig

func (x *ClusterUpdate) GetDesiredPrivateClusterConfig() *PrivateClusterConfig

func (*ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess

func (x *ClusterUpdate) GetDesiredPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccess

func (*ClusterUpdate) GetDesiredReleaseChannel

func (x *ClusterUpdate) GetDesiredReleaseChannel() *ReleaseChannel

func (*ClusterUpdate) GetDesiredResourceUsageExportConfig

func (x *ClusterUpdate) GetDesiredResourceUsageExportConfig() *ResourceUsageExportConfig

func (*ClusterUpdate) GetDesiredSecurityPostureConfig added in v1.22.0

func (x *ClusterUpdate) GetDesiredSecurityPostureConfig() *SecurityPostureConfig

func (*ClusterUpdate) GetDesiredServiceExternalIpsConfig

func (x *ClusterUpdate) GetDesiredServiceExternalIpsConfig() *ServiceExternalIPsConfig

func (*ClusterUpdate) GetDesiredShieldedNodes

func (x *ClusterUpdate) GetDesiredShieldedNodes() *ShieldedNodes

func (*ClusterUpdate) GetDesiredStackType added in v1.10.0

func (x *ClusterUpdate) GetDesiredStackType() StackType

func (*ClusterUpdate) GetDesiredVerticalPodAutoscaling

func (x *ClusterUpdate) GetDesiredVerticalPodAutoscaling() *VerticalPodAutoscaling

func (*ClusterUpdate) GetDesiredWorkloadIdentityConfig

func (x *ClusterUpdate) GetDesiredWorkloadIdentityConfig() *WorkloadIdentityConfig

func (*ClusterUpdate) GetEnableK8SBetaApis added in v1.21.0

func (x *ClusterUpdate) GetEnableK8SBetaApis() *K8SBetaAPIConfig

func (*ClusterUpdate) GetEtag added in v1.10.0

func (x *ClusterUpdate) GetEtag() string

func (*ClusterUpdate) GetRemovedAdditionalPodRangesConfig added in v1.16.0

func (x *ClusterUpdate) GetRemovedAdditionalPodRangesConfig() *AdditionalPodRangesConfig

func (*ClusterUpdate) ProtoMessage

func (*ClusterUpdate) ProtoMessage()

func (*ClusterUpdate) ProtoReflect

func (x *ClusterUpdate) ProtoReflect() protoreflect.Message

func (*ClusterUpdate) Reset

func (x *ClusterUpdate) Reset()

func (*ClusterUpdate) String

func (x *ClusterUpdate) String() string

type Cluster_Status

type Cluster_Status int32

The current status of the cluster.

const (
	// Not set.
	Cluster_STATUS_UNSPECIFIED Cluster_Status = 0
	// The PROVISIONING state indicates the cluster is being created.
	Cluster_PROVISIONING Cluster_Status = 1
	// The RUNNING state indicates the cluster has been created and is fully
	// usable.
	Cluster_RUNNING Cluster_Status = 2
	// The RECONCILING state indicates that some work is actively being done on
	// the cluster, such as upgrading the master or node software. Details can
	// be found in the `statusMessage` field.
	Cluster_RECONCILING Cluster_Status = 3
	// The STOPPING state indicates the cluster is being deleted.
	Cluster_STOPPING Cluster_Status = 4
	// The ERROR state indicates the cluster is unusable. It will be
	// automatically deleted. Details can be found in the `statusMessage` field.
	Cluster_ERROR Cluster_Status = 5
	// The DEGRADED state indicates the cluster requires user action to restore
	// full functionality. Details can be found in the `statusMessage` field.
	Cluster_DEGRADED Cluster_Status = 6
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

func (Cluster_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type CompleteIPRotationRequest

type CompleteIPRotationRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster name) of the cluster to complete IP
	// rotation. Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CompleteIPRotationRequest moves the cluster master back into single-IP mode.

func (*CompleteIPRotationRequest) Descriptor deprecated

func (*CompleteIPRotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteIPRotationRequest.ProtoReflect.Descriptor instead.

func (*CompleteIPRotationRequest) GetClusterId deprecated

func (x *CompleteIPRotationRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CompleteIPRotationRequest) GetName

func (x *CompleteIPRotationRequest) GetName() string

func (*CompleteIPRotationRequest) GetProjectId deprecated

func (x *CompleteIPRotationRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CompleteIPRotationRequest) GetZone deprecated

func (x *CompleteIPRotationRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CompleteIPRotationRequest) ProtoMessage

func (*CompleteIPRotationRequest) ProtoMessage()

func (*CompleteIPRotationRequest) ProtoReflect

func (*CompleteIPRotationRequest) Reset

func (x *CompleteIPRotationRequest) Reset()

func (*CompleteIPRotationRequest) String

func (x *CompleteIPRotationRequest) String() string

type CompleteNodePoolUpgradeRequest

type CompleteNodePoolUpgradeRequest struct {

	// The name (project, location, cluster, node pool id) of the node pool to
	// complete upgrade.
	// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.

func (*CompleteNodePoolUpgradeRequest) Descriptor deprecated

func (*CompleteNodePoolUpgradeRequest) Descriptor() ([]byte, []int)

Deprecated: Use CompleteNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.

func (*CompleteNodePoolUpgradeRequest) GetName

func (*CompleteNodePoolUpgradeRequest) ProtoMessage

func (*CompleteNodePoolUpgradeRequest) ProtoMessage()

func (*CompleteNodePoolUpgradeRequest) ProtoReflect

func (*CompleteNodePoolUpgradeRequest) Reset

func (x *CompleteNodePoolUpgradeRequest) Reset()

func (*CompleteNodePoolUpgradeRequest) String

type ConfidentialNodes

type ConfidentialNodes struct {

	// Whether Confidential Nodes feature is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.

func (*ConfidentialNodes) Descriptor deprecated

func (*ConfidentialNodes) Descriptor() ([]byte, []int)

Deprecated: Use ConfidentialNodes.ProtoReflect.Descriptor instead.

func (*ConfidentialNodes) GetEnabled

func (x *ConfidentialNodes) GetEnabled() bool

func (*ConfidentialNodes) ProtoMessage

func (*ConfidentialNodes) ProtoMessage()

func (*ConfidentialNodes) ProtoReflect

func (x *ConfidentialNodes) ProtoReflect() protoreflect.Message

func (*ConfidentialNodes) Reset

func (x *ConfidentialNodes) Reset()

func (*ConfidentialNodes) String

func (x *ConfidentialNodes) String() string

type ConfigConnectorConfig

type ConfigConnectorConfig struct {

	// Whether Cloud Connector is enabled for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the Config Connector add-on.

func (*ConfigConnectorConfig) Descriptor deprecated

func (*ConfigConnectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use ConfigConnectorConfig.ProtoReflect.Descriptor instead.

func (*ConfigConnectorConfig) GetEnabled

func (x *ConfigConnectorConfig) GetEnabled() bool

func (*ConfigConnectorConfig) ProtoMessage

func (*ConfigConnectorConfig) ProtoMessage()

func (*ConfigConnectorConfig) ProtoReflect

func (x *ConfigConnectorConfig) ProtoReflect() protoreflect.Message

func (*ConfigConnectorConfig) Reset

func (x *ConfigConnectorConfig) Reset()

func (*ConfigConnectorConfig) String

func (x *ConfigConnectorConfig) String() string

type ContainerdConfig added in v1.36.0

type ContainerdConfig struct {

	// PrivateRegistryAccessConfig is used to configure access configuration
	// for private container registries.
	PrivateRegistryAccessConfig *ContainerdConfig_PrivateRegistryAccessConfig `` /* 146-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerdConfig contains configuration to customize containerd.

func (*ContainerdConfig) Descriptor deprecated added in v1.36.0

func (*ContainerdConfig) Descriptor() ([]byte, []int)

Deprecated: Use ContainerdConfig.ProtoReflect.Descriptor instead.

func (*ContainerdConfig) GetPrivateRegistryAccessConfig added in v1.36.0

func (x *ContainerdConfig) GetPrivateRegistryAccessConfig() *ContainerdConfig_PrivateRegistryAccessConfig

func (*ContainerdConfig) ProtoMessage added in v1.36.0

func (*ContainerdConfig) ProtoMessage()

func (*ContainerdConfig) ProtoReflect added in v1.36.0

func (x *ContainerdConfig) ProtoReflect() protoreflect.Message

func (*ContainerdConfig) Reset added in v1.36.0

func (x *ContainerdConfig) Reset()

func (*ContainerdConfig) String added in v1.36.0

func (x *ContainerdConfig) String() string

type ContainerdConfig_PrivateRegistryAccessConfig added in v1.36.0

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 `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

PrivateRegistryAccessConfig contains access configuration for private container registries.

func (*ContainerdConfig_PrivateRegistryAccessConfig) Descriptor deprecated added in v1.36.0

Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig.ProtoReflect.Descriptor instead.

func (*ContainerdConfig_PrivateRegistryAccessConfig) GetCertificateAuthorityDomainConfig added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig) GetEnabled added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig) ProtoMessage added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig) ProtoReflect added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig) Reset added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig) String added in v1.36.0

type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig added in v1.36.0

type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig struct {

	// List of fully qualified domain names (FQDN).
	// Specifying port is supported.
	// Wilcards 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 deprecated added in v1.36.0

Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig.ProtoReflect.Descriptor instead.

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetCertificateConfig added in v1.36.0

func (m *ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetCertificateConfig() isContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_CertificateConfig

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetFqdns added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) GetGcpSecretManagerCertificateConfig added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoMessage added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) ProtoReflect added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) Reset added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig) String added in v1.36.0

type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig added in v1.36.0

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 [Google Secret Manager](https://cloud.google.com/secret-manager).

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Descriptor deprecated added in v1.36.0

Deprecated: Use ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig.ProtoReflect.Descriptor instead.

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) GetSecretUri added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoMessage added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) ProtoReflect added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) Reset added in v1.36.0

func (*ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GCPSecretManagerCertificateConfig) String added in v1.36.0

type ContainerdConfig_PrivateRegistryAccessConfig_CertificateAuthorityDomainConfig_GcpSecretManagerCertificateConfig added in v1.36.0

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"`
}

type CostManagementConfig

type CostManagementConfig struct {

	// Whether the feature is enabled or not.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for fine-grained cost management feature.

func (*CostManagementConfig) Descriptor deprecated

func (*CostManagementConfig) Descriptor() ([]byte, []int)

Deprecated: Use CostManagementConfig.ProtoReflect.Descriptor instead.

func (*CostManagementConfig) GetEnabled

func (x *CostManagementConfig) GetEnabled() bool

func (*CostManagementConfig) ProtoMessage

func (*CostManagementConfig) ProtoMessage()

func (*CostManagementConfig) ProtoReflect

func (x *CostManagementConfig) ProtoReflect() protoreflect.Message

func (*CostManagementConfig) Reset

func (x *CostManagementConfig) Reset()

func (*CostManagementConfig) String

func (x *CostManagementConfig) String() string

type CreateClusterRequest

type CreateClusterRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the parent
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Required. A [cluster
	// resource](https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters)
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// The parent (project and location) where the cluster will be created.
	// Specified in the format `projects/*/locations/*`.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateClusterRequest creates a cluster.

func (*CreateClusterRequest) Descriptor deprecated

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetParent

func (x *CreateClusterRequest) GetParent() string

func (*CreateClusterRequest) GetProjectId deprecated

func (x *CreateClusterRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CreateClusterRequest) GetZone deprecated

func (x *CreateClusterRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type CreateNodePoolRequest

type CreateNodePoolRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the parent
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The node pool to create.
	NodePool *NodePool `protobuf:"bytes,4,opt,name=node_pool,json=nodePool,proto3" json:"node_pool,omitempty"`
	// The parent (project, location, cluster name) where the node pool will be
	// created. Specified in the format
	// `projects/*/locations/*/clusters/*`.
	Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

CreateNodePoolRequest creates a node pool for a cluster.

func (*CreateNodePoolRequest) Descriptor deprecated

func (*CreateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*CreateNodePoolRequest) GetClusterId deprecated

func (x *CreateNodePoolRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CreateNodePoolRequest) GetNodePool

func (x *CreateNodePoolRequest) GetNodePool() *NodePool

func (*CreateNodePoolRequest) GetParent

func (x *CreateNodePoolRequest) GetParent() string

func (*CreateNodePoolRequest) GetProjectId deprecated

func (x *CreateNodePoolRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CreateNodePoolRequest) GetZone deprecated

func (x *CreateNodePoolRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*CreateNodePoolRequest) ProtoMessage

func (*CreateNodePoolRequest) ProtoMessage()

func (*CreateNodePoolRequest) ProtoReflect

func (x *CreateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*CreateNodePoolRequest) Reset

func (x *CreateNodePoolRequest) Reset()

func (*CreateNodePoolRequest) String

func (x *CreateNodePoolRequest) String() string

type DNSConfig

type DNSConfig struct {

	// cluster_dns indicates which in-cluster DNS provider should be used.
	ClusterDns DNSConfig_Provider `` /* 136-byte string literal not displayed */
	// cluster_dns_scope indicates the scope of access to cluster DNS records.
	ClusterDnsScope DNSConfig_DNSScope `` /* 153-byte string literal not displayed */
	// 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 `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

DNSConfig contains the desired set of options for configuring clusterDNS.

func (*DNSConfig) Descriptor deprecated

func (*DNSConfig) Descriptor() ([]byte, []int)

Deprecated: Use DNSConfig.ProtoReflect.Descriptor instead.

func (*DNSConfig) GetAdditiveVpcScopeDnsDomain added in v1.36.0

func (x *DNSConfig) GetAdditiveVpcScopeDnsDomain() string

func (*DNSConfig) GetClusterDns

func (x *DNSConfig) GetClusterDns() DNSConfig_Provider

func (*DNSConfig) GetClusterDnsDomain

func (x *DNSConfig) GetClusterDnsDomain() string

func (*DNSConfig) GetClusterDnsScope

func (x *DNSConfig) GetClusterDnsScope() DNSConfig_DNSScope

func (*DNSConfig) ProtoMessage

func (*DNSConfig) ProtoMessage()

func (*DNSConfig) ProtoReflect

func (x *DNSConfig) ProtoReflect() protoreflect.Message

func (*DNSConfig) Reset

func (x *DNSConfig) Reset()

func (*DNSConfig) String

func (x *DNSConfig) String() string

type DNSConfig_DNSScope

type DNSConfig_DNSScope int32

DNSScope lists the various scopes of access to cluster DNS records.

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) Enum

func (DNSConfig_DNSScope) EnumDescriptor deprecated

func (DNSConfig_DNSScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use DNSConfig_DNSScope.Descriptor instead.

func (DNSConfig_DNSScope) Number

func (DNSConfig_DNSScope) String

func (x DNSConfig_DNSScope) String() string

func (DNSConfig_DNSScope) Type

type DNSConfig_Provider

type DNSConfig_Provider int32

Provider lists the various in-cluster DNS providers.

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) Enum

func (DNSConfig_Provider) EnumDescriptor deprecated

func (DNSConfig_Provider) EnumDescriptor() ([]byte, []int)

Deprecated: Use DNSConfig_Provider.Descriptor instead.

func (DNSConfig_Provider) Number

func (DNSConfig_Provider) String

func (x DNSConfig_Provider) String() string

func (DNSConfig_Provider) Type

type DailyMaintenanceWindow

type DailyMaintenanceWindow struct {

	// Time within the maintenance window to start the maintenance operations.
	// Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
	// format "HH:MM", where HH : [00-23] and MM : [00-59] GMT.
	StartTime string `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// [Output only] Duration of the time window, automatically chosen to be
	// smallest possible in the given scenario.
	// Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
	// format "PTnHnMnS".
	Duration string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	// contains filtered or unexported fields
}

Time window specified for daily maintenance operations.

func (*DailyMaintenanceWindow) Descriptor deprecated

func (*DailyMaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use DailyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*DailyMaintenanceWindow) GetDuration

func (x *DailyMaintenanceWindow) GetDuration() string

func (*DailyMaintenanceWindow) GetStartTime

func (x *DailyMaintenanceWindow) GetStartTime() string

func (*DailyMaintenanceWindow) ProtoMessage

func (*DailyMaintenanceWindow) ProtoMessage()

func (*DailyMaintenanceWindow) ProtoReflect

func (x *DailyMaintenanceWindow) ProtoReflect() protoreflect.Message

func (*DailyMaintenanceWindow) Reset

func (x *DailyMaintenanceWindow) Reset()

func (*DailyMaintenanceWindow) String

func (x *DailyMaintenanceWindow) String() string

type DatabaseEncryption

type DatabaseEncryption struct {

	// Name of CloudKMS key to use for the encryption of secrets in etcd.
	// Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
	KeyName string `protobuf:"bytes,1,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"`
	// The desired state of etcd encryption.
	State DatabaseEncryption_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.container.v1.DatabaseEncryption_State" json:"state,omitempty"`
	// Output only. The current state of etcd encryption.
	CurrentState *DatabaseEncryption_CurrentState `` /* 161-byte string literal not displayed */
	// 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 deprecated

func (*DatabaseEncryption) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseEncryption.ProtoReflect.Descriptor instead.

func (*DatabaseEncryption) GetCurrentState added in v1.35.0

func (*DatabaseEncryption) GetDecryptionKeys added in v1.35.0

func (x *DatabaseEncryption) GetDecryptionKeys() []string

func (*DatabaseEncryption) GetKeyName

func (x *DatabaseEncryption) GetKeyName() string

func (*DatabaseEncryption) GetLastOperationErrors added in v1.35.0

func (x *DatabaseEncryption) GetLastOperationErrors() []*DatabaseEncryption_OperationError

func (*DatabaseEncryption) GetState

func (*DatabaseEncryption) ProtoMessage

func (*DatabaseEncryption) ProtoMessage()

func (*DatabaseEncryption) ProtoReflect

func (x *DatabaseEncryption) ProtoReflect() protoreflect.Message

func (*DatabaseEncryption) Reset

func (x *DatabaseEncryption) Reset()

func (*DatabaseEncryption) String

func (x *DatabaseEncryption) String() string

type DatabaseEncryption_CurrentState added in v1.35.0

type DatabaseEncryption_CurrentState int32

Current State of etcd encryption.

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 added in v1.35.0

func (DatabaseEncryption_CurrentState) Enum added in v1.35.0

func (DatabaseEncryption_CurrentState) EnumDescriptor deprecated added in v1.35.0

func (DatabaseEncryption_CurrentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseEncryption_CurrentState.Descriptor instead.

func (DatabaseEncryption_CurrentState) Number added in v1.35.0

func (DatabaseEncryption_CurrentState) String added in v1.35.0

func (DatabaseEncryption_CurrentState) Type added in v1.35.0

type DatabaseEncryption_OperationError added in v1.35.0

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 deprecated added in v1.35.0

func (*DatabaseEncryption_OperationError) Descriptor() ([]byte, []int)

Deprecated: Use DatabaseEncryption_OperationError.ProtoReflect.Descriptor instead.

func (*DatabaseEncryption_OperationError) GetErrorMessage added in v1.35.0

func (x *DatabaseEncryption_OperationError) GetErrorMessage() string

func (*DatabaseEncryption_OperationError) GetKeyName added in v1.35.0

func (x *DatabaseEncryption_OperationError) GetKeyName() string

func (*DatabaseEncryption_OperationError) GetTimestamp added in v1.35.0

func (*DatabaseEncryption_OperationError) ProtoMessage added in v1.35.0

func (*DatabaseEncryption_OperationError) ProtoMessage()

func (*DatabaseEncryption_OperationError) ProtoReflect added in v1.35.0

func (*DatabaseEncryption_OperationError) Reset added in v1.35.0

func (*DatabaseEncryption_OperationError) String added in v1.35.0

type DatabaseEncryption_State

type DatabaseEncryption_State int32

State of etcd encryption.

const (
	// Should never be set
	DatabaseEncryption_UNKNOWN DatabaseEncryption_State = 0
	// Secrets in etcd are encrypted.
	DatabaseEncryption_ENCRYPTED DatabaseEncryption_State = 1
	// Secrets in etcd are stored in plain text (at etcd level) - this is
	// unrelated to Compute Engine level full disk encryption.
	DatabaseEncryption_DECRYPTED DatabaseEncryption_State = 2
)

func (DatabaseEncryption_State) Descriptor

func (DatabaseEncryption_State) Enum

func (DatabaseEncryption_State) EnumDescriptor deprecated

func (DatabaseEncryption_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseEncryption_State.Descriptor instead.

func (DatabaseEncryption_State) Number

func (DatabaseEncryption_State) String

func (x DatabaseEncryption_State) String() string

func (DatabaseEncryption_State) Type

type DatapathProvider

type DatapathProvider int32

The datapath provider selects the implementation of the Kubernetes networking model for service resolution and network policy enforcement.

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) Enum

func (DatapathProvider) EnumDescriptor deprecated

func (DatapathProvider) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatapathProvider.Descriptor instead.

func (DatapathProvider) Number

func (DatapathProvider) String

func (x DatapathProvider) String() string

func (DatapathProvider) Type

type DefaultSnatStatus

type DefaultSnatStatus struct {

	// Disables cluster default sNAT rules.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.

func (*DefaultSnatStatus) Descriptor deprecated

func (*DefaultSnatStatus) Descriptor() ([]byte, []int)

Deprecated: Use DefaultSnatStatus.ProtoReflect.Descriptor instead.

func (*DefaultSnatStatus) GetDisabled

func (x *DefaultSnatStatus) GetDisabled() bool

func (*DefaultSnatStatus) ProtoMessage

func (*DefaultSnatStatus) ProtoMessage()

func (*DefaultSnatStatus) ProtoReflect

func (x *DefaultSnatStatus) ProtoReflect() protoreflect.Message

func (*DefaultSnatStatus) Reset

func (x *DefaultSnatStatus) Reset()

func (*DefaultSnatStatus) String

func (x *DefaultSnatStatus) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to delete.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster) of the cluster to delete.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteClusterRequest deletes a cluster.

func (*DeleteClusterRequest) Descriptor deprecated

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetClusterId deprecated

func (x *DeleteClusterRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteClusterRequest) GetName

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) GetProjectId deprecated

func (x *DeleteClusterRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteClusterRequest) GetZone deprecated

func (x *DeleteClusterRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteNodePoolRequest

type DeleteNodePoolRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool to delete.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to
	// delete. Specified in the format
	// `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteNodePoolRequest deletes a node pool for a cluster.

func (*DeleteNodePoolRequest) Descriptor deprecated

func (*DeleteNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNodePoolRequest.ProtoReflect.Descriptor instead.

func (*DeleteNodePoolRequest) GetClusterId deprecated

func (x *DeleteNodePoolRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteNodePoolRequest) GetName

func (x *DeleteNodePoolRequest) GetName() string

func (*DeleteNodePoolRequest) GetNodePoolId deprecated

func (x *DeleteNodePoolRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteNodePoolRequest) GetProjectId deprecated

func (x *DeleteNodePoolRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteNodePoolRequest) GetZone deprecated

func (x *DeleteNodePoolRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*DeleteNodePoolRequest) ProtoMessage

func (*DeleteNodePoolRequest) ProtoMessage()

func (*DeleteNodePoolRequest) ProtoReflect

func (x *DeleteNodePoolRequest) ProtoReflect() protoreflect.Message

func (*DeleteNodePoolRequest) Reset

func (x *DeleteNodePoolRequest) Reset()

func (*DeleteNodePoolRequest) String

func (x *DeleteNodePoolRequest) String() string

type DnsCacheConfig

type DnsCacheConfig struct {

	// Whether NodeLocal DNSCache is enabled for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for NodeLocal DNSCache

func (*DnsCacheConfig) Descriptor deprecated

func (*DnsCacheConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.

func (*DnsCacheConfig) GetEnabled

func (x *DnsCacheConfig) GetEnabled() bool

func (*DnsCacheConfig) ProtoMessage

func (*DnsCacheConfig) ProtoMessage()

func (*DnsCacheConfig) ProtoReflect

func (x *DnsCacheConfig) ProtoReflect() protoreflect.Message

func (*DnsCacheConfig) Reset

func (x *DnsCacheConfig) Reset()

func (*DnsCacheConfig) String

func (x *DnsCacheConfig) String() string

type EnterpriseConfig added in v1.28.0

type EnterpriseConfig struct {

	// Output only. [Output only] cluster_tier specifies the premium tier of the
	// cluster.
	ClusterTier EnterpriseConfig_ClusterTier `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

EnterpriseConfig is the cluster enterprise configuration.

func (*EnterpriseConfig) Descriptor deprecated added in v1.28.0

func (*EnterpriseConfig) Descriptor() ([]byte, []int)

Deprecated: Use EnterpriseConfig.ProtoReflect.Descriptor instead.

func (*EnterpriseConfig) GetClusterTier added in v1.28.0

func (x *EnterpriseConfig) GetClusterTier() EnterpriseConfig_ClusterTier

func (*EnterpriseConfig) ProtoMessage added in v1.28.0

func (*EnterpriseConfig) ProtoMessage()

func (*EnterpriseConfig) ProtoReflect added in v1.28.0

func (x *EnterpriseConfig) ProtoReflect() protoreflect.Message

func (*EnterpriseConfig) Reset added in v1.28.0

func (x *EnterpriseConfig) Reset()

func (*EnterpriseConfig) String added in v1.28.0

func (x *EnterpriseConfig) String() string

type EnterpriseConfig_ClusterTier added in v1.28.0

type EnterpriseConfig_ClusterTier int32

Premium tiers for GKE Cluster.

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 added in v1.28.0

func (EnterpriseConfig_ClusterTier) Enum added in v1.28.0

func (EnterpriseConfig_ClusterTier) EnumDescriptor deprecated added in v1.28.0

func (EnterpriseConfig_ClusterTier) EnumDescriptor() ([]byte, []int)

Deprecated: Use EnterpriseConfig_ClusterTier.Descriptor instead.

func (EnterpriseConfig_ClusterTier) Number added in v1.28.0

func (EnterpriseConfig_ClusterTier) String added in v1.28.0

func (EnterpriseConfig_ClusterTier) Type added in v1.28.0

type EphemeralStorageLocalSsdConfig added in v1.10.0

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"`
	// contains filtered or unexported fields
}

EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.

func (*EphemeralStorageLocalSsdConfig) Descriptor deprecated added in v1.10.0

func (*EphemeralStorageLocalSsdConfig) Descriptor() ([]byte, []int)

Deprecated: Use EphemeralStorageLocalSsdConfig.ProtoReflect.Descriptor instead.

func (*EphemeralStorageLocalSsdConfig) GetLocalSsdCount added in v1.10.0

func (x *EphemeralStorageLocalSsdConfig) GetLocalSsdCount() int32

func (*EphemeralStorageLocalSsdConfig) ProtoMessage added in v1.10.0

func (*EphemeralStorageLocalSsdConfig) ProtoMessage()

func (*EphemeralStorageLocalSsdConfig) ProtoReflect added in v1.10.0

func (*EphemeralStorageLocalSsdConfig) Reset added in v1.10.0

func (x *EphemeralStorageLocalSsdConfig) Reset()

func (*EphemeralStorageLocalSsdConfig) String added in v1.10.0

type FastSocket added in v1.9.0

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 deprecated added in v1.9.0

func (*FastSocket) Descriptor() ([]byte, []int)

Deprecated: Use FastSocket.ProtoReflect.Descriptor instead.

func (*FastSocket) GetEnabled added in v1.9.0

func (x *FastSocket) GetEnabled() bool

func (*FastSocket) ProtoMessage added in v1.9.0

func (*FastSocket) ProtoMessage()

func (*FastSocket) ProtoReflect added in v1.9.0

func (x *FastSocket) ProtoReflect() protoreflect.Message

func (*FastSocket) Reset added in v1.9.0

func (x *FastSocket) Reset()

func (*FastSocket) String added in v1.9.0

func (x *FastSocket) String() string

type Fleet added in v1.15.0

type Fleet struct {

	// The Fleet host project(project ID or project number) where this cluster
	// will be registered to. This field cannot be changed after the cluster has
	// been registered.
	Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	// [Output only] The full resource name of the registered fleet membership of
	// the cluster, in the format
	// `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.
	Membership string `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership,omitempty"`
	// [Output only] Whether the cluster has been registered through the fleet
	// API.
	PreRegistered bool `protobuf:"varint,3,opt,name=pre_registered,json=preRegistered,proto3" json:"pre_registered,omitempty"`
	// contains filtered or unexported fields
}

Fleet is the fleet configuration for the cluster.

func (*Fleet) Descriptor deprecated added in v1.15.0

func (*Fleet) Descriptor() ([]byte, []int)

Deprecated: Use Fleet.ProtoReflect.Descriptor instead.

func (*Fleet) GetMembership added in v1.15.0

func (x *Fleet) GetMembership() string

func (*Fleet) GetPreRegistered added in v1.15.0

func (x *Fleet) GetPreRegistered() bool

func (*Fleet) GetProject added in v1.15.0

func (x *Fleet) GetProject() string

func (*Fleet) ProtoMessage added in v1.15.0

func (*Fleet) ProtoMessage()

func (*Fleet) ProtoReflect added in v1.15.0

func (x *Fleet) ProtoReflect() protoreflect.Message

func (*Fleet) Reset added in v1.15.0

func (x *Fleet) Reset()

func (*Fleet) String added in v1.15.0

func (x *Fleet) String() string

type GPUDriverInstallationConfig added in v1.22.0

type GPUDriverInstallationConfig struct {

	// Mode for how the GPU driver is installed.
	GpuDriverVersion *GPUDriverInstallationConfig_GPUDriverVersion `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.

func (*GPUDriverInstallationConfig) Descriptor deprecated added in v1.22.0

func (*GPUDriverInstallationConfig) Descriptor() ([]byte, []int)

Deprecated: Use GPUDriverInstallationConfig.ProtoReflect.Descriptor instead.

func (*GPUDriverInstallationConfig) GetGpuDriverVersion added in v1.22.0

func (*GPUDriverInstallationConfig) ProtoMessage added in v1.22.0

func (*GPUDriverInstallationConfig) ProtoMessage()

func (*GPUDriverInstallationConfig) ProtoReflect added in v1.22.0

func (*GPUDriverInstallationConfig) Reset added in v1.22.0

func (x *GPUDriverInstallationConfig) Reset()

func (*GPUDriverInstallationConfig) String added in v1.22.0

func (x *GPUDriverInstallationConfig) String() string

type GPUDriverInstallationConfig_GPUDriverVersion added in v1.22.0

type GPUDriverInstallationConfig_GPUDriverVersion int32

The GPU driver version to install.

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 added in v1.22.0

func (GPUDriverInstallationConfig_GPUDriverVersion) Enum added in v1.22.0

func (GPUDriverInstallationConfig_GPUDriverVersion) EnumDescriptor deprecated added in v1.22.0

func (GPUDriverInstallationConfig_GPUDriverVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use GPUDriverInstallationConfig_GPUDriverVersion.Descriptor instead.

func (GPUDriverInstallationConfig_GPUDriverVersion) Number added in v1.22.0

func (GPUDriverInstallationConfig_GPUDriverVersion) String added in v1.22.0

func (GPUDriverInstallationConfig_GPUDriverVersion) Type added in v1.22.0

type GPUSharingConfig

type GPUSharingConfig struct {

	// The max number of containers that can share a physical GPU.
	MaxSharedClientsPerGpu int64 `` /* 134-byte string literal not displayed */
	// The type of GPU sharing strategy to enable on the GPU node.
	GpuSharingStrategy *GPUSharingConfig_GPUSharingStrategy `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

func (*GPUSharingConfig) Descriptor deprecated

func (*GPUSharingConfig) Descriptor() ([]byte, []int)

Deprecated: Use GPUSharingConfig.ProtoReflect.Descriptor instead.

func (*GPUSharingConfig) GetGpuSharingStrategy

func (x *GPUSharingConfig) GetGpuSharingStrategy() GPUSharingConfig_GPUSharingStrategy

func (*GPUSharingConfig) GetMaxSharedClientsPerGpu

func (x *GPUSharingConfig) GetMaxSharedClientsPerGpu() int64

func (*GPUSharingConfig) ProtoMessage

func (*GPUSharingConfig) ProtoMessage()

func (*GPUSharingConfig) ProtoReflect

func (x *GPUSharingConfig) ProtoReflect() protoreflect.Message

func (*GPUSharingConfig) Reset

func (x *GPUSharingConfig) Reset()

func (*GPUSharingConfig) String

func (x *GPUSharingConfig) String() string

type GPUSharingConfig_GPUSharingStrategy

type GPUSharingConfig_GPUSharingStrategy int32

The type of GPU sharing strategy currently provided.

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) Enum

func (GPUSharingConfig_GPUSharingStrategy) EnumDescriptor deprecated

func (GPUSharingConfig_GPUSharingStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use GPUSharingConfig_GPUSharingStrategy.Descriptor instead.

func (GPUSharingConfig_GPUSharingStrategy) Number

func (GPUSharingConfig_GPUSharingStrategy) String

func (GPUSharingConfig_GPUSharingStrategy) Type

type GatewayAPIConfig added in v1.8.0

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 deprecated added in v1.8.0

func (*GatewayAPIConfig) Descriptor() ([]byte, []int)

Deprecated: Use GatewayAPIConfig.ProtoReflect.Descriptor instead.

func (*GatewayAPIConfig) GetChannel added in v1.8.0

func (*GatewayAPIConfig) ProtoMessage added in v1.8.0

func (*GatewayAPIConfig) ProtoMessage()

func (*GatewayAPIConfig) ProtoReflect added in v1.8.0

func (x *GatewayAPIConfig) ProtoReflect() protoreflect.Message

func (*GatewayAPIConfig) Reset added in v1.8.0

func (x *GatewayAPIConfig) Reset()

func (*GatewayAPIConfig) String added in v1.8.0

func (x *GatewayAPIConfig) String() string

type GatewayAPIConfig_Channel added in v1.8.0

type GatewayAPIConfig_Channel int32

Channel describes if/how Gateway API should be installed and implemented in a cluster.

const (
	// Default value.
	GatewayAPIConfig_CHANNEL_UNSPECIFIED GatewayAPIConfig_Channel = 0
	// Gateway API support is disabled
	GatewayAPIConfig_CHANNEL_DISABLED GatewayAPIConfig_Channel = 1
	// Gateway API support is enabled, experimental CRDs are installed
	GatewayAPIConfig_CHANNEL_EXPERIMENTAL GatewayAPIConfig_Channel = 3
	// Gateway API support is enabled, standard CRDs are installed
	GatewayAPIConfig_CHANNEL_STANDARD GatewayAPIConfig_Channel = 4
)

func (GatewayAPIConfig_Channel) Descriptor added in v1.8.0

func (GatewayAPIConfig_Channel) Enum added in v1.8.0

func (GatewayAPIConfig_Channel) EnumDescriptor deprecated added in v1.8.0

func (GatewayAPIConfig_Channel) EnumDescriptor() ([]byte, []int)

Deprecated: Use GatewayAPIConfig_Channel.Descriptor instead.

func (GatewayAPIConfig_Channel) Number added in v1.8.0

func (GatewayAPIConfig_Channel) String added in v1.8.0

func (x GatewayAPIConfig_Channel) String() string

func (GatewayAPIConfig_Channel) Type added in v1.8.0

type GcePersistentDiskCsiDriverConfig

type GcePersistentDiskCsiDriverConfig struct {

	// Whether the Compute Engine PD CSI driver is enabled for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Compute Engine PD CSI driver.

func (*GcePersistentDiskCsiDriverConfig) Descriptor deprecated

func (*GcePersistentDiskCsiDriverConfig) Descriptor() ([]byte, []int)

Deprecated: Use GcePersistentDiskCsiDriverConfig.ProtoReflect.Descriptor instead.

func (*GcePersistentDiskCsiDriverConfig) GetEnabled

func (x *GcePersistentDiskCsiDriverConfig) GetEnabled() bool

func (*GcePersistentDiskCsiDriverConfig) ProtoMessage

func (*GcePersistentDiskCsiDriverConfig) ProtoMessage()

func (*GcePersistentDiskCsiDriverConfig) ProtoReflect

func (*GcePersistentDiskCsiDriverConfig) Reset

func (*GcePersistentDiskCsiDriverConfig) String

type GcfsConfig

type GcfsConfig struct {

	// Whether to use GCFS.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

GcfsConfig contains configurations of Google Container File System (image streaming).

func (*GcfsConfig) Descriptor deprecated

func (*GcfsConfig) Descriptor() ([]byte, []int)

Deprecated: Use GcfsConfig.ProtoReflect.Descriptor instead.

func (*GcfsConfig) GetEnabled

func (x *GcfsConfig) GetEnabled() bool

func (*GcfsConfig) ProtoMessage

func (*GcfsConfig) ProtoMessage()

func (*GcfsConfig) ProtoReflect

func (x *GcfsConfig) ProtoReflect() protoreflect.Message

func (*GcfsConfig) Reset

func (x *GcfsConfig) Reset()

func (*GcfsConfig) String

func (x *GcfsConfig) String() string

type GcpFilestoreCsiDriverConfig

type GcpFilestoreCsiDriverConfig struct {

	// Whether the GCP Filestore CSI driver is enabled for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the GCP Filestore CSI driver.

func (*GcpFilestoreCsiDriverConfig) Descriptor deprecated

func (*GcpFilestoreCsiDriverConfig) Descriptor() ([]byte, []int)

Deprecated: Use GcpFilestoreCsiDriverConfig.ProtoReflect.Descriptor instead.

func (*GcpFilestoreCsiDriverConfig) GetEnabled

func (x *GcpFilestoreCsiDriverConfig) GetEnabled() bool

func (*GcpFilestoreCsiDriverConfig) ProtoMessage

func (*GcpFilestoreCsiDriverConfig) ProtoMessage()

func (*GcpFilestoreCsiDriverConfig) ProtoReflect

func (*GcpFilestoreCsiDriverConfig) Reset

func (x *GcpFilestoreCsiDriverConfig) Reset()

func (*GcpFilestoreCsiDriverConfig) String

func (x *GcpFilestoreCsiDriverConfig) String() string

type GcsFuseCsiDriverConfig added in v1.24.0

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 deprecated added in v1.24.0

func (*GcsFuseCsiDriverConfig) Descriptor() ([]byte, []int)

Deprecated: Use GcsFuseCsiDriverConfig.ProtoReflect.Descriptor instead.

func (*GcsFuseCsiDriverConfig) GetEnabled added in v1.24.0

func (x *GcsFuseCsiDriverConfig) GetEnabled() bool

func (*GcsFuseCsiDriverConfig) ProtoMessage added in v1.24.0

func (*GcsFuseCsiDriverConfig) ProtoMessage()

func (*GcsFuseCsiDriverConfig) ProtoReflect added in v1.24.0

func (x *GcsFuseCsiDriverConfig) ProtoReflect() protoreflect.Message

func (*GcsFuseCsiDriverConfig) Reset added in v1.24.0

func (x *GcsFuseCsiDriverConfig) Reset()

func (*GcsFuseCsiDriverConfig) String added in v1.24.0

func (x *GcsFuseCsiDriverConfig) String() string

type GetClusterRequest

type GetClusterRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to retrieve.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster) of the cluster to retrieve.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetClusterRequest gets the settings of a cluster.

func (*GetClusterRequest) Descriptor deprecated

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetClusterId deprecated

func (x *GetClusterRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetClusterRequest) GetName

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) GetProjectId deprecated

func (x *GetClusterRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetClusterRequest) GetZone deprecated

func (x *GetClusterRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetJSONWebKeysRequest

type GetJSONWebKeysRequest struct {

	// The cluster (project, location, cluster name) to get keys for. Specified in
	// the format `projects/*/locations/*/clusters/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

GetJSONWebKeysRequest gets the public component of the keys used by the cluster to sign token requests. This will be the jwks_uri for the discover document returned by getOpenIDConfig. See the OpenID Connect Discovery 1.0 specification for details.

func (*GetJSONWebKeysRequest) Descriptor deprecated

func (*GetJSONWebKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetJSONWebKeysRequest.ProtoReflect.Descriptor instead.

func (*GetJSONWebKeysRequest) GetParent

func (x *GetJSONWebKeysRequest) GetParent() string

func (*GetJSONWebKeysRequest) ProtoMessage

func (*GetJSONWebKeysRequest) ProtoMessage()

func (*GetJSONWebKeysRequest) ProtoReflect

func (x *GetJSONWebKeysRequest) ProtoReflect() protoreflect.Message

func (*GetJSONWebKeysRequest) Reset

func (x *GetJSONWebKeysRequest) Reset()

func (*GetJSONWebKeysRequest) String

func (x *GetJSONWebKeysRequest) String() string

type GetJSONWebKeysResponse

type GetJSONWebKeysResponse struct {

	// The public component of the keys used by the cluster to sign token
	// requests.
	Keys []*Jwk `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517

func (*GetJSONWebKeysResponse) Descriptor deprecated

func (*GetJSONWebKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetJSONWebKeysResponse.ProtoReflect.Descriptor instead.

func (*GetJSONWebKeysResponse) GetKeys

func (x *GetJSONWebKeysResponse) GetKeys() []*Jwk

func (*GetJSONWebKeysResponse) ProtoMessage

func (*GetJSONWebKeysResponse) ProtoMessage()

func (*GetJSONWebKeysResponse) ProtoReflect

func (x *GetJSONWebKeysResponse) ProtoReflect() protoreflect.Message

func (*GetJSONWebKeysResponse) Reset

func (x *GetJSONWebKeysResponse) Reset()

func (*GetJSONWebKeysResponse) String

func (x *GetJSONWebKeysResponse) String() string

type GetNodePoolRequest

type GetNodePoolRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to
	// get. Specified in the format
	// `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetNodePoolRequest retrieves a node pool for a cluster.

func (*GetNodePoolRequest) Descriptor deprecated

func (*GetNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetNodePoolRequest.ProtoReflect.Descriptor instead.

func (*GetNodePoolRequest) GetClusterId deprecated

func (x *GetNodePoolRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetNodePoolRequest) GetName

func (x *GetNodePoolRequest) GetName() string

func (*GetNodePoolRequest) GetNodePoolId deprecated

func (x *GetNodePoolRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetNodePoolRequest) GetProjectId deprecated

func (x *GetNodePoolRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetNodePoolRequest) GetZone deprecated

func (x *GetNodePoolRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetNodePoolRequest) ProtoMessage

func (*GetNodePoolRequest) ProtoMessage()

func (*GetNodePoolRequest) ProtoReflect

func (x *GetNodePoolRequest) ProtoReflect() protoreflect.Message

func (*GetNodePoolRequest) Reset

func (x *GetNodePoolRequest) Reset()

func (*GetNodePoolRequest) String

func (x *GetNodePoolRequest) String() string

type GetOpenIDConfigRequest

type GetOpenIDConfigRequest struct {

	// The cluster (project, location, cluster name) to get the discovery document
	// for. Specified in the format `projects/*/locations/*/clusters/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

GetOpenIDConfigRequest gets the OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

func (*GetOpenIDConfigRequest) Descriptor deprecated

func (*GetOpenIDConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOpenIDConfigRequest.ProtoReflect.Descriptor instead.

func (*GetOpenIDConfigRequest) GetParent

func (x *GetOpenIDConfigRequest) GetParent() string

func (*GetOpenIDConfigRequest) ProtoMessage

func (*GetOpenIDConfigRequest) ProtoMessage()

func (*GetOpenIDConfigRequest) ProtoReflect

func (x *GetOpenIDConfigRequest) ProtoReflect() protoreflect.Message

func (*GetOpenIDConfigRequest) Reset

func (x *GetOpenIDConfigRequest) Reset()

func (*GetOpenIDConfigRequest) String

func (x *GetOpenIDConfigRequest) String() string

type GetOpenIDConfigResponse

type GetOpenIDConfigResponse struct {

	// OIDC Issuer.
	Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// JSON Web Key uri.
	JwksUri string `protobuf:"bytes,2,opt,name=jwks_uri,json=jwksUri,proto3" json:"jwks_uri,omitempty"`
	// Supported response types.
	ResponseTypesSupported []string `` /* 129-byte string literal not displayed */
	// Supported subject types.
	SubjectTypesSupported []string `` /* 126-byte string literal not displayed */
	// supported ID Token signing Algorithms.
	IdTokenSigningAlgValuesSupported []string `` /* 165-byte string literal not displayed */
	// Supported claims.
	ClaimsSupported []string `protobuf:"bytes,6,rep,name=claims_supported,json=claimsSupported,proto3" json:"claims_supported,omitempty"`
	// Supported grant types.
	GrantTypes []string `protobuf:"bytes,7,rep,name=grant_types,json=grantTypes,proto3" json:"grant_types,omitempty"`
	// contains filtered or unexported fields
}

GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.

func (*GetOpenIDConfigResponse) Descriptor deprecated

func (*GetOpenIDConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetOpenIDConfigResponse.ProtoReflect.Descriptor instead.

func (*GetOpenIDConfigResponse) GetClaimsSupported

func (x *GetOpenIDConfigResponse) GetClaimsSupported() []string

func (*GetOpenIDConfigResponse) GetGrantTypes

func (x *GetOpenIDConfigResponse) GetGrantTypes() []string

func (*GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported

func (x *GetOpenIDConfigResponse) GetIdTokenSigningAlgValuesSupported() []string

func (*GetOpenIDConfigResponse) GetIssuer

func (x *GetOpenIDConfigResponse) GetIssuer() string

func (*GetOpenIDConfigResponse) GetJwksUri

func (x *GetOpenIDConfigResponse) GetJwksUri() string

func (*GetOpenIDConfigResponse) GetResponseTypesSupported

func (x *GetOpenIDConfigResponse) GetResponseTypesSupported() []string

func (*GetOpenIDConfigResponse) GetSubjectTypesSupported

func (x *GetOpenIDConfigResponse) GetSubjectTypesSupported() []string

func (*GetOpenIDConfigResponse) ProtoMessage

func (*GetOpenIDConfigResponse) ProtoMessage()

func (*GetOpenIDConfigResponse) ProtoReflect

func (x *GetOpenIDConfigResponse) ProtoReflect() protoreflect.Message

func (*GetOpenIDConfigResponse) Reset

func (x *GetOpenIDConfigResponse) Reset()

func (*GetOpenIDConfigResponse) String

func (x *GetOpenIDConfigResponse) String() string

type GetOperationRequest

type GetOperationRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The server-assigned `name` of the operation.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	// The name (project, location, operation id) of the operation to get.
	// Specified in the format `projects/*/locations/*/operations/*`.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetOperationRequest gets a single operation.

func (*GetOperationRequest) Descriptor deprecated

func (*GetOperationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationRequest.ProtoReflect.Descriptor instead.

func (*GetOperationRequest) GetName

func (x *GetOperationRequest) GetName() string

func (*GetOperationRequest) GetOperationId deprecated

func (x *GetOperationRequest) GetOperationId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetOperationRequest) GetProjectId deprecated

func (x *GetOperationRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetOperationRequest) GetZone deprecated

func (x *GetOperationRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetOperationRequest) ProtoMessage

func (*GetOperationRequest) ProtoMessage()

func (*GetOperationRequest) ProtoReflect

func (x *GetOperationRequest) ProtoReflect() protoreflect.Message

func (*GetOperationRequest) Reset

func (x *GetOperationRequest) Reset()

func (*GetOperationRequest) String

func (x *GetOperationRequest) String() string

type GetServerConfigRequest

type GetServerConfigRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) to return
	// operations for. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The name (project and location) of the server config to get,
	// specified in the format `projects/*/locations/*`.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Gets the current Kubernetes Engine service configuration.

func (*GetServerConfigRequest) Descriptor deprecated

func (*GetServerConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServerConfigRequest.ProtoReflect.Descriptor instead.

func (*GetServerConfigRequest) GetName

func (x *GetServerConfigRequest) GetName() string

func (*GetServerConfigRequest) GetProjectId deprecated

func (x *GetServerConfigRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetServerConfigRequest) GetZone deprecated

func (x *GetServerConfigRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*GetServerConfigRequest) ProtoMessage

func (*GetServerConfigRequest) ProtoMessage()

func (*GetServerConfigRequest) ProtoReflect

func (x *GetServerConfigRequest) ProtoReflect() protoreflect.Message

func (*GetServerConfigRequest) Reset

func (x *GetServerConfigRequest) Reset()

func (*GetServerConfigRequest) String

func (x *GetServerConfigRequest) String() string

type GkeBackupAgentConfig

type GkeBackupAgentConfig struct {

	// Whether the Backup for GKE agent is enabled for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Backup for GKE Agent.

func (*GkeBackupAgentConfig) Descriptor deprecated

func (*GkeBackupAgentConfig) Descriptor() ([]byte, []int)

Deprecated: Use GkeBackupAgentConfig.ProtoReflect.Descriptor instead.

func (*GkeBackupAgentConfig) GetEnabled

func (x *GkeBackupAgentConfig) GetEnabled() bool

func (*GkeBackupAgentConfig) ProtoMessage

func (*GkeBackupAgentConfig) ProtoMessage()

func (*GkeBackupAgentConfig) ProtoReflect

func (x *GkeBackupAgentConfig) ProtoReflect() protoreflect.Message

func (*GkeBackupAgentConfig) Reset

func (x *GkeBackupAgentConfig) Reset()

func (*GkeBackupAgentConfig) String

func (x *GkeBackupAgentConfig) String() string

type HorizontalPodAutoscaling

type HorizontalPodAutoscaling struct {

	// Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
	// When enabled, it ensures that metrics are collected into Stackdriver
	// Monitoring.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

func (*HorizontalPodAutoscaling) Descriptor deprecated

func (*HorizontalPodAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use HorizontalPodAutoscaling.ProtoReflect.Descriptor instead.

func (*HorizontalPodAutoscaling) GetDisabled

func (x *HorizontalPodAutoscaling) GetDisabled() bool

func (*HorizontalPodAutoscaling) ProtoMessage

func (*HorizontalPodAutoscaling) ProtoMessage()

func (*HorizontalPodAutoscaling) ProtoReflect

func (x *HorizontalPodAutoscaling) ProtoReflect() protoreflect.Message

func (*HorizontalPodAutoscaling) Reset

func (x *HorizontalPodAutoscaling) Reset()

func (*HorizontalPodAutoscaling) String

func (x *HorizontalPodAutoscaling) String() string

type HttpLoadBalancing

type HttpLoadBalancing struct {

	// Whether the HTTP Load Balancing controller is enabled in the cluster.
	// When enabled, it runs a small pod in the cluster that manages the load
	// balancers.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

func (*HttpLoadBalancing) Descriptor deprecated

func (*HttpLoadBalancing) Descriptor() ([]byte, []int)

Deprecated: Use HttpLoadBalancing.ProtoReflect.Descriptor instead.

func (*HttpLoadBalancing) GetDisabled

func (x *HttpLoadBalancing) GetDisabled() bool

func (*HttpLoadBalancing) ProtoMessage

func (*HttpLoadBalancing) ProtoMessage()

func (*HttpLoadBalancing) ProtoReflect

func (x *HttpLoadBalancing) ProtoReflect() protoreflect.Message

func (*HttpLoadBalancing) Reset

func (x *HttpLoadBalancing) Reset()

func (*HttpLoadBalancing) String

func (x *HttpLoadBalancing) String() string

type ILBSubsettingConfig

type ILBSubsettingConfig struct {

	// Enables l4 ILB subsetting for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.

func (*ILBSubsettingConfig) Descriptor deprecated

func (*ILBSubsettingConfig) Descriptor() ([]byte, []int)

Deprecated: Use ILBSubsettingConfig.ProtoReflect.Descriptor instead.

func (*ILBSubsettingConfig) GetEnabled

func (x *ILBSubsettingConfig) GetEnabled() bool

func (*ILBSubsettingConfig) ProtoMessage

func (*ILBSubsettingConfig) ProtoMessage()

func (*ILBSubsettingConfig) ProtoReflect

func (x *ILBSubsettingConfig) ProtoReflect() protoreflect.Message

func (*ILBSubsettingConfig) Reset

func (x *ILBSubsettingConfig) Reset()

func (*ILBSubsettingConfig) String

func (x *ILBSubsettingConfig) String() string

type IPAllocationPolicy

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 `` /* 140-byte string literal not displayed */
	// 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 `` /* 143-byte string literal not displayed */
	// 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 `` /* 129-byte string literal not displayed */
	// The IP address range of the Cloud TPUs in this cluster. If unspecified, a
	// range will be automatically chosen with the default size.
	//
	// This field is only applicable when `use_ip_aliases` is true.
	//
	// If unspecified, the range will use the default size.
	//
	// Set to /netmask (e.g. `/14`) to have a range chosen with a specific
	// netmask.
	//
	// Set to a
	// [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
	// `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
	// to use.
	TpuIpv4CidrBlock string `protobuf:"bytes,13,opt,name=tpu_ipv4_cidr_block,json=tpuIpv4CidrBlock,proto3" json:"tpu_ipv4_cidr_block,omitempty"`
	// Whether routes will be used for pod IPs in the cluster.
	// This is used in conjunction with use_ip_aliases. It cannot be true if
	// use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
	// then the server picks the default IP allocation mode
	UseRoutes bool `protobuf:"varint,15,opt,name=use_routes,json=useRoutes,proto3" json:"use_routes,omitempty"`
	// 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 `` /* 147-byte string literal not displayed */
	// [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 `` /* 144-byte string literal not displayed */
	// Output only. [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. [Output only] The services IPv6 CIDR block for the cluster.
	ServicesIpv6CidrBlock string `` /* 129-byte string literal not displayed */
	// Output only. [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 `` /* 141-byte string literal not displayed */
	// Output only. [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 `` /* 160-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for controlling how IPs are allocated in the cluster.

func (*IPAllocationPolicy) Descriptor deprecated

func (*IPAllocationPolicy) Descriptor() ([]byte, []int)

Deprecated: Use IPAllocationPolicy.ProtoReflect.Descriptor instead.

func (*IPAllocationPolicy) GetAdditionalPodRangesConfig added in v1.16.0

func (x *IPAllocationPolicy) GetAdditionalPodRangesConfig() *AdditionalPodRangesConfig

func (*IPAllocationPolicy) GetClusterIpv4Cidr deprecated

func (x *IPAllocationPolicy) GetClusterIpv4Cidr() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*IPAllocationPolicy) GetClusterIpv4CidrBlock

func (x *IPAllocationPolicy) GetClusterIpv4CidrBlock() string

func (*IPAllocationPolicy) GetClusterSecondaryRangeName

func (x *IPAllocationPolicy) GetClusterSecondaryRangeName() string

func (*IPAllocationPolicy) GetCreateSubnetwork

func (x *IPAllocationPolicy) GetCreateSubnetwork() bool

func (*IPAllocationPolicy) GetDefaultPodIpv4RangeUtilization added in v1.24.0

func (x *IPAllocationPolicy) GetDefaultPodIpv4RangeUtilization() float64

func (*IPAllocationPolicy) GetIpv6AccessType

func (x *IPAllocationPolicy) GetIpv6AccessType() IPv6AccessType

func (*IPAllocationPolicy) GetNodeIpv4Cidr deprecated

func (x *IPAllocationPolicy) GetNodeIpv4Cidr() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*IPAllocationPolicy) GetNodeIpv4CidrBlock

func (x *IPAllocationPolicy) GetNodeIpv4CidrBlock() string

func (*IPAllocationPolicy) GetPodCidrOverprovisionConfig added in v1.16.0

func (x *IPAllocationPolicy) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfig

func (*IPAllocationPolicy) GetServicesIpv4Cidr deprecated

func (x *IPAllocationPolicy) GetServicesIpv4Cidr() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*IPAllocationPolicy) GetServicesIpv4CidrBlock

func (x *IPAllocationPolicy) GetServicesIpv4CidrBlock() string

func (*IPAllocationPolicy) GetServicesIpv6CidrBlock added in v1.13.0

func (x *IPAllocationPolicy) GetServicesIpv6CidrBlock() string

func (*IPAllocationPolicy) GetServicesSecondaryRangeName

func (x *IPAllocationPolicy) GetServicesSecondaryRangeName() string

func (*IPAllocationPolicy) GetStackType

func (x *IPAllocationPolicy) GetStackType() StackType

func (*IPAllocationPolicy) GetSubnetIpv6CidrBlock added in v1.13.0

func (x *IPAllocationPolicy) GetSubnetIpv6CidrBlock() string

func (*IPAllocationPolicy) GetSubnetworkName

func (x *IPAllocationPolicy) GetSubnetworkName() string

func (*IPAllocationPolicy) GetTpuIpv4CidrBlock

func (x *IPAllocationPolicy) GetTpuIpv4CidrBlock() string

func (*IPAllocationPolicy) GetUseIpAliases

func (x *IPAllocationPolicy) GetUseIpAliases() bool

func (*IPAllocationPolicy) GetUseRoutes

func (x *IPAllocationPolicy) GetUseRoutes() bool

func (*IPAllocationPolicy) ProtoMessage

func (*IPAllocationPolicy) ProtoMessage()

func (*IPAllocationPolicy) ProtoReflect

func (x *IPAllocationPolicy) ProtoReflect() protoreflect.Message

func (*IPAllocationPolicy) Reset

func (x *IPAllocationPolicy) Reset()

func (*IPAllocationPolicy) String

func (x *IPAllocationPolicy) String() string

type IPv6AccessType

type IPv6AccessType int32

Possible values for IPv6 access type

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) Enum

func (x IPv6AccessType) Enum() *IPv6AccessType

func (IPv6AccessType) EnumDescriptor deprecated

func (IPv6AccessType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IPv6AccessType.Descriptor instead.

func (IPv6AccessType) Number

func (IPv6AccessType) String

func (x IPv6AccessType) String() string

func (IPv6AccessType) Type

type IdentityServiceConfig

type IdentityServiceConfig struct {

	// Whether to enable the Identity Service component
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API

func (*IdentityServiceConfig) Descriptor deprecated

func (*IdentityServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use IdentityServiceConfig.ProtoReflect.Descriptor instead.

func (*IdentityServiceConfig) GetEnabled

func (x *IdentityServiceConfig) GetEnabled() bool

func (*IdentityServiceConfig) ProtoMessage

func (*IdentityServiceConfig) ProtoMessage()

func (*IdentityServiceConfig) ProtoReflect

func (x *IdentityServiceConfig) ProtoReflect() protoreflect.Message

func (*IdentityServiceConfig) Reset

func (x *IdentityServiceConfig) Reset()

func (*IdentityServiceConfig) String

func (x *IdentityServiceConfig) String() string

type InTransitEncryptionConfig added in v1.30.0

type InTransitEncryptionConfig int32

Options for in-transit encryption.

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 added in v1.30.0

func (InTransitEncryptionConfig) Enum added in v1.30.0

func (InTransitEncryptionConfig) EnumDescriptor deprecated added in v1.30.0

func (InTransitEncryptionConfig) EnumDescriptor() ([]byte, []int)

Deprecated: Use InTransitEncryptionConfig.Descriptor instead.

func (InTransitEncryptionConfig) Number added in v1.30.0

func (InTransitEncryptionConfig) String added in v1.30.0

func (x InTransitEncryptionConfig) String() string

func (InTransitEncryptionConfig) Type added in v1.30.0

type IntraNodeVisibilityConfig

type IntraNodeVisibilityConfig struct {

	// Enables intra node visibility for this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.

func (*IntraNodeVisibilityConfig) Descriptor deprecated

func (*IntraNodeVisibilityConfig) Descriptor() ([]byte, []int)

Deprecated: Use IntraNodeVisibilityConfig.ProtoReflect.Descriptor instead.

func (*IntraNodeVisibilityConfig) GetEnabled

func (x *IntraNodeVisibilityConfig) GetEnabled() bool

func (*IntraNodeVisibilityConfig) ProtoMessage

func (*IntraNodeVisibilityConfig) ProtoMessage()

func (*IntraNodeVisibilityConfig) ProtoReflect

func (*IntraNodeVisibilityConfig) Reset

func (x *IntraNodeVisibilityConfig) Reset()

func (*IntraNodeVisibilityConfig) String

func (x *IntraNodeVisibilityConfig) String() string

type Jwk

type Jwk struct {

	// Key Type.
	Kty string `protobuf:"bytes,1,opt,name=kty,proto3" json:"kty,omitempty"`
	// Algorithm.
	Alg string `protobuf:"bytes,2,opt,name=alg,proto3" json:"alg,omitempty"`
	// Permitted uses for the public keys.
	Use string `protobuf:"bytes,3,opt,name=use,proto3" json:"use,omitempty"`
	// Key ID.
	Kid string `protobuf:"bytes,4,opt,name=kid,proto3" json:"kid,omitempty"`
	// Used for RSA keys.
	N string `protobuf:"bytes,5,opt,name=n,proto3" json:"n,omitempty"`
	// Used for RSA keys.
	E string `protobuf:"bytes,6,opt,name=e,proto3" json:"e,omitempty"`
	// Used for ECDSA keys.
	X string `protobuf:"bytes,7,opt,name=x,proto3" json:"x,omitempty"`
	// Used for ECDSA keys.
	Y string `protobuf:"bytes,8,opt,name=y,proto3" json:"y,omitempty"`
	// Used for ECDSA keys.
	Crv string `protobuf:"bytes,9,opt,name=crv,proto3" json:"crv,omitempty"`
	// contains filtered or unexported fields
}

Jwk is a JSON Web Key as specified in RFC 7517

func (*Jwk) Descriptor deprecated

func (*Jwk) Descriptor() ([]byte, []int)

Deprecated: Use Jwk.ProtoReflect.Descriptor instead.

func (*Jwk) GetAlg

func (x *Jwk) GetAlg() string

func (*Jwk) GetCrv

func (x *Jwk) GetCrv() string

func (*Jwk) GetE

func (x *Jwk) GetE() string

func (*Jwk) GetKid

func (x *Jwk) GetKid() string

func (*Jwk) GetKty

func (x *Jwk) GetKty() string

func (*Jwk) GetN

func (x *Jwk) GetN() string

func (*Jwk) GetUse

func (x *Jwk) GetUse() string

func (*Jwk) GetX

func (x *Jwk) GetX() string

func (*Jwk) GetY

func (x *Jwk) GetY() string

func (*Jwk) ProtoMessage

func (*Jwk) ProtoMessage()

func (*Jwk) ProtoReflect

func (x *Jwk) ProtoReflect() protoreflect.Message

func (*Jwk) Reset

func (x *Jwk) Reset()

func (*Jwk) String

func (x *Jwk) String() string

type K8SBetaAPIConfig added in v1.21.0

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 deprecated added in v1.21.0

func (*K8SBetaAPIConfig) Descriptor() ([]byte, []int)

Deprecated: Use K8SBetaAPIConfig.ProtoReflect.Descriptor instead.

func (*K8SBetaAPIConfig) GetEnabledApis added in v1.21.0

func (x *K8SBetaAPIConfig) GetEnabledApis() []string

func (*K8SBetaAPIConfig) ProtoMessage added in v1.21.0

func (*K8SBetaAPIConfig) ProtoMessage()

func (*K8SBetaAPIConfig) ProtoReflect added in v1.21.0

func (x *K8SBetaAPIConfig) ProtoReflect() protoreflect.Message

func (*K8SBetaAPIConfig) Reset added in v1.21.0

func (x *K8SBetaAPIConfig) Reset()

func (*K8SBetaAPIConfig) String added in v1.21.0

func (x *K8SBetaAPIConfig) String() string

type KubernetesDashboard

type KubernetesDashboard struct {

	// Whether the Kubernetes Dashboard is enabled for this cluster.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Kubernetes Dashboard.

func (*KubernetesDashboard) Descriptor deprecated

func (*KubernetesDashboard) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesDashboard.ProtoReflect.Descriptor instead.

func (*KubernetesDashboard) GetDisabled

func (x *KubernetesDashboard) GetDisabled() bool

func (*KubernetesDashboard) ProtoMessage

func (*KubernetesDashboard) ProtoMessage()

func (*KubernetesDashboard) ProtoReflect

func (x *KubernetesDashboard) ProtoReflect() protoreflect.Message

func (*KubernetesDashboard) Reset

func (x *KubernetesDashboard) Reset()

func (*KubernetesDashboard) String

func (x *KubernetesDashboard) String() string

type LegacyAbac

type LegacyAbac struct {

	// Whether the ABAC authorizer is enabled for this cluster. When enabled,
	// identities in the system, including service accounts, nodes, and
	// controllers, will have statically granted permissions beyond those
	// provided by the RBAC configuration or IAM.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the legacy Attribute Based Access Control authorization mode.

func (*LegacyAbac) Descriptor deprecated

func (*LegacyAbac) Descriptor() ([]byte, []int)

Deprecated: Use LegacyAbac.ProtoReflect.Descriptor instead.

func (*LegacyAbac) GetEnabled

func (x *LegacyAbac) GetEnabled() bool

func (*LegacyAbac) ProtoMessage

func (*LegacyAbac) ProtoMessage()

func (*LegacyAbac) ProtoReflect

func (x *LegacyAbac) ProtoReflect() protoreflect.Message

func (*LegacyAbac) Reset

func (x *LegacyAbac) Reset()

func (*LegacyAbac) String

func (x *LegacyAbac) String() string

type LinuxNodeConfig

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.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
	Sysctls map[string]string `` /* 155-byte string literal not displayed */
	// cgroup_mode specifies the cgroup mode to be used on the node.
	CgroupMode LinuxNodeConfig_CgroupMode `` /* 144-byte string literal not displayed */
	// Optional. Amounts for 2M and 1G hugepages
	Hugepages *LinuxNodeConfig_HugepagesConfig `protobuf:"bytes,3,opt,name=hugepages,proto3,oneof" json:"hugepages,omitempty"`
	// contains filtered or unexported fields
}

Parameters that can be configured on Linux nodes.

func (*LinuxNodeConfig) Descriptor deprecated

func (*LinuxNodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use LinuxNodeConfig.ProtoReflect.Descriptor instead.

func (*LinuxNodeConfig) GetCgroupMode added in v1.8.0

func (x *LinuxNodeConfig) GetCgroupMode() LinuxNodeConfig_CgroupMode

func (*LinuxNodeConfig) GetHugepages added in v1.36.0

func (*LinuxNodeConfig) GetSysctls

func (x *LinuxNodeConfig) GetSysctls() map[string]string

func (*LinuxNodeConfig) ProtoMessage

func (*LinuxNodeConfig) ProtoMessage()

func (*LinuxNodeConfig) ProtoReflect

func (x *LinuxNodeConfig) ProtoReflect() protoreflect.Message

func (*LinuxNodeConfig) Reset

func (x *LinuxNodeConfig) Reset()

func (*LinuxNodeConfig) String

func (x *LinuxNodeConfig) String() string

type LinuxNodeConfig_CgroupMode added in v1.8.0

type LinuxNodeConfig_CgroupMode int32

Possible cgroup modes that can be used.

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 added in v1.8.0

func (LinuxNodeConfig_CgroupMode) Enum added in v1.8.0

func (LinuxNodeConfig_CgroupMode) EnumDescriptor deprecated added in v1.8.0

func (LinuxNodeConfig_CgroupMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use LinuxNodeConfig_CgroupMode.Descriptor instead.

func (LinuxNodeConfig_CgroupMode) Number added in v1.8.0

func (LinuxNodeConfig_CgroupMode) String added in v1.8.0

func (LinuxNodeConfig_CgroupMode) Type added in v1.8.0

type LinuxNodeConfig_HugepagesConfig added in v1.36.0

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 deprecated added in v1.36.0

func (*LinuxNodeConfig_HugepagesConfig) Descriptor() ([]byte, []int)

Deprecated: Use LinuxNodeConfig_HugepagesConfig.ProtoReflect.Descriptor instead.

func (*LinuxNodeConfig_HugepagesConfig) GetHugepageSize1G added in v1.36.0

func (x *LinuxNodeConfig_HugepagesConfig) GetHugepageSize1G() int32

func (*LinuxNodeConfig_HugepagesConfig) GetHugepageSize2M added in v1.36.0

func (x *LinuxNodeConfig_HugepagesConfig) GetHugepageSize2M() int32

func (*LinuxNodeConfig_HugepagesConfig) ProtoMessage added in v1.36.0

func (*LinuxNodeConfig_HugepagesConfig) ProtoMessage()

func (*LinuxNodeConfig_HugepagesConfig) ProtoReflect added in v1.36.0

func (*LinuxNodeConfig_HugepagesConfig) Reset added in v1.36.0

func (*LinuxNodeConfig_HugepagesConfig) String added in v1.36.0

type ListClustersRequest

type ListClustersRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides, or "-" for all zones. This field has been deprecated and
	// replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The parent (project and location) where the clusters will be listed.
	// Specified in the format `projects/*/locations/*`.
	// Location "-" matches all zones and all regions.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListClustersRequest lists clusters.

func (*ListClustersRequest) Descriptor deprecated

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetParent

func (x *ListClustersRequest) GetParent() string

func (*ListClustersRequest) GetProjectId deprecated

func (x *ListClustersRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListClustersRequest) GetZone deprecated

func (x *ListClustersRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// A list of clusters in the project in the specified zone, or
	// across all ones.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// If any zones are listed here, the list of clusters returned
	// may be missing those zones.
	MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
	// contains filtered or unexported fields
}

ListClustersResponse is the result of ListClustersRequest.

func (*ListClustersResponse) Descriptor deprecated

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetMissingZones

func (x *ListClustersResponse) GetMissingZones() []string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListNodePoolsRequest

type ListNodePoolsRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the parent
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The parent (project, location, cluster name) where the node pools will be
	// listed. Specified in the format `projects/*/locations/*/clusters/*`.
	Parent string `protobuf:"bytes,5,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListNodePoolsRequest lists the node pool(s) for a cluster.

func (*ListNodePoolsRequest) Descriptor deprecated

func (*ListNodePoolsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsRequest.ProtoReflect.Descriptor instead.

func (*ListNodePoolsRequest) GetClusterId deprecated

func (x *ListNodePoolsRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListNodePoolsRequest) GetParent

func (x *ListNodePoolsRequest) GetParent() string

func (*ListNodePoolsRequest) GetProjectId deprecated

func (x *ListNodePoolsRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListNodePoolsRequest) GetZone deprecated

func (x *ListNodePoolsRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListNodePoolsRequest) ProtoMessage

func (*ListNodePoolsRequest) ProtoMessage()

func (*ListNodePoolsRequest) ProtoReflect

func (x *ListNodePoolsRequest) ProtoReflect() protoreflect.Message

func (*ListNodePoolsRequest) Reset

func (x *ListNodePoolsRequest) Reset()

func (*ListNodePoolsRequest) String

func (x *ListNodePoolsRequest) String() string

type ListNodePoolsResponse

type ListNodePoolsResponse struct {

	// A list of node pools for a cluster.
	NodePools []*NodePool `protobuf:"bytes,1,rep,name=node_pools,json=nodePools,proto3" json:"node_pools,omitempty"`
	// contains filtered or unexported fields
}

ListNodePoolsResponse is the result of ListNodePoolsRequest.

func (*ListNodePoolsResponse) Descriptor deprecated

func (*ListNodePoolsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListNodePoolsResponse.ProtoReflect.Descriptor instead.

func (*ListNodePoolsResponse) GetNodePools

func (x *ListNodePoolsResponse) GetNodePools() []*NodePool

func (*ListNodePoolsResponse) ProtoMessage

func (*ListNodePoolsResponse) ProtoMessage()

func (*ListNodePoolsResponse) ProtoReflect

func (x *ListNodePoolsResponse) ProtoReflect() protoreflect.Message

func (*ListNodePoolsResponse) Reset

func (x *ListNodePoolsResponse) Reset()

func (*ListNodePoolsResponse) String

func (x *ListNodePoolsResponse) String() string

type ListOperationsRequest

type ListOperationsRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) to return
	// operations for, or `-` for all zones. This field has been deprecated and
	// replaced by the parent field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The parent (project and location) where the operations will be listed.
	// Specified in the format `projects/*/locations/*`.
	// Location "-" matches all zones and all regions.
	Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

ListOperationsRequest lists operations.

func (*ListOperationsRequest) Descriptor deprecated

func (*ListOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListOperationsRequest) GetParent

func (x *ListOperationsRequest) GetParent() string

func (*ListOperationsRequest) GetProjectId deprecated

func (x *ListOperationsRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListOperationsRequest) GetZone deprecated

func (x *ListOperationsRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*ListOperationsRequest) ProtoMessage

func (*ListOperationsRequest) ProtoMessage()

func (*ListOperationsRequest) ProtoReflect

func (x *ListOperationsRequest) ProtoReflect() protoreflect.Message

func (*ListOperationsRequest) Reset

func (x *ListOperationsRequest) Reset()

func (*ListOperationsRequest) String

func (x *ListOperationsRequest) String() string

type ListOperationsResponse

type ListOperationsResponse struct {

	// A list of operations in the project in the specified zone.
	Operations []*Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// If any zones are listed here, the list of operations returned
	// may be missing the operations from those zones.
	MissingZones []string `protobuf:"bytes,2,rep,name=missing_zones,json=missingZones,proto3" json:"missing_zones,omitempty"`
	// contains filtered or unexported fields
}

ListOperationsResponse is the result of ListOperationsRequest.

func (*ListOperationsResponse) Descriptor deprecated

func (*ListOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListOperationsResponse) GetMissingZones

func (x *ListOperationsResponse) GetMissingZones() []string

func (*ListOperationsResponse) GetOperations

func (x *ListOperationsResponse) GetOperations() []*Operation

func (*ListOperationsResponse) ProtoMessage

func (*ListOperationsResponse) ProtoMessage()

func (*ListOperationsResponse) ProtoReflect

func (x *ListOperationsResponse) ProtoReflect() protoreflect.Message

func (*ListOperationsResponse) Reset

func (x *ListOperationsResponse) Reset()

func (*ListOperationsResponse) String

func (x *ListOperationsResponse) String() string

type ListUsableSubnetworksRequest

type ListUsableSubnetworksRequest struct {

	// The parent project where subnetworks are usable.
	// Specified in the format `projects/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Filtering currently only supports equality on the networkProjectId and must
	// be in the form: "networkProjectId=[PROJECTID]", where `networkProjectId`
	// is the project which owns the listed subnetworks. This defaults to the
	// parent project ID.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// The max number of results per page that should be returned. If the number
	// of available results is larger than `page_size`, a `next_page_token` is
	// returned which can be used to get the next page of results in subsequent
	// requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Specifies a page token to use. Set this to the nextPageToken returned by
	// previous list requests to get the next page of results.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListUsableSubnetworksRequest requests the list of usable subnetworks available to a user for creating clusters.

func (*ListUsableSubnetworksRequest) Descriptor deprecated

func (*ListUsableSubnetworksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableSubnetworksRequest.ProtoReflect.Descriptor instead.

func (*ListUsableSubnetworksRequest) GetFilter

func (x *ListUsableSubnetworksRequest) GetFilter() string

func (*ListUsableSubnetworksRequest) GetPageSize

func (x *ListUsableSubnetworksRequest) GetPageSize() int32

func (*ListUsableSubnetworksRequest) GetPageToken

func (x *ListUsableSubnetworksRequest) GetPageToken() string

func (*ListUsableSubnetworksRequest) GetParent

func (x *ListUsableSubnetworksRequest) GetParent() string

func (*ListUsableSubnetworksRequest) ProtoMessage

func (*ListUsableSubnetworksRequest) ProtoMessage()

func (*ListUsableSubnetworksRequest) ProtoReflect

func (*ListUsableSubnetworksRequest) Reset

func (x *ListUsableSubnetworksRequest) Reset()

func (*ListUsableSubnetworksRequest) String

type ListUsableSubnetworksResponse

type ListUsableSubnetworksResponse struct {

	// A list of usable subnetworks in the specified network project.
	Subnetworks []*UsableSubnetwork `protobuf:"bytes,1,rep,name=subnetworks,proto3" json:"subnetworks,omitempty"`
	// This token allows you to get the next page of results for list requests.
	// If the number of results is larger than `page_size`, use the
	// `next_page_token` as a value for the query parameter `page_token` in the
	// next request. The value will become empty when there are no more pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.

func (*ListUsableSubnetworksResponse) Descriptor deprecated

func (*ListUsableSubnetworksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListUsableSubnetworksResponse.ProtoReflect.Descriptor instead.

func (*ListUsableSubnetworksResponse) GetNextPageToken

func (x *ListUsableSubnetworksResponse) GetNextPageToken() string

func (*ListUsableSubnetworksResponse) GetSubnetworks

func (x *ListUsableSubnetworksResponse) GetSubnetworks() []*UsableSubnetwork

func (*ListUsableSubnetworksResponse) ProtoMessage

func (*ListUsableSubnetworksResponse) ProtoMessage()

func (*ListUsableSubnetworksResponse) ProtoReflect

func (*ListUsableSubnetworksResponse) Reset

func (x *ListUsableSubnetworksResponse) Reset()

func (*ListUsableSubnetworksResponse) String

type LocalNvmeSsdBlockConfig added in v1.10.0

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 deprecated added in v1.10.0

func (*LocalNvmeSsdBlockConfig) Descriptor() ([]byte, []int)

Deprecated: Use LocalNvmeSsdBlockConfig.ProtoReflect.Descriptor instead.

func (*LocalNvmeSsdBlockConfig) GetLocalSsdCount added in v1.10.0

func (x *LocalNvmeSsdBlockConfig) GetLocalSsdCount() int32

func (*LocalNvmeSsdBlockConfig) ProtoMessage added in v1.10.0

func (*LocalNvmeSsdBlockConfig) ProtoMessage()

func (*LocalNvmeSsdBlockConfig) ProtoReflect added in v1.10.0

func (x *LocalNvmeSsdBlockConfig) ProtoReflect() protoreflect.Message

func (*LocalNvmeSsdBlockConfig) Reset added in v1.10.0

func (x *LocalNvmeSsdBlockConfig) Reset()

func (*LocalNvmeSsdBlockConfig) String added in v1.10.0

func (x *LocalNvmeSsdBlockConfig) String() string

type LoggingComponentConfig

type LoggingComponentConfig struct {

	// Select components to collect logs. An empty set would disable all logging.
	EnableComponents []LoggingComponentConfig_Component `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

LoggingComponentConfig is cluster logging component configuration.

func (*LoggingComponentConfig) Descriptor deprecated

func (*LoggingComponentConfig) Descriptor() ([]byte, []int)

Deprecated: Use LoggingComponentConfig.ProtoReflect.Descriptor instead.

func (*LoggingComponentConfig) GetEnableComponents

func (x *LoggingComponentConfig) GetEnableComponents() []LoggingComponentConfig_Component

func (*LoggingComponentConfig) ProtoMessage

func (*LoggingComponentConfig) ProtoMessage()

func (*LoggingComponentConfig) ProtoReflect

func (x *LoggingComponentConfig) ProtoReflect() protoreflect.Message

func (*LoggingComponentConfig) Reset

func (x *LoggingComponentConfig) Reset()

func (*LoggingComponentConfig) String

func (x *LoggingComponentConfig) String() string

type LoggingComponentConfig_Component

type LoggingComponentConfig_Component int32

GKE components exposing logs

const (
	// Default value. This shouldn't be used.
	LoggingComponentConfig_COMPONENT_UNSPECIFIED LoggingComponentConfig_Component = 0
	// system components
	LoggingComponentConfig_SYSTEM_COMPONENTS LoggingComponentConfig_Component = 1
	// workloads
	LoggingComponentConfig_WORKLOADS LoggingComponentConfig_Component = 2
	// kube-apiserver
	LoggingComponentConfig_APISERVER LoggingComponentConfig_Component = 3
	// kube-scheduler
	LoggingComponentConfig_SCHEDULER LoggingComponentConfig_Component = 4
	// kube-controller-manager
	LoggingComponentConfig_CONTROLLER_MANAGER LoggingComponentConfig_Component = 5
)

func (LoggingComponentConfig_Component) Descriptor

func (LoggingComponentConfig_Component) Enum

func (LoggingComponentConfig_Component) EnumDescriptor deprecated

func (LoggingComponentConfig_Component) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoggingComponentConfig_Component.Descriptor instead.

func (LoggingComponentConfig_Component) Number

func (LoggingComponentConfig_Component) String

func (LoggingComponentConfig_Component) Type

type LoggingConfig

type LoggingConfig struct {

	// Logging components configuration
	ComponentConfig *LoggingComponentConfig `protobuf:"bytes,1,opt,name=component_config,json=componentConfig,proto3" json:"component_config,omitempty"`
	// contains filtered or unexported fields
}

LoggingConfig is cluster logging configuration.

func (*LoggingConfig) Descriptor deprecated

func (*LoggingConfig) Descriptor() ([]byte, []int)

Deprecated: Use LoggingConfig.ProtoReflect.Descriptor instead.

func (*LoggingConfig) GetComponentConfig

func (x *LoggingConfig) GetComponentConfig() *LoggingComponentConfig

func (*LoggingConfig) ProtoMessage

func (*LoggingConfig) ProtoMessage()

func (*LoggingConfig) ProtoReflect

func (x *LoggingConfig) ProtoReflect() protoreflect.Message

func (*LoggingConfig) Reset

func (x *LoggingConfig) Reset()

func (*LoggingConfig) String

func (x *LoggingConfig) String() string

type LoggingVariantConfig

type LoggingVariantConfig struct {

	// Logging variant deployed on nodes.
	Variant LoggingVariantConfig_Variant `protobuf:"varint,1,opt,name=variant,proto3,enum=google.container.v1.LoggingVariantConfig_Variant" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

LoggingVariantConfig specifies the behaviour of the logging component.

func (*LoggingVariantConfig) Descriptor deprecated

func (*LoggingVariantConfig) Descriptor() ([]byte, []int)

Deprecated: Use LoggingVariantConfig.ProtoReflect.Descriptor instead.

func (*LoggingVariantConfig) GetVariant

func (*LoggingVariantConfig) ProtoMessage

func (*LoggingVariantConfig) ProtoMessage()

func (*LoggingVariantConfig) ProtoReflect

func (x *LoggingVariantConfig) ProtoReflect() protoreflect.Message

func (*LoggingVariantConfig) Reset

func (x *LoggingVariantConfig) Reset()

func (*LoggingVariantConfig) String

func (x *LoggingVariantConfig) String() string

type LoggingVariantConfig_Variant

type LoggingVariantConfig_Variant int32

Logging component variants.

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) Enum

func (LoggingVariantConfig_Variant) EnumDescriptor deprecated

func (LoggingVariantConfig_Variant) EnumDescriptor() ([]byte, []int)

Deprecated: Use LoggingVariantConfig_Variant.Descriptor instead.

func (LoggingVariantConfig_Variant) Number

func (LoggingVariantConfig_Variant) String

func (LoggingVariantConfig_Variant) Type

type MaintenanceExclusionOptions

type MaintenanceExclusionOptions struct {

	// Scope specifies the upgrade scope which upgrades are blocked by the
	// exclusion.
	Scope MaintenanceExclusionOptions_Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=google.container.v1.MaintenanceExclusionOptions_Scope" json:"scope,omitempty"`
	// contains filtered or unexported fields
}

Represents the Maintenance exclusion option.

func (*MaintenanceExclusionOptions) Descriptor deprecated

func (*MaintenanceExclusionOptions) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceExclusionOptions.ProtoReflect.Descriptor instead.

func (*MaintenanceExclusionOptions) GetScope

func (*MaintenanceExclusionOptions) ProtoMessage

func (*MaintenanceExclusionOptions) ProtoMessage()

func (*MaintenanceExclusionOptions) ProtoReflect

func (*MaintenanceExclusionOptions) Reset

func (x *MaintenanceExclusionOptions) Reset()

func (*MaintenanceExclusionOptions) String

func (x *MaintenanceExclusionOptions) String() string

type MaintenanceExclusionOptions_Scope

type MaintenanceExclusionOptions_Scope int32

Scope of exclusion.

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) Enum

func (MaintenanceExclusionOptions_Scope) EnumDescriptor deprecated

func (MaintenanceExclusionOptions_Scope) EnumDescriptor() ([]byte, []int)

Deprecated: Use MaintenanceExclusionOptions_Scope.Descriptor instead.

func (MaintenanceExclusionOptions_Scope) Number

func (MaintenanceExclusionOptions_Scope) String

func (MaintenanceExclusionOptions_Scope) Type

type MaintenancePolicy

type MaintenancePolicy struct {

	// Specifies the maintenance window in which maintenance may be performed.
	Window *MaintenanceWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// A hash identifying the version of this policy, so that updates to fields of
	// the policy won't accidentally undo intermediate changes (and so that users
	// of the API unaware of some fields won't accidentally remove other fields).
	// Make a `get()` request to the cluster to get the current
	// resource version and include it with requests to set the policy.
	ResourceVersion string `protobuf:"bytes,3,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	// contains filtered or unexported fields
}

MaintenancePolicy defines the maintenance policy to be used for the cluster.

func (*MaintenancePolicy) Descriptor deprecated

func (*MaintenancePolicy) Descriptor() ([]byte, []int)

Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.

func (*MaintenancePolicy) GetResourceVersion

func (x *MaintenancePolicy) GetResourceVersion() string

func (*MaintenancePolicy) GetWindow

func (x *MaintenancePolicy) GetWindow() *MaintenanceWindow

func (*MaintenancePolicy) ProtoMessage

func (*MaintenancePolicy) ProtoMessage()

func (*MaintenancePolicy) ProtoReflect

func (x *MaintenancePolicy) ProtoReflect() protoreflect.Message

func (*MaintenancePolicy) Reset

func (x *MaintenancePolicy) Reset()

func (*MaintenancePolicy) String

func (x *MaintenancePolicy) String() string

type MaintenanceWindow

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 `` /* 212-byte string literal not displayed */
	// contains filtered or unexported fields
}

MaintenanceWindow defines the maintenance window to be used for the cluster.

func (*MaintenanceWindow) Descriptor deprecated

func (*MaintenanceWindow) Descriptor() ([]byte, []int)

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetDailyMaintenanceWindow

func (x *MaintenanceWindow) GetDailyMaintenanceWindow() *DailyMaintenanceWindow

func (*MaintenanceWindow) GetMaintenanceExclusions

func (x *MaintenanceWindow) GetMaintenanceExclusions() map[string]*TimeWindow

func (*MaintenanceWindow) GetPolicy

func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy

func (*MaintenanceWindow) GetRecurringWindow

func (x *MaintenanceWindow) GetRecurringWindow() *RecurringTimeWindow

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindow_DailyMaintenanceWindow

type MaintenanceWindow_DailyMaintenanceWindow struct {
	// DailyMaintenanceWindow specifies a daily maintenance operation window.
	DailyMaintenanceWindow *DailyMaintenanceWindow `protobuf:"bytes,2,opt,name=daily_maintenance_window,json=dailyMaintenanceWindow,proto3,oneof"`
}

type 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"`
}

type ManagedPrometheusConfig

type ManagedPrometheusConfig struct {

	// Enable Managed Collection.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.

func (*ManagedPrometheusConfig) Descriptor deprecated

func (*ManagedPrometheusConfig) Descriptor() ([]byte, []int)

Deprecated: Use ManagedPrometheusConfig.ProtoReflect.Descriptor instead.

func (*ManagedPrometheusConfig) GetEnabled

func (x *ManagedPrometheusConfig) GetEnabled() bool

func (*ManagedPrometheusConfig) ProtoMessage

func (*ManagedPrometheusConfig) ProtoMessage()

func (*ManagedPrometheusConfig) ProtoReflect

func (x *ManagedPrometheusConfig) ProtoReflect() protoreflect.Message

func (*ManagedPrometheusConfig) Reset

func (x *ManagedPrometheusConfig) Reset()

func (*ManagedPrometheusConfig) String

func (x *ManagedPrometheusConfig) String() string

type MasterAuth

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 `` /* 132-byte string literal not displayed */
	// [Output only] Base64-encoded public certificate that is the root of
	// trust for the cluster.
	ClusterCaCertificate string `protobuf:"bytes,100,opt,name=cluster_ca_certificate,json=clusterCaCertificate,proto3" json:"cluster_ca_certificate,omitempty"`
	// [Output only] Base64-encoded public certificate used by clients to
	// authenticate to the cluster endpoint.
	ClientCertificate string `protobuf:"bytes,101,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"`
	// [Output only] Base64-encoded private key used by clients to authenticate
	// to the cluster endpoint.
	ClientKey string `protobuf:"bytes,102,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"`
	// contains filtered or unexported fields
}

The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.

func (*MasterAuth) Descriptor deprecated

func (*MasterAuth) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuth.ProtoReflect.Descriptor instead.

func (*MasterAuth) GetClientCertificate

func (x *MasterAuth) GetClientCertificate() string

func (*MasterAuth) GetClientCertificateConfig

func (x *MasterAuth) GetClientCertificateConfig() *ClientCertificateConfig

func (*MasterAuth) GetClientKey

func (x *MasterAuth) GetClientKey() string

func (*MasterAuth) GetClusterCaCertificate

func (x *MasterAuth) GetClusterCaCertificate() string

func (*MasterAuth) GetPassword deprecated

func (x *MasterAuth) GetPassword() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*MasterAuth) GetUsername deprecated

func (x *MasterAuth) GetUsername() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*MasterAuth) ProtoMessage

func (*MasterAuth) ProtoMessage()

func (*MasterAuth) ProtoReflect

func (x *MasterAuth) ProtoReflect() protoreflect.Message

func (*MasterAuth) Reset

func (x *MasterAuth) Reset()

func (*MasterAuth) String

func (x *MasterAuth) String() string

type MasterAuthorizedNetworksConfig

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 accessbile via Google Compute Engine Public IP addresses.
	GcpPublicCidrsAccessEnabled *bool `` /* 155-byte string literal not displayed */
	// 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 deprecated

func (*MasterAuthorizedNetworksConfig) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuthorizedNetworksConfig.ProtoReflect.Descriptor instead.

func (*MasterAuthorizedNetworksConfig) GetCidrBlocks

func (*MasterAuthorizedNetworksConfig) GetEnabled

func (x *MasterAuthorizedNetworksConfig) GetEnabled() bool

func (*MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled added in v1.8.0

func (x *MasterAuthorizedNetworksConfig) GetGcpPublicCidrsAccessEnabled() bool

func (*MasterAuthorizedNetworksConfig) ProtoMessage

func (*MasterAuthorizedNetworksConfig) ProtoMessage()

func (*MasterAuthorizedNetworksConfig) ProtoReflect

func (*MasterAuthorizedNetworksConfig) Reset

func (x *MasterAuthorizedNetworksConfig) Reset()

func (*MasterAuthorizedNetworksConfig) String

type MasterAuthorizedNetworksConfig_CidrBlock

type MasterAuthorizedNetworksConfig_CidrBlock struct {

	// display_name is an optional field for users to identify CIDR blocks.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// cidr_block must be specified in CIDR notation.
	CidrBlock string `protobuf:"bytes,2,opt,name=cidr_block,json=cidrBlock,proto3" json:"cidr_block,omitempty"`
	// contains filtered or unexported fields
}

CidrBlock contains an optional name and one CIDR block.

func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor deprecated

func (*MasterAuthorizedNetworksConfig_CidrBlock) Descriptor() ([]byte, []int)

Deprecated: Use MasterAuthorizedNetworksConfig_CidrBlock.ProtoReflect.Descriptor instead.

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetCidrBlock

func (*MasterAuthorizedNetworksConfig_CidrBlock) GetDisplayName

func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoMessage

func (*MasterAuthorizedNetworksConfig_CidrBlock) ProtoReflect

func (*MasterAuthorizedNetworksConfig_CidrBlock) Reset

func (*MasterAuthorizedNetworksConfig_CidrBlock) String

type MaxPodsConstraint

type MaxPodsConstraint struct {

	// Constraint enforced on the max num of pods per node.
	MaxPodsPerNode int64 `protobuf:"varint,1,opt,name=max_pods_per_node,json=maxPodsPerNode,proto3" json:"max_pods_per_node,omitempty"`
	// contains filtered or unexported fields
}

Constraints applied to pods.

func (*MaxPodsConstraint) Descriptor deprecated

func (*MaxPodsConstraint) Descriptor() ([]byte, []int)

Deprecated: Use MaxPodsConstraint.ProtoReflect.Descriptor instead.

func (*MaxPodsConstraint) GetMaxPodsPerNode

func (x *MaxPodsConstraint) GetMaxPodsPerNode() int64

func (*MaxPodsConstraint) ProtoMessage

func (*MaxPodsConstraint) ProtoMessage()

func (*MaxPodsConstraint) ProtoReflect

func (x *MaxPodsConstraint) ProtoReflect() protoreflect.Message

func (*MaxPodsConstraint) Reset

func (x *MaxPodsConstraint) Reset()

func (*MaxPodsConstraint) String

func (x *MaxPodsConstraint) String() string

type MeshCertificates

type MeshCertificates struct {

	// enable_certificates controls issuance of workload mTLS certificates.
	//
	// If set, the GKE Workload Identity Certificates controller and node agent
	// will be deployed in the cluster, which can then be configured by creating a
	// WorkloadCertificateConfig Custom Resource.
	//
	// Requires Workload Identity
	// ([workload_pool][google.container.v1.WorkloadIdentityConfig.workload_pool]
	// must be non-empty).
	EnableCertificates *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=enable_certificates,json=enableCertificates,proto3" json:"enable_certificates,omitempty"`
	// contains filtered or unexported fields
}

Configuration for issuance of mTLS keys and certificates to Kubernetes pods.

func (*MeshCertificates) Descriptor deprecated

func (*MeshCertificates) Descriptor() ([]byte, []int)

Deprecated: Use MeshCertificates.ProtoReflect.Descriptor instead.

func (*MeshCertificates) GetEnableCertificates

func (x *MeshCertificates) GetEnableCertificates() *wrapperspb.BoolValue

func (*MeshCertificates) ProtoMessage

func (*MeshCertificates) ProtoMessage()

func (*MeshCertificates) ProtoReflect

func (x *MeshCertificates) ProtoReflect() protoreflect.Message

func (*MeshCertificates) Reset

func (x *MeshCertificates) Reset()

func (*MeshCertificates) String

func (x *MeshCertificates) String() string

type MonitoringComponentConfig

type MonitoringComponentConfig struct {

	// Select components to collect metrics. An empty set would disable all
	// monitoring.
	EnableComponents []MonitoringComponentConfig_Component `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

MonitoringComponentConfig is cluster monitoring component configuration.

func (*MonitoringComponentConfig) Descriptor deprecated

func (*MonitoringComponentConfig) Descriptor() ([]byte, []int)

Deprecated: Use MonitoringComponentConfig.ProtoReflect.Descriptor instead.

func (*MonitoringComponentConfig) GetEnableComponents

func (*MonitoringComponentConfig) ProtoMessage

func (*MonitoringComponentConfig) ProtoMessage()

func (*MonitoringComponentConfig) ProtoReflect

func (*MonitoringComponentConfig) Reset

func (x *MonitoringComponentConfig) Reset()

func (*MonitoringComponentConfig) String

func (x *MonitoringComponentConfig) String() string

type MonitoringComponentConfig_Component

type MonitoringComponentConfig_Component int32

GKE components exposing metrics

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
)

func (MonitoringComponentConfig_Component) Descriptor

func (MonitoringComponentConfig_Component) Enum

func (MonitoringComponentConfig_Component) EnumDescriptor deprecated

func (MonitoringComponentConfig_Component) EnumDescriptor() ([]byte, []int)

Deprecated: Use MonitoringComponentConfig_Component.Descriptor instead.

func (MonitoringComponentConfig_Component) Number

func (MonitoringComponentConfig_Component) String

func (MonitoringComponentConfig_Component) Type

type MonitoringConfig

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 `` /* 132-byte string literal not displayed */
	// Configuration of Advanced Datapath Observability features.
	AdvancedDatapathObservabilityConfig *AdvancedDatapathObservabilityConfig `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

MonitoringConfig is cluster monitoring configuration.

func (*MonitoringConfig) Descriptor deprecated

func (*MonitoringConfig) Descriptor() ([]byte, []int)

Deprecated: Use MonitoringConfig.ProtoReflect.Descriptor instead.

func (*MonitoringConfig) GetAdvancedDatapathObservabilityConfig added in v1.24.0

func (x *MonitoringConfig) GetAdvancedDatapathObservabilityConfig() *AdvancedDatapathObservabilityConfig

func (*MonitoringConfig) GetComponentConfig

func (x *MonitoringConfig) GetComponentConfig() *MonitoringComponentConfig

func (*MonitoringConfig) GetManagedPrometheusConfig

func (x *MonitoringConfig) GetManagedPrometheusConfig() *ManagedPrometheusConfig

func (*MonitoringConfig) ProtoMessage

func (*MonitoringConfig) ProtoMessage()

func (*MonitoringConfig) ProtoReflect

func (x *MonitoringConfig) ProtoReflect() protoreflect.Message

func (*MonitoringConfig) Reset

func (x *MonitoringConfig) Reset()

func (*MonitoringConfig) String

func (x *MonitoringConfig) String() string

type NetworkConfig

type NetworkConfig struct {

	// Output only. The relative name of the Google Compute Engine
	// [network][google.container.v1.NetworkConfig.network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
	// to which the cluster is connected. Example:
	// projects/my-project/global/networks/my-network
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// Output only. The relative name of the Google Compute Engine
	// [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
	// cluster is connected. Example:
	// projects/my-project/regions/us-central1/subnetworks/my-subnet
	Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// Whether Intra-node visibility is enabled for this cluster.
	// This makes same node pod to pod traffic visible for VPC network.
	EnableIntraNodeVisibility bool `` /* 141-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	// The desired datapath provider for this cluster. By default, uses the
	// IPTables-based kube-proxy implementation.
	DatapathProvider DatapathProvider `` /* 153-byte string literal not displayed */
	// 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 `` /* 185-byte string literal not displayed */
	// 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 `` /* 138-byte string literal not displayed */
	// 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 `` /* 128-byte string literal not displayed */
	// Network bandwidth tier configuration.
	NetworkPerformanceConfig *NetworkConfig_ClusterNetworkPerformanceConfig `` /* 136-byte string literal not displayed */
	// Whether FQDN Network Policy is enabled on this cluster.
	EnableFqdnNetworkPolicy *bool `` /* 142-byte string literal not displayed */
	// Specify the details of in-transit encryption.
	// Now named inter-node transparent encryption.
	InTransitEncryptionConfig *InTransitEncryptionConfig `` /* 199-byte string literal not displayed */
	// Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
	EnableCiliumClusterwideNetworkPolicy *bool `` /* 183-byte string literal not displayed */
	// contains filtered or unexported fields
}

NetworkConfig reports the relative names of network & subnetwork.

func (*NetworkConfig) Descriptor deprecated

func (*NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetDatapathProvider

func (x *NetworkConfig) GetDatapathProvider() DatapathProvider

func (*NetworkConfig) GetDefaultSnatStatus

func (x *NetworkConfig) GetDefaultSnatStatus() *DefaultSnatStatus

func (*NetworkConfig) GetDnsConfig

func (x *NetworkConfig) GetDnsConfig() *DNSConfig

func (*NetworkConfig) GetEnableCiliumClusterwideNetworkPolicy added in v1.33.0

func (x *NetworkConfig) GetEnableCiliumClusterwideNetworkPolicy() bool

func (*NetworkConfig) GetEnableFqdnNetworkPolicy added in v1.21.0

func (x *NetworkConfig) GetEnableFqdnNetworkPolicy() bool

func (*NetworkConfig) GetEnableIntraNodeVisibility

func (x *NetworkConfig) GetEnableIntraNodeVisibility() bool

func (*NetworkConfig) GetEnableL4IlbSubsetting

func (x *NetworkConfig) GetEnableL4IlbSubsetting() bool

func (*NetworkConfig) GetEnableMultiNetworking added in v1.24.0

func (x *NetworkConfig) GetEnableMultiNetworking() bool

func (*NetworkConfig) GetGatewayApiConfig added in v1.8.0

func (x *NetworkConfig) GetGatewayApiConfig() *GatewayAPIConfig

func (*NetworkConfig) GetInTransitEncryptionConfig added in v1.30.0

func (x *NetworkConfig) GetInTransitEncryptionConfig() InTransitEncryptionConfig

func (*NetworkConfig) GetNetwork

func (x *NetworkConfig) GetNetwork() string

func (*NetworkConfig) GetNetworkPerformanceConfig added in v1.23.0

func (x *NetworkConfig) GetNetworkPerformanceConfig() *NetworkConfig_ClusterNetworkPerformanceConfig

func (*NetworkConfig) GetPrivateIpv6GoogleAccess

func (x *NetworkConfig) GetPrivateIpv6GoogleAccess() PrivateIPv6GoogleAccess

func (*NetworkConfig) GetServiceExternalIpsConfig

func (x *NetworkConfig) GetServiceExternalIpsConfig() *ServiceExternalIPsConfig

func (*NetworkConfig) GetSubnetwork

func (x *NetworkConfig) GetSubnetwork() string

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect

func (x *NetworkConfig) ProtoReflect() protoreflect.Message

func (*NetworkConfig) Reset

func (x *NetworkConfig) Reset()

func (*NetworkConfig) String

func (x *NetworkConfig) String() string

type NetworkConfig_ClusterNetworkPerformanceConfig added in v1.23.0

type NetworkConfig_ClusterNetworkPerformanceConfig struct {

	// Specifies the total network bandwidth tier for NodePools in the cluster.
	TotalEgressBandwidthTier *NetworkConfig_ClusterNetworkPerformanceConfig_Tier `` /* 220-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration of network bandwidth tiers

func (*NetworkConfig_ClusterNetworkPerformanceConfig) Descriptor deprecated added in v1.23.0

Deprecated: Use NetworkConfig_ClusterNetworkPerformanceConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig_ClusterNetworkPerformanceConfig) GetTotalEgressBandwidthTier added in v1.23.0

func (*NetworkConfig_ClusterNetworkPerformanceConfig) ProtoMessage added in v1.23.0

func (*NetworkConfig_ClusterNetworkPerformanceConfig) ProtoReflect added in v1.23.0

func (*NetworkConfig_ClusterNetworkPerformanceConfig) Reset added in v1.23.0

func (*NetworkConfig_ClusterNetworkPerformanceConfig) String added in v1.23.0

type NetworkConfig_ClusterNetworkPerformanceConfig_Tier added in v1.23.0

type NetworkConfig_ClusterNetworkPerformanceConfig_Tier int32

Node network tier

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 added in v1.23.0

func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Enum added in v1.23.0

func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) EnumDescriptor deprecated added in v1.23.0

Deprecated: Use NetworkConfig_ClusterNetworkPerformanceConfig_Tier.Descriptor instead.

func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Number added in v1.23.0

func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) String added in v1.23.0

func (NetworkConfig_ClusterNetworkPerformanceConfig_Tier) Type added in v1.23.0

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 deprecated

func (*NetworkPolicy) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPolicy.ProtoReflect.Descriptor instead.

func (*NetworkPolicy) GetEnabled

func (x *NetworkPolicy) GetEnabled() bool

func (*NetworkPolicy) GetProvider

func (x *NetworkPolicy) GetProvider() NetworkPolicy_Provider

func (*NetworkPolicy) ProtoMessage

func (*NetworkPolicy) ProtoMessage()

func (*NetworkPolicy) ProtoReflect

func (x *NetworkPolicy) ProtoReflect() protoreflect.Message

func (*NetworkPolicy) Reset

func (x *NetworkPolicy) Reset()

func (*NetworkPolicy) String

func (x *NetworkPolicy) String() string

type NetworkPolicyConfig

type NetworkPolicyConfig struct {

	// Whether NetworkPolicy is enabled for this cluster.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

func (*NetworkPolicyConfig) Descriptor deprecated

func (*NetworkPolicyConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkPolicyConfig.ProtoReflect.Descriptor instead.

func (*NetworkPolicyConfig) GetDisabled

func (x *NetworkPolicyConfig) GetDisabled() bool

func (*NetworkPolicyConfig) ProtoMessage

func (*NetworkPolicyConfig) ProtoMessage()

func (*NetworkPolicyConfig) ProtoReflect

func (x *NetworkPolicyConfig) ProtoReflect() protoreflect.Message

func (*NetworkPolicyConfig) Reset

func (x *NetworkPolicyConfig) Reset()

func (*NetworkPolicyConfig) String

func (x *NetworkPolicyConfig) String() string

type NetworkPolicy_Provider

type NetworkPolicy_Provider int32

Allowed Network Policy providers.

const (
	// Not set
	NetworkPolicy_PROVIDER_UNSPECIFIED NetworkPolicy_Provider = 0
	// Tigera (Calico Felix).
	NetworkPolicy_CALICO NetworkPolicy_Provider = 1
)

func (NetworkPolicy_Provider) Descriptor

func (NetworkPolicy_Provider) Enum

func (NetworkPolicy_Provider) EnumDescriptor deprecated

func (NetworkPolicy_Provider) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkPolicy_Provider.Descriptor instead.

func (NetworkPolicy_Provider) Number

func (NetworkPolicy_Provider) String

func (x NetworkPolicy_Provider) String() string

func (NetworkPolicy_Provider) Type

type NetworkTags

type NetworkTags struct {

	// List of network tags.
	Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.

func (*NetworkTags) Descriptor deprecated

func (*NetworkTags) Descriptor() ([]byte, []int)

Deprecated: Use NetworkTags.ProtoReflect.Descriptor instead.

func (*NetworkTags) GetTags

func (x *NetworkTags) GetTags() []string

func (*NetworkTags) ProtoMessage

func (*NetworkTags) ProtoMessage()

func (*NetworkTags) ProtoReflect

func (x *NetworkTags) ProtoReflect() protoreflect.Message

func (*NetworkTags) Reset

func (x *NetworkTags) Reset()

func (*NetworkTags) String

func (x *NetworkTags) String() string

type NodeConfig

type NodeConfig struct {

	// The name of a Google Compute Engine [machine
	// type](https://cloud.google.com/compute/docs/machine-types)
	//
	// If unspecified, the default machine type is `e2-medium`.
	MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"`
	// Size of the disk attached to each node, specified in GB.
	// The smallest allowed disk size is 10GB.
	//
	// If unspecified, the default disk size is 100GB.
	DiskSizeGb int32 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"`
	// The set of Google API scopes to be made available on all of the
	// node VMs under the "default" service account.
	//
	// The following scopes are recommended, but not required, and by default are
	// not included:
	//
	// * `https://www.googleapis.com/auth/compute` is required for mounting
	// persistent storage on your nodes.
	// * `https://www.googleapis.com/auth/devstorage.read_only` is required for
	// communicating with **gcr.io**
	// (the [Google Container
	// Registry](https://cloud.google.com/container-registry/)).
	//
	// If unspecified, no scopes are added, unless Cloud Logging or Cloud
	// Monitoring are enabled, in which case their required scopes will be added.
	OauthScopes []string `protobuf:"bytes,3,rep,name=oauth_scopes,json=oauthScopes,proto3" json:"oauth_scopes,omitempty"`
	// The Google Cloud Platform Service Account to be used by the node VMs.
	// Specify the email address of the Service Account; otherwise, if no Service
	// Account is specified, the "default" service account is used.
	ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// The metadata key/value pairs assigned to instances in the cluster.
	//
	// Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes
	// in length. These are reflected as part of a URL in the metadata server.
	// Additionally, to avoid ambiguity, keys must not conflict with any other
	// metadata keys for the project or be one of the reserved keys:
	//
	//   - "cluster-location"
	//   - "cluster-name"
	//   - "cluster-uid"
	//   - "configure-sh"
	//   - "containerd-configure-sh"
	//   - "enable-os-login"
	//   - "gci-ensure-gke-docker"
	//   - "gci-metrics-enabled"
	//   - "gci-update-strategy"
	//   - "instance-template"
	//   - "kube-env"
	//   - "startup-script"
	//   - "user-data"
	//   - "disable-address-manager"
	//   - "windows-startup-script-ps1"
	//   - "common-psm1"
	//   - "k8s-node-setup-psm1"
	//   - "install-ssh-psm1"
	//   - "user-profile-psm1"
	//
	// 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 `` /* 157-byte string literal not displayed */
	// 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 `` /* 153-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// 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 `` /* 192-byte string literal not displayed */
	// 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 `` /* 137-byte string literal not displayed */
	// Parameters for the node ephemeral storage using Local SSDs.
	// If unspecified, ephemeral storage is backed by the boot disk.
	EphemeralStorageLocalSsdConfig *EphemeralStorageLocalSsdConfig `` /* 158-byte string literal not displayed */
	// 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 `` /* 140-byte string literal not displayed */
	// 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"`
	// Secondary boot disk update strategy.
	SecondaryBootDiskUpdateStrategy *SecondaryBootDiskUpdateStrategy `` /* 167-byte string literal not displayed */
	// 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 deprecated

func (*NodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.

func (*NodeConfig) GetAccelerators

func (x *NodeConfig) GetAccelerators() []*AcceleratorConfig

func (*NodeConfig) GetAdvancedMachineFeatures

func (x *NodeConfig) GetAdvancedMachineFeatures() *AdvancedMachineFeatures

func (*NodeConfig) GetBootDiskKmsKey

func (x *NodeConfig) GetBootDiskKmsKey() string

func (*NodeConfig) GetConfidentialNodes

func (x *NodeConfig) GetConfidentialNodes() *ConfidentialNodes

func (*NodeConfig) GetContainerdConfig added in v1.36.0

func (x *NodeConfig) GetContainerdConfig() *ContainerdConfig

func (*NodeConfig) GetDiskSizeGb

func (x *NodeConfig) GetDiskSizeGb() int32

func (*NodeConfig) GetDiskType

func (x *NodeConfig) GetDiskType() string

func (*NodeConfig) GetEnableConfidentialStorage added in v1.32.0

func (x *NodeConfig) GetEnableConfidentialStorage() bool

func (*NodeConfig) GetEphemeralStorageLocalSsdConfig added in v1.10.0

func (x *NodeConfig) GetEphemeralStorageLocalSsdConfig() *EphemeralStorageLocalSsdConfig

func (*NodeConfig) GetFastSocket added in v1.9.0

func (x *NodeConfig) GetFastSocket() *FastSocket

func (*NodeConfig) GetGcfsConfig

func (x *NodeConfig) GetGcfsConfig() *GcfsConfig

func (*NodeConfig) GetGvnic

func (x *NodeConfig) GetGvnic() *VirtualNIC

func (*NodeConfig) GetImageType

func (x *NodeConfig) GetImageType() string

func (*NodeConfig) GetKubeletConfig

func (x *NodeConfig) GetKubeletConfig() *NodeKubeletConfig

func (*NodeConfig) GetLabels

func (x *NodeConfig) GetLabels() map[string]string

func (*NodeConfig) GetLinuxNodeConfig

func (x *NodeConfig) GetLinuxNodeConfig() *LinuxNodeConfig

func (*NodeConfig) GetLocalNvmeSsdBlockConfig added in v1.10.0

func (x *NodeConfig) GetLocalNvmeSsdBlockConfig() *LocalNvmeSsdBlockConfig

func (*NodeConfig) GetLocalSsdCount

func (x *NodeConfig) GetLocalSsdCount() int32

func (*NodeConfig) GetLoggingConfig

func (x *NodeConfig) GetLoggingConfig() *NodePoolLoggingConfig

func (*NodeConfig) GetMachineType

func (x *NodeConfig) GetMachineType() string

func (*NodeConfig) GetMetadata

func (x *NodeConfig) GetMetadata() map[string]string

func (*NodeConfig) GetMinCpuPlatform

func (x *NodeConfig) GetMinCpuPlatform() string

func (*NodeConfig) GetNodeGroup

func (x *NodeConfig) GetNodeGroup() string

func (*NodeConfig) GetOauthScopes

func (x *NodeConfig) GetOauthScopes() []string

func (*NodeConfig) GetPreemptible

func (x *NodeConfig) GetPreemptible() bool

func (*NodeConfig) GetReservationAffinity

func (x *NodeConfig) GetReservationAffinity() *ReservationAffinity

func (*NodeConfig) GetResourceLabels added in v1.8.0

func (x *NodeConfig) GetResourceLabels() map[string]string

func (*NodeConfig) GetResourceManagerTags added in v1.27.0

func (x *NodeConfig) GetResourceManagerTags() *ResourceManagerTags

func (*NodeConfig) GetSandboxConfig

func (x *NodeConfig) GetSandboxConfig() *SandboxConfig

func (*NodeConfig) GetSecondaryBootDiskUpdateStrategy added in v1.34.0

func (x *NodeConfig) GetSecondaryBootDiskUpdateStrategy() *SecondaryBootDiskUpdateStrategy

func (*NodeConfig) GetSecondaryBootDisks added in v1.33.0

func (x *NodeConfig) GetSecondaryBootDisks() []*SecondaryBootDisk

func (*NodeConfig) GetServiceAccount

func (x *NodeConfig) GetServiceAccount() string

func (*NodeConfig) GetShieldedInstanceConfig

func (x *NodeConfig) GetShieldedInstanceConfig() *ShieldedInstanceConfig

func (*NodeConfig) GetSoleTenantConfig added in v1.20.0

func (x *NodeConfig) GetSoleTenantConfig() *SoleTenantConfig

func (*NodeConfig) GetSpot

func (x *NodeConfig) GetSpot() bool

func (*NodeConfig) GetTags

func (x *NodeConfig) GetTags() []string

func (*NodeConfig) GetTaints

func (x *NodeConfig) GetTaints() []*NodeTaint

func (*NodeConfig) GetWindowsNodeConfig added in v1.10.0

func (x *NodeConfig) GetWindowsNodeConfig() *WindowsNodeConfig

func (*NodeConfig) GetWorkloadMetadataConfig

func (x *NodeConfig) GetWorkloadMetadataConfig() *WorkloadMetadataConfig

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) ProtoReflect

func (x *NodeConfig) ProtoReflect() protoreflect.Message

func (*NodeConfig) Reset

func (x *NodeConfig) Reset()

func (*NodeConfig) String

func (x *NodeConfig) String() string

type NodeConfigDefaults

type NodeConfigDefaults struct {

	// GCFS (Google Container File System, also known as Riptide) options.
	GcfsConfig *GcfsConfig `protobuf:"bytes,1,opt,name=gcfs_config,json=gcfsConfig,proto3" json:"gcfs_config,omitempty"`
	// Logging configuration for node pools.
	LoggingConfig *NodePoolLoggingConfig `protobuf:"bytes,3,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`
	// 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 deprecated

func (*NodeConfigDefaults) Descriptor() ([]byte, []int)

Deprecated: Use NodeConfigDefaults.ProtoReflect.Descriptor instead.

func (*NodeConfigDefaults) GetContainerdConfig added in v1.36.0

func (x *NodeConfigDefaults) GetContainerdConfig() *ContainerdConfig

func (*NodeConfigDefaults) GetGcfsConfig

func (x *NodeConfigDefaults) GetGcfsConfig() *GcfsConfig

func (*NodeConfigDefaults) GetLoggingConfig

func (x *NodeConfigDefaults) GetLoggingConfig() *NodePoolLoggingConfig

func (*NodeConfigDefaults) GetNodeKubeletConfig added in v1.36.0

func (x *NodeConfigDefaults) GetNodeKubeletConfig() *NodeKubeletConfig

func (*NodeConfigDefaults) ProtoMessage

func (*NodeConfigDefaults) ProtoMessage()

func (*NodeConfigDefaults) ProtoReflect

func (x *NodeConfigDefaults) ProtoReflect() protoreflect.Message

func (*NodeConfigDefaults) Reset

func (x *NodeConfigDefaults) Reset()

func (*NodeConfigDefaults) String

func (x *NodeConfigDefaults) String() string

type NodeKubeletConfig

type NodeKubeletConfig struct {

	// Control the CPU management policy on the node.
	// See
	// https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/
	//
	// The following values are allowed.
	// * "none": the default, which represents the existing scheduling behavior.
	// * "static": allows pods with certain resource characteristics to be granted
	// increased CPU affinity and exclusivity on the node.
	// The default value is 'none' if unspecified.
	CpuManagerPolicy string `protobuf:"bytes,1,opt,name=cpu_manager_policy,json=cpuManagerPolicy,proto3" json:"cpu_manager_policy,omitempty"`
	// Enable CPU CFS quota enforcement for containers that specify CPU limits.
	//
	// This option is enabled by default which makes kubelet use CFS quota
	// (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to
	// enforce container CPU limits. Otherwise, CPU limits will not be enforced at
	// all.
	//
	// Disable this option to mitigate CPU throttling problems while still having
	// your pods to be in Guaranteed QoS class by specifying the CPU limits.
	//
	// The default value is 'true' if unspecified.
	CpuCfsQuota *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=cpu_cfs_quota,json=cpuCfsQuota,proto3" json:"cpu_cfs_quota,omitempty"`
	// Set the CPU CFS quota period value 'cpu.cfs_period_us'.
	//
	// The string must be a sequence of decimal numbers, each with optional
	// fraction and a unit suffix, such as "300ms".
	// Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
	// The value must be a positive duration.
	CpuCfsQuotaPeriod string `protobuf:"bytes,3,opt,name=cpu_cfs_quota_period,json=cpuCfsQuotaPeriod,proto3" json:"cpu_cfs_quota_period,omitempty"`
	// Set the Pod PID limits. See
	// https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits
	//
	// Controls the maximum number of processes allowed to run in a pod. The value
	// must be greater than or equal to 1024 and less than 4194304.
	PodPidsLimit int64 `protobuf:"varint,4,opt,name=pod_pids_limit,json=podPidsLimit,proto3" json:"pod_pids_limit,omitempty"`
	// Enable or disable Kubelet read only port.
	InsecureKubeletReadonlyPortEnabled *bool `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

Node kubelet configs.

func (*NodeKubeletConfig) Descriptor deprecated

func (*NodeKubeletConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodeKubeletConfig.ProtoReflect.Descriptor instead.

func (*NodeKubeletConfig) GetCpuCfsQuota

func (x *NodeKubeletConfig) GetCpuCfsQuota() *wrapperspb.BoolValue

func (*NodeKubeletConfig) GetCpuCfsQuotaPeriod

func (x *NodeKubeletConfig) GetCpuCfsQuotaPeriod() string

func (*NodeKubeletConfig) GetCpuManagerPolicy

func (x *NodeKubeletConfig) GetCpuManagerPolicy() string

func (*NodeKubeletConfig) GetInsecureKubeletReadonlyPortEnabled added in v1.24.0

func (x *NodeKubeletConfig) GetInsecureKubeletReadonlyPortEnabled() bool

func (*NodeKubeletConfig) GetPodPidsLimit

func (x *NodeKubeletConfig) GetPodPidsLimit() int64

func (*NodeKubeletConfig) ProtoMessage

func (*NodeKubeletConfig) ProtoMessage()

func (*NodeKubeletConfig) ProtoReflect

func (x *NodeKubeletConfig) ProtoReflect() protoreflect.Message

func (*NodeKubeletConfig) Reset

func (x *NodeKubeletConfig) Reset()

func (*NodeKubeletConfig) String

func (x *NodeKubeletConfig) String() string

type NodeLabels

type NodeLabels struct {

	// Map of node label keys and node label values.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).

func (*NodeLabels) Descriptor deprecated

func (*NodeLabels) Descriptor() ([]byte, []int)

Deprecated: Use NodeLabels.ProtoReflect.Descriptor instead.

func (*NodeLabels) GetLabels

func (x *NodeLabels) GetLabels() map[string]string

func (*NodeLabels) ProtoMessage

func (*NodeLabels) ProtoMessage()

func (*NodeLabels) ProtoReflect

func (x *NodeLabels) ProtoReflect() protoreflect.Message

func (*NodeLabels) Reset

func (x *NodeLabels) Reset()

func (*NodeLabels) String

func (x *NodeLabels) String() string

type NodeManagement

type NodeManagement struct {

	// A flag that specifies whether node auto-upgrade is enabled for the node
	// pool. If enabled, node auto-upgrade helps keep the nodes in your node pool
	// up to date with the latest release version of Kubernetes.
	AutoUpgrade bool `protobuf:"varint,1,opt,name=auto_upgrade,json=autoUpgrade,proto3" json:"auto_upgrade,omitempty"`
	// A flag that specifies whether the node auto-repair is enabled for the node
	// pool. If enabled, the nodes in this node pool will be monitored and, if
	// they fail health checks too many times, an automatic repair action will be
	// triggered.
	AutoRepair bool `protobuf:"varint,2,opt,name=auto_repair,json=autoRepair,proto3" json:"auto_repair,omitempty"`
	// Specifies the Auto Upgrade knobs for the node pool.
	UpgradeOptions *AutoUpgradeOptions `protobuf:"bytes,10,opt,name=upgrade_options,json=upgradeOptions,proto3" json:"upgrade_options,omitempty"`
	// contains filtered or unexported fields
}

NodeManagement defines the set of node management services turned on for the node pool.

func (*NodeManagement) Descriptor deprecated

func (*NodeManagement) Descriptor() ([]byte, []int)

Deprecated: Use NodeManagement.ProtoReflect.Descriptor instead.

func (*NodeManagement) GetAutoRepair

func (x *NodeManagement) GetAutoRepair() bool

func (*NodeManagement) GetAutoUpgrade

func (x *NodeManagement) GetAutoUpgrade() bool

func (*NodeManagement) GetUpgradeOptions

func (x *NodeManagement) GetUpgradeOptions() *AutoUpgradeOptions

func (*NodeManagement) ProtoMessage

func (*NodeManagement) ProtoMessage()

func (*NodeManagement) ProtoReflect

func (x *NodeManagement) ProtoReflect() protoreflect.Message

func (*NodeManagement) Reset

func (x *NodeManagement) Reset()

func (*NodeManagement) String

func (x *NodeManagement) String() string

type NodeNetworkConfig

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.privateClusterConfig.enablePrivateNodes][google.container.v1beta1.PrivateClusterConfig.enablePrivateNodes]
	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 `` /* 142-byte string literal not displayed */
	// [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 `` /* 144-byte string literal not displayed */
	// We specify the additional node networks for this node pool using this list.
	// Each node network corresponds to an additional interface
	AdditionalNodeNetworkConfigs []*AdditionalNodeNetworkConfig `` /* 150-byte string literal not displayed */
	// 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 `` /* 147-byte string literal not displayed */
	// Output only. [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 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters for node pool-level network config.

func (*NodeNetworkConfig) Descriptor deprecated

func (*NodeNetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodeNetworkConfig.ProtoReflect.Descriptor instead.

func (*NodeNetworkConfig) GetAdditionalNodeNetworkConfigs added in v1.24.0

func (x *NodeNetworkConfig) GetAdditionalNodeNetworkConfigs() []*AdditionalNodeNetworkConfig

func (*NodeNetworkConfig) GetAdditionalPodNetworkConfigs added in v1.24.0

func (x *NodeNetworkConfig) GetAdditionalPodNetworkConfigs() []*AdditionalPodNetworkConfig

func (*NodeNetworkConfig) GetCreatePodRange

func (x *NodeNetworkConfig) GetCreatePodRange() bool

func (*NodeNetworkConfig) GetEnablePrivateNodes added in v1.8.0

func (x *NodeNetworkConfig) GetEnablePrivateNodes() bool

func (*NodeNetworkConfig) GetNetworkPerformanceConfig

func (x *NodeNetworkConfig) GetNetworkPerformanceConfig() *NodeNetworkConfig_NetworkPerformanceConfig

func (*NodeNetworkConfig) GetPodCidrOverprovisionConfig added in v1.16.0

func (x *NodeNetworkConfig) GetPodCidrOverprovisionConfig() *PodCIDROverprovisionConfig

func (*NodeNetworkConfig) GetPodIpv4CidrBlock

func (x *NodeNetworkConfig) GetPodIpv4CidrBlock() string

func (*NodeNetworkConfig) GetPodIpv4RangeUtilization added in v1.24.0

func (x *NodeNetworkConfig) GetPodIpv4RangeUtilization() float64

func (*NodeNetworkConfig) GetPodRange

func (x *NodeNetworkConfig) GetPodRange() string

func (*NodeNetworkConfig) ProtoMessage

func (*NodeNetworkConfig) ProtoMessage()

func (*NodeNetworkConfig) ProtoReflect

func (x *NodeNetworkConfig) ProtoReflect() protoreflect.Message

func (*NodeNetworkConfig) Reset

func (x *NodeNetworkConfig) Reset()

func (*NodeNetworkConfig) String

func (x *NodeNetworkConfig) String() string

type NodeNetworkConfig_NetworkPerformanceConfig

type NodeNetworkConfig_NetworkPerformanceConfig struct {

	// Specifies the total network bandwidth tier for the NodePool.
	TotalEgressBandwidthTier *NodeNetworkConfig_NetworkPerformanceConfig_Tier `` /* 217-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration of all network bandwidth tiers

func (*NodeNetworkConfig_NetworkPerformanceConfig) Descriptor deprecated

Deprecated: Use NodeNetworkConfig_NetworkPerformanceConfig.ProtoReflect.Descriptor instead.

func (*NodeNetworkConfig_NetworkPerformanceConfig) GetTotalEgressBandwidthTier

func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoMessage

func (*NodeNetworkConfig_NetworkPerformanceConfig) ProtoReflect

func (*NodeNetworkConfig_NetworkPerformanceConfig) Reset

func (*NodeNetworkConfig_NetworkPerformanceConfig) String

type NodeNetworkConfig_NetworkPerformanceConfig_Tier

type NodeNetworkConfig_NetworkPerformanceConfig_Tier int32

Node network tier

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) Enum

func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) EnumDescriptor deprecated

Deprecated: Use NodeNetworkConfig_NetworkPerformanceConfig_Tier.Descriptor instead.

func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Number

func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) String

func (NodeNetworkConfig_NetworkPerformanceConfig_Tier) Type

type NodePool

type NodePool struct {

	// The name of the node pool.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The node configuration of the pool.
	Config *NodeConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
	// The initial node count for the pool. You must ensure that your
	// Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
	// is sufficient for this number of instances. You must also have available
	// firewall and routes quota.
	InitialNodeCount int32 `protobuf:"varint,3,opt,name=initial_node_count,json=initialNodeCount,proto3" json:"initial_node_count,omitempty"`
	// The list of Google Compute Engine
	// [zones](https://cloud.google.com/compute/docs/zones#available) in which the
	// NodePool's nodes should be located.
	//
	// If this value is unspecified during node pool creation, the
	// [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
	// value will be used, instead.
	//
	// Warning: changing node pool locations will result in nodes being added
	// and/or removed.
	Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
	// Networking configuration for this NodePool. If specified, it overrides the
	// cluster-level defaults.
	NetworkConfig *NodeNetworkConfig `protobuf:"bytes,14,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"`
	// [Output only] Server-defined URL for the resource.
	SelfLink string `protobuf:"bytes,100,opt,name=self_link,json=selfLink,proto3" json:"self_link,omitempty"`
	// The version of Kubernetes running on this NodePool's nodes. If unspecified,
	// it defaults as described
	// [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).
	Version string `protobuf:"bytes,101,opt,name=version,proto3" json:"version,omitempty"`
	// [Output only] The resource URLs of the [managed instance
	// groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
	// associated with this node pool.
	// During the node pool blue-green upgrade operation, the URLs contain both
	// blue and green resources.
	InstanceGroupUrls []string `protobuf:"bytes,102,rep,name=instance_group_urls,json=instanceGroupUrls,proto3" json:"instance_group_urls,omitempty"`
	// [Output only] The status of the nodes in this pool instance.
	Status NodePool_Status `protobuf:"varint,103,opt,name=status,proto3,enum=google.container.v1.NodePool_Status" json:"status,omitempty"`
	// [Output only] Deprecated. Use conditions instead.
	// Additional information about the current status of this
	// node pool instance, if available.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	StatusMessage string `protobuf:"bytes,104,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Autoscaler configuration for this NodePool. Autoscaler is enabled
	// only if a valid configuration is present.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,4,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
	// NodeManagement configuration for this NodePool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
	// The constraint on the maximum number of pods that can be run
	// simultaneously on a node in the node pool.
	MaxPodsConstraint *MaxPodsConstraint `protobuf:"bytes,6,opt,name=max_pods_constraint,json=maxPodsConstraint,proto3" json:"max_pods_constraint,omitempty"`
	// Which conditions caused the current node pool state.
	Conditions []*StatusCondition `protobuf:"bytes,105,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// [Output only] The pod CIDR block size per node in this node pool.
	PodIpv4CidrSize int32 `protobuf:"varint,7,opt,name=pod_ipv4_cidr_size,json=podIpv4CidrSize,proto3" json:"pod_ipv4_cidr_size,omitempty"`
	// Upgrade settings control disruption and speed of the upgrade.
	UpgradeSettings *NodePool_UpgradeSettings `protobuf:"bytes,107,opt,name=upgrade_settings,json=upgradeSettings,proto3" json:"upgrade_settings,omitempty"`
	// Specifies the node placement policy.
	PlacementPolicy *NodePool_PlacementPolicy `protobuf:"bytes,108,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"`
	// Output only. [Output only] Update info contains relevant information during
	// a node pool update.
	UpdateInfo *NodePool_UpdateInfo `protobuf:"bytes,109,opt,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"`
	// This checksum is computed by the server based on the value of node pool
	// fields, and may be sent on update requests to ensure the client has an
	// up-to-date value before proceeding.
	Etag string `protobuf:"bytes,110,opt,name=etag,proto3" json:"etag,omitempty"`
	// 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 `` /* 131-byte string literal not displayed */
	// 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

func (*NodePool) Descriptor() ([]byte, []int)

Deprecated: Use NodePool.ProtoReflect.Descriptor instead.

func (*NodePool) GetAutoscaling

func (x *NodePool) GetAutoscaling() *NodePoolAutoscaling

func (*NodePool) GetBestEffortProvisioning added in v1.21.0

func (x *NodePool) GetBestEffortProvisioning() *BestEffortProvisioning

func (*NodePool) GetConditions

func (x *NodePool) GetConditions() []*StatusCondition

func (*NodePool) GetConfig

func (x *NodePool) GetConfig() *NodeConfig

func (*NodePool) GetEtag added in v1.10.0

func (x *NodePool) GetEtag() string

func (*NodePool) GetInitialNodeCount

func (x *NodePool) GetInitialNodeCount() int32

func (*NodePool) GetInstanceGroupUrls

func (x *NodePool) GetInstanceGroupUrls() []string

func (*NodePool) GetLocations

func (x *NodePool) GetLocations() []string

func (*NodePool) GetManagement

func (x *NodePool) GetManagement() *NodeManagement

func (*NodePool) GetMaxPodsConstraint

func (x *NodePool) GetMaxPodsConstraint() *MaxPodsConstraint

func (*NodePool) GetName

func (x *NodePool) GetName() string

func (*NodePool) GetNetworkConfig

func (x *NodePool) GetNetworkConfig() *NodeNetworkConfig

func (*NodePool) GetPlacementPolicy added in v1.9.0

func (x *NodePool) GetPlacementPolicy() *NodePool_PlacementPolicy

func (*NodePool) GetPodIpv4CidrSize

func (x *NodePool) GetPodIpv4CidrSize() int32

func (*NodePool) GetQueuedProvisioning added in v1.29.0

func (x *NodePool) GetQueuedProvisioning() *NodePool_QueuedProvisioning
func (x *NodePool) GetSelfLink() string

func (*NodePool) GetStatus

func (x *NodePool) GetStatus() NodePool_Status

func (*NodePool) GetStatusMessage deprecated

func (x *NodePool) GetStatusMessage() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*NodePool) GetUpdateInfo

func (x *NodePool) GetUpdateInfo() *NodePool_UpdateInfo

func (*NodePool) GetUpgradeSettings

func (x *NodePool) GetUpgradeSettings() *NodePool_UpgradeSettings

func (*NodePool) GetVersion

func (x *NodePool) GetVersion() string

func (*NodePool) ProtoMessage

func (*NodePool) ProtoMessage()

func (*NodePool) ProtoReflect

func (x *NodePool) ProtoReflect() protoreflect.Message

func (*NodePool) Reset

func (x *NodePool) Reset()

func (*NodePool) String

func (x *NodePool) String() string

type 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"`
	// 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 deprecated

func (*NodePoolAutoConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodePoolAutoConfig.ProtoReflect.Descriptor instead.

func (*NodePoolAutoConfig) GetNetworkTags

func (x *NodePoolAutoConfig) GetNetworkTags() *NetworkTags

func (*NodePoolAutoConfig) GetNodeKubeletConfig added in v1.36.0

func (x *NodePoolAutoConfig) GetNodeKubeletConfig() *NodeKubeletConfig

func (*NodePoolAutoConfig) GetResourceManagerTags added in v1.27.0

func (x *NodePoolAutoConfig) GetResourceManagerTags() *ResourceManagerTags

func (*NodePoolAutoConfig) ProtoMessage

func (*NodePoolAutoConfig) ProtoMessage()

func (*NodePoolAutoConfig) ProtoReflect

func (x *NodePoolAutoConfig) ProtoReflect() protoreflect.Message

func (*NodePoolAutoConfig) Reset

func (x *NodePoolAutoConfig) Reset()

func (*NodePoolAutoConfig) String

func (x *NodePoolAutoConfig) String() string

type NodePoolAutoscaling

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 NodePool. Must be >= 1 and
	// <= max_node_count.
	MinNodeCount int32 `protobuf:"varint,2,opt,name=min_node_count,json=minNodeCount,proto3" json:"min_node_count,omitempty"`
	// Maximum number of nodes for one location in the NodePool. 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 `` /* 164-byte string literal not displayed */
	// Minimum number of nodes in the node pool. Must be greater than 1 less than
	// 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
	// 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 deprecated

func (*NodePoolAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use NodePoolAutoscaling.ProtoReflect.Descriptor instead.

func (*NodePoolAutoscaling) GetAutoprovisioned

func (x *NodePoolAutoscaling) GetAutoprovisioned() bool

func (*NodePoolAutoscaling) GetEnabled

func (x *NodePoolAutoscaling) GetEnabled() bool

func (*NodePoolAutoscaling) GetLocationPolicy

func (*NodePoolAutoscaling) GetMaxNodeCount

func (x *NodePoolAutoscaling) GetMaxNodeCount() int32

func (*NodePoolAutoscaling) GetMinNodeCount

func (x *NodePoolAutoscaling) GetMinNodeCount() int32

func (*NodePoolAutoscaling) GetTotalMaxNodeCount

func (x *NodePoolAutoscaling) GetTotalMaxNodeCount() int32

func (*NodePoolAutoscaling) GetTotalMinNodeCount

func (x *NodePoolAutoscaling) GetTotalMinNodeCount() int32

func (*NodePoolAutoscaling) ProtoMessage

func (*NodePoolAutoscaling) ProtoMessage()

func (*NodePoolAutoscaling) ProtoReflect

func (x *NodePoolAutoscaling) ProtoReflect() protoreflect.Message

func (*NodePoolAutoscaling) Reset

func (x *NodePoolAutoscaling) Reset()

func (*NodePoolAutoscaling) String

func (x *NodePoolAutoscaling) String() string

type NodePoolAutoscaling_LocationPolicy

type NodePoolAutoscaling_LocationPolicy int32

Location policy specifies how zones are picked when scaling up the nodepool.

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) Enum

func (NodePoolAutoscaling_LocationPolicy) EnumDescriptor deprecated

func (NodePoolAutoscaling_LocationPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePoolAutoscaling_LocationPolicy.Descriptor instead.

func (NodePoolAutoscaling_LocationPolicy) Number

func (NodePoolAutoscaling_LocationPolicy) String

func (NodePoolAutoscaling_LocationPolicy) Type

type NodePoolDefaults

type NodePoolDefaults struct {

	// Subset of NodeConfig message that has defaults.
	NodeConfigDefaults *NodeConfigDefaults `protobuf:"bytes,1,opt,name=node_config_defaults,json=nodeConfigDefaults,proto3" json:"node_config_defaults,omitempty"`
	// contains filtered or unexported fields
}

Subset of Nodepool message that has defaults.

func (*NodePoolDefaults) Descriptor deprecated

func (*NodePoolDefaults) Descriptor() ([]byte, []int)

Deprecated: Use NodePoolDefaults.ProtoReflect.Descriptor instead.

func (*NodePoolDefaults) GetNodeConfigDefaults

func (x *NodePoolDefaults) GetNodeConfigDefaults() *NodeConfigDefaults

func (*NodePoolDefaults) ProtoMessage

func (*NodePoolDefaults) ProtoMessage()

func (*NodePoolDefaults) ProtoReflect

func (x *NodePoolDefaults) ProtoReflect() protoreflect.Message

func (*NodePoolDefaults) Reset

func (x *NodePoolDefaults) Reset()

func (*NodePoolDefaults) String

func (x *NodePoolDefaults) String() string

type NodePoolLoggingConfig

type NodePoolLoggingConfig struct {

	// Logging variant configuration.
	VariantConfig *LoggingVariantConfig `protobuf:"bytes,1,opt,name=variant_config,json=variantConfig,proto3" json:"variant_config,omitempty"`
	// contains filtered or unexported fields
}

NodePoolLoggingConfig specifies logging configuration for nodepools.

func (*NodePoolLoggingConfig) Descriptor deprecated

func (*NodePoolLoggingConfig) Descriptor() ([]byte, []int)

Deprecated: Use NodePoolLoggingConfig.ProtoReflect.Descriptor instead.

func (*NodePoolLoggingConfig) GetVariantConfig

func (x *NodePoolLoggingConfig) GetVariantConfig() *LoggingVariantConfig

func (*NodePoolLoggingConfig) ProtoMessage

func (*NodePoolLoggingConfig) ProtoMessage()

func (*NodePoolLoggingConfig) ProtoReflect

func (x *NodePoolLoggingConfig) ProtoReflect() protoreflect.Message

func (*NodePoolLoggingConfig) Reset

func (x *NodePoolLoggingConfig) Reset()

func (*NodePoolLoggingConfig) String

func (x *NodePoolLoggingConfig) String() string

type NodePoolUpdateStrategy

type NodePoolUpdateStrategy int32

Strategy used for node pool update.

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) Enum

func (NodePoolUpdateStrategy) EnumDescriptor deprecated

func (NodePoolUpdateStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePoolUpdateStrategy.Descriptor instead.

func (NodePoolUpdateStrategy) Number

func (NodePoolUpdateStrategy) String

func (x NodePoolUpdateStrategy) String() string

func (NodePoolUpdateStrategy) Type

type NodePool_PlacementPolicy added in v1.9.0

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 deprecated added in v1.9.0

func (*NodePool_PlacementPolicy) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_PlacementPolicy.ProtoReflect.Descriptor instead.

func (*NodePool_PlacementPolicy) GetPolicyName added in v1.24.0

func (x *NodePool_PlacementPolicy) GetPolicyName() string

func (*NodePool_PlacementPolicy) GetTpuTopology added in v1.26.0

func (x *NodePool_PlacementPolicy) GetTpuTopology() string

func (*NodePool_PlacementPolicy) GetType added in v1.9.0

func (*NodePool_PlacementPolicy) ProtoMessage added in v1.9.0

func (*NodePool_PlacementPolicy) ProtoMessage()

func (*NodePool_PlacementPolicy) ProtoReflect added in v1.9.0

func (x *NodePool_PlacementPolicy) ProtoReflect() protoreflect.Message

func (*NodePool_PlacementPolicy) Reset added in v1.9.0

func (x *NodePool_PlacementPolicy) Reset()

func (*NodePool_PlacementPolicy) String added in v1.9.0

func (x *NodePool_PlacementPolicy) String() string

type NodePool_PlacementPolicy_Type added in v1.9.0

type NodePool_PlacementPolicy_Type int32

Type defines the type of placement policy.

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 added in v1.9.0

func (NodePool_PlacementPolicy_Type) Enum added in v1.9.0

func (NodePool_PlacementPolicy_Type) EnumDescriptor deprecated added in v1.9.0

func (NodePool_PlacementPolicy_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePool_PlacementPolicy_Type.Descriptor instead.

func (NodePool_PlacementPolicy_Type) Number added in v1.9.0

func (NodePool_PlacementPolicy_Type) String added in v1.9.0

func (NodePool_PlacementPolicy_Type) Type added in v1.9.0

type NodePool_QueuedProvisioning added in v1.29.0

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 deprecated added in v1.29.0

func (*NodePool_QueuedProvisioning) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_QueuedProvisioning.ProtoReflect.Descriptor instead.

func (*NodePool_QueuedProvisioning) GetEnabled added in v1.29.0

func (x *NodePool_QueuedProvisioning) GetEnabled() bool

func (*NodePool_QueuedProvisioning) ProtoMessage added in v1.29.0

func (*NodePool_QueuedProvisioning) ProtoMessage()

func (*NodePool_QueuedProvisioning) ProtoReflect added in v1.29.0

func (*NodePool_QueuedProvisioning) Reset added in v1.29.0

func (x *NodePool_QueuedProvisioning) Reset()

func (*NodePool_QueuedProvisioning) String added in v1.29.0

func (x *NodePool_QueuedProvisioning) String() string

type NodePool_Status

type NodePool_Status int32

The current status of the node pool instance.

const (
	// Not set.
	NodePool_STATUS_UNSPECIFIED NodePool_Status = 0
	// The PROVISIONING state indicates the node pool is being created.
	NodePool_PROVISIONING NodePool_Status = 1
	// The RUNNING state indicates the node pool has been created
	// and is fully usable.
	NodePool_RUNNING NodePool_Status = 2
	// The RUNNING_WITH_ERROR state indicates the node pool has been created
	// and is partially usable. Some error state has occurred and some
	// functionality may be impaired. Customer may need to reissue a request
	// or trigger a new update.
	NodePool_RUNNING_WITH_ERROR NodePool_Status = 3
	// The RECONCILING state indicates that some work is actively being done on
	// the node pool, such as upgrading node software. Details can
	// be found in the `statusMessage` field.
	NodePool_RECONCILING NodePool_Status = 4
	// The STOPPING state indicates the node pool is being deleted.
	NodePool_STOPPING NodePool_Status = 5
	// The ERROR state indicates the node pool may be unusable. Details
	// can be found in the `statusMessage` field.
	NodePool_ERROR NodePool_Status = 6
)

func (NodePool_Status) Descriptor

func (NodePool_Status) Enum

func (x NodePool_Status) Enum() *NodePool_Status

func (NodePool_Status) EnumDescriptor deprecated

func (NodePool_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePool_Status.Descriptor instead.

func (NodePool_Status) Number

func (NodePool_Status) String

func (x NodePool_Status) String() string

func (NodePool_Status) Type

type NodePool_UpdateInfo

type NodePool_UpdateInfo struct {

	// Information of a blue-green upgrade.
	BlueGreenInfo *NodePool_UpdateInfo_BlueGreenInfo `protobuf:"bytes,1,opt,name=blue_green_info,json=blueGreenInfo,proto3" json:"blue_green_info,omitempty"`
	// contains filtered or unexported fields
}

UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.

func (*NodePool_UpdateInfo) Descriptor deprecated

func (*NodePool_UpdateInfo) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_UpdateInfo.ProtoReflect.Descriptor instead.

func (*NodePool_UpdateInfo) GetBlueGreenInfo

func (*NodePool_UpdateInfo) ProtoMessage

func (*NodePool_UpdateInfo) ProtoMessage()

func (*NodePool_UpdateInfo) ProtoReflect

func (x *NodePool_UpdateInfo) ProtoReflect() protoreflect.Message

func (*NodePool_UpdateInfo) Reset

func (x *NodePool_UpdateInfo) Reset()

func (*NodePool_UpdateInfo) String

func (x *NodePool_UpdateInfo) String() string

type NodePool_UpdateInfo_BlueGreenInfo

type NodePool_UpdateInfo_BlueGreenInfo struct {

	// Current blue-green upgrade phase.
	Phase NodePool_UpdateInfo_BlueGreenInfo_Phase `` /* 129-byte string literal not displayed */
	// The resource URLs of the [managed instance groups]
	// (/compute/docs/instance-groups/creating-groups-of-managed-instances)
	// associated with blue pool.
	BlueInstanceGroupUrls []string `` /* 128-byte string literal not displayed */
	// The resource URLs of the [managed instance groups]
	// (/compute/docs/instance-groups/creating-groups-of-managed-instances)
	// associated with green pool.
	GreenInstanceGroupUrls []string `` /* 131-byte string literal not displayed */
	// Time to start deleting blue pool to complete blue-green upgrade,
	// in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	BluePoolDeletionStartTime string `` /* 142-byte string literal not displayed */
	// 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 deprecated

func (*NodePool_UpdateInfo_BlueGreenInfo) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_UpdateInfo_BlueGreenInfo.ProtoReflect.Descriptor instead.

func (*NodePool_UpdateInfo_BlueGreenInfo) GetBlueInstanceGroupUrls

func (x *NodePool_UpdateInfo_BlueGreenInfo) GetBlueInstanceGroupUrls() []string

func (*NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime

func (x *NodePool_UpdateInfo_BlueGreenInfo) GetBluePoolDeletionStartTime() string

func (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls

func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenInstanceGroupUrls() []string

func (*NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion

func (x *NodePool_UpdateInfo_BlueGreenInfo) GetGreenPoolVersion() string

func (*NodePool_UpdateInfo_BlueGreenInfo) GetPhase

func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage

func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoMessage()

func (*NodePool_UpdateInfo_BlueGreenInfo) ProtoReflect

func (*NodePool_UpdateInfo_BlueGreenInfo) Reset

func (*NodePool_UpdateInfo_BlueGreenInfo) String

type NodePool_UpdateInfo_BlueGreenInfo_Phase

type NodePool_UpdateInfo_BlueGreenInfo_Phase int32

Phase represents the different stages blue-green upgrade is running in.

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) Enum

func (NodePool_UpdateInfo_BlueGreenInfo_Phase) EnumDescriptor deprecated

func (NodePool_UpdateInfo_BlueGreenInfo_Phase) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodePool_UpdateInfo_BlueGreenInfo_Phase.Descriptor instead.

func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Number

func (NodePool_UpdateInfo_BlueGreenInfo_Phase) String

func (NodePool_UpdateInfo_BlueGreenInfo_Phase) Type

type NodePool_UpgradeSettings

type NodePool_UpgradeSettings struct {

	// The maximum number of nodes that can be created beyond the current size
	// of the node pool during the upgrade process.
	MaxSurge int32 `protobuf:"varint,1,opt,name=max_surge,json=maxSurge,proto3" json:"max_surge,omitempty"`
	// The maximum number of nodes that can be simultaneously unavailable during
	// the upgrade process. A node is considered available if its status is
	// Ready.
	MaxUnavailable int32 `protobuf:"varint,2,opt,name=max_unavailable,json=maxUnavailable,proto3" json:"max_unavailable,omitempty"`
	// Update strategy of the node pool.
	Strategy *NodePoolUpdateStrategy `protobuf:"varint,3,opt,name=strategy,proto3,enum=google.container.v1.NodePoolUpdateStrategy,oneof" json:"strategy,omitempty"`
	// Settings for blue-green upgrade strategy.
	BlueGreenSettings *BlueGreenSettings `protobuf:"bytes,4,opt,name=blue_green_settings,json=blueGreenSettings,proto3,oneof" json:"blue_green_settings,omitempty"`
	// contains filtered or unexported fields
}

These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade.

maxUnavailable controls the number of nodes that can be simultaneously unavailable.

maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes.

(maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time).

Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.)

Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.

These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool.

If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. 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. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (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. 1. 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. 2. 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 deprecated

func (*NodePool_UpgradeSettings) Descriptor() ([]byte, []int)

Deprecated: Use NodePool_UpgradeSettings.ProtoReflect.Descriptor instead.

func (*NodePool_UpgradeSettings) GetBlueGreenSettings

func (x *NodePool_UpgradeSettings) GetBlueGreenSettings() *BlueGreenSettings

func (*NodePool_UpgradeSettings) GetMaxSurge

func (x *NodePool_UpgradeSettings) GetMaxSurge() int32

func (*NodePool_UpgradeSettings) GetMaxUnavailable

func (x *NodePool_UpgradeSettings) GetMaxUnavailable() int32

func (*NodePool_UpgradeSettings) GetStrategy

func (*NodePool_UpgradeSettings) ProtoMessage

func (*NodePool_UpgradeSettings) ProtoMessage()

func (*NodePool_UpgradeSettings) ProtoReflect

func (x *NodePool_UpgradeSettings) ProtoReflect() protoreflect.Message

func (*NodePool_UpgradeSettings) Reset

func (x *NodePool_UpgradeSettings) Reset()

func (*NodePool_UpgradeSettings) String

func (x *NodePool_UpgradeSettings) String() string

type NodeTaint

type NodeTaint struct {

	// Key for taint.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Value for taint.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Effect for taint.
	Effect NodeTaint_Effect `protobuf:"varint,3,opt,name=effect,proto3,enum=google.container.v1.NodeTaint_Effect" json:"effect,omitempty"`
	// contains filtered or unexported fields
}

Kubernetes taint is composed of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.

See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.

func (*NodeTaint) Descriptor deprecated

func (*NodeTaint) Descriptor() ([]byte, []int)

Deprecated: Use NodeTaint.ProtoReflect.Descriptor instead.

func (*NodeTaint) GetEffect

func (x *NodeTaint) GetEffect() NodeTaint_Effect

func (*NodeTaint) GetKey

func (x *NodeTaint) GetKey() string

func (*NodeTaint) GetValue

func (x *NodeTaint) GetValue() string

func (*NodeTaint) ProtoMessage

func (*NodeTaint) ProtoMessage()

func (*NodeTaint) ProtoReflect

func (x *NodeTaint) ProtoReflect() protoreflect.Message

func (*NodeTaint) Reset

func (x *NodeTaint) Reset()

func (*NodeTaint) String

func (x *NodeTaint) String() string

type NodeTaint_Effect

type NodeTaint_Effect int32

Possible values for Effect in taint.

const (
	// Not set
	NodeTaint_EFFECT_UNSPECIFIED NodeTaint_Effect = 0
	// NoSchedule
	NodeTaint_NO_SCHEDULE NodeTaint_Effect = 1
	// PreferNoSchedule
	NodeTaint_PREFER_NO_SCHEDULE NodeTaint_Effect = 2
	// NoExecute
	NodeTaint_NO_EXECUTE NodeTaint_Effect = 3
)

func (NodeTaint_Effect) Descriptor

func (NodeTaint_Effect) Enum

func (NodeTaint_Effect) EnumDescriptor deprecated

func (NodeTaint_Effect) EnumDescriptor() ([]byte, []int)

Deprecated: Use NodeTaint_Effect.Descriptor instead.

func (NodeTaint_Effect) Number

func (NodeTaint_Effect) String

func (x NodeTaint_Effect) String() string

func (NodeTaint_Effect) Type

type NodeTaints

type NodeTaints struct {

	// List of node taints.
	Taints []*NodeTaint `protobuf:"bytes,1,rep,name=taints,proto3" json:"taints,omitempty"`
	// contains filtered or unexported fields
}

Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).

func (*NodeTaints) Descriptor deprecated

func (*NodeTaints) Descriptor() ([]byte, []int)

Deprecated: Use NodeTaints.ProtoReflect.Descriptor instead.

func (*NodeTaints) GetTaints

func (x *NodeTaints) GetTaints() []*NodeTaint

func (*NodeTaints) ProtoMessage

func (*NodeTaints) ProtoMessage()

func (*NodeTaints) ProtoReflect

func (x *NodeTaints) ProtoReflect() protoreflect.Message

func (*NodeTaints) Reset

func (x *NodeTaints) Reset()

func (*NodeTaints) String

func (x *NodeTaints) String() string

type NotificationConfig

type NotificationConfig struct {

	// Notification config for Pub/Sub.
	Pubsub *NotificationConfig_PubSub `protobuf:"bytes,1,opt,name=pubsub,proto3" json:"pubsub,omitempty"`
	// contains filtered or unexported fields
}

NotificationConfig is the configuration of notifications.

func (*NotificationConfig) Descriptor deprecated

func (*NotificationConfig) Descriptor() ([]byte, []int)

Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.

func (*NotificationConfig) GetPubsub

func (*NotificationConfig) ProtoMessage

func (*NotificationConfig) ProtoMessage()

func (*NotificationConfig) ProtoReflect

func (x *NotificationConfig) ProtoReflect() protoreflect.Message

func (*NotificationConfig) Reset

func (x *NotificationConfig) Reset()

func (*NotificationConfig) String

func (x *NotificationConfig) String() string

type NotificationConfig_EventType

type NotificationConfig_EventType int32

Types of notifications currently supported. Can be used to filter what notifications are sent.

const (
	// Not set, will be ignored.
	NotificationConfig_EVENT_TYPE_UNSPECIFIED NotificationConfig_EventType = 0
	// Corresponds with UpgradeAvailableEvent.
	NotificationConfig_UPGRADE_AVAILABLE_EVENT NotificationConfig_EventType = 1
	// Corresponds with UpgradeEvent.
	NotificationConfig_UPGRADE_EVENT NotificationConfig_EventType = 2
	// Corresponds with SecurityBulletinEvent.
	NotificationConfig_SECURITY_BULLETIN_EVENT NotificationConfig_EventType = 3
)

func (NotificationConfig_EventType) Descriptor

func (NotificationConfig_EventType) Enum

func (NotificationConfig_EventType) EnumDescriptor deprecated

func (NotificationConfig_EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotificationConfig_EventType.Descriptor instead.

func (NotificationConfig_EventType) Number

func (NotificationConfig_EventType) String

func (NotificationConfig_EventType) Type

type NotificationConfig_Filter

type NotificationConfig_Filter struct {

	// Event types to allowlist.
	EventType []NotificationConfig_EventType `` /* 150-byte string literal not displayed */
	// 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 deprecated

func (*NotificationConfig_Filter) Descriptor() ([]byte, []int)

Deprecated: Use NotificationConfig_Filter.ProtoReflect.Descriptor instead.

func (*NotificationConfig_Filter) GetEventType

func (*NotificationConfig_Filter) ProtoMessage

func (*NotificationConfig_Filter) ProtoMessage()

func (*NotificationConfig_Filter) ProtoReflect

func (*NotificationConfig_Filter) Reset

func (x *NotificationConfig_Filter) Reset()

func (*NotificationConfig_Filter) String

func (x *NotificationConfig_Filter) String() string

type NotificationConfig_PubSub

type NotificationConfig_PubSub struct {

	// Enable notifications for Pub/Sub.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The desired Pub/Sub topic to which notifications will be
	// sent by GKE. Format is `projects/{project}/topics/{topic}`.
	Topic string `protobuf:"bytes,2,opt,name=topic,proto3" json:"topic,omitempty"`
	// Allows filtering to one or more specific event types. If no filter is
	// specified, or if a filter is specified with no event types, all event
	// types will be sent
	Filter *NotificationConfig_Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Pub/Sub specific notification config.

func (*NotificationConfig_PubSub) Descriptor deprecated

func (*NotificationConfig_PubSub) Descriptor() ([]byte, []int)

Deprecated: Use NotificationConfig_PubSub.ProtoReflect.Descriptor instead.

func (*NotificationConfig_PubSub) GetEnabled

func (x *NotificationConfig_PubSub) GetEnabled() bool

func (*NotificationConfig_PubSub) GetFilter

func (*NotificationConfig_PubSub) GetTopic

func (x *NotificationConfig_PubSub) GetTopic() string

func (*NotificationConfig_PubSub) ProtoMessage

func (*NotificationConfig_PubSub) ProtoMessage()

func (*NotificationConfig_PubSub) ProtoReflect

func (*NotificationConfig_PubSub) Reset

func (x *NotificationConfig_PubSub) Reset()

func (*NotificationConfig_PubSub) String

func (x *NotificationConfig_PubSub) String() string

type Operation

type Operation struct {

	// The server-assigned ID for the operation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// operation is taking place. This field is deprecated, use location instead.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// The operation type.
	OperationType Operation_Type `` /* 141-byte string literal not displayed */
	// The current status of the operation.
	Status Operation_Status `protobuf:"varint,4,opt,name=status,proto3,enum=google.container.v1.Operation_Status" json:"status,omitempty"`
	// Detailed operation progress, if available.
	Detail string `protobuf:"bytes,8,opt,name=detail,proto3" json:"detail,omitempty"`
	// Output only. If an error has occurred, a textual description of the error.
	// 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"`
	// 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"`
	// 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. [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

func (*Operation) Descriptor() ([]byte, []int)

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) GetClusterConditions deprecated

func (x *Operation) GetClusterConditions() []*StatusCondition

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Operation) GetDetail

func (x *Operation) GetDetail() string

func (*Operation) GetEndTime

func (x *Operation) GetEndTime() string

func (*Operation) GetError

func (x *Operation) GetError() *status.Status

func (*Operation) GetLocation

func (x *Operation) GetLocation() string

func (*Operation) GetName

func (x *Operation) GetName() string

func (*Operation) GetNodepoolConditions deprecated

func (x *Operation) GetNodepoolConditions() []*StatusCondition

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Operation) GetOperationType

func (x *Operation) GetOperationType() Operation_Type

func (*Operation) GetProgress

func (x *Operation) GetProgress() *OperationProgress
func (x *Operation) GetSelfLink() string

func (*Operation) GetStartTime

func (x *Operation) GetStartTime() string

func (*Operation) GetStatus

func (x *Operation) GetStatus() Operation_Status

func (*Operation) GetStatusMessage deprecated

func (x *Operation) GetStatusMessage() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (x *Operation) GetTargetLink() string

func (*Operation) GetZone deprecated

func (x *Operation) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*Operation) ProtoMessage

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect

func (x *Operation) ProtoReflect() protoreflect.Message

func (*Operation) Reset

func (x *Operation) Reset()

func (*Operation) String

func (x *Operation) String() string

type 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 deprecated

func (*OperationProgress) Descriptor() ([]byte, []int)

Deprecated: Use OperationProgress.ProtoReflect.Descriptor instead.

func (*OperationProgress) GetMetrics

func (x *OperationProgress) GetMetrics() []*OperationProgress_Metric

func (*OperationProgress) GetName

func (x *OperationProgress) GetName() string

func (*OperationProgress) GetStages

func (x *OperationProgress) GetStages() []*OperationProgress

func (*OperationProgress) GetStatus

func (x *OperationProgress) GetStatus() Operation_Status

func (*OperationProgress) ProtoMessage

func (*OperationProgress) ProtoMessage()

func (*OperationProgress) ProtoReflect

func (x *OperationProgress) ProtoReflect() protoreflect.Message

func (*OperationProgress) Reset

func (x *OperationProgress) Reset()

func (*OperationProgress) String

func (x *OperationProgress) String() string

type OperationProgress_Metric

type OperationProgress_Metric struct {

	// Required. Metric name, e.g., "nodes total", "percent done".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Strictly one of the values is required.
	//
	// Types that are assignable to Value:
	//
	//	*OperationProgress_Metric_IntValue
	//	*OperationProgress_Metric_DoubleValue
	//	*OperationProgress_Metric_StringValue
	Value isOperationProgress_Metric_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Progress metric is (string, int|float|string) pair.

func (*OperationProgress_Metric) Descriptor deprecated

func (*OperationProgress_Metric) Descriptor() ([]byte, []int)

Deprecated: Use OperationProgress_Metric.ProtoReflect.Descriptor instead.

func (*OperationProgress_Metric) GetDoubleValue

func (x *OperationProgress_Metric) GetDoubleValue() float64

func (*OperationProgress_Metric) GetIntValue

func (x *OperationProgress_Metric) GetIntValue() int64

func (*OperationProgress_Metric) GetName

func (x *OperationProgress_Metric) GetName() string

func (*OperationProgress_Metric) GetStringValue

func (x *OperationProgress_Metric) GetStringValue() string

func (*OperationProgress_Metric) GetValue

func (m *OperationProgress_Metric) GetValue() isOperationProgress_Metric_Value

func (*OperationProgress_Metric) ProtoMessage

func (*OperationProgress_Metric) ProtoMessage()

func (*OperationProgress_Metric) ProtoReflect

func (x *OperationProgress_Metric) ProtoReflect() protoreflect.Message

func (*OperationProgress_Metric) Reset

func (x *OperationProgress_Metric) Reset()

func (*OperationProgress_Metric) String

func (x *OperationProgress_Metric) String() string

type OperationProgress_Metric_DoubleValue

type OperationProgress_Metric_DoubleValue struct {
	// For metrics with floating point value.
	DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type 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"`
}

type 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"`
}

type Operation_Status

type Operation_Status int32

Current status of the operation.

const (
	// Not set.
	Operation_STATUS_UNSPECIFIED Operation_Status = 0
	// The operation has been created.
	Operation_PENDING Operation_Status = 1
	// The operation is currently running.
	Operation_RUNNING Operation_Status = 2
	// The operation is done, either cancelled or completed.
	Operation_DONE Operation_Status = 3
	// The operation is aborting.
	Operation_ABORTING Operation_Status = 4
)

func (Operation_Status) Descriptor

func (Operation_Status) Enum

func (Operation_Status) EnumDescriptor deprecated

func (Operation_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation_Status.Descriptor instead.

func (Operation_Status) Number

func (Operation_Status) String

func (x Operation_Status) String() string

func (Operation_Status) Type

type Operation_Type

type Operation_Type int32

Operation type categorizes the operation.

const (
	// Not set.
	Operation_TYPE_UNSPECIFIED Operation_Type = 0
	// The cluster is being created. The cluster should be assumed to be
	// unusable until the operation finishes.
	//
	// In the event of the operation failing, the cluster will enter the [ERROR
	// state][Cluster.Status.ERROR] and eventually be deleted.
	Operation_CREATE_CLUSTER Operation_Type = 1
	// The cluster is being deleted. The cluster should be assumed to be
	// unusable as soon as this operation starts.
	//
	// In the event of the operation failing, the cluster will enter the [ERROR
	// state][Cluster.Status.ERROR] and the deletion will be automatically
	// retried until completed.
	Operation_DELETE_CLUSTER Operation_Type = 2
	// The [cluster
	// version][google.container.v1.ClusterUpdate.desired_master_version] is
	// being updated. Note that this includes "upgrades" to the same version,
	// which are simply a recreation. This also includes
	// [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically).
	// For more details, see [documentation on cluster
	// upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).
	Operation_UPGRADE_MASTER Operation_Type = 3
	// A node pool is being updated. Despite calling this an "upgrade", this
	// includes most forms of updates to node pools. This also includes
	// [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades).
	//
	// This operation sets the
	// [progress][google.container.v1.Operation.progress] field and may be
	// [canceled][google.container.v1.ClusterManager.CancelOperation].
	//
	// The upgrade strategy depends on [node pool
	// configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies).
	// The nodes are generally still usable during this operation.
	Operation_UPGRADE_NODES Operation_Type = 4
	// A problem has been detected with the control plane and is being repaired.
	// This operation type is initiated by GKE. For more details, see
	// [documentation on
	// repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
	Operation_REPAIR_CLUSTER Operation_Type = 5
	// The cluster is being updated. This is a broad category of operations and
	// includes operations that only change metadata as well as those that must
	// recreate the entire cluster. If the control plane must be recreated, this
	// will cause temporary downtime for zonal clusters.
	//
	// Some features require recreating the nodes as well. Those will be
	// recreated as separate operations and the update may not be completely
	// functional until the node pools recreations finish. Node recreations will
	// generally follow [maintenance
	// policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions).
	//
	// Some GKE-initiated operations use this type. This includes certain types
	// of auto-upgrades and incident mitigations.
	Operation_UPDATE_CLUSTER Operation_Type = 6
	// A node pool is being created. The node pool should be assumed to be
	// unusable until this operation finishes. In the event of an error, the
	// node pool may be partially created.
	//
	// If enabled, [node
	// autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning)
	// may have automatically initiated such operations.
	Operation_CREATE_NODE_POOL Operation_Type = 7
	// The node pool is being deleted. The node pool should be assumed to be
	// unusable as soon as this operation starts.
	Operation_DELETE_NODE_POOL Operation_Type = 8
	// The node pool's [manamagent][google.container.v1.NodePool.management]
	// field is being updated. These operations only update metadata and may be
	// concurrent with most other operations.
	Operation_SET_NODE_POOL_MANAGEMENT Operation_Type = 9
	// A problem has been detected with nodes and [they are being
	// repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair).
	// This operation type is initiated by GKE, typically automatically. This
	// operation may be concurrent with other operations and there may be
	// multiple repairs occurring on the same node pool.
	Operation_AUTO_REPAIR_NODES Operation_Type = 10
	// Unused. Automatic node upgrade uses
	// [UPGRADE_NODES][google.container.v1.Operation.Type.UPGRADE_NODES].
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Operation_AUTO_UPGRADE_NODES Operation_Type = 11
	// Unused. Updating labels uses
	// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Operation_SET_LABELS Operation_Type = 12
	// Unused. Updating master auth uses
	// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Operation_SET_MASTER_AUTH Operation_Type = 13
	// The node pool is being resized. With the exception of resizing to or from
	// size zero, the node pool is generally usable during this operation.
	Operation_SET_NODE_POOL_SIZE Operation_Type = 14
	// Unused. Updating network policy uses
	// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Operation_SET_NETWORK_POLICY Operation_Type = 15
	// Unused. Updating maintenance policy uses
	// [UPDATE_CLUSTER][google.container.v1.Operation.Type.UPDATE_CLUSTER].
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Operation_SET_MAINTENANCE_POLICY Operation_Type = 16
	// The control plane is being resized. This operation type is initiated by
	// GKE. These operations are often performed preemptively to ensure that the
	// control plane has sufficient resources and is not typically an indication
	// of issues. For more details, see
	// [documentation on
	// resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).
	Operation_RESIZE_CLUSTER Operation_Type = 18
	// 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) Enum

func (x Operation_Type) Enum() *Operation_Type

func (Operation_Type) EnumDescriptor deprecated

func (Operation_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Operation_Type.Descriptor instead.

func (Operation_Type) Number

func (Operation_Type) String

func (x Operation_Type) String() string

func (Operation_Type) Type

type PodCIDROverprovisionConfig added in v1.16.0

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 deprecated added in v1.16.0

func (*PodCIDROverprovisionConfig) Descriptor() ([]byte, []int)

Deprecated: Use PodCIDROverprovisionConfig.ProtoReflect.Descriptor instead.

func (*PodCIDROverprovisionConfig) GetDisable added in v1.16.0

func (x *PodCIDROverprovisionConfig) GetDisable() bool

func (*PodCIDROverprovisionConfig) ProtoMessage added in v1.16.0

func (*PodCIDROverprovisionConfig) ProtoMessage()

func (*PodCIDROverprovisionConfig) ProtoReflect added in v1.16.0

func (*PodCIDROverprovisionConfig) Reset added in v1.16.0

func (x *PodCIDROverprovisionConfig) Reset()

func (*PodCIDROverprovisionConfig) String added in v1.16.0

func (x *PodCIDROverprovisionConfig) String() string

type PrivateClusterConfig

type PrivateClusterConfig struct {

	// Whether nodes have internal IP addresses only. If enabled, all nodes are
	// given only RFC 1918 private addresses and communicate with the master via
	// private networking.
	EnablePrivateNodes bool `protobuf:"varint,1,opt,name=enable_private_nodes,json=enablePrivateNodes,proto3" json:"enable_private_nodes,omitempty"`
	// Whether the master's internal IP address is used as the cluster endpoint.
	EnablePrivateEndpoint bool `` /* 127-byte string literal not displayed */
	// The IP range in CIDR notation to use for the hosted master network. This
	// range will be used for assigning internal IP addresses to the master or
	// set of masters, as well as the ILB VIP. This range must not overlap with
	// any other ranges in use within the cluster's network.
	MasterIpv4CidrBlock string `protobuf:"bytes,3,opt,name=master_ipv4_cidr_block,json=masterIpv4CidrBlock,proto3" json:"master_ipv4_cidr_block,omitempty"`
	// Output only. The internal IP address of this cluster's master endpoint.
	PrivateEndpoint string `protobuf:"bytes,4,opt,name=private_endpoint,json=privateEndpoint,proto3" json:"private_endpoint,omitempty"`
	// Output only. The external IP address of this cluster's master endpoint.
	PublicEndpoint string `protobuf:"bytes,5,opt,name=public_endpoint,json=publicEndpoint,proto3" json:"public_endpoint,omitempty"`
	// Output only. The peering name in the customer VPC used by this cluster.
	PeeringName string `protobuf:"bytes,7,opt,name=peering_name,json=peeringName,proto3" json:"peering_name,omitempty"`
	// Controls master global access settings.
	MasterGlobalAccessConfig *PrivateClusterMasterGlobalAccessConfig `` /* 137-byte string literal not displayed */
	// Subnet to provision the master's private endpoint during cluster creation.
	// Specified in projects/*/regions/*/subnetworks/* format.
	PrivateEndpointSubnetwork string `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration options for private clusters.

func (*PrivateClusterConfig) Descriptor deprecated

func (*PrivateClusterConfig) Descriptor() ([]byte, []int)

Deprecated: Use PrivateClusterConfig.ProtoReflect.Descriptor instead.

func (*PrivateClusterConfig) GetEnablePrivateEndpoint

func (x *PrivateClusterConfig) GetEnablePrivateEndpoint() bool

func (*PrivateClusterConfig) GetEnablePrivateNodes

func (x *PrivateClusterConfig) GetEnablePrivateNodes() bool

func (*PrivateClusterConfig) GetMasterGlobalAccessConfig

func (x *PrivateClusterConfig) GetMasterGlobalAccessConfig() *PrivateClusterMasterGlobalAccessConfig

func (*PrivateClusterConfig) GetMasterIpv4CidrBlock

func (x *PrivateClusterConfig) GetMasterIpv4CidrBlock() string

func (*PrivateClusterConfig) GetPeeringName

func (x *PrivateClusterConfig) GetPeeringName() string

func (*PrivateClusterConfig) GetPrivateEndpoint

func (x *PrivateClusterConfig) GetPrivateEndpoint() string

func (*PrivateClusterConfig) GetPrivateEndpointSubnetwork added in v1.8.0

func (x *PrivateClusterConfig) GetPrivateEndpointSubnetwork() string

func (*PrivateClusterConfig) GetPublicEndpoint

func (x *PrivateClusterConfig) GetPublicEndpoint() string

func (*PrivateClusterConfig) ProtoMessage

func (*PrivateClusterConfig) ProtoMessage()

func (*PrivateClusterConfig) ProtoReflect

func (x *PrivateClusterConfig) ProtoReflect() protoreflect.Message

func (*PrivateClusterConfig) Reset

func (x *PrivateClusterConfig) Reset()

func (*PrivateClusterConfig) String

func (x *PrivateClusterConfig) String() string

type PrivateClusterMasterGlobalAccessConfig

type PrivateClusterMasterGlobalAccessConfig struct {

	// Whenever master is accessible globally or not.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for controlling master global access settings.

func (*PrivateClusterMasterGlobalAccessConfig) Descriptor deprecated

func (*PrivateClusterMasterGlobalAccessConfig) Descriptor() ([]byte, []int)

Deprecated: Use PrivateClusterMasterGlobalAccessConfig.ProtoReflect.Descriptor instead.

func (*PrivateClusterMasterGlobalAccessConfig) GetEnabled

func (*PrivateClusterMasterGlobalAccessConfig) ProtoMessage

func (*PrivateClusterMasterGlobalAccessConfig) ProtoReflect

func (*PrivateClusterMasterGlobalAccessConfig) Reset

func (*PrivateClusterMasterGlobalAccessConfig) String

type PrivateIPv6GoogleAccess

type PrivateIPv6GoogleAccess int32

PrivateIPv6GoogleAccess controls whether and how the pods can communicate with Google Services through gRPC over IPv6.

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) Enum

func (PrivateIPv6GoogleAccess) EnumDescriptor deprecated

func (PrivateIPv6GoogleAccess) EnumDescriptor() ([]byte, []int)

Deprecated: Use PrivateIPv6GoogleAccess.Descriptor instead.

func (PrivateIPv6GoogleAccess) Number

func (PrivateIPv6GoogleAccess) String

func (x PrivateIPv6GoogleAccess) String() string

func (PrivateIPv6GoogleAccess) Type

type RangeInfo added in v1.24.0

type RangeInfo struct {

	// Output only. [Output only] Name of a range.
	RangeName string `protobuf:"bytes,1,opt,name=range_name,json=rangeName,proto3" json:"range_name,omitempty"`
	// Output only. [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 added in v1.24.0

func (*RangeInfo) Descriptor() ([]byte, []int)

Deprecated: Use RangeInfo.ProtoReflect.Descriptor instead.

func (*RangeInfo) GetRangeName added in v1.24.0

func (x *RangeInfo) GetRangeName() string

func (*RangeInfo) GetUtilization added in v1.24.0

func (x *RangeInfo) GetUtilization() float64

func (*RangeInfo) ProtoMessage added in v1.24.0

func (*RangeInfo) ProtoMessage()

func (*RangeInfo) ProtoReflect added in v1.24.0

func (x *RangeInfo) ProtoReflect() protoreflect.Message

func (*RangeInfo) Reset added in v1.24.0

func (x *RangeInfo) Reset()

func (*RangeInfo) String added in v1.24.0

func (x *RangeInfo) String() string

type RecurringTimeWindow

type RecurringTimeWindow struct {

	// The window of the first recurrence.
	Window *TimeWindow `protobuf:"bytes,1,opt,name=window,proto3" json:"window,omitempty"`
	// An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
	// this window reccurs. They go on for the span of time between the start and
	// end time.
	//
	// For example, to have something repeat every weekday, you'd use:
	// `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`
	//
	// To repeat some window daily (equivalent to the DailyMaintenanceWindow):
	// `FREQ=DAILY`
	//
	// For the first weekend of every month:
	// `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU`
	//
	// This specifies how frequently the window starts. Eg, if you wanted to have
	// a 9-5 UTC-4 window every weekday, you'd use something like:
	// “`
	// start time = 2019-01-01T09:00:00-0400
	// end time = 2019-01-01T17:00:00-0400
	// recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
	// “`
	//
	// Windows can span multiple days. Eg, to make the window encompass every
	// weekend from midnight Saturday till the last minute of Sunday UTC:
	// “`
	// start time = 2019-01-05T00:00:00Z
	// end time = 2019-01-07T23:59:00Z
	// recurrence = FREQ=WEEKLY;BYDAY=SA
	// “`
	//
	// Note the start and end time's specific dates are largely arbitrary except
	// to specify duration of the window and when it first starts.
	// The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
	Recurrence string `protobuf:"bytes,2,opt,name=recurrence,proto3" json:"recurrence,omitempty"`
	// contains filtered or unexported fields
}

Represents an arbitrary window of time that recurs.

func (*RecurringTimeWindow) Descriptor deprecated

func (*RecurringTimeWindow) Descriptor() ([]byte, []int)

Deprecated: Use RecurringTimeWindow.ProtoReflect.Descriptor instead.

func (*RecurringTimeWindow) GetRecurrence

func (x *RecurringTimeWindow) GetRecurrence() string

func (*RecurringTimeWindow) GetWindow

func (x *RecurringTimeWindow) GetWindow() *TimeWindow

func (*RecurringTimeWindow) ProtoMessage

func (*RecurringTimeWindow) ProtoMessage()

func (*RecurringTimeWindow) ProtoReflect

func (x *RecurringTimeWindow) ProtoReflect() protoreflect.Message

func (*RecurringTimeWindow) Reset

func (x *RecurringTimeWindow) Reset()

func (*RecurringTimeWindow) String

func (x *RecurringTimeWindow) String() string

type ReleaseChannel

type ReleaseChannel struct {

	// channel specifies which release channel the cluster is subscribed to.
	Channel ReleaseChannel_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.container.v1.ReleaseChannel_Channel" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk.

When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.

func (*ReleaseChannel) Descriptor deprecated

func (*ReleaseChannel) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseChannel.ProtoReflect.Descriptor instead.

func (*ReleaseChannel) GetChannel

func (x *ReleaseChannel) GetChannel() ReleaseChannel_Channel

func (*ReleaseChannel) ProtoMessage

func (*ReleaseChannel) ProtoMessage()

func (*ReleaseChannel) ProtoReflect

func (x *ReleaseChannel) ProtoReflect() protoreflect.Message

func (*ReleaseChannel) Reset

func (x *ReleaseChannel) Reset()

func (*ReleaseChannel) String

func (x *ReleaseChannel) String() string

type ReleaseChannel_Channel

type ReleaseChannel_Channel int32

Possible values for 'channel'.

const (
	// No channel specified.
	ReleaseChannel_UNSPECIFIED ReleaseChannel_Channel = 0
	// RAPID channel is offered on an early access basis for customers who want
	// to test new releases.
	//
	// WARNING: Versions available in the RAPID Channel may be subject to
	// unresolved issues with no known workaround and are not subject to any
	// SLAs.
	ReleaseChannel_RAPID ReleaseChannel_Channel = 1
	// Clusters subscribed to REGULAR receive versions that are considered GA
	// quality. REGULAR is intended for production users who want to take
	// advantage of new features.
	ReleaseChannel_REGULAR ReleaseChannel_Channel = 2
	// Clusters subscribed to STABLE receive versions that are known to be
	// stable and reliable in production.
	ReleaseChannel_STABLE ReleaseChannel_Channel = 3
)

func (ReleaseChannel_Channel) Descriptor

func (ReleaseChannel_Channel) Enum

func (ReleaseChannel_Channel) EnumDescriptor deprecated

func (ReleaseChannel_Channel) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReleaseChannel_Channel.Descriptor instead.

func (ReleaseChannel_Channel) Number

func (ReleaseChannel_Channel) String

func (x ReleaseChannel_Channel) String() string

func (ReleaseChannel_Channel) Type

type ReservationAffinity

type ReservationAffinity struct {

	// Corresponds to the type of reservation consumption.
	ConsumeReservationType ReservationAffinity_Type `` /* 180-byte string literal not displayed */
	// 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(https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.

func (*ReservationAffinity) Descriptor deprecated

func (*ReservationAffinity) Descriptor() ([]byte, []int)

Deprecated: Use ReservationAffinity.ProtoReflect.Descriptor instead.

func (*ReservationAffinity) GetConsumeReservationType

func (x *ReservationAffinity) GetConsumeReservationType() ReservationAffinity_Type

func (*ReservationAffinity) GetKey

func (x *ReservationAffinity) GetKey() string

func (*ReservationAffinity) GetValues

func (x *ReservationAffinity) GetValues() []string

func (*ReservationAffinity) ProtoMessage

func (*ReservationAffinity) ProtoMessage()

func (*ReservationAffinity) ProtoReflect

func (x *ReservationAffinity) ProtoReflect() protoreflect.Message

func (*ReservationAffinity) Reset

func (x *ReservationAffinity) Reset()

func (*ReservationAffinity) String

func (x *ReservationAffinity) String() string

type ReservationAffinity_Type

type ReservationAffinity_Type int32

Indicates whether to consume capacity from a reservation or not.

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) Enum

func (ReservationAffinity_Type) EnumDescriptor deprecated

func (ReservationAffinity_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReservationAffinity_Type.Descriptor instead.

func (ReservationAffinity_Type) Number

func (ReservationAffinity_Type) String

func (x ReservationAffinity_Type) String() string

func (ReservationAffinity_Type) Type

type ResourceLabels added in v1.8.0

type ResourceLabels struct {

	// Map of node label keys and node label values.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).

func (*ResourceLabels) Descriptor deprecated added in v1.8.0

func (*ResourceLabels) Descriptor() ([]byte, []int)

Deprecated: Use ResourceLabels.ProtoReflect.Descriptor instead.

func (*ResourceLabels) GetLabels added in v1.8.0

func (x *ResourceLabels) GetLabels() map[string]string

func (*ResourceLabels) ProtoMessage added in v1.8.0

func (*ResourceLabels) ProtoMessage()

func (*ResourceLabels) ProtoReflect added in v1.8.0

func (x *ResourceLabels) ProtoReflect() protoreflect.Message

func (*ResourceLabels) Reset added in v1.8.0

func (x *ResourceLabels) Reset()

func (*ResourceLabels) String added in v1.8.0

func (x *ResourceLabels) String() string

type ResourceLimit

type ResourceLimit struct {

	// Resource name "cpu", "memory" or gpu-specific string.
	ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// Minimum amount of the resource in the cluster.
	Minimum int64 `protobuf:"varint,2,opt,name=minimum,proto3" json:"minimum,omitempty"`
	// Maximum amount of the resource in the cluster.
	Maximum int64 `protobuf:"varint,3,opt,name=maximum,proto3" json:"maximum,omitempty"`
	// contains filtered or unexported fields
}

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

func (*ResourceLimit) Descriptor deprecated

func (*ResourceLimit) Descriptor() ([]byte, []int)

Deprecated: Use ResourceLimit.ProtoReflect.Descriptor instead.

func (*ResourceLimit) GetMaximum

func (x *ResourceLimit) GetMaximum() int64

func (*ResourceLimit) GetMinimum

func (x *ResourceLimit) GetMinimum() int64

func (*ResourceLimit) GetResourceType

func (x *ResourceLimit) GetResourceType() string

func (*ResourceLimit) ProtoMessage

func (*ResourceLimit) ProtoMessage()

func (*ResourceLimit) ProtoReflect

func (x *ResourceLimit) ProtoReflect() protoreflect.Message

func (*ResourceLimit) Reset

func (x *ResourceLimit) Reset()

func (*ResourceLimit) String

func (x *ResourceLimit) String() string

type ResourceManagerTags added in v1.27.0

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 `` /* 149-byte string literal not displayed */
	// 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 deprecated added in v1.27.0

func (*ResourceManagerTags) Descriptor() ([]byte, []int)

Deprecated: Use ResourceManagerTags.ProtoReflect.Descriptor instead.

func (*ResourceManagerTags) GetTags added in v1.27.0

func (x *ResourceManagerTags) GetTags() map[string]string

func (*ResourceManagerTags) ProtoMessage added in v1.27.0

func (*ResourceManagerTags) ProtoMessage()

func (*ResourceManagerTags) ProtoReflect added in v1.27.0

func (x *ResourceManagerTags) ProtoReflect() protoreflect.Message

func (*ResourceManagerTags) Reset added in v1.27.0

func (x *ResourceManagerTags) Reset()

func (*ResourceManagerTags) String added in v1.27.0

func (x *ResourceManagerTags) String() string

type ResourceUsageExportConfig

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 `` /* 147-byte string literal not displayed */
	// Configuration to enable resource consumption metering.
	ConsumptionMeteringConfig *ResourceUsageExportConfig_ConsumptionMeteringConfig `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for exporting cluster resource usages.

func (*ResourceUsageExportConfig) Descriptor deprecated

func (*ResourceUsageExportConfig) Descriptor() ([]byte, []int)

Deprecated: Use ResourceUsageExportConfig.ProtoReflect.Descriptor instead.

func (*ResourceUsageExportConfig) GetBigqueryDestination

func (*ResourceUsageExportConfig) GetConsumptionMeteringConfig

func (*ResourceUsageExportConfig) GetEnableNetworkEgressMetering

func (x *ResourceUsageExportConfig) GetEnableNetworkEgressMetering() bool

func (*ResourceUsageExportConfig) ProtoMessage

func (*ResourceUsageExportConfig) ProtoMessage()

func (*ResourceUsageExportConfig) ProtoReflect

func (*ResourceUsageExportConfig) Reset

func (x *ResourceUsageExportConfig) Reset()

func (*ResourceUsageExportConfig) String

func (x *ResourceUsageExportConfig) String() string

type ResourceUsageExportConfig_BigQueryDestination

type ResourceUsageExportConfig_BigQueryDestination struct {

	// The ID of a BigQuery Dataset.
	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
	// contains filtered or unexported fields
}

Parameters for using BigQuery as the destination of resource usage export.

func (*ResourceUsageExportConfig_BigQueryDestination) Descriptor deprecated

Deprecated: Use ResourceUsageExportConfig_BigQueryDestination.ProtoReflect.Descriptor instead.

func (*ResourceUsageExportConfig_BigQueryDestination) GetDatasetId

func (*ResourceUsageExportConfig_BigQueryDestination) ProtoMessage

func (*ResourceUsageExportConfig_BigQueryDestination) ProtoReflect

func (*ResourceUsageExportConfig_BigQueryDestination) Reset

func (*ResourceUsageExportConfig_BigQueryDestination) String

type ResourceUsageExportConfig_ConsumptionMeteringConfig

type ResourceUsageExportConfig_ConsumptionMeteringConfig struct {

	// Whether to enable consumption metering for this cluster. If enabled, a
	// second BigQuery table will be created to hold resource consumption
	// records.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Parameters for controlling consumption metering.

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Descriptor deprecated

Deprecated: Use ResourceUsageExportConfig_ConsumptionMeteringConfig.ProtoReflect.Descriptor instead.

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) GetEnabled

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoMessage

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) ProtoReflect

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) Reset

func (*ResourceUsageExportConfig_ConsumptionMeteringConfig) String

type RollbackNodePoolUpgradeRequest

type RollbackNodePoolUpgradeRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to rollback.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool to rollback.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// The name (project, location, cluster, node pool id) of the node poll to
	// rollback upgrade.
	// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Option for rollback to ignore the PodDisruptionBudget.
	// Default value is false.
	RespectPdb bool `protobuf:"varint,7,opt,name=respect_pdb,json=respectPdb,proto3" json:"respect_pdb,omitempty"`
	// contains filtered or unexported fields
}

RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.

func (*RollbackNodePoolUpgradeRequest) Descriptor deprecated

func (*RollbackNodePoolUpgradeRequest) Descriptor() ([]byte, []int)

Deprecated: Use RollbackNodePoolUpgradeRequest.ProtoReflect.Descriptor instead.

func (*RollbackNodePoolUpgradeRequest) GetClusterId deprecated

func (x *RollbackNodePoolUpgradeRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*RollbackNodePoolUpgradeRequest) GetName

func (*RollbackNodePoolUpgradeRequest) GetNodePoolId deprecated

func (x *RollbackNodePoolUpgradeRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*RollbackNodePoolUpgradeRequest) GetProjectId deprecated

func (x *RollbackNodePoolUpgradeRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*RollbackNodePoolUpgradeRequest) GetRespectPdb

func (x *RollbackNodePoolUpgradeRequest) GetRespectPdb() bool

func (*RollbackNodePoolUpgradeRequest) GetZone deprecated

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*RollbackNodePoolUpgradeRequest) ProtoMessage

func (*RollbackNodePoolUpgradeRequest) ProtoMessage()

func (*RollbackNodePoolUpgradeRequest) ProtoReflect

func (*RollbackNodePoolUpgradeRequest) Reset

func (x *RollbackNodePoolUpgradeRequest) Reset()

func (*RollbackNodePoolUpgradeRequest) String

type SandboxConfig

type SandboxConfig struct {

	// Type of the sandbox to use for the node.
	Type SandboxConfig_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.container.v1.SandboxConfig_Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

SandboxConfig contains configurations of the sandbox to use for the node.

func (*SandboxConfig) Descriptor deprecated

func (*SandboxConfig) Descriptor() ([]byte, []int)

Deprecated: Use SandboxConfig.ProtoReflect.Descriptor instead.

func (*SandboxConfig) GetType

func (x *SandboxConfig) GetType() SandboxConfig_Type

func (*SandboxConfig) ProtoMessage

func (*SandboxConfig) ProtoMessage()

func (*SandboxConfig) ProtoReflect

func (x *SandboxConfig) ProtoReflect() protoreflect.Message

func (*SandboxConfig) Reset

func (x *SandboxConfig) Reset()

func (*SandboxConfig) String

func (x *SandboxConfig) String() string

type SandboxConfig_Type

type SandboxConfig_Type int32

Possible types of sandboxes.

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) Enum

func (SandboxConfig_Type) EnumDescriptor deprecated

func (SandboxConfig_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use SandboxConfig_Type.Descriptor instead.

func (SandboxConfig_Type) Number

func (SandboxConfig_Type) String

func (x SandboxConfig_Type) String() string

func (SandboxConfig_Type) Type

type SecondaryBootDisk added in v1.33.0

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 deprecated added in v1.33.0

func (*SecondaryBootDisk) Descriptor() ([]byte, []int)

Deprecated: Use SecondaryBootDisk.ProtoReflect.Descriptor instead.

func (*SecondaryBootDisk) GetDiskImage added in v1.33.0

func (x *SecondaryBootDisk) GetDiskImage() string

func (*SecondaryBootDisk) GetMode added in v1.33.0

func (*SecondaryBootDisk) ProtoMessage added in v1.33.0

func (*SecondaryBootDisk) ProtoMessage()

func (*SecondaryBootDisk) ProtoReflect added in v1.33.0

func (x *SecondaryBootDisk) ProtoReflect() protoreflect.Message

func (*SecondaryBootDisk) Reset added in v1.33.0

func (x *SecondaryBootDisk) Reset()

func (*SecondaryBootDisk) String added in v1.33.0

func (x *SecondaryBootDisk) String() string

type SecondaryBootDiskUpdateStrategy added in v1.34.0

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 deprecated added in v1.34.0

func (*SecondaryBootDiskUpdateStrategy) Descriptor() ([]byte, []int)

Deprecated: Use SecondaryBootDiskUpdateStrategy.ProtoReflect.Descriptor instead.

func (*SecondaryBootDiskUpdateStrategy) ProtoMessage added in v1.34.0

func (*SecondaryBootDiskUpdateStrategy) ProtoMessage()

func (*SecondaryBootDiskUpdateStrategy) ProtoReflect added in v1.34.0

func (*SecondaryBootDiskUpdateStrategy) Reset added in v1.34.0

func (*SecondaryBootDiskUpdateStrategy) String added in v1.34.0

type SecondaryBootDisk_Mode added in v1.33.0

type SecondaryBootDisk_Mode int32

Mode specifies how the secondary boot disk will be used. This triggers mode-specified logic in the control plane.

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 added in v1.33.0

func (SecondaryBootDisk_Mode) Enum added in v1.33.0

func (SecondaryBootDisk_Mode) EnumDescriptor deprecated added in v1.33.0

func (SecondaryBootDisk_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecondaryBootDisk_Mode.Descriptor instead.

func (SecondaryBootDisk_Mode) Number added in v1.33.0

func (SecondaryBootDisk_Mode) String added in v1.33.0

func (x SecondaryBootDisk_Mode) String() string

func (SecondaryBootDisk_Mode) Type added in v1.33.0

type SecurityBulletinEvent

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 `` /* 132-byte string literal not displayed */
	// 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 `` /* 129-byte string literal not displayed */
	// 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"`
	// 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 deprecated

func (*SecurityBulletinEvent) Descriptor() ([]byte, []int)

Deprecated: Use SecurityBulletinEvent.ProtoReflect.Descriptor instead.

func (*SecurityBulletinEvent) GetAffectedSupportedMinors

func (x *SecurityBulletinEvent) GetAffectedSupportedMinors() []string

func (*SecurityBulletinEvent) GetBriefDescription

func (x *SecurityBulletinEvent) GetBriefDescription() string

func (*SecurityBulletinEvent) GetBulletinId

func (x *SecurityBulletinEvent) GetBulletinId() string

func (*SecurityBulletinEvent) GetBulletinUri

func (x *SecurityBulletinEvent) GetBulletinUri() string

func (*SecurityBulletinEvent) GetCveIds

func (x *SecurityBulletinEvent) GetCveIds() []string

func (*SecurityBulletinEvent) GetManualStepsRequired

func (x *SecurityBulletinEvent) GetManualStepsRequired() bool

func (*SecurityBulletinEvent) GetPatchedVersions

func (x *SecurityBulletinEvent) GetPatchedVersions() []string

func (*SecurityBulletinEvent) GetResourceTypeAffected

func (x *SecurityBulletinEvent) GetResourceTypeAffected() string

func (*SecurityBulletinEvent) GetSeverity

func (x *SecurityBulletinEvent) GetSeverity() string

func (*SecurityBulletinEvent) GetSuggestedUpgradeTarget

func (x *SecurityBulletinEvent) GetSuggestedUpgradeTarget() string

func (*SecurityBulletinEvent) ProtoMessage

func (*SecurityBulletinEvent) ProtoMessage()

func (*SecurityBulletinEvent) ProtoReflect

func (x *SecurityBulletinEvent) ProtoReflect() protoreflect.Message

func (*SecurityBulletinEvent) Reset

func (x *SecurityBulletinEvent) Reset()

func (*SecurityBulletinEvent) String

func (x *SecurityBulletinEvent) String() string

type SecurityPostureConfig added in v1.22.0

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 `` /* 184-byte string literal not displayed */
	// contains filtered or unexported fields
}

SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.

func (*SecurityPostureConfig) Descriptor deprecated added in v1.22.0

func (*SecurityPostureConfig) Descriptor() ([]byte, []int)

Deprecated: Use SecurityPostureConfig.ProtoReflect.Descriptor instead.

func (*SecurityPostureConfig) GetMode added in v1.22.0

func (*SecurityPostureConfig) GetVulnerabilityMode added in v1.22.0

func (*SecurityPostureConfig) ProtoMessage added in v1.22.0

func (*SecurityPostureConfig) ProtoMessage()

func (*SecurityPostureConfig) ProtoReflect added in v1.22.0

func (x *SecurityPostureConfig) ProtoReflect() protoreflect.Message

func (*SecurityPostureConfig) Reset added in v1.22.0

func (x *SecurityPostureConfig) Reset()

func (*SecurityPostureConfig) String added in v1.22.0

func (x *SecurityPostureConfig) String() string

type SecurityPostureConfig_Mode added in v1.22.0

type SecurityPostureConfig_Mode int32

Mode defines enablement mode for GKE Security posture features.

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 added in v1.22.0

func (SecurityPostureConfig_Mode) Enum added in v1.22.0

func (SecurityPostureConfig_Mode) EnumDescriptor deprecated added in v1.22.0

func (SecurityPostureConfig_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityPostureConfig_Mode.Descriptor instead.

func (SecurityPostureConfig_Mode) Number added in v1.22.0

func (SecurityPostureConfig_Mode) String added in v1.22.0

func (SecurityPostureConfig_Mode) Type added in v1.22.0

type SecurityPostureConfig_VulnerabilityMode added in v1.22.0

type SecurityPostureConfig_VulnerabilityMode int32

VulnerabilityMode defines enablement mode for vulnerability scanning.

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 added in v1.22.0

func (SecurityPostureConfig_VulnerabilityMode) Enum added in v1.22.0

func (SecurityPostureConfig_VulnerabilityMode) EnumDescriptor deprecated added in v1.22.0

func (SecurityPostureConfig_VulnerabilityMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SecurityPostureConfig_VulnerabilityMode.Descriptor instead.

func (SecurityPostureConfig_VulnerabilityMode) Number added in v1.22.0

func (SecurityPostureConfig_VulnerabilityMode) String added in v1.22.0

func (SecurityPostureConfig_VulnerabilityMode) Type added in v1.22.0

type ServerConfig

type ServerConfig struct {

	// Version of Kubernetes the service deploys by default.
	DefaultClusterVersion string `` /* 126-byte string literal not displayed */
	// 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 deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetChannels

func (x *ServerConfig) GetChannels() []*ServerConfig_ReleaseChannelConfig

func (*ServerConfig) GetDefaultClusterVersion

func (x *ServerConfig) GetDefaultClusterVersion() string

func (*ServerConfig) GetDefaultImageType

func (x *ServerConfig) GetDefaultImageType() string

func (*ServerConfig) GetValidImageTypes

func (x *ServerConfig) GetValidImageTypes() []string

func (*ServerConfig) GetValidMasterVersions

func (x *ServerConfig) GetValidMasterVersions() []string

func (*ServerConfig) GetValidNodeVersions

func (x *ServerConfig) GetValidNodeVersions() []string

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

type ServerConfig_ReleaseChannelConfig

type ServerConfig_ReleaseChannelConfig struct {

	// The release channel this configuration applies to.
	Channel ReleaseChannel_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=google.container.v1.ReleaseChannel_Channel" json:"channel,omitempty"`
	// The default version for newly created clusters on the channel.
	DefaultVersion string `protobuf:"bytes,2,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"`
	// List of valid versions for the channel.
	ValidVersions []string `protobuf:"bytes,4,rep,name=valid_versions,json=validVersions,proto3" json:"valid_versions,omitempty"`
	// contains filtered or unexported fields
}

ReleaseChannelConfig exposes configuration for a release channel.

func (*ServerConfig_ReleaseChannelConfig) Descriptor deprecated

func (*ServerConfig_ReleaseChannelConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig_ReleaseChannelConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig_ReleaseChannelConfig) GetChannel

func (*ServerConfig_ReleaseChannelConfig) GetDefaultVersion

func (x *ServerConfig_ReleaseChannelConfig) GetDefaultVersion() string

func (*ServerConfig_ReleaseChannelConfig) GetValidVersions

func (x *ServerConfig_ReleaseChannelConfig) GetValidVersions() []string

func (*ServerConfig_ReleaseChannelConfig) ProtoMessage

func (*ServerConfig_ReleaseChannelConfig) ProtoMessage()

func (*ServerConfig_ReleaseChannelConfig) ProtoReflect

func (*ServerConfig_ReleaseChannelConfig) Reset

func (*ServerConfig_ReleaseChannelConfig) String

type ServiceExternalIPsConfig

type ServiceExternalIPsConfig struct {

	// Whether Services with ExternalIPs field are allowed or not.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Config to block services with externalIPs field.

func (*ServiceExternalIPsConfig) Descriptor deprecated

func (*ServiceExternalIPsConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServiceExternalIPsConfig.ProtoReflect.Descriptor instead.

func (*ServiceExternalIPsConfig) GetEnabled

func (x *ServiceExternalIPsConfig) GetEnabled() bool

func (*ServiceExternalIPsConfig) ProtoMessage

func (*ServiceExternalIPsConfig) ProtoMessage()

func (*ServiceExternalIPsConfig) ProtoReflect

func (x *ServiceExternalIPsConfig) ProtoReflect() protoreflect.Message

func (*ServiceExternalIPsConfig) Reset

func (x *ServiceExternalIPsConfig) Reset()

func (*ServiceExternalIPsConfig) String

func (x *ServiceExternalIPsConfig) String() string

type SetAddonsConfigRequest

type SetAddonsConfigRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The desired configurations for the various addons available to
	// run in the cluster.
	AddonsConfig *AddonsConfig `protobuf:"bytes,4,opt,name=addons_config,json=addonsConfig,proto3" json:"addons_config,omitempty"`
	// The name (project, location, cluster) of the cluster to set addons.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetAddonsConfigRequest sets the addons associated with the cluster.

func (*SetAddonsConfigRequest) Descriptor deprecated

func (*SetAddonsConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetAddonsConfigRequest.ProtoReflect.Descriptor instead.

func (*SetAddonsConfigRequest) GetAddonsConfig

func (x *SetAddonsConfigRequest) GetAddonsConfig() *AddonsConfig

func (*SetAddonsConfigRequest) GetClusterId deprecated

func (x *SetAddonsConfigRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetAddonsConfigRequest) GetName

func (x *SetAddonsConfigRequest) GetName() string

func (*SetAddonsConfigRequest) GetProjectId deprecated

func (x *SetAddonsConfigRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetAddonsConfigRequest) GetZone deprecated

func (x *SetAddonsConfigRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetAddonsConfigRequest) ProtoMessage

func (*SetAddonsConfigRequest) ProtoMessage()

func (*SetAddonsConfigRequest) ProtoReflect

func (x *SetAddonsConfigRequest) ProtoReflect() protoreflect.Message

func (*SetAddonsConfigRequest) Reset

func (x *SetAddonsConfigRequest) Reset()

func (*SetAddonsConfigRequest) String

func (x *SetAddonsConfigRequest) String() string

type SetLabelsRequest

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 `` /* 191-byte string literal not displayed */
	// 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 deprecated

func (*SetLabelsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLabelsRequest.ProtoReflect.Descriptor instead.

func (*SetLabelsRequest) GetClusterId deprecated

func (x *SetLabelsRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLabelsRequest) GetLabelFingerprint

func (x *SetLabelsRequest) GetLabelFingerprint() string

func (*SetLabelsRequest) GetName

func (x *SetLabelsRequest) GetName() string

func (*SetLabelsRequest) GetProjectId deprecated

func (x *SetLabelsRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLabelsRequest) GetResourceLabels

func (x *SetLabelsRequest) GetResourceLabels() map[string]string

func (*SetLabelsRequest) GetZone deprecated

func (x *SetLabelsRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLabelsRequest) ProtoMessage

func (*SetLabelsRequest) ProtoMessage()

func (*SetLabelsRequest) ProtoReflect

func (x *SetLabelsRequest) ProtoReflect() protoreflect.Message

func (*SetLabelsRequest) Reset

func (x *SetLabelsRequest) Reset()

func (*SetLabelsRequest) String

func (x *SetLabelsRequest) String() string

type SetLegacyAbacRequest

type SetLegacyAbacRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to update.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. Whether ABAC authorization will be enabled in the cluster.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The name (project, location, cluster name) of the cluster to set legacy
	// abac. Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.

func (*SetLegacyAbacRequest) Descriptor deprecated

func (*SetLegacyAbacRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLegacyAbacRequest.ProtoReflect.Descriptor instead.

func (*SetLegacyAbacRequest) GetClusterId deprecated

func (x *SetLegacyAbacRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLegacyAbacRequest) GetEnabled

func (x *SetLegacyAbacRequest) GetEnabled() bool

func (*SetLegacyAbacRequest) GetName

func (x *SetLegacyAbacRequest) GetName() string

func (*SetLegacyAbacRequest) GetProjectId deprecated

func (x *SetLegacyAbacRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLegacyAbacRequest) GetZone deprecated

func (x *SetLegacyAbacRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLegacyAbacRequest) ProtoMessage

func (*SetLegacyAbacRequest) ProtoMessage()

func (*SetLegacyAbacRequest) ProtoReflect

func (x *SetLegacyAbacRequest) ProtoReflect() protoreflect.Message

func (*SetLegacyAbacRequest) Reset

func (x *SetLegacyAbacRequest) Reset()

func (*SetLegacyAbacRequest) String

func (x *SetLegacyAbacRequest) String() string

type SetLocationsRequest

type SetLocationsRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The desired list of Google Compute Engine
	// [zones](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster's nodes should be located. Changing the locations a cluster is in
	// will result in nodes being either created or removed from the cluster,
	// depending on whether locations are being added or removed.
	//
	// This list must always include the cluster's primary zone.
	Locations []string `protobuf:"bytes,4,rep,name=locations,proto3" json:"locations,omitempty"`
	// The name (project, location, cluster) of the cluster to set locations.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLocationsRequest sets the locations of the cluster.

func (*SetLocationsRequest) Descriptor deprecated

func (*SetLocationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLocationsRequest.ProtoReflect.Descriptor instead.

func (*SetLocationsRequest) GetClusterId deprecated

func (x *SetLocationsRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLocationsRequest) GetLocations

func (x *SetLocationsRequest) GetLocations() []string

func (*SetLocationsRequest) GetName

func (x *SetLocationsRequest) GetName() string

func (*SetLocationsRequest) GetProjectId deprecated

func (x *SetLocationsRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLocationsRequest) GetZone deprecated

func (x *SetLocationsRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLocationsRequest) ProtoMessage

func (*SetLocationsRequest) ProtoMessage()

func (*SetLocationsRequest) ProtoReflect

func (x *SetLocationsRequest) ProtoReflect() protoreflect.Message

func (*SetLocationsRequest) Reset

func (x *SetLocationsRequest) Reset()

func (*SetLocationsRequest) String

func (x *SetLocationsRequest) String() string

type SetLoggingServiceRequest

type SetLoggingServiceRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The logging service the cluster should use to write logs.
	// Currently available options:
	//
	// * `logging.googleapis.com/kubernetes` - The Cloud Logging
	// service with a Kubernetes-native resource model
	//   - `logging.googleapis.com` - The legacy Cloud Logging service (no longer
	//     available as of GKE 1.15).
	//   - `none` - no logs will be exported from the cluster.
	//
	// If left as an empty string,`logging.googleapis.com/kubernetes` will be
	// used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
	LoggingService string `protobuf:"bytes,4,opt,name=logging_service,json=loggingService,proto3" json:"logging_service,omitempty"`
	// The name (project, location, cluster) of the cluster to set logging.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetLoggingServiceRequest sets the logging service of a cluster.

func (*SetLoggingServiceRequest) Descriptor deprecated

func (*SetLoggingServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetLoggingServiceRequest.ProtoReflect.Descriptor instead.

func (*SetLoggingServiceRequest) GetClusterId deprecated

func (x *SetLoggingServiceRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLoggingServiceRequest) GetLoggingService

func (x *SetLoggingServiceRequest) GetLoggingService() string

func (*SetLoggingServiceRequest) GetName

func (x *SetLoggingServiceRequest) GetName() string

func (*SetLoggingServiceRequest) GetProjectId deprecated

func (x *SetLoggingServiceRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLoggingServiceRequest) GetZone deprecated

func (x *SetLoggingServiceRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetLoggingServiceRequest) ProtoMessage

func (*SetLoggingServiceRequest) ProtoMessage()

func (*SetLoggingServiceRequest) ProtoReflect

func (x *SetLoggingServiceRequest) ProtoReflect() protoreflect.Message

func (*SetLoggingServiceRequest) Reset

func (x *SetLoggingServiceRequest) Reset()

func (*SetLoggingServiceRequest) String

func (x *SetLoggingServiceRequest) String() string

type SetMaintenancePolicyRequest

type SetMaintenancePolicyRequest struct {

	// Required. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Required. The name of the cluster to update.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The maintenance policy to be set for the cluster. An empty field
	// clears the existing maintenance policy.
	MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,4,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
	// The name (project, location, cluster name) of the cluster to set
	// maintenance policy.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

func (*SetMaintenancePolicyRequest) Descriptor deprecated

func (*SetMaintenancePolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMaintenancePolicyRequest.ProtoReflect.Descriptor instead.

func (*SetMaintenancePolicyRequest) GetClusterId

func (x *SetMaintenancePolicyRequest) GetClusterId() string

func (*SetMaintenancePolicyRequest) GetMaintenancePolicy

func (x *SetMaintenancePolicyRequest) GetMaintenancePolicy() *MaintenancePolicy

func (*SetMaintenancePolicyRequest) GetName

func (x *SetMaintenancePolicyRequest) GetName() string

func (*SetMaintenancePolicyRequest) GetProjectId

func (x *SetMaintenancePolicyRequest) GetProjectId() string

func (*SetMaintenancePolicyRequest) GetZone

func (x *SetMaintenancePolicyRequest) GetZone() string

func (*SetMaintenancePolicyRequest) ProtoMessage

func (*SetMaintenancePolicyRequest) ProtoMessage()

func (*SetMaintenancePolicyRequest) ProtoReflect

func (*SetMaintenancePolicyRequest) Reset

func (x *SetMaintenancePolicyRequest) Reset()

func (*SetMaintenancePolicyRequest) String

func (x *SetMaintenancePolicyRequest) String() string

type SetMasterAuthRequest

type SetMasterAuthRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The exact form of action to be taken on the master auth.
	Action SetMasterAuthRequest_Action `protobuf:"varint,4,opt,name=action,proto3,enum=google.container.v1.SetMasterAuthRequest_Action" json:"action,omitempty"`
	// Required. A description of the update.
	Update *MasterAuth `protobuf:"bytes,5,opt,name=update,proto3" json:"update,omitempty"`
	// The name (project, location, cluster) of the cluster to set auth.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMasterAuthRequest updates the admin password of a cluster.

func (*SetMasterAuthRequest) Descriptor deprecated

func (*SetMasterAuthRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMasterAuthRequest.ProtoReflect.Descriptor instead.

func (*SetMasterAuthRequest) GetAction

func (*SetMasterAuthRequest) GetClusterId deprecated

func (x *SetMasterAuthRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMasterAuthRequest) GetName

func (x *SetMasterAuthRequest) GetName() string

func (*SetMasterAuthRequest) GetProjectId deprecated

func (x *SetMasterAuthRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMasterAuthRequest) GetUpdate

func (x *SetMasterAuthRequest) GetUpdate() *MasterAuth

func (*SetMasterAuthRequest) GetZone deprecated

func (x *SetMasterAuthRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMasterAuthRequest) ProtoMessage

func (*SetMasterAuthRequest) ProtoMessage()

func (*SetMasterAuthRequest) ProtoReflect

func (x *SetMasterAuthRequest) ProtoReflect() protoreflect.Message

func (*SetMasterAuthRequest) Reset

func (x *SetMasterAuthRequest) Reset()

func (*SetMasterAuthRequest) String

func (x *SetMasterAuthRequest) String() string

type SetMasterAuthRequest_Action

type SetMasterAuthRequest_Action int32

Operation type: what type update to perform.

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) Enum

func (SetMasterAuthRequest_Action) EnumDescriptor deprecated

func (SetMasterAuthRequest_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use SetMasterAuthRequest_Action.Descriptor instead.

func (SetMasterAuthRequest_Action) Number

func (SetMasterAuthRequest_Action) String

func (SetMasterAuthRequest_Action) Type

type SetMonitoringServiceRequest

type SetMonitoringServiceRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The monitoring service the cluster should use to write metrics.
	// Currently available options:
	//
	// * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
	// service with a Kubernetes-native resource model
	//   - `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
	//     longer available as of GKE 1.15).
	//   - `none` - No metrics will be exported from the cluster.
	//
	// If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
	// used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
	MonitoringService string `protobuf:"bytes,4,opt,name=monitoring_service,json=monitoringService,proto3" json:"monitoring_service,omitempty"`
	// The name (project, location, cluster) of the cluster to set monitoring.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetMonitoringServiceRequest sets the monitoring service of a cluster.

func (*SetMonitoringServiceRequest) Descriptor deprecated

func (*SetMonitoringServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetMonitoringServiceRequest.ProtoReflect.Descriptor instead.

func (*SetMonitoringServiceRequest) GetClusterId deprecated

func (x *SetMonitoringServiceRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMonitoringServiceRequest) GetMonitoringService

func (x *SetMonitoringServiceRequest) GetMonitoringService() string

func (*SetMonitoringServiceRequest) GetName

func (x *SetMonitoringServiceRequest) GetName() string

func (*SetMonitoringServiceRequest) GetProjectId deprecated

func (x *SetMonitoringServiceRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMonitoringServiceRequest) GetZone deprecated

func (x *SetMonitoringServiceRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetMonitoringServiceRequest) ProtoMessage

func (*SetMonitoringServiceRequest) ProtoMessage()

func (*SetMonitoringServiceRequest) ProtoReflect

func (*SetMonitoringServiceRequest) Reset

func (x *SetMonitoringServiceRequest) Reset()

func (*SetMonitoringServiceRequest) String

func (x *SetMonitoringServiceRequest) String() string

type SetNetworkPolicyRequest

type SetNetworkPolicyRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. Configuration options for the NetworkPolicy feature.
	NetworkPolicy *NetworkPolicy `protobuf:"bytes,4,opt,name=network_policy,json=networkPolicy,proto3" json:"network_policy,omitempty"`
	// The name (project, location, cluster name) of the cluster to set networking
	// policy. Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNetworkPolicyRequest enables/disables network policy for a cluster.

func (*SetNetworkPolicyRequest) Descriptor deprecated

func (*SetNetworkPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNetworkPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetNetworkPolicyRequest) GetClusterId deprecated

func (x *SetNetworkPolicyRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNetworkPolicyRequest) GetName

func (x *SetNetworkPolicyRequest) GetName() string

func (*SetNetworkPolicyRequest) GetNetworkPolicy

func (x *SetNetworkPolicyRequest) GetNetworkPolicy() *NetworkPolicy

func (*SetNetworkPolicyRequest) GetProjectId deprecated

func (x *SetNetworkPolicyRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNetworkPolicyRequest) GetZone deprecated

func (x *SetNetworkPolicyRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNetworkPolicyRequest) ProtoMessage

func (*SetNetworkPolicyRequest) ProtoMessage()

func (*SetNetworkPolicyRequest) ProtoReflect

func (x *SetNetworkPolicyRequest) ProtoReflect() protoreflect.Message

func (*SetNetworkPolicyRequest) Reset

func (x *SetNetworkPolicyRequest) Reset()

func (*SetNetworkPolicyRequest) String

func (x *SetNetworkPolicyRequest) String() string

type SetNodePoolAutoscalingRequest

type SetNodePoolAutoscalingRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// Required. Autoscaling configuration for the node pool.
	Autoscaling *NodePoolAutoscaling `protobuf:"bytes,5,opt,name=autoscaling,proto3" json:"autoscaling,omitempty"`
	// The name (project, location, cluster, node pool) of the node pool to set
	// autoscaler settings. Specified in the format
	// `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

func (*SetNodePoolAutoscalingRequest) Descriptor deprecated

func (*SetNodePoolAutoscalingRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolAutoscalingRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolAutoscalingRequest) GetAutoscaling

func (*SetNodePoolAutoscalingRequest) GetClusterId deprecated

func (x *SetNodePoolAutoscalingRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolAutoscalingRequest) GetName

func (*SetNodePoolAutoscalingRequest) GetNodePoolId deprecated

func (x *SetNodePoolAutoscalingRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolAutoscalingRequest) GetProjectId deprecated

func (x *SetNodePoolAutoscalingRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolAutoscalingRequest) GetZone deprecated

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolAutoscalingRequest) ProtoMessage

func (*SetNodePoolAutoscalingRequest) ProtoMessage()

func (*SetNodePoolAutoscalingRequest) ProtoReflect

func (*SetNodePoolAutoscalingRequest) Reset

func (x *SetNodePoolAutoscalingRequest) Reset()

func (*SetNodePoolAutoscalingRequest) String

type SetNodePoolManagementRequest

type SetNodePoolManagementRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to update.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool to update.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// Required. NodeManagement configuration for the node pool.
	Management *NodeManagement `protobuf:"bytes,5,opt,name=management,proto3" json:"management,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to set
	// management properties. Specified in the format
	// `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolManagementRequest sets the node management properties of a node pool.

func (*SetNodePoolManagementRequest) Descriptor deprecated

func (*SetNodePoolManagementRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolManagementRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolManagementRequest) GetClusterId deprecated

func (x *SetNodePoolManagementRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolManagementRequest) GetManagement

func (x *SetNodePoolManagementRequest) GetManagement() *NodeManagement

func (*SetNodePoolManagementRequest) GetName

func (x *SetNodePoolManagementRequest) GetName() string

func (*SetNodePoolManagementRequest) GetNodePoolId deprecated

func (x *SetNodePoolManagementRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolManagementRequest) GetProjectId deprecated

func (x *SetNodePoolManagementRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolManagementRequest) GetZone deprecated

func (x *SetNodePoolManagementRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolManagementRequest) ProtoMessage

func (*SetNodePoolManagementRequest) ProtoMessage()

func (*SetNodePoolManagementRequest) ProtoReflect

func (*SetNodePoolManagementRequest) Reset

func (x *SetNodePoolManagementRequest) Reset()

func (*SetNodePoolManagementRequest) String

type SetNodePoolSizeRequest

type SetNodePoolSizeRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to update.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Deprecated. The name of the node pool to update.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	NodePoolId string `protobuf:"bytes,4,opt,name=node_pool_id,json=nodePoolId,proto3" json:"node_pool_id,omitempty"`
	// Required. The desired node count for the pool.
	NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// The name (project, location, cluster, node pool id) of the node pool to set
	// size.
	// Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

SetNodePoolSizeRequest sets the size of a node pool.

func (*SetNodePoolSizeRequest) Descriptor deprecated

func (*SetNodePoolSizeRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetNodePoolSizeRequest.ProtoReflect.Descriptor instead.

func (*SetNodePoolSizeRequest) GetClusterId deprecated

func (x *SetNodePoolSizeRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolSizeRequest) GetName

func (x *SetNodePoolSizeRequest) GetName() string

func (*SetNodePoolSizeRequest) GetNodeCount

func (x *SetNodePoolSizeRequest) GetNodeCount() int32

func (*SetNodePoolSizeRequest) GetNodePoolId deprecated

func (x *SetNodePoolSizeRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolSizeRequest) GetProjectId deprecated

func (x *SetNodePoolSizeRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolSizeRequest) GetZone deprecated

func (x *SetNodePoolSizeRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*SetNodePoolSizeRequest) ProtoMessage

func (*SetNodePoolSizeRequest) ProtoMessage()

func (*SetNodePoolSizeRequest) ProtoReflect

func (x *SetNodePoolSizeRequest) ProtoReflect() protoreflect.Message

func (*SetNodePoolSizeRequest) Reset

func (x *SetNodePoolSizeRequest) Reset()

func (*SetNodePoolSizeRequest) String

func (x *SetNodePoolSizeRequest) String() string

type ShieldedInstanceConfig

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 `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

A set of Shielded Instance options.

func (*ShieldedInstanceConfig) Descriptor deprecated

func (*ShieldedInstanceConfig) Descriptor() ([]byte, []int)

Deprecated: Use ShieldedInstanceConfig.ProtoReflect.Descriptor instead.

func (*ShieldedInstanceConfig) GetEnableIntegrityMonitoring

func (x *ShieldedInstanceConfig) GetEnableIntegrityMonitoring() bool

func (*ShieldedInstanceConfig) GetEnableSecureBoot

func (x *ShieldedInstanceConfig) GetEnableSecureBoot() bool

func (*ShieldedInstanceConfig) ProtoMessage

func (*ShieldedInstanceConfig) ProtoMessage()

func (*ShieldedInstanceConfig) ProtoReflect

func (x *ShieldedInstanceConfig) ProtoReflect() protoreflect.Message

func (*ShieldedInstanceConfig) Reset

func (x *ShieldedInstanceConfig) Reset()

func (*ShieldedInstanceConfig) String

func (x *ShieldedInstanceConfig) String() string

type ShieldedNodes

type ShieldedNodes struct {

	// Whether Shielded Nodes features are enabled on all nodes in this cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration of Shielded Nodes feature.

func (*ShieldedNodes) Descriptor deprecated

func (*ShieldedNodes) Descriptor() ([]byte, []int)

Deprecated: Use ShieldedNodes.ProtoReflect.Descriptor instead.

func (*ShieldedNodes) GetEnabled

func (x *ShieldedNodes) GetEnabled() bool

func (*ShieldedNodes) ProtoMessage

func (*ShieldedNodes) ProtoMessage()

func (*ShieldedNodes) ProtoReflect

func (x *ShieldedNodes) ProtoReflect() protoreflect.Message

func (*ShieldedNodes) Reset

func (x *ShieldedNodes) Reset()

func (*ShieldedNodes) String

func (x *ShieldedNodes) String() string

type SoleTenantConfig added in v1.20.0

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"`
	// 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 deprecated added in v1.20.0

func (*SoleTenantConfig) Descriptor() ([]byte, []int)

Deprecated: Use SoleTenantConfig.ProtoReflect.Descriptor instead.

func (*SoleTenantConfig) GetNodeAffinities added in v1.20.0

func (x *SoleTenantConfig) GetNodeAffinities() []*SoleTenantConfig_NodeAffinity

func (*SoleTenantConfig) ProtoMessage added in v1.20.0

func (*SoleTenantConfig) ProtoMessage()

func (*SoleTenantConfig) ProtoReflect added in v1.20.0

func (x *SoleTenantConfig) ProtoReflect() protoreflect.Message

func (*SoleTenantConfig) Reset added in v1.20.0

func (x *SoleTenantConfig) Reset()

func (*SoleTenantConfig) String added in v1.20.0

func (x *SoleTenantConfig) String() string

type SoleTenantConfig_NodeAffinity added in v1.20.0

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 `` /* 134-byte string literal not displayed */
	// 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](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).

func (*SoleTenantConfig_NodeAffinity) Descriptor deprecated added in v1.20.0

func (*SoleTenantConfig_NodeAffinity) Descriptor() ([]byte, []int)

Deprecated: Use SoleTenantConfig_NodeAffinity.ProtoReflect.Descriptor instead.

func (*SoleTenantConfig_NodeAffinity) GetKey added in v1.20.0

func (*SoleTenantConfig_NodeAffinity) GetOperator added in v1.20.0

func (*SoleTenantConfig_NodeAffinity) GetValues added in v1.20.0

func (x *SoleTenantConfig_NodeAffinity) GetValues() []string

func (*SoleTenantConfig_NodeAffinity) ProtoMessage added in v1.20.0

func (*SoleTenantConfig_NodeAffinity) ProtoMessage()

func (*SoleTenantConfig_NodeAffinity) ProtoReflect added in v1.20.0

func (*SoleTenantConfig_NodeAffinity) Reset added in v1.20.0

func (x *SoleTenantConfig_NodeAffinity) Reset()

func (*SoleTenantConfig_NodeAffinity) String added in v1.20.0

type SoleTenantConfig_NodeAffinity_Operator added in v1.20.0

type SoleTenantConfig_NodeAffinity_Operator int32

Operator allows user to specify affinity or anti-affinity for the given key values.

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 added in v1.20.0

func (SoleTenantConfig_NodeAffinity_Operator) Enum added in v1.20.0

func (SoleTenantConfig_NodeAffinity_Operator) EnumDescriptor deprecated added in v1.20.0

func (SoleTenantConfig_NodeAffinity_Operator) EnumDescriptor() ([]byte, []int)

Deprecated: Use SoleTenantConfig_NodeAffinity_Operator.Descriptor instead.

func (SoleTenantConfig_NodeAffinity_Operator) Number added in v1.20.0

func (SoleTenantConfig_NodeAffinity_Operator) String added in v1.20.0

func (SoleTenantConfig_NodeAffinity_Operator) Type added in v1.20.0

type StackType

type StackType int32

Possible values for IP stack type

const (
	// Default value, will be defaulted as IPV4 only
	StackType_STACK_TYPE_UNSPECIFIED StackType = 0
	// Cluster is IPV4 only
	StackType_IPV4 StackType = 1
	// Cluster can use both IPv4 and IPv6
	StackType_IPV4_IPV6 StackType = 2
)

func (StackType) Descriptor

func (StackType) Descriptor() protoreflect.EnumDescriptor

func (StackType) Enum

func (x StackType) Enum() *StackType

func (StackType) EnumDescriptor deprecated

func (StackType) EnumDescriptor() ([]byte, []int)

Deprecated: Use StackType.Descriptor instead.

func (StackType) Number

func (x StackType) Number() protoreflect.EnumNumber

func (StackType) String

func (x StackType) String() string

func (StackType) Type

type StartIPRotationRequest

type StartIPRotationRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The name (project, location, cluster name) of the cluster to start IP
	// rotation. Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Whether to rotate credentials during IP rotation.
	RotateCredentials bool `protobuf:"varint,7,opt,name=rotate_credentials,json=rotateCredentials,proto3" json:"rotate_credentials,omitempty"`
	// contains filtered or unexported fields
}

StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.

func (*StartIPRotationRequest) Descriptor deprecated

func (*StartIPRotationRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartIPRotationRequest.ProtoReflect.Descriptor instead.

func (*StartIPRotationRequest) GetClusterId deprecated

func (x *StartIPRotationRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*StartIPRotationRequest) GetName

func (x *StartIPRotationRequest) GetName() string

func (*StartIPRotationRequest) GetProjectId deprecated

func (x *StartIPRotationRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*StartIPRotationRequest) GetRotateCredentials

func (x *StartIPRotationRequest) GetRotateCredentials() bool

func (*StartIPRotationRequest) GetZone deprecated

func (x *StartIPRotationRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*StartIPRotationRequest) ProtoMessage

func (*StartIPRotationRequest) ProtoMessage()

func (*StartIPRotationRequest) ProtoReflect

func (x *StartIPRotationRequest) ProtoReflect() protoreflect.Message

func (*StartIPRotationRequest) Reset

func (x *StartIPRotationRequest) Reset()

func (*StartIPRotationRequest) String

func (x *StartIPRotationRequest) String() string

type StatefulHAConfig added in v1.31.0

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 deprecated added in v1.31.0

func (*StatefulHAConfig) Descriptor() ([]byte, []int)

Deprecated: Use StatefulHAConfig.ProtoReflect.Descriptor instead.

func (*StatefulHAConfig) GetEnabled added in v1.31.0

func (x *StatefulHAConfig) GetEnabled() bool

func (*StatefulHAConfig) ProtoMessage added in v1.31.0

func (*StatefulHAConfig) ProtoMessage()

func (*StatefulHAConfig) ProtoReflect added in v1.31.0

func (x *StatefulHAConfig) ProtoReflect() protoreflect.Message

func (*StatefulHAConfig) Reset added in v1.31.0

func (x *StatefulHAConfig) Reset()

func (*StatefulHAConfig) String added in v1.31.0

func (x *StatefulHAConfig) String() string

type StatusCondition

type StatusCondition struct {

	// Machine-friendly representation of the condition
	// Deprecated. Use canonical_code instead.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Code StatusCondition_Code `protobuf:"varint,1,opt,name=code,proto3,enum=google.container.v1.StatusCondition_Code" json:"code,omitempty"`
	// Human-friendly representation of the condition
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Canonical code of the condition.
	CanonicalCode code.Code `protobuf:"varint,3,opt,name=canonical_code,json=canonicalCode,proto3,enum=google.rpc.Code" json:"canonical_code,omitempty"`
	// contains filtered or unexported fields
}

StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).

func (*StatusCondition) Descriptor deprecated

func (*StatusCondition) Descriptor() ([]byte, []int)

Deprecated: Use StatusCondition.ProtoReflect.Descriptor instead.

func (*StatusCondition) GetCanonicalCode

func (x *StatusCondition) GetCanonicalCode() code.Code

func (*StatusCondition) GetCode deprecated

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*StatusCondition) GetMessage

func (x *StatusCondition) GetMessage() string

func (*StatusCondition) ProtoMessage

func (*StatusCondition) ProtoMessage()

func (*StatusCondition) ProtoReflect

func (x *StatusCondition) ProtoReflect() protoreflect.Message

func (*StatusCondition) Reset

func (x *StatusCondition) Reset()

func (*StatusCondition) String

func (x *StatusCondition) String() string

type StatusCondition_Code

type StatusCondition_Code int32

Code for each condition

const (
	// UNKNOWN indicates a generic condition.
	StatusCondition_UNKNOWN StatusCondition_Code = 0
	// GCE_STOCKOUT indicates that Google Compute Engine resources are
	// temporarily unavailable.
	StatusCondition_GCE_STOCKOUT StatusCondition_Code = 1
	// GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot
	// service account.
	StatusCondition_GKE_SERVICE_ACCOUNT_DELETED StatusCondition_Code = 2
	// Google Compute Engine quota was exceeded.
	StatusCondition_GCE_QUOTA_EXCEEDED StatusCondition_Code = 3
	// Cluster state was manually changed by an SRE due to a system logic error.
	StatusCondition_SET_BY_OPERATOR StatusCondition_Code = 4
	// Unable to perform an encrypt operation against the CloudKMS key used for
	// etcd level encryption.
	StatusCondition_CLOUD_KMS_KEY_ERROR StatusCondition_Code = 7
	// Cluster CA is expiring soon.
	StatusCondition_CA_EXPIRING StatusCondition_Code = 9
)

func (StatusCondition_Code) Descriptor

func (StatusCondition_Code) Enum

func (StatusCondition_Code) EnumDescriptor deprecated

func (StatusCondition_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use StatusCondition_Code.Descriptor instead.

func (StatusCondition_Code) Number

func (StatusCondition_Code) String

func (x StatusCondition_Code) String() string

func (StatusCondition_Code) Type

type TimeWindow

type TimeWindow struct {

	// Types that are assignable to Options:
	//
	//	*TimeWindow_MaintenanceExclusionOptions
	Options isTimeWindow_Options `protobuf_oneof:"options"`
	// The time that the window first starts.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time that the window ends. The end time should take place after the
	// start time.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Represents an arbitrary window of time.

func (*TimeWindow) Descriptor deprecated

func (*TimeWindow) Descriptor() ([]byte, []int)

Deprecated: Use TimeWindow.ProtoReflect.Descriptor instead.

func (*TimeWindow) GetEndTime

func (x *TimeWindow) GetEndTime() *timestamppb.Timestamp

func (*TimeWindow) GetMaintenanceExclusionOptions

func (x *TimeWindow) GetMaintenanceExclusionOptions() *MaintenanceExclusionOptions

func (*TimeWindow) GetOptions

func (m *TimeWindow) GetOptions() isTimeWindow_Options

func (*TimeWindow) GetStartTime

func (x *TimeWindow) GetStartTime() *timestamppb.Timestamp

func (*TimeWindow) ProtoMessage

func (*TimeWindow) ProtoMessage()

func (*TimeWindow) ProtoReflect

func (x *TimeWindow) ProtoReflect() protoreflect.Message

func (*TimeWindow) Reset

func (x *TimeWindow) Reset()

func (*TimeWindow) String

func (x *TimeWindow) String() string

type TimeWindow_MaintenanceExclusionOptions

type TimeWindow_MaintenanceExclusionOptions struct {
	// MaintenanceExclusionOptions provides maintenance exclusion related
	// options.
	MaintenanceExclusionOptions *MaintenanceExclusionOptions `protobuf:"bytes,3,opt,name=maintenance_exclusion_options,json=maintenanceExclusionOptions,proto3,oneof"`
}

type UnimplementedClusterManagerServer

type UnimplementedClusterManagerServer struct {
}

UnimplementedClusterManagerServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterManagerServer) CancelOperation

func (*UnimplementedClusterManagerServer) CheckAutopilotCompatibility added in v1.21.0

func (*UnimplementedClusterManagerServer) CompleteIPRotation

func (*UnimplementedClusterManagerServer) CompleteNodePoolUpgrade

func (*UnimplementedClusterManagerServer) CreateCluster

func (*UnimplementedClusterManagerServer) CreateNodePool

func (*UnimplementedClusterManagerServer) DeleteCluster

func (*UnimplementedClusterManagerServer) DeleteNodePool

func (*UnimplementedClusterManagerServer) GetCluster

func (*UnimplementedClusterManagerServer) GetJSONWebKeys

func (*UnimplementedClusterManagerServer) GetNodePool

func (*UnimplementedClusterManagerServer) GetOperation

func (*UnimplementedClusterManagerServer) GetServerConfig

func (*UnimplementedClusterManagerServer) ListClusters

func (*UnimplementedClusterManagerServer) ListNodePools

func (*UnimplementedClusterManagerServer) ListOperations

func (*UnimplementedClusterManagerServer) ListUsableSubnetworks

func (*UnimplementedClusterManagerServer) RollbackNodePoolUpgrade

func (*UnimplementedClusterManagerServer) SetAddonsConfig

func (*UnimplementedClusterManagerServer) SetLabels

func (*UnimplementedClusterManagerServer) SetLegacyAbac

func (*UnimplementedClusterManagerServer) SetLocations

func (*UnimplementedClusterManagerServer) SetLoggingService

func (*UnimplementedClusterManagerServer) SetMaintenancePolicy

func (*UnimplementedClusterManagerServer) SetMasterAuth

func (*UnimplementedClusterManagerServer) SetMonitoringService

func (*UnimplementedClusterManagerServer) SetNetworkPolicy

func (*UnimplementedClusterManagerServer) SetNodePoolAutoscaling

func (*UnimplementedClusterManagerServer) SetNodePoolManagement

func (*UnimplementedClusterManagerServer) SetNodePoolSize

func (*UnimplementedClusterManagerServer) StartIPRotation

func (*UnimplementedClusterManagerServer) UpdateCluster

func (*UnimplementedClusterManagerServer) UpdateMaster

func (*UnimplementedClusterManagerServer) UpdateNodePool

type 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 deprecated

func (*UpdateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetClusterId deprecated

func (x *UpdateClusterRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateClusterRequest) GetName

func (x *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetProjectId deprecated

func (x *UpdateClusterRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateClusterRequest) GetUpdate

func (x *UpdateClusterRequest) GetUpdate() *ClusterUpdate

func (*UpdateClusterRequest) GetZone deprecated

func (x *UpdateClusterRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateMasterRequest

type UpdateMasterRequest struct {

	// Deprecated. The Google Developers Console [project ID or project
	// number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Deprecated. The name of the Google Compute Engine
	// [zone](https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster resides. This field has been deprecated and replaced by the name
	// field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Deprecated. The name of the cluster to upgrade.
	// This field has been deprecated and replaced by the name field.
	//
	// Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.
	ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The Kubernetes version to change the master to.
	//
	// Users may specify either explicit versions offered by Kubernetes Engine or
	// version aliases, which have the following behavior:
	//
	// - "latest": picks the highest valid Kubernetes version
	// - "1.X": picks the highest valid patch+gke.N patch in the 1.X version
	// - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version
	// - "1.X.Y-gke.N": picks an explicit Kubernetes version
	// - "-": picks the default Kubernetes version
	MasterVersion string `protobuf:"bytes,4,opt,name=master_version,json=masterVersion,proto3" json:"master_version,omitempty"`
	// The name (project, location, cluster) of the cluster to update.
	// Specified in the format `projects/*/locations/*/clusters/*`.
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

UpdateMasterRequest updates the master of the cluster.

func (*UpdateMasterRequest) Descriptor deprecated

func (*UpdateMasterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMasterRequest.ProtoReflect.Descriptor instead.

func (*UpdateMasterRequest) GetClusterId deprecated

func (x *UpdateMasterRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateMasterRequest) GetMasterVersion

func (x *UpdateMasterRequest) GetMasterVersion() string

func (*UpdateMasterRequest) GetName

func (x *UpdateMasterRequest) GetName() string

func (*UpdateMasterRequest) GetProjectId deprecated

func (x *UpdateMasterRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateMasterRequest) GetZone deprecated

func (x *UpdateMasterRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateMasterRequest) ProtoMessage

func (*UpdateMasterRequest) ProtoMessage()

func (*UpdateMasterRequest) ProtoReflect

func (x *UpdateMasterRequest) ProtoReflect() protoreflect.Message

func (*UpdateMasterRequest) Reset

func (x *UpdateMasterRequest) Reset()

func (*UpdateMasterRequest) String

func (x *UpdateMasterRequest) String() string

type UpdateNodePoolRequest

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.
	Locations []string `protobuf:"bytes,13,rep,name=locations,proto3" json:"locations,omitempty"`
	// The desired workload metadata config for the node pool.
	WorkloadMetadataConfig *WorkloadMetadataConfig `` /* 130-byte string literal not displayed */
	// 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"`
	// contains filtered or unexported fields
}

UpdateNodePoolRequests update a node pool's image and/or version.

func (*UpdateNodePoolRequest) Descriptor deprecated

func (*UpdateNodePoolRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateNodePoolRequest.ProtoReflect.Descriptor instead.

func (*UpdateNodePoolRequest) GetAccelerators added in v1.36.0

func (x *UpdateNodePoolRequest) GetAccelerators() []*AcceleratorConfig

func (*UpdateNodePoolRequest) GetClusterId deprecated

func (x *UpdateNodePoolRequest) GetClusterId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateNodePoolRequest) GetConfidentialNodes

func (x *UpdateNodePoolRequest) GetConfidentialNodes() *ConfidentialNodes

func (*UpdateNodePoolRequest) GetContainerdConfig added in v1.36.0

func (x *UpdateNodePoolRequest) GetContainerdConfig() *ContainerdConfig

func (*UpdateNodePoolRequest) GetDiskSizeGb added in v1.26.0

func (x *UpdateNodePoolRequest) GetDiskSizeGb() int64

func (*UpdateNodePoolRequest) GetDiskType added in v1.26.0

func (x *UpdateNodePoolRequest) GetDiskType() string

func (*UpdateNodePoolRequest) GetEtag added in v1.10.0

func (x *UpdateNodePoolRequest) GetEtag() string

func (*UpdateNodePoolRequest) GetFastSocket added in v1.9.0

func (x *UpdateNodePoolRequest) GetFastSocket() *FastSocket

func (*UpdateNodePoolRequest) GetGcfsConfig

func (x *UpdateNodePoolRequest) GetGcfsConfig() *GcfsConfig

func (*UpdateNodePoolRequest) GetGvnic

func (x *UpdateNodePoolRequest) GetGvnic() *VirtualNIC

func (*UpdateNodePoolRequest) GetImageType

func (x *UpdateNodePoolRequest) GetImageType() string

func (*UpdateNodePoolRequest) GetKubeletConfig

func (x *UpdateNodePoolRequest) GetKubeletConfig() *NodeKubeletConfig

func (*UpdateNodePoolRequest) GetLabels

func (x *UpdateNodePoolRequest) GetLabels() *NodeLabels

func (*UpdateNodePoolRequest) GetLinuxNodeConfig

func (x *UpdateNodePoolRequest) GetLinuxNodeConfig() *LinuxNodeConfig

func (*UpdateNodePoolRequest) GetLocations

func (x *UpdateNodePoolRequest) GetLocations() []string

func (*UpdateNodePoolRequest) GetLoggingConfig

func (x *UpdateNodePoolRequest) GetLoggingConfig() *NodePoolLoggingConfig

func (*UpdateNodePoolRequest) GetMachineType added in v1.26.0

func (x *UpdateNodePoolRequest) GetMachineType() string

func (*UpdateNodePoolRequest) GetName

func (x *UpdateNodePoolRequest) GetName() string

func (*UpdateNodePoolRequest) GetNodeNetworkConfig

func (x *UpdateNodePoolRequest) GetNodeNetworkConfig() *NodeNetworkConfig

func (*UpdateNodePoolRequest) GetNodePoolId deprecated

func (x *UpdateNodePoolRequest) GetNodePoolId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateNodePoolRequest) GetNodeVersion

func (x *UpdateNodePoolRequest) GetNodeVersion() string

func (*UpdateNodePoolRequest) GetProjectId deprecated

func (x *UpdateNodePoolRequest) GetProjectId() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateNodePoolRequest) GetQueuedProvisioning added in v1.32.0

func (x *UpdateNodePoolRequest) GetQueuedProvisioning() *NodePool_QueuedProvisioning

func (*UpdateNodePoolRequest) GetResourceLabels added in v1.8.0

func (x *UpdateNodePoolRequest) GetResourceLabels() *ResourceLabels

func (*UpdateNodePoolRequest) GetResourceManagerTags added in v1.27.0

func (x *UpdateNodePoolRequest) GetResourceManagerTags() *ResourceManagerTags

func (*UpdateNodePoolRequest) GetTags

func (x *UpdateNodePoolRequest) GetTags() *NetworkTags

func (*UpdateNodePoolRequest) GetTaints

func (x *UpdateNodePoolRequest) GetTaints() *NodeTaints

func (*UpdateNodePoolRequest) GetUpgradeSettings

func (x *UpdateNodePoolRequest) GetUpgradeSettings() *NodePool_UpgradeSettings

func (*UpdateNodePoolRequest) GetWindowsNodeConfig added in v1.10.0

func (x *UpdateNodePoolRequest) GetWindowsNodeConfig() *WindowsNodeConfig

func (*UpdateNodePoolRequest) GetWorkloadMetadataConfig

func (x *UpdateNodePoolRequest) GetWorkloadMetadataConfig() *WorkloadMetadataConfig

func (*UpdateNodePoolRequest) GetZone deprecated

func (x *UpdateNodePoolRequest) GetZone() string

Deprecated: Marked as deprecated in google/container/v1/cluster_service.proto.

func (*UpdateNodePoolRequest) ProtoMessage

func (*UpdateNodePoolRequest) ProtoMessage()

func (*UpdateNodePoolRequest) ProtoReflect

func (x *UpdateNodePoolRequest) ProtoReflect() protoreflect.Message

func (*UpdateNodePoolRequest) Reset

func (x *UpdateNodePoolRequest) Reset()

func (*UpdateNodePoolRequest) String

func (x *UpdateNodePoolRequest) String() string

type UpgradeAvailableEvent

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 `` /* 143-byte string literal not displayed */
	// 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 deprecated

func (*UpgradeAvailableEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeAvailableEvent.ProtoReflect.Descriptor instead.

func (*UpgradeAvailableEvent) GetReleaseChannel

func (x *UpgradeAvailableEvent) GetReleaseChannel() *ReleaseChannel

func (*UpgradeAvailableEvent) GetResource

func (x *UpgradeAvailableEvent) GetResource() string

func (*UpgradeAvailableEvent) GetResourceType

func (x *UpgradeAvailableEvent) GetResourceType() UpgradeResourceType

func (*UpgradeAvailableEvent) GetVersion

func (x *UpgradeAvailableEvent) GetVersion() string

func (*UpgradeAvailableEvent) ProtoMessage

func (*UpgradeAvailableEvent) ProtoMessage()

func (*UpgradeAvailableEvent) ProtoReflect

func (x *UpgradeAvailableEvent) ProtoReflect() protoreflect.Message

func (*UpgradeAvailableEvent) Reset

func (x *UpgradeAvailableEvent) Reset()

func (*UpgradeAvailableEvent) String

func (x *UpgradeAvailableEvent) String() string

type UpgradeEvent

type UpgradeEvent struct {

	// The resource type that is upgrading.
	ResourceType UpgradeResourceType `` /* 143-byte string literal not displayed */
	// The operation associated with this upgrade.
	Operation string `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"`
	// The time when the operation was started.
	OperationStartTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=operation_start_time,json=operationStartTime,proto3" json:"operation_start_time,omitempty"`
	// The current version before the upgrade.
	CurrentVersion string `protobuf:"bytes,4,opt,name=current_version,json=currentVersion,proto3" json:"current_version,omitempty"`
	// The target version for the upgrade.
	TargetVersion string `protobuf:"bytes,5,opt,name=target_version,json=targetVersion,proto3" json:"target_version,omitempty"`
	// Optional relative path to the resource. For example in node pool upgrades,
	// the relative path of the node pool.
	Resource string `protobuf:"bytes,6,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.

func (*UpgradeEvent) Descriptor deprecated

func (*UpgradeEvent) Descriptor() ([]byte, []int)

Deprecated: Use UpgradeEvent.ProtoReflect.Descriptor instead.

func (*UpgradeEvent) GetCurrentVersion

func (x *UpgradeEvent) GetCurrentVersion() string

func (*UpgradeEvent) GetOperation

func (x *UpgradeEvent) GetOperation() string

func (*UpgradeEvent) GetOperationStartTime

func (x *UpgradeEvent) GetOperationStartTime() *timestamppb.Timestamp

func (*UpgradeEvent) GetResource

func (x *UpgradeEvent) GetResource() string

func (*UpgradeEvent) GetResourceType

func (x *UpgradeEvent) GetResourceType() UpgradeResourceType

func (*UpgradeEvent) GetTargetVersion

func (x *UpgradeEvent) GetTargetVersion() string

func (*UpgradeEvent) ProtoMessage

func (*UpgradeEvent) ProtoMessage()

func (*UpgradeEvent) ProtoReflect

func (x *UpgradeEvent) ProtoReflect() protoreflect.Message

func (*UpgradeEvent) Reset

func (x *UpgradeEvent) Reset()

func (*UpgradeEvent) String

func (x *UpgradeEvent) String() string

type UpgradeResourceType

type UpgradeResourceType int32

UpgradeResourceType is the resource type that is upgrading. It is used in upgrade notifications.

const (
	// Default value. This shouldn't be used.
	UpgradeResourceType_UPGRADE_RESOURCE_TYPE_UNSPECIFIED UpgradeResourceType = 0
	// Master / control plane
	UpgradeResourceType_MASTER UpgradeResourceType = 1
	// Node pool
	UpgradeResourceType_NODE_POOL UpgradeResourceType = 2
)

func (UpgradeResourceType) Descriptor

func (UpgradeResourceType) Enum

func (UpgradeResourceType) EnumDescriptor deprecated

func (UpgradeResourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpgradeResourceType.Descriptor instead.

func (UpgradeResourceType) Number

func (UpgradeResourceType) String

func (x UpgradeResourceType) String() string

func (UpgradeResourceType) Type

type UsableSubnetwork

type UsableSubnetwork struct {

	// Subnetwork Name.
	// Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
	Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// Network Name.
	// Example: projects/my-project/global/networks/my-network
	Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
	// The range of internal addresses that are owned by this subnetwork.
	IpCidrRange string `protobuf:"bytes,3,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
	// Secondary IP ranges.
	SecondaryIpRanges []*UsableSubnetworkSecondaryRange `protobuf:"bytes,4,rep,name=secondary_ip_ranges,json=secondaryIpRanges,proto3" json:"secondary_ip_ranges,omitempty"`
	// A human readable status message representing the reasons for cases where
	// the caller cannot use the secondary ranges under the subnet. For example if
	// the secondary_ip_ranges is empty due to a permission issue, an insufficient
	// permission message will be given by status_message.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.

func (*UsableSubnetwork) Descriptor deprecated

func (*UsableSubnetwork) Descriptor() ([]byte, []int)

Deprecated: Use UsableSubnetwork.ProtoReflect.Descriptor instead.

func (*UsableSubnetwork) GetIpCidrRange

func (x *UsableSubnetwork) GetIpCidrRange() string

func (*UsableSubnetwork) GetNetwork

func (x *UsableSubnetwork) GetNetwork() string

func (*UsableSubnetwork) GetSecondaryIpRanges

func (x *UsableSubnetwork) GetSecondaryIpRanges() []*UsableSubnetworkSecondaryRange

func (*UsableSubnetwork) GetStatusMessage

func (x *UsableSubnetwork) GetStatusMessage() string

func (*UsableSubnetwork) GetSubnetwork

func (x *UsableSubnetwork) GetSubnetwork() string

func (*UsableSubnetwork) ProtoMessage

func (*UsableSubnetwork) ProtoMessage()

func (*UsableSubnetwork) ProtoReflect

func (x *UsableSubnetwork) ProtoReflect() protoreflect.Message

func (*UsableSubnetwork) Reset

func (x *UsableSubnetwork) Reset()

func (*UsableSubnetwork) String

func (x *UsableSubnetwork) String() string

type UsableSubnetworkSecondaryRange

type UsableSubnetworkSecondaryRange struct {

	// The name associated with this subnetwork secondary range, used when adding
	// an alias IP range to a VM instance.
	RangeName string `protobuf:"bytes,1,opt,name=range_name,json=rangeName,proto3" json:"range_name,omitempty"`
	// The range of IP addresses belonging to this subnetwork secondary range.
	IpCidrRange string `protobuf:"bytes,2,opt,name=ip_cidr_range,json=ipCidrRange,proto3" json:"ip_cidr_range,omitempty"`
	// This field is to determine the status of the secondary range programmably.
	Status UsableSubnetworkSecondaryRange_Status `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Secondary IP range of a usable subnetwork.

func (*UsableSubnetworkSecondaryRange) Descriptor deprecated

func (*UsableSubnetworkSecondaryRange) Descriptor() ([]byte, []int)

Deprecated: Use UsableSubnetworkSecondaryRange.ProtoReflect.Descriptor instead.

func (*UsableSubnetworkSecondaryRange) GetIpCidrRange

func (x *UsableSubnetworkSecondaryRange) GetIpCidrRange() string

func (*UsableSubnetworkSecondaryRange) GetRangeName

func (x *UsableSubnetworkSecondaryRange) GetRangeName() string

func (*UsableSubnetworkSecondaryRange) GetStatus

func (*UsableSubnetworkSecondaryRange) ProtoMessage

func (*UsableSubnetworkSecondaryRange) ProtoMessage()

func (*UsableSubnetworkSecondaryRange) ProtoReflect

func (*UsableSubnetworkSecondaryRange) Reset

func (x *UsableSubnetworkSecondaryRange) Reset()

func (*UsableSubnetworkSecondaryRange) String

type UsableSubnetworkSecondaryRange_Status

type UsableSubnetworkSecondaryRange_Status int32

Status shows the current usage of a secondary IP range.

const (
	// UNKNOWN is the zero value of the Status enum. It's not a valid status.
	UsableSubnetworkSecondaryRange_UNKNOWN UsableSubnetworkSecondaryRange_Status = 0
	// UNUSED denotes that this range is unclaimed by any cluster.
	UsableSubnetworkSecondaryRange_UNUSED UsableSubnetworkSecondaryRange_Status = 1
	// IN_USE_SERVICE denotes that this range is claimed by cluster(s) for
	// services. User-managed services range can be shared between clusters
	// within the same subnetwork.
	UsableSubnetworkSecondaryRange_IN_USE_SERVICE UsableSubnetworkSecondaryRange_Status = 2
	// IN_USE_SHAREABLE_POD denotes this range was created by the network admin
	// and is currently claimed by a cluster for pods. It can only be used by
	// other clusters as a pod range.
	UsableSubnetworkSecondaryRange_IN_USE_SHAREABLE_POD UsableSubnetworkSecondaryRange_Status = 3
	// IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed
	// for pods. It cannot be used for other clusters.
	UsableSubnetworkSecondaryRange_IN_USE_MANAGED_POD UsableSubnetworkSecondaryRange_Status = 4
)

func (UsableSubnetworkSecondaryRange_Status) Descriptor

func (UsableSubnetworkSecondaryRange_Status) Enum

func (UsableSubnetworkSecondaryRange_Status) EnumDescriptor deprecated

func (UsableSubnetworkSecondaryRange_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use UsableSubnetworkSecondaryRange_Status.Descriptor instead.

func (UsableSubnetworkSecondaryRange_Status) Number

func (UsableSubnetworkSecondaryRange_Status) String

func (UsableSubnetworkSecondaryRange_Status) Type

type VerticalPodAutoscaling

type VerticalPodAutoscaling struct {

	// Enables vertical pod autoscaling.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.

func (*VerticalPodAutoscaling) Descriptor deprecated

func (*VerticalPodAutoscaling) Descriptor() ([]byte, []int)

Deprecated: Use VerticalPodAutoscaling.ProtoReflect.Descriptor instead.

func (*VerticalPodAutoscaling) GetEnabled

func (x *VerticalPodAutoscaling) GetEnabled() bool

func (*VerticalPodAutoscaling) ProtoMessage

func (*VerticalPodAutoscaling) ProtoMessage()

func (*VerticalPodAutoscaling) ProtoReflect

func (x *VerticalPodAutoscaling) ProtoReflect() protoreflect.Message

func (*VerticalPodAutoscaling) Reset

func (x *VerticalPodAutoscaling) Reset()

func (*VerticalPodAutoscaling) String

func (x *VerticalPodAutoscaling) String() string

type VirtualNIC

type VirtualNIC struct {

	// Whether gVNIC features are enabled in the node pool.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration of gVNIC feature.

func (*VirtualNIC) Descriptor deprecated

func (*VirtualNIC) Descriptor() ([]byte, []int)

Deprecated: Use VirtualNIC.ProtoReflect.Descriptor instead.

func (*VirtualNIC) GetEnabled

func (x *VirtualNIC) GetEnabled() bool

func (*VirtualNIC) ProtoMessage

func (*VirtualNIC) ProtoMessage()

func (*VirtualNIC) ProtoReflect

func (x *VirtualNIC) ProtoReflect() protoreflect.Message

func (*VirtualNIC) Reset

func (x *VirtualNIC) Reset()

func (*VirtualNIC) String

func (x *VirtualNIC) String() string

type WindowsNodeConfig added in v1.10.0

type WindowsNodeConfig struct {

	// OSVersion specifies the Windows node config to be used on the node
	OsVersion WindowsNodeConfig_OSVersion `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings

func (*WindowsNodeConfig) Descriptor deprecated added in v1.10.0

func (*WindowsNodeConfig) Descriptor() ([]byte, []int)

Deprecated: Use WindowsNodeConfig.ProtoReflect.Descriptor instead.

func (*WindowsNodeConfig) GetOsVersion added in v1.10.0

func (*WindowsNodeConfig) ProtoMessage added in v1.10.0

func (*WindowsNodeConfig) ProtoMessage()

func (*WindowsNodeConfig) ProtoReflect added in v1.10.0

func (x *WindowsNodeConfig) ProtoReflect() protoreflect.Message

func (*WindowsNodeConfig) Reset added in v1.10.0

func (x *WindowsNodeConfig) Reset()

func (*WindowsNodeConfig) String added in v1.10.0

func (x *WindowsNodeConfig) String() string

type WindowsNodeConfig_OSVersion added in v1.10.0

type WindowsNodeConfig_OSVersion int32

Possible OS version that can be used.

const (
	// When OSVersion is not specified
	WindowsNodeConfig_OS_VERSION_UNSPECIFIED WindowsNodeConfig_OSVersion = 0
	// LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image
	WindowsNodeConfig_OS_VERSION_LTSC2019 WindowsNodeConfig_OSVersion = 1
	// LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image
	WindowsNodeConfig_OS_VERSION_LTSC2022 WindowsNodeConfig_OSVersion = 2
)

func (WindowsNodeConfig_OSVersion) Descriptor added in v1.10.0

func (WindowsNodeConfig_OSVersion) Enum added in v1.10.0

func (WindowsNodeConfig_OSVersion) EnumDescriptor deprecated added in v1.10.0

func (WindowsNodeConfig_OSVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use WindowsNodeConfig_OSVersion.Descriptor instead.

func (WindowsNodeConfig_OSVersion) Number added in v1.10.0

func (WindowsNodeConfig_OSVersion) String added in v1.10.0

func (WindowsNodeConfig_OSVersion) Type added in v1.10.0

type WorkloadIdentityConfig

type WorkloadIdentityConfig struct {

	// The workload pool to attach all Kubernetes service accounts to.
	WorkloadPool string `protobuf:"bytes,2,opt,name=workload_pool,json=workloadPool,proto3" json:"workload_pool,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.

func (*WorkloadIdentityConfig) Descriptor deprecated

func (*WorkloadIdentityConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkloadIdentityConfig.ProtoReflect.Descriptor instead.

func (*WorkloadIdentityConfig) GetWorkloadPool

func (x *WorkloadIdentityConfig) GetWorkloadPool() string

func (*WorkloadIdentityConfig) ProtoMessage

func (*WorkloadIdentityConfig) ProtoMessage()

func (*WorkloadIdentityConfig) ProtoReflect

func (x *WorkloadIdentityConfig) ProtoReflect() protoreflect.Message

func (*WorkloadIdentityConfig) Reset

func (x *WorkloadIdentityConfig) Reset()

func (*WorkloadIdentityConfig) String

func (x *WorkloadIdentityConfig) String() string

type WorkloadMetadataConfig

type WorkloadMetadataConfig struct {

	// Mode is the configuration for how to expose metadata to workloads running
	// on the node pool.
	Mode WorkloadMetadataConfig_Mode `protobuf:"varint,2,opt,name=mode,proto3,enum=google.container.v1.WorkloadMetadataConfig_Mode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.

func (*WorkloadMetadataConfig) Descriptor deprecated

func (*WorkloadMetadataConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkloadMetadataConfig.ProtoReflect.Descriptor instead.

func (*WorkloadMetadataConfig) GetMode

func (*WorkloadMetadataConfig) ProtoMessage

func (*WorkloadMetadataConfig) ProtoMessage()

func (*WorkloadMetadataConfig) ProtoReflect

func (x *WorkloadMetadataConfig) ProtoReflect() protoreflect.Message

func (*WorkloadMetadataConfig) Reset

func (x *WorkloadMetadataConfig) Reset()

func (*WorkloadMetadataConfig) String

func (x *WorkloadMetadataConfig) String() string

type WorkloadMetadataConfig_Mode

type WorkloadMetadataConfig_Mode int32

Mode is the configuration for how to expose metadata to workloads running on the node.

const (
	// Not set.
	WorkloadMetadataConfig_MODE_UNSPECIFIED WorkloadMetadataConfig_Mode = 0
	// Expose all Compute Engine metadata to pods.
	WorkloadMetadataConfig_GCE_METADATA WorkloadMetadataConfig_Mode = 1
	// Run the GKE Metadata Server on this node. The GKE Metadata Server exposes
	// a metadata API to workloads that is compatible with the V1 Compute
	// Metadata APIs exposed by the Compute Engine and App Engine Metadata
	// Servers. This feature can only be enabled if Workload Identity is enabled
	// at the cluster level.
	WorkloadMetadataConfig_GKE_METADATA WorkloadMetadataConfig_Mode = 2
)

func (WorkloadMetadataConfig_Mode) Descriptor

func (WorkloadMetadataConfig_Mode) Enum

func (WorkloadMetadataConfig_Mode) EnumDescriptor deprecated

func (WorkloadMetadataConfig_Mode) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkloadMetadataConfig_Mode.Descriptor instead.

func (WorkloadMetadataConfig_Mode) Number

func (WorkloadMetadataConfig_Mode) String

func (WorkloadMetadataConfig_Mode) Type

type WorkloadPolicyConfig added in v1.22.0

type WorkloadPolicyConfig struct {

	// If true, workloads can use NET_ADMIN capability.
	AllowNetAdmin *bool `protobuf:"varint,1,opt,name=allow_net_admin,json=allowNetAdmin,proto3,oneof" json:"allow_net_admin,omitempty"`
	// contains filtered or unexported fields
}

WorkloadPolicyConfig is the configuration of workload policy for autopilot clusters.

func (*WorkloadPolicyConfig) Descriptor deprecated added in v1.22.0

func (*WorkloadPolicyConfig) Descriptor() ([]byte, []int)

Deprecated: Use WorkloadPolicyConfig.ProtoReflect.Descriptor instead.

func (*WorkloadPolicyConfig) GetAllowNetAdmin added in v1.22.0

func (x *WorkloadPolicyConfig) GetAllowNetAdmin() bool

func (*WorkloadPolicyConfig) ProtoMessage added in v1.22.0

func (*WorkloadPolicyConfig) ProtoMessage()

func (*WorkloadPolicyConfig) ProtoReflect added in v1.22.0

func (x *WorkloadPolicyConfig) ProtoReflect() protoreflect.Message

func (*WorkloadPolicyConfig) Reset added in v1.22.0

func (x *WorkloadPolicyConfig) Reset()

func (*WorkloadPolicyConfig) String added in v1.22.0

func (x *WorkloadPolicyConfig) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL