Documentation
¶
Overview ¶
Package container provides access to the Kubernetes Engine API.
For product documentation, see: https://cloud.google.com/container-engine/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/container/v1" ... ctx := context.Background() containerService, err := container.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
containerService, err := container.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) containerService, err := container.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AcceleratorConfig
- type AdditionalNodeNetworkConfig
- type AdditionalPodNetworkConfig
- type AdditionalPodRangesConfig
- type AddonsConfig
- type AdvancedDatapathObservabilityConfig
- type AdvancedMachineFeatures
- type AuthenticatorGroupsConfig
- type AutoUpgradeOptions
- type Autopilot
- type AutopilotCompatibilityIssue
- type AutoprovisioningNodePoolDefaults
- type BestEffortProvisioning
- type BigQueryDestination
- type BinaryAuthorization
- type BlueGreenInfo
- type BlueGreenSettings
- type CancelOperationRequest
- type CheckAutopilotCompatibilityResponse
- type CidrBlock
- type ClientCertificateConfig
- type CloudRunConfig
- type Cluster
- type ClusterAutoscaling
- type ClusterNetworkPerformanceConfig
- type ClusterUpdate
- type CompleteIPRotationRequest
- type CompleteNodePoolUpgradeRequest
- type ConfidentialNodes
- type ConfigConnectorConfig
- type ConsumptionMeteringConfig
- type CostManagementConfig
- type CreateClusterRequest
- type CreateNodePoolRequest
- type DNSConfig
- type DailyMaintenanceWindow
- type DatabaseEncryption
- type DefaultSnatStatus
- type DnsCacheConfig
- type Empty
- type EphemeralStorageLocalSsdConfig
- type FastSocket
- type Filter
- type Fleet
- type GPUDriverInstallationConfig
- type GPUSharingConfig
- type GatewayAPIConfig
- type GcePersistentDiskCsiDriverConfig
- type GcfsConfig
- type GcpFilestoreCsiDriverConfig
- type GcsFuseCsiDriverConfig
- type GetJSONWebKeysResponse
- type GetOpenIDConfigResponse
- type GkeBackupAgentConfig
- type HorizontalPodAutoscaling
- type HttpCacheControlResponseHeader
- type HttpLoadBalancing
- type ILBSubsettingConfig
- type IPAllocationPolicy
- type IdentityServiceConfig
- type IntraNodeVisibilityConfig
- type Jwk
- type K8sBetaAPIConfig
- type KubernetesDashboard
- type LegacyAbac
- type LinuxNodeConfig
- type ListClustersResponse
- type ListNodePoolsResponse
- type ListOperationsResponse
- type ListUsableSubnetworksResponse
- type LocalNvmeSsdBlockConfig
- type LoggingComponentConfig
- type LoggingConfig
- type LoggingVariantConfig
- type MaintenanceExclusionOptions
- type MaintenancePolicy
- type MaintenanceWindow
- type ManagedPrometheusConfig
- type MasterAuth
- type MasterAuthorizedNetworksConfig
- type MaxPodsConstraint
- type MeshCertificates
- type Metric
- type MonitoringComponentConfig
- type MonitoringConfig
- type NetworkConfig
- type NetworkPerformanceConfig
- type NetworkPolicy
- type NetworkPolicyConfig
- type NetworkTags
- type NodeAffinity
- type NodeConfig
- type NodeConfigDefaults
- type NodeKubeletConfig
- type NodeLabels
- type NodeManagement
- type NodeNetworkConfig
- type NodePool
- type NodePoolAutoConfig
- type NodePoolAutoscaling
- type NodePoolDefaults
- type NodePoolLoggingConfig
- type NodeTaint
- type NodeTaints
- type NotificationConfig
- type Operation
- type OperationProgress
- type PlacementPolicy
- type PodCIDROverprovisionConfig
- type PrivateClusterConfig
- type PrivateClusterMasterGlobalAccessConfig
- type ProjectsAggregatedService
- type ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Context(ctx context.Context) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Do(opts ...googleapi.CallOption) (*ListUsableSubnetworksResponse, error)
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Fields(s ...googleapi.Field) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Filter(filter string) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header
- func (c *ProjectsAggregatedUsableSubnetworksListCall) IfNoneMatch(entityTag string) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) PageSize(pageSize int64) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) PageToken(pageToken string) *ProjectsAggregatedUsableSubnetworksListCall
- func (c *ProjectsAggregatedUsableSubnetworksListCall) Pages(ctx context.Context, f func(*ListUsableSubnetworksResponse) error) error
- type ProjectsAggregatedUsableSubnetworksService
- type ProjectsLocationsClustersCheckAutopilotCompatibilityCall
- func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Context(ctx context.Context) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
- func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Do(opts ...googleapi.CallOption) (*CheckAutopilotCompatibilityResponse, error)
- func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
- func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Header() http.Header
- func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
- type ProjectsLocationsClustersCompleteIpRotationCall
- func (c *ProjectsLocationsClustersCompleteIpRotationCall) Context(ctx context.Context) *ProjectsLocationsClustersCompleteIpRotationCall
- func (c *ProjectsLocationsClustersCompleteIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersCompleteIpRotationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCompleteIpRotationCall
- func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header
- type ProjectsLocationsClustersCreateCall
- func (c *ProjectsLocationsClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsClustersCreateCall
- func (c *ProjectsLocationsClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCreateCall
- func (c *ProjectsLocationsClustersCreateCall) Header() http.Header
- type ProjectsLocationsClustersDeleteCall
- func (c *ProjectsLocationsClustersDeleteCall) ClusterId(clusterId string) *ProjectsLocationsClustersDeleteCall
- func (c *ProjectsLocationsClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsClustersDeleteCall
- func (c *ProjectsLocationsClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersDeleteCall
- func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsClustersDeleteCall) ProjectId(projectId string) *ProjectsLocationsClustersDeleteCall
- func (c *ProjectsLocationsClustersDeleteCall) Zone(zone string) *ProjectsLocationsClustersDeleteCall
- type ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) ClusterId(clusterId string) *ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) Context(ctx context.Context) *ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster, error)
- func (c *ProjectsLocationsClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) ProjectId(projectId string) *ProjectsLocationsClustersGetCall
- func (c *ProjectsLocationsClustersGetCall) Zone(zone string) *ProjectsLocationsClustersGetCall
- type ProjectsLocationsClustersGetJwksCall
- func (c *ProjectsLocationsClustersGetJwksCall) Context(ctx context.Context) *ProjectsLocationsClustersGetJwksCall
- func (c *ProjectsLocationsClustersGetJwksCall) Do(opts ...googleapi.CallOption) (*GetJSONWebKeysResponse, error)
- func (c *ProjectsLocationsClustersGetJwksCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersGetJwksCall
- func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header
- func (c *ProjectsLocationsClustersGetJwksCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersGetJwksCall
- type ProjectsLocationsClustersListCall
- func (c *ProjectsLocationsClustersListCall) Context(ctx context.Context) *ProjectsLocationsClustersListCall
- func (c *ProjectsLocationsClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse, error)
- func (c *ProjectsLocationsClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersListCall
- func (c *ProjectsLocationsClustersListCall) Header() http.Header
- func (c *ProjectsLocationsClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersListCall
- func (c *ProjectsLocationsClustersListCall) ProjectId(projectId string) *ProjectsLocationsClustersListCall
- func (c *ProjectsLocationsClustersListCall) Zone(zone string) *ProjectsLocationsClustersListCall
- type ProjectsLocationsClustersNodePoolsCompleteUpgradeCall
- func (c *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall
- func (c *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall
- func (c *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsCreateCall
- func (c *ProjectsLocationsClustersNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsCreateCall
- func (c *ProjectsLocationsClustersNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsCreateCall
- func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) NodePoolId(nodePoolId string) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsDeleteCall
- type ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*NodePool, error)
- func (c *ProjectsLocationsClustersNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsClustersNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) NodePoolId(nodePoolId string) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsGetCall
- func (c *ProjectsLocationsClustersNodePoolsGetCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsGetCall
- type ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListNodePoolsResponse, error)
- func (c *ProjectsLocationsClustersNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsClustersNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsListCall
- func (c *ProjectsLocationsClustersNodePoolsListCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsListCall
- type ProjectsLocationsClustersNodePoolsRollbackCall
- func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsRollbackCall
- func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsRollbackCall
- func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsService
- func (r *ProjectsLocationsClustersNodePoolsService) CompleteUpgrade(name string, completenodepoolupgraderequest *CompleteNodePoolUpgradeRequest) *ProjectsLocationsClustersNodePoolsCompleteUpgradeCall
- func (r *ProjectsLocationsClustersNodePoolsService) Create(parent string, createnodepoolrequest *CreateNodePoolRequest) *ProjectsLocationsClustersNodePoolsCreateCall
- func (r *ProjectsLocationsClustersNodePoolsService) Delete(name string) *ProjectsLocationsClustersNodePoolsDeleteCall
- func (r *ProjectsLocationsClustersNodePoolsService) Get(name string) *ProjectsLocationsClustersNodePoolsGetCall
- func (r *ProjectsLocationsClustersNodePoolsService) List(parent string) *ProjectsLocationsClustersNodePoolsListCall
- func (r *ProjectsLocationsClustersNodePoolsService) Rollback(name string, rollbacknodepoolupgraderequest *RollbackNodePoolUpgradeRequest) *ProjectsLocationsClustersNodePoolsRollbackCall
- func (r *ProjectsLocationsClustersNodePoolsService) SetAutoscaling(name string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
- func (r *ProjectsLocationsClustersNodePoolsService) SetManagement(name string, setnodepoolmanagementrequest *SetNodePoolManagementRequest) *ProjectsLocationsClustersNodePoolsSetManagementCall
- func (r *ProjectsLocationsClustersNodePoolsService) SetSize(name string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsLocationsClustersNodePoolsSetSizeCall
- func (r *ProjectsLocationsClustersNodePoolsService) Update(name string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsLocationsClustersNodePoolsUpdateCall
- type ProjectsLocationsClustersNodePoolsSetAutoscalingCall
- func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
- func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
- func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsSetManagementCall
- func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetManagementCall
- func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetManagementCall
- func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsSetSizeCall
- func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetSizeCall
- func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetSizeCall
- func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header
- type ProjectsLocationsClustersNodePoolsUpdateCall
- func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsUpdateCall
- func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsUpdateCall
- func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header
- type ProjectsLocationsClustersService
- func (r *ProjectsLocationsClustersService) CheckAutopilotCompatibility(name string) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
- func (r *ProjectsLocationsClustersService) CompleteIpRotation(name string, completeiprotationrequest *CompleteIPRotationRequest) *ProjectsLocationsClustersCompleteIpRotationCall
- func (r *ProjectsLocationsClustersService) Create(parent string, createclusterrequest *CreateClusterRequest) *ProjectsLocationsClustersCreateCall
- func (r *ProjectsLocationsClustersService) Delete(name string) *ProjectsLocationsClustersDeleteCall
- func (r *ProjectsLocationsClustersService) Get(name string) *ProjectsLocationsClustersGetCall
- func (r *ProjectsLocationsClustersService) GetJwks(parent string) *ProjectsLocationsClustersGetJwksCall
- func (r *ProjectsLocationsClustersService) List(parent string) *ProjectsLocationsClustersListCall
- func (r *ProjectsLocationsClustersService) SetAddons(name string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsLocationsClustersSetAddonsCall
- func (r *ProjectsLocationsClustersService) SetLegacyAbac(name string, setlegacyabacrequest *SetLegacyAbacRequest) *ProjectsLocationsClustersSetLegacyAbacCall
- func (r *ProjectsLocationsClustersService) SetLocations(name string, setlocationsrequest *SetLocationsRequest) *ProjectsLocationsClustersSetLocationsCall
- func (r *ProjectsLocationsClustersService) SetLogging(name string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsLocationsClustersSetLoggingCall
- func (r *ProjectsLocationsClustersService) SetMaintenancePolicy(name string, setmaintenancepolicyrequest *SetMaintenancePolicyRequest) *ProjectsLocationsClustersSetMaintenancePolicyCall
- func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall
- func (r *ProjectsLocationsClustersService) SetMonitoring(name string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsLocationsClustersSetMonitoringCall
- func (r *ProjectsLocationsClustersService) SetNetworkPolicy(name string, setnetworkpolicyrequest *SetNetworkPolicyRequest) *ProjectsLocationsClustersSetNetworkPolicyCall
- func (r *ProjectsLocationsClustersService) SetResourceLabels(name string, setlabelsrequest *SetLabelsRequest) *ProjectsLocationsClustersSetResourceLabelsCall
- func (r *ProjectsLocationsClustersService) StartIpRotation(name string, startiprotationrequest *StartIPRotationRequest) *ProjectsLocationsClustersStartIpRotationCall
- func (r *ProjectsLocationsClustersService) Update(name string, updateclusterrequest *UpdateClusterRequest) *ProjectsLocationsClustersUpdateCall
- func (r *ProjectsLocationsClustersService) UpdateMaster(name string, updatemasterrequest *UpdateMasterRequest) *ProjectsLocationsClustersUpdateMasterCall
- type ProjectsLocationsClustersSetAddonsCall
- func (c *ProjectsLocationsClustersSetAddonsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetAddonsCall
- func (c *ProjectsLocationsClustersSetAddonsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetAddonsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetAddonsCall
- func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header
- type ProjectsLocationsClustersSetLegacyAbacCall
- func (c *ProjectsLocationsClustersSetLegacyAbacCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLegacyAbacCall
- func (c *ProjectsLocationsClustersSetLegacyAbacCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetLegacyAbacCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLegacyAbacCall
- func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header
- type ProjectsLocationsClustersSetLocationsCall
- func (c *ProjectsLocationsClustersSetLocationsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLocationsCall
- func (c *ProjectsLocationsClustersSetLocationsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetLocationsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLocationsCall
- func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header
- type ProjectsLocationsClustersSetLoggingCall
- func (c *ProjectsLocationsClustersSetLoggingCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLoggingCall
- func (c *ProjectsLocationsClustersSetLoggingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetLoggingCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLoggingCall
- func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header
- type ProjectsLocationsClustersSetMaintenancePolicyCall
- func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMaintenancePolicyCall
- func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMaintenancePolicyCall
- func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header
- type ProjectsLocationsClustersSetMasterAuthCall
- func (c *ProjectsLocationsClustersSetMasterAuthCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMasterAuthCall
- func (c *ProjectsLocationsClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetMasterAuthCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMasterAuthCall
- func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header
- type ProjectsLocationsClustersSetMonitoringCall
- func (c *ProjectsLocationsClustersSetMonitoringCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMonitoringCall
- func (c *ProjectsLocationsClustersSetMonitoringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetMonitoringCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMonitoringCall
- func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header
- type ProjectsLocationsClustersSetNetworkPolicyCall
- func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Context(ctx context.Context) *ProjectsLocationsClustersSetNetworkPolicyCall
- func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetNetworkPolicyCall
- func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header
- type ProjectsLocationsClustersSetResourceLabelsCall
- func (c *ProjectsLocationsClustersSetResourceLabelsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetResourceLabelsCall
- func (c *ProjectsLocationsClustersSetResourceLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersSetResourceLabelsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetResourceLabelsCall
- func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header
- type ProjectsLocationsClustersStartIpRotationCall
- func (c *ProjectsLocationsClustersStartIpRotationCall) Context(ctx context.Context) *ProjectsLocationsClustersStartIpRotationCall
- func (c *ProjectsLocationsClustersStartIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersStartIpRotationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersStartIpRotationCall
- func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header
- type ProjectsLocationsClustersUpdateCall
- func (c *ProjectsLocationsClustersUpdateCall) Context(ctx context.Context) *ProjectsLocationsClustersUpdateCall
- func (c *ProjectsLocationsClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersUpdateCall
- func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header
- type ProjectsLocationsClustersUpdateMasterCall
- func (c *ProjectsLocationsClustersUpdateMasterCall) Context(ctx context.Context) *ProjectsLocationsClustersUpdateMasterCall
- func (c *ProjectsLocationsClustersUpdateMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsClustersUpdateMasterCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersUpdateMasterCall
- func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header
- type ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
- func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Context(ctx context.Context) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
- func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Do(opts ...googleapi.CallOption) (*GetOpenIDConfigResponse, error)
- func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
- func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() http.Header
- func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
- type ProjectsLocationsClustersWellKnownService
- type ProjectsLocationsGetServerConfigCall
- func (c *ProjectsLocationsGetServerConfigCall) Context(ctx context.Context) *ProjectsLocationsGetServerConfigCall
- func (c *ProjectsLocationsGetServerConfigCall) Do(opts ...googleapi.CallOption) (*ServerConfig, error)
- func (c *ProjectsLocationsGetServerConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetServerConfigCall
- func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header
- func (c *ProjectsLocationsGetServerConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetServerConfigCall
- func (c *ProjectsLocationsGetServerConfigCall) ProjectId(projectId string) *ProjectsLocationsGetServerConfigCall
- func (c *ProjectsLocationsGetServerConfigCall) Zone(zone string) *ProjectsLocationsGetServerConfigCall
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) OperationId(operationId string) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) ProjectId(projectId string) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Zone(zone string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) ProjectId(projectId string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Zone(zone string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(parent string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsService
- type ProjectsZonesClustersAddonsCall
- func (c *ProjectsZonesClustersAddonsCall) Context(ctx context.Context) *ProjectsZonesClustersAddonsCall
- func (c *ProjectsZonesClustersAddonsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersAddonsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersAddonsCall
- func (c *ProjectsZonesClustersAddonsCall) Header() http.Header
- type ProjectsZonesClustersCompleteIpRotationCall
- func (c *ProjectsZonesClustersCompleteIpRotationCall) Context(ctx context.Context) *ProjectsZonesClustersCompleteIpRotationCall
- func (c *ProjectsZonesClustersCompleteIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersCompleteIpRotationCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersCompleteIpRotationCall
- func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header
- type ProjectsZonesClustersCreateCall
- func (c *ProjectsZonesClustersCreateCall) Context(ctx context.Context) *ProjectsZonesClustersCreateCall
- func (c *ProjectsZonesClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersCreateCall
- func (c *ProjectsZonesClustersCreateCall) Header() http.Header
- type ProjectsZonesClustersDeleteCall
- func (c *ProjectsZonesClustersDeleteCall) Context(ctx context.Context) *ProjectsZonesClustersDeleteCall
- func (c *ProjectsZonesClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersDeleteCall
- func (c *ProjectsZonesClustersDeleteCall) Header() http.Header
- func (c *ProjectsZonesClustersDeleteCall) Name(name string) *ProjectsZonesClustersDeleteCall
- type ProjectsZonesClustersGetCall
- func (c *ProjectsZonesClustersGetCall) Context(ctx context.Context) *ProjectsZonesClustersGetCall
- func (c *ProjectsZonesClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster, error)
- func (c *ProjectsZonesClustersGetCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersGetCall
- func (c *ProjectsZonesClustersGetCall) Header() http.Header
- func (c *ProjectsZonesClustersGetCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersGetCall
- func (c *ProjectsZonesClustersGetCall) Name(name string) *ProjectsZonesClustersGetCall
- type ProjectsZonesClustersLegacyAbacCall
- func (c *ProjectsZonesClustersLegacyAbacCall) Context(ctx context.Context) *ProjectsZonesClustersLegacyAbacCall
- func (c *ProjectsZonesClustersLegacyAbacCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersLegacyAbacCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLegacyAbacCall
- func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header
- type ProjectsZonesClustersListCall
- func (c *ProjectsZonesClustersListCall) Context(ctx context.Context) *ProjectsZonesClustersListCall
- func (c *ProjectsZonesClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse, error)
- func (c *ProjectsZonesClustersListCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersListCall
- func (c *ProjectsZonesClustersListCall) Header() http.Header
- func (c *ProjectsZonesClustersListCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersListCall
- func (c *ProjectsZonesClustersListCall) Parent(parent string) *ProjectsZonesClustersListCall
- type ProjectsZonesClustersLocationsCall
- func (c *ProjectsZonesClustersLocationsCall) Context(ctx context.Context) *ProjectsZonesClustersLocationsCall
- func (c *ProjectsZonesClustersLocationsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersLocationsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLocationsCall
- func (c *ProjectsZonesClustersLocationsCall) Header() http.Header
- type ProjectsZonesClustersLoggingCall
- func (c *ProjectsZonesClustersLoggingCall) Context(ctx context.Context) *ProjectsZonesClustersLoggingCall
- func (c *ProjectsZonesClustersLoggingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersLoggingCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLoggingCall
- func (c *ProjectsZonesClustersLoggingCall) Header() http.Header
- type ProjectsZonesClustersMasterCall
- func (c *ProjectsZonesClustersMasterCall) Context(ctx context.Context) *ProjectsZonesClustersMasterCall
- func (c *ProjectsZonesClustersMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersMasterCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersMasterCall
- func (c *ProjectsZonesClustersMasterCall) Header() http.Header
- type ProjectsZonesClustersMonitoringCall
- func (c *ProjectsZonesClustersMonitoringCall) Context(ctx context.Context) *ProjectsZonesClustersMonitoringCall
- func (c *ProjectsZonesClustersMonitoringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersMonitoringCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersMonitoringCall
- func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsAutoscalingCall
- func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsAutoscalingCall
- func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsAutoscalingCall
- func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsCreateCall
- func (c *ProjectsZonesClustersNodePoolsCreateCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsCreateCall
- func (c *ProjectsZonesClustersNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsCreateCall
- func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsDeleteCall
- func (c *ProjectsZonesClustersNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsDeleteCall
- func (c *ProjectsZonesClustersNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsDeleteCall
- func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsZonesClustersNodePoolsDeleteCall) Name(name string) *ProjectsZonesClustersNodePoolsDeleteCall
- type ProjectsZonesClustersNodePoolsGetCall
- func (c *ProjectsZonesClustersNodePoolsGetCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsGetCall
- func (c *ProjectsZonesClustersNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*NodePool, error)
- func (c *ProjectsZonesClustersNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsGetCall
- func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header
- func (c *ProjectsZonesClustersNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersNodePoolsGetCall
- func (c *ProjectsZonesClustersNodePoolsGetCall) Name(name string) *ProjectsZonesClustersNodePoolsGetCall
- type ProjectsZonesClustersNodePoolsListCall
- func (c *ProjectsZonesClustersNodePoolsListCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsListCall
- func (c *ProjectsZonesClustersNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListNodePoolsResponse, error)
- func (c *ProjectsZonesClustersNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsListCall
- func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header
- func (c *ProjectsZonesClustersNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersNodePoolsListCall
- func (c *ProjectsZonesClustersNodePoolsListCall) Parent(parent string) *ProjectsZonesClustersNodePoolsListCall
- type ProjectsZonesClustersNodePoolsRollbackCall
- func (c *ProjectsZonesClustersNodePoolsRollbackCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsRollbackCall
- func (c *ProjectsZonesClustersNodePoolsRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsRollbackCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsRollbackCall
- func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsService
- func (r *ProjectsZonesClustersNodePoolsService) Autoscaling(projectId string, zone string, clusterId string, nodePoolId string, ...) *ProjectsZonesClustersNodePoolsAutoscalingCall
- func (r *ProjectsZonesClustersNodePoolsService) Create(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersNodePoolsCreateCall
- func (r *ProjectsZonesClustersNodePoolsService) Delete(projectId string, zone string, clusterId string, nodePoolId string) *ProjectsZonesClustersNodePoolsDeleteCall
- func (r *ProjectsZonesClustersNodePoolsService) Get(projectId string, zone string, clusterId string, nodePoolId string) *ProjectsZonesClustersNodePoolsGetCall
- func (r *ProjectsZonesClustersNodePoolsService) List(projectId string, zone string, clusterId string) *ProjectsZonesClustersNodePoolsListCall
- func (r *ProjectsZonesClustersNodePoolsService) Rollback(projectId string, zone string, clusterId string, nodePoolId string, ...) *ProjectsZonesClustersNodePoolsRollbackCall
- func (r *ProjectsZonesClustersNodePoolsService) SetManagement(projectId string, zone string, clusterId string, nodePoolId string, ...) *ProjectsZonesClustersNodePoolsSetManagementCall
- func (r *ProjectsZonesClustersNodePoolsService) SetSize(projectId string, zone string, clusterId string, nodePoolId string, ...) *ProjectsZonesClustersNodePoolsSetSizeCall
- func (r *ProjectsZonesClustersNodePoolsService) Update(projectId string, zone string, clusterId string, nodePoolId string, ...) *ProjectsZonesClustersNodePoolsUpdateCall
- type ProjectsZonesClustersNodePoolsSetManagementCall
- func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsSetManagementCall
- func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsSetManagementCall
- func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsSetSizeCall
- func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsSetSizeCall
- func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsSetSizeCall
- func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header
- type ProjectsZonesClustersNodePoolsUpdateCall
- func (c *ProjectsZonesClustersNodePoolsUpdateCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsUpdateCall
- func (c *ProjectsZonesClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersNodePoolsUpdateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsUpdateCall
- func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header
- type ProjectsZonesClustersResourceLabelsCall
- func (c *ProjectsZonesClustersResourceLabelsCall) Context(ctx context.Context) *ProjectsZonesClustersResourceLabelsCall
- func (c *ProjectsZonesClustersResourceLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersResourceLabelsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersResourceLabelsCall
- func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header
- type ProjectsZonesClustersService
- func (r *ProjectsZonesClustersService) Addons(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersAddonsCall
- func (r *ProjectsZonesClustersService) CompleteIpRotation(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersCompleteIpRotationCall
- func (r *ProjectsZonesClustersService) Create(projectId string, zone string, createclusterrequest *CreateClusterRequest) *ProjectsZonesClustersCreateCall
- func (r *ProjectsZonesClustersService) Delete(projectId string, zone string, clusterId string) *ProjectsZonesClustersDeleteCall
- func (r *ProjectsZonesClustersService) Get(projectId string, zone string, clusterId string) *ProjectsZonesClustersGetCall
- func (r *ProjectsZonesClustersService) LegacyAbac(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersLegacyAbacCall
- func (r *ProjectsZonesClustersService) List(projectId string, zone string) *ProjectsZonesClustersListCall
- func (r *ProjectsZonesClustersService) Locations(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersLocationsCall
- func (r *ProjectsZonesClustersService) Logging(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersLoggingCall
- func (r *ProjectsZonesClustersService) Master(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersMasterCall
- func (r *ProjectsZonesClustersService) Monitoring(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersMonitoringCall
- func (r *ProjectsZonesClustersService) ResourceLabels(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersResourceLabelsCall
- func (r *ProjectsZonesClustersService) SetMaintenancePolicy(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersSetMaintenancePolicyCall
- func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersSetMasterAuthCall
- func (r *ProjectsZonesClustersService) SetNetworkPolicy(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersSetNetworkPolicyCall
- func (r *ProjectsZonesClustersService) StartIpRotation(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersStartIpRotationCall
- func (r *ProjectsZonesClustersService) Update(projectId string, zone string, clusterId string, ...) *ProjectsZonesClustersUpdateCall
- type ProjectsZonesClustersSetMaintenancePolicyCall
- func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Context(ctx context.Context) *ProjectsZonesClustersSetMaintenancePolicyCall
- func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetMaintenancePolicyCall
- func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header
- type ProjectsZonesClustersSetMasterAuthCall
- func (c *ProjectsZonesClustersSetMasterAuthCall) Context(ctx context.Context) *ProjectsZonesClustersSetMasterAuthCall
- func (c *ProjectsZonesClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersSetMasterAuthCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetMasterAuthCall
- func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header
- type ProjectsZonesClustersSetNetworkPolicyCall
- func (c *ProjectsZonesClustersSetNetworkPolicyCall) Context(ctx context.Context) *ProjectsZonesClustersSetNetworkPolicyCall
- func (c *ProjectsZonesClustersSetNetworkPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersSetNetworkPolicyCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetNetworkPolicyCall
- func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header
- type ProjectsZonesClustersStartIpRotationCall
- func (c *ProjectsZonesClustersStartIpRotationCall) Context(ctx context.Context) *ProjectsZonesClustersStartIpRotationCall
- func (c *ProjectsZonesClustersStartIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersStartIpRotationCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersStartIpRotationCall
- func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header
- type ProjectsZonesClustersUpdateCall
- func (c *ProjectsZonesClustersUpdateCall) Context(ctx context.Context) *ProjectsZonesClustersUpdateCall
- func (c *ProjectsZonesClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesClustersUpdateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersUpdateCall
- func (c *ProjectsZonesClustersUpdateCall) Header() http.Header
- type ProjectsZonesGetServerconfigCall
- func (c *ProjectsZonesGetServerconfigCall) Context(ctx context.Context) *ProjectsZonesGetServerconfigCall
- func (c *ProjectsZonesGetServerconfigCall) Do(opts ...googleapi.CallOption) (*ServerConfig, error)
- func (c *ProjectsZonesGetServerconfigCall) Fields(s ...googleapi.Field) *ProjectsZonesGetServerconfigCall
- func (c *ProjectsZonesGetServerconfigCall) Header() http.Header
- func (c *ProjectsZonesGetServerconfigCall) IfNoneMatch(entityTag string) *ProjectsZonesGetServerconfigCall
- func (c *ProjectsZonesGetServerconfigCall) Name(name string) *ProjectsZonesGetServerconfigCall
- type ProjectsZonesOperationsCancelCall
- func (c *ProjectsZonesOperationsCancelCall) Context(ctx context.Context) *ProjectsZonesOperationsCancelCall
- func (c *ProjectsZonesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsZonesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsCancelCall
- func (c *ProjectsZonesOperationsCancelCall) Header() http.Header
- type ProjectsZonesOperationsGetCall
- func (c *ProjectsZonesOperationsGetCall) Context(ctx context.Context) *ProjectsZonesOperationsGetCall
- func (c *ProjectsZonesOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsZonesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsGetCall
- func (c *ProjectsZonesOperationsGetCall) Header() http.Header
- func (c *ProjectsZonesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsZonesOperationsGetCall
- func (c *ProjectsZonesOperationsGetCall) Name(name string) *ProjectsZonesOperationsGetCall
- type ProjectsZonesOperationsListCall
- func (c *ProjectsZonesOperationsListCall) Context(ctx context.Context) *ProjectsZonesOperationsListCall
- func (c *ProjectsZonesOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsZonesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsListCall
- func (c *ProjectsZonesOperationsListCall) Header() http.Header
- func (c *ProjectsZonesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsZonesOperationsListCall
- func (c *ProjectsZonesOperationsListCall) Parent(parent string) *ProjectsZonesOperationsListCall
- type ProjectsZonesOperationsService
- func (r *ProjectsZonesOperationsService) Cancel(projectId string, zone string, operationId string, ...) *ProjectsZonesOperationsCancelCall
- func (r *ProjectsZonesOperationsService) Get(projectId string, zone string, operationId string) *ProjectsZonesOperationsGetCall
- func (r *ProjectsZonesOperationsService) List(projectId string, zone string) *ProjectsZonesOperationsListCall
- type ProjectsZonesService
- type PubSub
- type RangeInfo
- type RecurringTimeWindow
- type ReleaseChannel
- type ReleaseChannelConfig
- type ReservationAffinity
- type ResourceLabels
- type ResourceLimit
- type ResourceUsageExportConfig
- type RollbackNodePoolUpgradeRequest
- type SandboxConfig
- type SecurityBulletinEvent
- type SecurityPostureConfig
- type ServerConfig
- type Service
- type ServiceExternalIPsConfig
- type SetAddonsConfigRequest
- type SetLabelsRequest
- type SetLegacyAbacRequest
- type SetLocationsRequest
- type SetLoggingServiceRequest
- type SetMaintenancePolicyRequest
- type SetMasterAuthRequest
- type SetMonitoringServiceRequest
- type SetNetworkPolicyRequest
- type SetNodePoolAutoscalingRequest
- type SetNodePoolManagementRequest
- type SetNodePoolSizeRequest
- type ShieldedInstanceConfig
- type ShieldedNodes
- type SoleTenantConfig
- type StandardRolloutPolicy
- type StartIPRotationRequest
- type Status
- type StatusCondition
- type TimeWindow
- type UpdateClusterRequest
- type UpdateInfo
- type UpdateMasterRequest
- type UpdateNodePoolRequest
- type UpgradeAvailableEvent
- type UpgradeEvent
- type UpgradeSettings
- type UsableSubnetwork
- type UsableSubnetworkSecondaryRange
- type VerticalPodAutoscaling
- type VirtualNIC
- type WindowsNodeConfig
- type WorkloadIdentityConfig
- type WorkloadMetadataConfig
- type WorkloadPolicyConfig
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceleratorConfig ¶
type AcceleratorConfig struct { // AcceleratorCount: The number of the accelerator cards exposed to an // instance. AcceleratorCount int64 `json:"acceleratorCount,omitempty,string"` // AcceleratorType: The accelerator type resource name. List of // supported accelerators here // (https://cloud.google.com/compute/docs/gpus) AcceleratorType string `json:"acceleratorType,omitempty"` // GpuDriverInstallationConfig: The configuration for auto installation // of GPU driver. GpuDriverInstallationConfig *GPUDriverInstallationConfig `json:"gpuDriverInstallationConfig,omitempty"` // GpuPartitionSize: 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 `json:"gpuPartitionSize,omitempty"` // GpuSharingConfig: The configuration for GPU sharing options. GpuSharingConfig *GPUSharingConfig `json:"gpuSharingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceleratorCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceleratorCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AcceleratorConfig: AcceleratorConfig represents a Hardware Accelerator request.
func (*AcceleratorConfig) MarshalJSON ¶
func (s *AcceleratorConfig) MarshalJSON() ([]byte, error)
type AdditionalNodeNetworkConfig ¶ added in v0.132.0
type AdditionalNodeNetworkConfig struct { // Network: Name of the VPC where the additional interface belongs Network string `json:"network,omitempty"` // Subnetwork: Name of the subnetwork where the additional interface // belongs Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "Network") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Network") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AdditionalNodeNetworkConfig: AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message
func (*AdditionalNodeNetworkConfig) MarshalJSON ¶ added in v0.132.0
func (s *AdditionalNodeNetworkConfig) MarshalJSON() ([]byte, error)
type AdditionalPodNetworkConfig ¶ added in v0.132.0
type AdditionalPodNetworkConfig struct { // MaxPodsPerNode: The maximum number of pods per node which use this // pod network MaxPodsPerNode *MaxPodsConstraint `json:"maxPodsPerNode,omitempty"` // SecondaryPodRange: The name of the secondary range on the subnet // which provides IP address for this pod range SecondaryPodRange string `json:"secondaryPodRange,omitempty"` // Subnetwork: Name of the subnetwork where the additional pod network // belongs Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxPodsPerNode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AdditionalPodNetworkConfig: AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message
func (*AdditionalPodNetworkConfig) MarshalJSON ¶ added in v0.132.0
func (s *AdditionalPodNetworkConfig) MarshalJSON() ([]byte, error)
type AdditionalPodRangesConfig ¶ added in v0.116.0
type AdditionalPodRangesConfig struct { // PodRangeInfo: Output only. [Output only] Information for additional // pod range. PodRangeInfo []*RangeInfo `json:"podRangeInfo,omitempty"` // PodRangeNames: Name for pod secondary ipv4 range which has the actual // range defined ahead. PodRangeNames []string `json:"podRangeNames,omitempty"` // ForceSendFields is a list of field names (e.g. "PodRangeInfo") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PodRangeInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AdditionalPodRangesConfig: AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.
func (*AdditionalPodRangesConfig) MarshalJSON ¶ added in v0.119.0
func (s *AdditionalPodRangesConfig) MarshalJSON() ([]byte, error)
type AddonsConfig ¶
type AddonsConfig struct { // CloudRunConfig: Configuration for the Cloud Run addon, which allows // the user to use a managed Knative service. CloudRunConfig *CloudRunConfig `json:"cloudRunConfig,omitempty"` // ConfigConnectorConfig: Configuration for the ConfigConnector add-on, // a Kubernetes extension to manage hosted GCP services through the // Kubernetes API ConfigConnectorConfig *ConfigConnectorConfig `json:"configConnectorConfig,omitempty"` // DnsCacheConfig: Configuration for NodeLocalDNS, a dns cache running // on cluster nodes DnsCacheConfig *DnsCacheConfig `json:"dnsCacheConfig,omitempty"` // GcePersistentDiskCsiDriverConfig: Configuration for the Compute // Engine Persistent Disk CSI driver. GcePersistentDiskCsiDriverConfig *GcePersistentDiskCsiDriverConfig `json:"gcePersistentDiskCsiDriverConfig,omitempty"` // GcpFilestoreCsiDriverConfig: Configuration for the GCP Filestore CSI // driver. GcpFilestoreCsiDriverConfig *GcpFilestoreCsiDriverConfig `json:"gcpFilestoreCsiDriverConfig,omitempty"` // GcsFuseCsiDriverConfig: Configuration for the Cloud Storage Fuse CSI // driver. GcsFuseCsiDriverConfig *GcsFuseCsiDriverConfig `json:"gcsFuseCsiDriverConfig,omitempty"` // GkeBackupAgentConfig: Configuration for the Backup for GKE agent // addon. GkeBackupAgentConfig *GkeBackupAgentConfig `json:"gkeBackupAgentConfig,omitempty"` // HorizontalPodAutoscaling: 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 `json:"horizontalPodAutoscaling,omitempty"` // HttpLoadBalancing: 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 `json:"httpLoadBalancing,omitempty"` // KubernetesDashboard: 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 KubernetesDashboard *KubernetesDashboard `json:"kubernetesDashboard,omitempty"` // NetworkPolicyConfig: 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 `json:"networkPolicyConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRunConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudRunConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AddonsConfig: Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.
func (*AddonsConfig) MarshalJSON ¶
func (s *AddonsConfig) MarshalJSON() ([]byte, error)
type AdvancedDatapathObservabilityConfig ¶ added in v0.131.0
type AdvancedDatapathObservabilityConfig struct { // EnableMetrics: Expose flow metrics on nodes EnableMetrics bool `json:"enableMetrics,omitempty"` // RelayMode: Method used to make Relay available // // Possible values: // "RELAY_MODE_UNSPECIFIED" - Default value. This shouldn't be used. // "DISABLED" - disabled // "INTERNAL_VPC_LB" - exposed via internal load balancer // "EXTERNAL_LB" - exposed via external load balancer RelayMode string `json:"relayMode,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableMetrics") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableMetrics") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AdvancedDatapathObservabilityConfig: AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.
func (*AdvancedDatapathObservabilityConfig) MarshalJSON ¶ added in v0.131.0
func (s *AdvancedDatapathObservabilityConfig) MarshalJSON() ([]byte, error)
type AdvancedMachineFeatures ¶ added in v0.61.0
type AdvancedMachineFeatures struct { // ThreadsPerCore: 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 `json:"threadsPerCore,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ThreadsPerCore") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ThreadsPerCore") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AdvancedMachineFeatures: Specifies options for controlling advanced machine features.
func (*AdvancedMachineFeatures) MarshalJSON ¶ added in v0.61.0
func (s *AdvancedMachineFeatures) MarshalJSON() ([]byte, error)
type AuthenticatorGroupsConfig ¶ added in v0.13.0
type AuthenticatorGroupsConfig struct { // Enabled: Whether this cluster should return group membership lookups // during authentication using a group of security groups. Enabled bool `json:"enabled,omitempty"` // SecurityGroup: The name of the security group-of-groups to be used. // Only relevant if enabled = true. SecurityGroup string `json:"securityGroup,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AuthenticatorGroupsConfig: Configuration for returning group information from authenticators.
func (*AuthenticatorGroupsConfig) MarshalJSON ¶ added in v0.13.0
func (s *AuthenticatorGroupsConfig) MarshalJSON() ([]byte, error)
type AutoUpgradeOptions ¶
type AutoUpgradeOptions struct { // AutoUpgradeStartTime: [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 `json:"autoUpgradeStartTime,omitempty"` // Description: [Output only] This field is set when upgrades are about // to commence with the description of the upgrade. Description string `json:"description,omitempty"` // ForceSendFields is a list of field names (e.g. // "AutoUpgradeStartTime") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoUpgradeStartTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AutoUpgradeOptions: AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.
func (*AutoUpgradeOptions) MarshalJSON ¶
func (s *AutoUpgradeOptions) MarshalJSON() ([]byte, error)
type Autopilot ¶ added in v0.41.0
type Autopilot struct { // Enabled: Enable Autopilot Enabled bool `json:"enabled,omitempty"` // WorkloadPolicyConfig: Workload policy configuration for Autopilot. WorkloadPolicyConfig *WorkloadPolicyConfig `json:"workloadPolicyConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Autopilot: Autopilot is the configuration for Autopilot settings on the cluster.
func (*Autopilot) MarshalJSON ¶ added in v0.41.0
type AutopilotCompatibilityIssue ¶ added in v0.126.0
type AutopilotCompatibilityIssue struct { // ConstraintType: The constraint type of the issue. ConstraintType string `json:"constraintType,omitempty"` // Description: The description of the issue. Description string `json:"description,omitempty"` // DocumentationUrl: A URL to a public documnetation, which addresses // resolving this issue. DocumentationUrl string `json:"documentationUrl,omitempty"` // IncompatibilityType: The incompatibility type of this issue. // // Possible values: // "UNSPECIFIED" - Default value, should not be used. // "INCOMPATIBILITY" - Indicates that the issue is a known // incompatibility between the cluster and Autopilot mode. // "ADDITIONAL_CONFIG_REQUIRED" - Indicates the issue is an // incompatibility if customers take no further action to resolve. // "PASSED_WITH_OPTIONAL_CONFIG" - 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. IncompatibilityType string `json:"incompatibilityType,omitempty"` // LastObservation: The last time when this issue was observed. LastObservation string `json:"lastObservation,omitempty"` // Subjects: The name of the resources which are subject to this issue. Subjects []string `json:"subjects,omitempty"` // ForceSendFields is a list of field names (e.g. "ConstraintType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConstraintType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AutopilotCompatibilityIssue: AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.
func (*AutopilotCompatibilityIssue) MarshalJSON ¶ added in v0.126.0
func (s *AutopilotCompatibilityIssue) MarshalJSON() ([]byte, error)
type AutoprovisioningNodePoolDefaults ¶ added in v0.13.0
type AutoprovisioningNodePoolDefaults struct { // BootDiskKmsKey: 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]/cr // yptoKeys/[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 `json:"bootDiskKmsKey,omitempty"` // DiskSizeGb: 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 int64 `json:"diskSizeGb,omitempty"` // DiskType: 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 `json:"diskType,omitempty"` // ImageType: 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 `json:"imageType,omitempty"` // InsecureKubeletReadonlyPortEnabled: Enable or disable Kubelet read // only port. InsecureKubeletReadonlyPortEnabled bool `json:"insecureKubeletReadonlyPortEnabled,omitempty"` // Management: Specifies the node management options for NAP created // node-pools. Management *NodeManagement `json:"management,omitempty"` // MinCpuPlatform: 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. MinCpuPlatform string `json:"minCpuPlatform,omitempty"` // OauthScopes: Scopes that are used by NAP when creating node pools. OauthScopes []string `json:"oauthScopes,omitempty"` // ServiceAccount: The Google Cloud Platform Service Account to be used // by the node VMs. ServiceAccount string `json:"serviceAccount,omitempty"` // ShieldedInstanceConfig: Shielded Instance options. ShieldedInstanceConfig *ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"` // UpgradeSettings: Specifies the upgrade settings for NAP created node // pools UpgradeSettings *UpgradeSettings `json:"upgradeSettings,omitempty"` // ForceSendFields is a list of field names (e.g. "BootDiskKmsKey") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BootDiskKmsKey") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AutoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
func (*AutoprovisioningNodePoolDefaults) MarshalJSON ¶ added in v0.13.0
func (s *AutoprovisioningNodePoolDefaults) MarshalJSON() ([]byte, error)
type BestEffortProvisioning ¶ added in v0.126.0
type BestEffortProvisioning struct { // Enabled: 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 `json:"enabled,omitempty"` // MinProvisionNodes: 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 int64 `json:"minProvisionNodes,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BestEffortProvisioning: Best effort provisioning.
func (*BestEffortProvisioning) MarshalJSON ¶ added in v0.126.0
func (s *BestEffortProvisioning) MarshalJSON() ([]byte, error)
type BigQueryDestination ¶ added in v0.7.0
type BigQueryDestination struct { // DatasetId: The ID of a BigQuery Dataset. DatasetId string `json:"datasetId,omitempty"` // ForceSendFields is a list of field names (e.g. "DatasetId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatasetId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BigQueryDestination: Parameters for using BigQuery as the destination of resource usage export.
func (*BigQueryDestination) MarshalJSON ¶ added in v0.7.0
func (s *BigQueryDestination) MarshalJSON() ([]byte, error)
type BinaryAuthorization ¶ added in v0.11.0
type BinaryAuthorization struct { // Enabled: 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. Enabled bool `json:"enabled,omitempty"` // EvaluationMode: Mode of operation for binauthz policy evaluation. If // unspecified, defaults to DISABLED. // // Possible values: // "EVALUATION_MODE_UNSPECIFIED" - Default value // "DISABLED" - Disable BinaryAuthorization // "PROJECT_SINGLETON_POLICY_ENFORCE" - Enforce Kubernetes admission // requests with BinaryAuthorization using the project's singleton // policy. This is equivalent to setting the enabled boolean to true. EvaluationMode string `json:"evaluationMode,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BinaryAuthorization: Configuration for Binary Authorization.
func (*BinaryAuthorization) MarshalJSON ¶ added in v0.11.0
func (s *BinaryAuthorization) MarshalJSON() ([]byte, error)
type BlueGreenInfo ¶ added in v0.87.0
type BlueGreenInfo struct { // BlueInstanceGroupUrls: The resource URLs of the [managed instance // groups] // (/compute/docs/instance-groups/creating-groups-of-managed-instances) // associated with blue pool. BlueInstanceGroupUrls []string `json:"blueInstanceGroupUrls,omitempty"` // BluePoolDeletionStartTime: Time to start deleting blue pool to // complete blue-green upgrade, in RFC3339 // (https://www.ietf.org/rfc/rfc3339.txt) text format. BluePoolDeletionStartTime string `json:"bluePoolDeletionStartTime,omitempty"` // GreenInstanceGroupUrls: The resource URLs of the [managed instance // groups] // (/compute/docs/instance-groups/creating-groups-of-managed-instances) // associated with green pool. GreenInstanceGroupUrls []string `json:"greenInstanceGroupUrls,omitempty"` // GreenPoolVersion: Version of green pool. GreenPoolVersion string `json:"greenPoolVersion,omitempty"` // Phase: Current blue-green upgrade phase. // // Possible values: // "PHASE_UNSPECIFIED" - Unspecified phase. // "UPDATE_STARTED" - blue-green upgrade has been initiated. // "CREATING_GREEN_POOL" - Start creating green pool nodes. // "CORDONING_BLUE_POOL" - Start cordoning blue pool nodes. // "DRAINING_BLUE_POOL" - Start draining blue pool nodes. // "NODE_POOL_SOAKING" - Start soaking time after draining entire blue // pool. // "DELETING_BLUE_POOL" - Start deleting blue nodes. // "ROLLBACK_STARTED" - Rollback has been initiated. Phase string `json:"phase,omitempty"` // ForceSendFields is a list of field names (e.g. // "BlueInstanceGroupUrls") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlueInstanceGroupUrls") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
BlueGreenInfo: Information relevant to blue-green upgrade.
func (*BlueGreenInfo) MarshalJSON ¶ added in v0.87.0
func (s *BlueGreenInfo) MarshalJSON() ([]byte, error)
type BlueGreenSettings ¶ added in v0.87.0
type BlueGreenSettings struct { // NodePoolSoakDuration: Time needed after draining entire blue pool. // After this period, blue pool will be cleaned up. NodePoolSoakDuration string `json:"nodePoolSoakDuration,omitempty"` // StandardRolloutPolicy: Standard policy for the blue-green upgrade. StandardRolloutPolicy *StandardRolloutPolicy `json:"standardRolloutPolicy,omitempty"` // ForceSendFields is a list of field names (e.g. // "NodePoolSoakDuration") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodePoolSoakDuration") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
BlueGreenSettings: Settings for blue-green upgrade.
func (*BlueGreenSettings) MarshalJSON ¶ added in v0.87.0
func (s *BlueGreenSettings) MarshalJSON() ([]byte, error)
type CancelOperationRequest ¶
type CancelOperationRequest struct { // Name: The name (project, location, operation id) of the operation to // cancel. Specified in the format // `projects/*/locations/*/operations/*`. Name string `json:"name,omitempty"` // OperationId: Deprecated. The server-assigned `name` of the operation. // This field has been deprecated and replaced by the name field. OperationId string `json:"operationId,omitempty"` // ProjectId: 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. ProjectId string `json:"projectId,omitempty"` // Zone: 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. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CancelOperationRequest: CancelOperationRequest cancels a single operation.
func (*CancelOperationRequest) MarshalJSON ¶
func (s *CancelOperationRequest) MarshalJSON() ([]byte, error)
type CheckAutopilotCompatibilityResponse ¶ added in v0.126.0
type CheckAutopilotCompatibilityResponse struct { // Issues: The list of issues for the given operation. Issues []*AutopilotCompatibilityIssue `json:"issues,omitempty"` // Summary: The summary of the autopilot compatibility response. Summary string `json:"summary,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Issues") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Issues") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CheckAutopilotCompatibilityResponse: CheckAutopilotCompatibilityResponse has a list of compatibility issues.
func (*CheckAutopilotCompatibilityResponse) MarshalJSON ¶ added in v0.126.0
func (s *CheckAutopilotCompatibilityResponse) MarshalJSON() ([]byte, error)
type CidrBlock ¶
type CidrBlock struct { // CidrBlock: cidr_block must be specified in CIDR notation. CidrBlock string `json:"cidrBlock,omitempty"` // DisplayName: display_name is an optional field for users to identify // CIDR blocks. DisplayName string `json:"displayName,omitempty"` // ForceSendFields is a list of field names (e.g. "CidrBlock") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CidrBlock") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CidrBlock: CidrBlock contains an optional name and one CIDR block.
func (*CidrBlock) MarshalJSON ¶
type ClientCertificateConfig ¶
type ClientCertificateConfig struct { // IssueClientCertificate: Issue a client certificate. IssueClientCertificate bool `json:"issueClientCertificate,omitempty"` // ForceSendFields is a list of field names (e.g. // "IssueClientCertificate") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IssueClientCertificate") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ClientCertificateConfig: Configuration for client certificates on the cluster.
func (*ClientCertificateConfig) MarshalJSON ¶
func (s *ClientCertificateConfig) MarshalJSON() ([]byte, error)
type CloudRunConfig ¶ added in v0.15.0
type CloudRunConfig struct { // Disabled: Whether Cloud Run addon is enabled for this cluster. Disabled bool `json:"disabled,omitempty"` // LoadBalancerType: Which load balancer type is installed for Cloud // Run. // // Possible values: // "LOAD_BALANCER_TYPE_UNSPECIFIED" - Load balancer type for Cloud Run // is unspecified. // "LOAD_BALANCER_TYPE_EXTERNAL" - Install external load balancer for // Cloud Run. // "LOAD_BALANCER_TYPE_INTERNAL" - Install internal load balancer for // Cloud Run. LoadBalancerType string `json:"loadBalancerType,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CloudRunConfig: Configuration options for the Cloud Run feature.
func (*CloudRunConfig) MarshalJSON ¶ added in v0.15.0
func (s *CloudRunConfig) MarshalJSON() ([]byte, error)
type Cluster ¶
type Cluster struct { // AddonsConfig: Configurations for the various addons available to run // in the cluster. AddonsConfig *AddonsConfig `json:"addonsConfig,omitempty"` // AuthenticatorGroupsConfig: Configuration controlling RBAC group // membership information. AuthenticatorGroupsConfig *AuthenticatorGroupsConfig `json:"authenticatorGroupsConfig,omitempty"` // Autopilot: Autopilot configuration for the cluster. Autopilot *Autopilot `json:"autopilot,omitempty"` // Autoscaling: Cluster-level autoscaling configuration. Autoscaling *ClusterAutoscaling `json:"autoscaling,omitempty"` // BinaryAuthorization: Configuration for Binary Authorization. BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"` // ClusterIpv4Cidr: 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 `json:"clusterIpv4Cidr,omitempty"` // Conditions: Which conditions caused the current cluster state. Conditions []*StatusCondition `json:"conditions,omitempty"` // ConfidentialNodes: Configuration of Confidential Nodes. All the nodes // in the cluster will be Confidential VM once enabled. ConfidentialNodes *ConfidentialNodes `json:"confidentialNodes,omitempty"` // CostManagementConfig: Configuration for the fine-grained cost // management feature. CostManagementConfig *CostManagementConfig `json:"costManagementConfig,omitempty"` // CreateTime: [Output only] The time the cluster was created, in // RFC3339 (https://www.ietf.org/rfc/rfc3339.txt) text format. CreateTime string `json:"createTime,omitempty"` // CurrentMasterVersion: [Output only] The current software version of // the master endpoint. CurrentMasterVersion string `json:"currentMasterVersion,omitempty"` // CurrentNodeCount: [Output only] The number of nodes currently in the // cluster. Deprecated. Call Kubernetes API directly to retrieve node // information. CurrentNodeCount int64 `json:"currentNodeCount,omitempty"` // CurrentNodeVersion: [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. CurrentNodeVersion string `json:"currentNodeVersion,omitempty"` // DatabaseEncryption: Configuration of etcd encryption. DatabaseEncryption *DatabaseEncryption `json:"databaseEncryption,omitempty"` // DefaultMaxPodsConstraint: 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 `json:"defaultMaxPodsConstraint,omitempty"` // Description: An optional description of this cluster. Description string `json:"description,omitempty"` // EnableK8sBetaApis: Beta APIs Config EnableK8sBetaApis *K8sBetaAPIConfig `json:"enableK8sBetaApis,omitempty"` // EnableKubernetesAlpha: 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 `json:"enableKubernetesAlpha,omitempty"` // EnableTpu: Enable the ability to use Cloud TPUs in this cluster. EnableTpu bool `json:"enableTpu,omitempty"` // Endpoint: [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 `json:"endpoint,omitempty"` // Etag: 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 `json:"etag,omitempty"` // ExpireTime: [Output only] The time the cluster will be automatically // deleted in RFC3339 (https://www.ietf.org/rfc/rfc3339.txt) text // format. ExpireTime string `json:"expireTime,omitempty"` // Fleet: Fleet information for the cluster. Fleet *Fleet `json:"fleet,omitempty"` // Id: Output only. Unique id for the cluster. Id string `json:"id,omitempty"` // IdentityServiceConfig: Configuration for Identity Service component. IdentityServiceConfig *IdentityServiceConfig `json:"identityServiceConfig,omitempty"` // InitialClusterVersion: 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 `json:"initialClusterVersion,omitempty"` // InitialNodeCount: 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. InitialNodeCount int64 `json:"initialNodeCount,omitempty"` // InstanceGroupUrls: Deprecated. Use node_pools.instance_group_urls. InstanceGroupUrls []string `json:"instanceGroupUrls,omitempty"` // IpAllocationPolicy: Configuration for cluster IP allocation. IpAllocationPolicy *IPAllocationPolicy `json:"ipAllocationPolicy,omitempty"` // LabelFingerprint: The fingerprint of the set of labels for this // cluster. LabelFingerprint string `json:"labelFingerprint,omitempty"` // LegacyAbac: Configuration for the legacy ABAC authorization mode. LegacyAbac *LegacyAbac `json:"legacyAbac,omitempty"` // Location: [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 `json:"location,omitempty"` // Locations: 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 `json:"locations,omitempty"` // LoggingConfig: Logging configuration for the cluster. LoggingConfig *LoggingConfig `json:"loggingConfig,omitempty"` // LoggingService: 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 `json:"loggingService,omitempty"` // MaintenancePolicy: Configure the maintenance policy for this cluster. MaintenancePolicy *MaintenancePolicy `json:"maintenancePolicy,omitempty"` // MasterAuth: 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 `json:"masterAuth,omitempty"` // MasterAuthorizedNetworksConfig: The configuration options for master // authorized networks feature. MasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"masterAuthorizedNetworksConfig,omitempty"` // MeshCertificates: Configuration for issuance of mTLS keys and // certificates to Kubernetes pods. MeshCertificates *MeshCertificates `json:"meshCertificates,omitempty"` // MonitoringConfig: Monitoring configuration for the cluster. MonitoringConfig *MonitoringConfig `json:"monitoringConfig,omitempty"` // MonitoringService: 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 `json:"monitoringService,omitempty"` // Name: 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 `json:"name,omitempty"` // Network: 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 `json:"network,omitempty"` // NetworkConfig: Configuration for cluster networking. NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"` // NetworkPolicy: Configuration options for the NetworkPolicy feature. NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"` // NodeConfig: 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. NodeConfig *NodeConfig `json:"nodeConfig,omitempty"` // NodeIpv4CidrSize: [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 int64 `json:"nodeIpv4CidrSize,omitempty"` // NodePoolAutoConfig: Node pool configs that apply to all // auto-provisioned node pools in autopilot clusters and node // auto-provisioning enabled clusters. NodePoolAutoConfig *NodePoolAutoConfig `json:"nodePoolAutoConfig,omitempty"` // NodePoolDefaults: Default NodePool settings for the entire cluster. // These settings are overridden if specified on the specific NodePool // object. NodePoolDefaults *NodePoolDefaults `json:"nodePoolDefaults,omitempty"` // NodePools: The node pools associated with this cluster. This field // should not be set if "node_config" or "initial_node_count" are // specified. NodePools []*NodePool `json:"nodePools,omitempty"` // NotificationConfig: Notification configuration of the cluster. NotificationConfig *NotificationConfig `json:"notificationConfig,omitempty"` // PrivateClusterConfig: Configuration for private cluster. PrivateClusterConfig *PrivateClusterConfig `json:"privateClusterConfig,omitempty"` // ReleaseChannel: 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 `json:"releaseChannel,omitempty"` // ResourceLabels: The resource labels for the cluster to use to // annotate any related Google Compute Engine resources. ResourceLabels map[string]string `json:"resourceLabels,omitempty"` // ResourceUsageExportConfig: Configuration for exporting resource // usages. Resource usage export is disabled when this config is // unspecified. ResourceUsageExportConfig *ResourceUsageExportConfig `json:"resourceUsageExportConfig,omitempty"` // SecurityPostureConfig: Enable/Disable Security Posture API features // for the cluster. SecurityPostureConfig *SecurityPostureConfig `json:"securityPostureConfig,omitempty"` // SelfLink: [Output only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // ServicesIpv4Cidr: [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 `json:"servicesIpv4Cidr,omitempty"` // ShieldedNodes: Shielded Nodes configuration. ShieldedNodes *ShieldedNodes `json:"shieldedNodes,omitempty"` // Status: [Output only] The current status of this cluster. // // Possible values: // "STATUS_UNSPECIFIED" - Not set. // "PROVISIONING" - The PROVISIONING state indicates the cluster is // being created. // "RUNNING" - The RUNNING state indicates the cluster has been // created and is fully usable. // "RECONCILING" - 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. // "STOPPING" - The STOPPING state indicates the cluster is being // deleted. // "ERROR" - The ERROR state indicates the cluster is unusable. It // will be automatically deleted. Details can be found in the // `statusMessage` field. // "DEGRADED" - The DEGRADED state indicates the cluster requires user // action to restore full functionality. Details can be found in the // `statusMessage` field. Status string `json:"status,omitempty"` // StatusMessage: [Output only] Deprecated. Use conditions instead. // Additional information about the current status of this cluster, if // available. StatusMessage string `json:"statusMessage,omitempty"` // Subnetwork: The name of the Google Compute Engine subnetwork // (https://cloud.google.com/compute/docs/subnetworks) to which the // cluster is connected. Subnetwork string `json:"subnetwork,omitempty"` // TpuIpv4CidrBlock: [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 `json:"tpuIpv4CidrBlock,omitempty"` // VerticalPodAutoscaling: Cluster-level Vertical Pod Autoscaling // configuration. VerticalPodAutoscaling *VerticalPodAutoscaling `json:"verticalPodAutoscaling,omitempty"` // WorkloadIdentityConfig: Configuration for the use of Kubernetes // Service Accounts in GCP IAM policies. WorkloadIdentityConfig *WorkloadIdentityConfig `json:"workloadIdentityConfig,omitempty"` // Zone: [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. Zone string `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AddonsConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddonsConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Cluster: A Google Kubernetes Engine cluster.
func (*Cluster) MarshalJSON ¶
type ClusterAutoscaling ¶ added in v0.13.0
type ClusterAutoscaling struct { // AutoprovisioningLocations: 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 `json:"autoprovisioningLocations,omitempty"` // AutoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults // contains defaults for a node pool created by NAP. AutoprovisioningNodePoolDefaults *AutoprovisioningNodePoolDefaults `json:"autoprovisioningNodePoolDefaults,omitempty"` // AutoscalingProfile: Defines autoscaling behaviour. // // Possible values: // "PROFILE_UNSPECIFIED" - No change to autoscaling configuration. // "OPTIMIZE_UTILIZATION" - Prioritize optimizing utilization of // resources. // "BALANCED" - Use default (balanced) autoscaling configuration. AutoscalingProfile string `json:"autoscalingProfile,omitempty"` // EnableNodeAutoprovisioning: Enables automatic node pool creation and // deletion. EnableNodeAutoprovisioning bool `json:"enableNodeAutoprovisioning,omitempty"` // ResourceLimits: Contains global constraints regarding minimum and // maximum amount of resources in the cluster. ResourceLimits []*ResourceLimit `json:"resourceLimits,omitempty"` // ForceSendFields is a list of field names (e.g. // "AutoprovisioningLocations") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AutoprovisioningLocations") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
ClusterAutoscaling: 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) MarshalJSON ¶ added in v0.13.0
func (s *ClusterAutoscaling) MarshalJSON() ([]byte, error)
type ClusterNetworkPerformanceConfig ¶ added in v0.130.0
type ClusterNetworkPerformanceConfig struct { // TotalEgressBandwidthTier: Specifies the total network bandwidth tier // for NodePools in the cluster. // // Possible values: // "TIER_UNSPECIFIED" - Default value // "TIER_1" - Higher bandwidth, actual values based on VM size. TotalEgressBandwidthTier string `json:"totalEgressBandwidthTier,omitempty"` // ForceSendFields is a list of field names (e.g. // "TotalEgressBandwidthTier") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalEgressBandwidthTier") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ClusterNetworkPerformanceConfig: Configuration of network bandwidth tiers
func (*ClusterNetworkPerformanceConfig) MarshalJSON ¶ added in v0.130.0
func (s *ClusterNetworkPerformanceConfig) MarshalJSON() ([]byte, error)
type ClusterUpdate ¶
type ClusterUpdate struct { // AdditionalPodRangesConfig: 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 `json:"additionalPodRangesConfig,omitempty"` // DesiredAddonsConfig: Configurations for the various addons available // to run in the cluster. DesiredAddonsConfig *AddonsConfig `json:"desiredAddonsConfig,omitempty"` // DesiredAuthenticatorGroupsConfig: The desired authenticator groups // config for the cluster. DesiredAuthenticatorGroupsConfig *AuthenticatorGroupsConfig `json:"desiredAuthenticatorGroupsConfig,omitempty"` // DesiredAutopilotWorkloadPolicyConfig: The desired workload policy // configuration for the autopilot cluster. DesiredAutopilotWorkloadPolicyConfig *WorkloadPolicyConfig `json:"desiredAutopilotWorkloadPolicyConfig,omitempty"` // DesiredBinaryAuthorization: The desired configuration options for the // Binary Authorization feature. DesiredBinaryAuthorization *BinaryAuthorization `json:"desiredBinaryAuthorization,omitempty"` // DesiredClusterAutoscaling: Cluster-level autoscaling configuration. DesiredClusterAutoscaling *ClusterAutoscaling `json:"desiredClusterAutoscaling,omitempty"` // DesiredCostManagementConfig: The desired configuration for the // fine-grained cost management feature. DesiredCostManagementConfig *CostManagementConfig `json:"desiredCostManagementConfig,omitempty"` // DesiredDatabaseEncryption: Configuration of etcd encryption. DesiredDatabaseEncryption *DatabaseEncryption `json:"desiredDatabaseEncryption,omitempty"` // DesiredDatapathProvider: The desired datapath provider for the // cluster. // // Possible values: // "DATAPATH_PROVIDER_UNSPECIFIED" - Default value. // "LEGACY_DATAPATH" - Use the IPTables implementation based on // kube-proxy. // "ADVANCED_DATAPATH" - 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. DesiredDatapathProvider string `json:"desiredDatapathProvider,omitempty"` // DesiredDefaultSnatStatus: The desired status of whether to disable // default sNAT for this cluster. DesiredDefaultSnatStatus *DefaultSnatStatus `json:"desiredDefaultSnatStatus,omitempty"` // DesiredDnsConfig: DNSConfig contains clusterDNS config for this // cluster. DesiredDnsConfig *DNSConfig `json:"desiredDnsConfig,omitempty"` // DesiredEnableFqdnNetworkPolicy: Enable/Disable FQDN Network Policy // for the cluster. DesiredEnableFqdnNetworkPolicy bool `json:"desiredEnableFqdnNetworkPolicy,omitempty"` // DesiredEnablePrivateEndpoint: Enable/Disable private endpoint for the // cluster's master. DesiredEnablePrivateEndpoint bool `json:"desiredEnablePrivateEndpoint,omitempty"` // DesiredFleet: The desired fleet configuration for the cluster. DesiredFleet *Fleet `json:"desiredFleet,omitempty"` // DesiredGatewayApiConfig: The desired config of Gateway API on this // cluster. DesiredGatewayApiConfig *GatewayAPIConfig `json:"desiredGatewayApiConfig,omitempty"` // DesiredGcfsConfig: The desired GCFS config for the cluster DesiredGcfsConfig *GcfsConfig `json:"desiredGcfsConfig,omitempty"` // DesiredIdentityServiceConfig: The desired Identity Service component // configuration. DesiredIdentityServiceConfig *IdentityServiceConfig `json:"desiredIdentityServiceConfig,omitempty"` // DesiredImageType: The desired image type for the node pool. NOTE: Set // the "desired_node_pool" field as well. DesiredImageType string `json:"desiredImageType,omitempty"` // DesiredIntraNodeVisibilityConfig: The desired config of Intra-node // visibility. DesiredIntraNodeVisibilityConfig *IntraNodeVisibilityConfig `json:"desiredIntraNodeVisibilityConfig,omitempty"` // DesiredK8sBetaApis: Desired Beta APIs to be enabled for cluster. DesiredK8sBetaApis *K8sBetaAPIConfig `json:"desiredK8sBetaApis,omitempty"` // DesiredL4ilbSubsettingConfig: The desired L4 Internal Load Balancer // Subsetting configuration. DesiredL4ilbSubsettingConfig *ILBSubsettingConfig `json:"desiredL4ilbSubsettingConfig,omitempty"` // DesiredLocations: 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 `json:"desiredLocations,omitempty"` // DesiredLoggingConfig: The desired logging configuration. DesiredLoggingConfig *LoggingConfig `json:"desiredLoggingConfig,omitempty"` // DesiredLoggingService: 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 `json:"desiredLoggingService,omitempty"` // DesiredMasterAuthorizedNetworksConfig: The desired configuration // options for master authorized networks feature. DesiredMasterAuthorizedNetworksConfig *MasterAuthorizedNetworksConfig `json:"desiredMasterAuthorizedNetworksConfig,omitempty"` // DesiredMasterVersion: 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 `json:"desiredMasterVersion,omitempty"` // DesiredMeshCertificates: Configuration for issuance of mTLS keys and // certificates to Kubernetes pods. DesiredMeshCertificates *MeshCertificates `json:"desiredMeshCertificates,omitempty"` // DesiredMonitoringConfig: The desired monitoring configuration. DesiredMonitoringConfig *MonitoringConfig `json:"desiredMonitoringConfig,omitempty"` // DesiredMonitoringService: 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 `json:"desiredMonitoringService,omitempty"` // DesiredNetworkPerformanceConfig: The desired network performance // config. DesiredNetworkPerformanceConfig *ClusterNetworkPerformanceConfig `json:"desiredNetworkPerformanceConfig,omitempty"` // DesiredNodePoolAutoConfigNetworkTags: The desired network tags that // apply to all auto-provisioned node pools in autopilot clusters and // node auto-provisioning enabled clusters. DesiredNodePoolAutoConfigNetworkTags *NetworkTags `json:"desiredNodePoolAutoConfigNetworkTags,omitempty"` // DesiredNodePoolAutoscaling: 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 `json:"desiredNodePoolAutoscaling,omitempty"` // DesiredNodePoolId: 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 `json:"desiredNodePoolId,omitempty"` // DesiredNodePoolLoggingConfig: The desired node pool logging // configuration defaults for the cluster. DesiredNodePoolLoggingConfig *NodePoolLoggingConfig `json:"desiredNodePoolLoggingConfig,omitempty"` // DesiredNodeVersion: 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 `json:"desiredNodeVersion,omitempty"` // DesiredNotificationConfig: The desired notification configuration. DesiredNotificationConfig *NotificationConfig `json:"desiredNotificationConfig,omitempty"` // DesiredPrivateClusterConfig: The desired private cluster // configuration. DesiredPrivateClusterConfig *PrivateClusterConfig `json:"desiredPrivateClusterConfig,omitempty"` // DesiredPrivateIpv6GoogleAccess: The desired state of IPv6 // connectivity to Google Services. // // Possible values: // "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED" - Default value. Same as // DISABLED // "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED" - No private access to or // from Google Services // "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE" - Enables private IPv6 // access to Google Services from GKE // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables private IPv6 // access to and from Google Services DesiredPrivateIpv6GoogleAccess string `json:"desiredPrivateIpv6GoogleAccess,omitempty"` // DesiredReleaseChannel: The desired release channel configuration. DesiredReleaseChannel *ReleaseChannel `json:"desiredReleaseChannel,omitempty"` // DesiredResourceUsageExportConfig: The desired configuration for // exporting resource usage. DesiredResourceUsageExportConfig *ResourceUsageExportConfig `json:"desiredResourceUsageExportConfig,omitempty"` // DesiredSecurityPostureConfig: Enable/Disable Security Posture API // features for the cluster. DesiredSecurityPostureConfig *SecurityPostureConfig `json:"desiredSecurityPostureConfig,omitempty"` // DesiredServiceExternalIpsConfig: ServiceExternalIPsConfig specifies // the config for the use of Services with ExternalIPs field. DesiredServiceExternalIpsConfig *ServiceExternalIPsConfig `json:"desiredServiceExternalIpsConfig,omitempty"` // DesiredShieldedNodes: Configuration for Shielded Nodes. DesiredShieldedNodes *ShieldedNodes `json:"desiredShieldedNodes,omitempty"` // DesiredStackType: 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. // // Possible values: // "STACK_TYPE_UNSPECIFIED" - Default value, will be defaulted as IPV4 // only // "IPV4" - Cluster is IPV4 only // "IPV4_IPV6" - Cluster can use both IPv4 and IPv6 DesiredStackType string `json:"desiredStackType,omitempty"` // DesiredVerticalPodAutoscaling: Cluster-level Vertical Pod Autoscaling // configuration. DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `json:"desiredVerticalPodAutoscaling,omitempty"` // DesiredWorkloadIdentityConfig: Configuration for Workload Identity. DesiredWorkloadIdentityConfig *WorkloadIdentityConfig `json:"desiredWorkloadIdentityConfig,omitempty"` // EnableK8sBetaApis: Kubernetes open source beta apis enabled on the // cluster. Only beta apis EnableK8sBetaApis *K8sBetaAPIConfig `json:"enableK8sBetaApis,omitempty"` // Etag: 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 `json:"etag,omitempty"` // RemovedAdditionalPodRangesConfig: 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 `json:"removedAdditionalPodRangesConfig,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdditionalPodRangesConfig") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdditionalPodRangesConfig") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
ClusterUpdate: 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) MarshalJSON ¶
func (s *ClusterUpdate) MarshalJSON() ([]byte, error)
type CompleteIPRotationRequest ¶
type CompleteIPRotationRequest struct { // ClusterId: Deprecated. The name of the cluster. This field has been // deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster name) of the cluster to // complete IP rotation. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: 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. ProjectId string `json:"projectId,omitempty"` // Zone: 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. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CompleteIPRotationRequest: CompleteIPRotationRequest moves the cluster master back into single-IP mode.
func (*CompleteIPRotationRequest) MarshalJSON ¶
func (s *CompleteIPRotationRequest) MarshalJSON() ([]byte, error)
type CompleteNodePoolUpgradeRequest ¶ added in v0.87.0
type CompleteNodePoolUpgradeRequest struct { }
CompleteNodePoolUpgradeRequest: CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.
type ConfidentialNodes ¶ added in v0.44.0
type ConfidentialNodes struct { // Enabled: Whether Confidential Nodes feature is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ConfidentialNodes: ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
func (*ConfidentialNodes) MarshalJSON ¶ added in v0.44.0
func (s *ConfidentialNodes) MarshalJSON() ([]byte, error)
type ConfigConnectorConfig ¶ added in v0.30.0
type ConfigConnectorConfig struct { // Enabled: Whether Cloud Connector is enabled for this cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ConfigConnectorConfig: Configuration options for the Config Connector add-on.
func (*ConfigConnectorConfig) MarshalJSON ¶ added in v0.30.0
func (s *ConfigConnectorConfig) MarshalJSON() ([]byte, error)
type ConsumptionMeteringConfig ¶ added in v0.7.0
type ConsumptionMeteringConfig struct { // Enabled: Whether to enable consumption metering for this cluster. If // enabled, a second BigQuery table will be created to hold resource // consumption records. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ConsumptionMeteringConfig: Parameters for controlling consumption metering.
func (*ConsumptionMeteringConfig) MarshalJSON ¶ added in v0.7.0
func (s *ConsumptionMeteringConfig) MarshalJSON() ([]byte, error)
type CostManagementConfig ¶ added in v0.100.0
type CostManagementConfig struct { // Enabled: Whether the feature is enabled or not. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CostManagementConfig: Configuration for fine-grained cost management feature.
func (*CostManagementConfig) MarshalJSON ¶ added in v0.100.0
func (s *CostManagementConfig) MarshalJSON() ([]byte, error)
type CreateClusterRequest ¶
type CreateClusterRequest struct { // Cluster: Required. A cluster resource // (https://cloud.google.com/container-engine/reference/rest/v1/projects.locations.clusters) Cluster *Cluster `json:"cluster,omitempty"` // Parent: The parent (project and location) where the cluster will be // created. Specified in the format `projects/*/locations/*`. Parent string `json:"parent,omitempty"` // ProjectId: 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. ProjectId string `json:"projectId,omitempty"` // Zone: 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. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "Cluster") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cluster") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateClusterRequest: CreateClusterRequest creates a cluster.
func (*CreateClusterRequest) MarshalJSON ¶
func (s *CreateClusterRequest) MarshalJSON() ([]byte, error)
type CreateNodePoolRequest ¶
type CreateNodePoolRequest struct { // ClusterId: Deprecated. The name of the cluster. This field has been // deprecated and replaced by the parent field. ClusterId string `json:"clusterId,omitempty"` // NodePool: Required. The node pool to create. NodePool *NodePool `json:"nodePool,omitempty"` // Parent: The parent (project, location, cluster name) where the node // pool will be created. Specified in the format // `projects/*/locations/*/clusters/*`. Parent string `json:"parent,omitempty"` // ProjectId: 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. ProjectId string `json:"projectId,omitempty"` // Zone: 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. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateNodePoolRequest: CreateNodePoolRequest creates a node pool for a cluster.
func (*CreateNodePoolRequest) MarshalJSON ¶
func (s *CreateNodePoolRequest) MarshalJSON() ([]byte, error)
type DNSConfig ¶ added in v0.60.0
type DNSConfig struct { // ClusterDns: cluster_dns indicates which in-cluster DNS provider // should be used. // // Possible values: // "PROVIDER_UNSPECIFIED" - Default value // "PLATFORM_DEFAULT" - Use GKE default DNS provider(kube-dns) for DNS // resolution. // "CLOUD_DNS" - Use CloudDNS for DNS resolution. // "KUBE_DNS" - Use KubeDNS for DNS resolution. ClusterDns string `json:"clusterDns,omitempty"` // ClusterDnsDomain: cluster_dns_domain is the suffix used for all // cluster service records. ClusterDnsDomain string `json:"clusterDnsDomain,omitempty"` // ClusterDnsScope: cluster_dns_scope indicates the scope of access to // cluster DNS records. // // Possible values: // "DNS_SCOPE_UNSPECIFIED" - Default value, will be inferred as // cluster scope. // "CLUSTER_SCOPE" - DNS records are accessible from within the // cluster. // "VPC_SCOPE" - DNS records are accessible from within the VPC. ClusterDnsScope string `json:"clusterDnsScope,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterDns") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterDns") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DNSConfig: DNSConfig contains the desired set of options for configuring clusterDNS.
func (*DNSConfig) MarshalJSON ¶ added in v0.60.0
type DailyMaintenanceWindow ¶
type DailyMaintenanceWindow struct { // Duration: [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 `json:"duration,omitempty"` // StartTime: 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 `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Duration") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Duration") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DailyMaintenanceWindow: Time window specified for daily maintenance operations.
func (*DailyMaintenanceWindow) MarshalJSON ¶
func (s *DailyMaintenanceWindow) MarshalJSON() ([]byte, error)
type DatabaseEncryption ¶ added in v0.11.0
type DatabaseEncryption struct { // KeyName: Name of CloudKMS key to use for the encryption of secrets in // etcd. Ex. // projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-ke // y KeyName string `json:"keyName,omitempty"` // State: The desired state of etcd encryption. // // Possible values: // "UNKNOWN" - Should never be set // "ENCRYPTED" - Secrets in etcd are encrypted. // "DECRYPTED" - Secrets in etcd are stored in plain text (at etcd // level) - this is unrelated to Compute Engine level full disk // encryption. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "KeyName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KeyName") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DatabaseEncryption: Configuration of etcd encryption.
func (*DatabaseEncryption) MarshalJSON ¶ added in v0.11.0
func (s *DatabaseEncryption) MarshalJSON() ([]byte, error)
type DefaultSnatStatus ¶ added in v0.31.0
type DefaultSnatStatus struct { // Disabled: Disables cluster default sNAT rules. Disabled bool `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DefaultSnatStatus: DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.
func (*DefaultSnatStatus) MarshalJSON ¶ added in v0.31.0
func (s *DefaultSnatStatus) MarshalJSON() ([]byte, error)
type DnsCacheConfig ¶ added in v0.29.0
type DnsCacheConfig struct { // Enabled: Whether NodeLocal DNSCache is enabled for this cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DnsCacheConfig: Configuration for NodeLocal DNSCache
func (*DnsCacheConfig) MarshalJSON ¶ added in v0.29.0
func (s *DnsCacheConfig) MarshalJSON() ([]byte, error)
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type EphemeralStorageLocalSsdConfig ¶ added in v0.107.0
type EphemeralStorageLocalSsdConfig struct { // LocalSsdCount: Number of local SSDs to use to back ephemeral storage. // Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it // means to disable using local SSDs as ephemeral storage. The limit for // this value is dependent upon the maximum number of disks available on // a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd for more // information. LocalSsdCount int64 `json:"localSsdCount,omitempty"` // ForceSendFields is a list of field names (e.g. "LocalSsdCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LocalSsdCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
EphemeralStorageLocalSsdConfig: EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD.
func (*EphemeralStorageLocalSsdConfig) MarshalJSON ¶ added in v0.107.0
func (s *EphemeralStorageLocalSsdConfig) MarshalJSON() ([]byte, error)
type FastSocket ¶ added in v0.104.0
type FastSocket struct { // Enabled: Whether Fast Socket features are enabled in the node pool. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
FastSocket: Configuration of Fast Socket feature.
func (*FastSocket) MarshalJSON ¶ added in v0.104.0
func (s *FastSocket) MarshalJSON() ([]byte, error)
type Filter ¶ added in v0.64.0
type Filter struct { // EventType: Event types to allowlist. // // Possible values: // "EVENT_TYPE_UNSPECIFIED" - Not set, will be ignored. // "UPGRADE_AVAILABLE_EVENT" - Corresponds with UpgradeAvailableEvent. // "UPGRADE_EVENT" - Corresponds with UpgradeEvent. // "SECURITY_BULLETIN_EVENT" - Corresponds with SecurityBulletinEvent. EventType []string `json:"eventType,omitempty"` // ForceSendFields is a list of field names (e.g. "EventType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EventType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Filter: 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 (*Filter) MarshalJSON ¶ added in v0.64.0
type Fleet ¶ added in v0.115.0
type Fleet struct { // Membership: [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 `json:"membership,omitempty"` // PreRegistered: [Output only] Whether the cluster has been registered // through the fleet API. PreRegistered bool `json:"preRegistered,omitempty"` // Project: 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 `json:"project,omitempty"` // ForceSendFields is a list of field names (e.g. "Membership") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Membership") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Fleet: Fleet is the fleet configuration for the cluster.
func (*Fleet) MarshalJSON ¶ added in v0.115.0
type GPUDriverInstallationConfig ¶ added in v0.127.0
type GPUDriverInstallationConfig struct { // GpuDriverVersion: Mode for how the GPU driver is installed. // // Possible values: // "GPU_DRIVER_VERSION_UNSPECIFIED" - Default value is to not install // any GPU driver. // "INSTALLATION_DISABLED" - Disable GPU driver auto installation and // needs manual installation // "DEFAULT" - "Default" GPU driver in COS and Ubuntu. // "LATEST" - "Latest" GPU driver in COS. GpuDriverVersion string `json:"gpuDriverVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "GpuDriverVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GpuDriverVersion") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GPUDriverInstallationConfig: GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.
func (*GPUDriverInstallationConfig) MarshalJSON ¶ added in v0.127.0
func (s *GPUDriverInstallationConfig) MarshalJSON() ([]byte, error)
type GPUSharingConfig ¶ added in v0.83.0
type GPUSharingConfig struct { // GpuSharingStrategy: The type of GPU sharing strategy to enable on the // GPU node. // // Possible values: // "GPU_SHARING_STRATEGY_UNSPECIFIED" - Default value. // "TIME_SHARING" - GPUs are time-shared between containers. GpuSharingStrategy string `json:"gpuSharingStrategy,omitempty"` // physical GPU. MaxSharedClientsPerGpu int64 `json:"maxSharedClientsPerGpu,omitempty,string"` // ForceSendFields is a list of field names (e.g. "GpuSharingStrategy") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GpuSharingStrategy") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GPUSharingConfig: GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.
func (*GPUSharingConfig) MarshalJSON ¶ added in v0.83.0
func (s *GPUSharingConfig) MarshalJSON() ([]byte, error)
type GatewayAPIConfig ¶ added in v0.102.0
type GatewayAPIConfig struct { // Channel: The Gateway API release channel to use for Gateway API. // // Possible values: // "CHANNEL_UNSPECIFIED" - Default value. // "CHANNEL_DISABLED" - Gateway API support is disabled // "CHANNEL_EXPERIMENTAL" - Gateway API support is enabled, // experimental CRDs are installed // "CHANNEL_STANDARD" - Gateway API support is enabled, standard CRDs // are installed Channel string `json:"channel,omitempty"` // ForceSendFields is a list of field names (e.g. "Channel") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Channel") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GatewayAPIConfig: GatewayAPIConfig contains the desired config of Gateway API on this cluster.
func (*GatewayAPIConfig) MarshalJSON ¶ added in v0.102.0
func (s *GatewayAPIConfig) MarshalJSON() ([]byte, error)
type GcePersistentDiskCsiDriverConfig ¶ added in v0.37.0
type GcePersistentDiskCsiDriverConfig struct { // Enabled: Whether the Compute Engine PD CSI driver is enabled for this // cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GcePersistentDiskCsiDriverConfig: Configuration for the Compute Engine PD CSI driver.
func (*GcePersistentDiskCsiDriverConfig) MarshalJSON ¶ added in v0.37.0
func (s *GcePersistentDiskCsiDriverConfig) MarshalJSON() ([]byte, error)
type GcfsConfig ¶ added in v0.60.0
type GcfsConfig struct { // Enabled: Whether to use GCFS. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GcfsConfig: GcfsConfig contains configurations of Google Container File System (image streaming).
func (*GcfsConfig) MarshalJSON ¶ added in v0.60.0
func (s *GcfsConfig) MarshalJSON() ([]byte, error)
type GcpFilestoreCsiDriverConfig ¶ added in v0.57.0
type GcpFilestoreCsiDriverConfig struct { // Enabled: Whether the GCP Filestore CSI driver is enabled for this // cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GcpFilestoreCsiDriverConfig: Configuration for the GCP Filestore CSI driver.
func (*GcpFilestoreCsiDriverConfig) MarshalJSON ¶ added in v0.57.0
func (s *GcpFilestoreCsiDriverConfig) MarshalJSON() ([]byte, error)
type GcsFuseCsiDriverConfig ¶ added in v0.130.0
type GcsFuseCsiDriverConfig struct { // Enabled: Whether the Cloud Storage Fuse CSI driver is enabled for // this cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GcsFuseCsiDriverConfig: Configuration for the Cloud Storage Fuse CSI driver.
func (*GcsFuseCsiDriverConfig) MarshalJSON ¶ added in v0.130.0
func (s *GcsFuseCsiDriverConfig) MarshalJSON() ([]byte, error)
type GetJSONWebKeysResponse ¶ added in v0.2.0
type GetJSONWebKeysResponse struct { // CacheHeader: OnePlatform automatically extracts this field and uses // it to set the HTTP Cache-Control header. CacheHeader *HttpCacheControlResponseHeader `json:"cacheHeader,omitempty"` // Keys: The public component of the keys used by the cluster to sign // token requests. Keys []*Jwk `json:"keys,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CacheHeader") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CacheHeader") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetJSONWebKeysResponse: GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
func (*GetJSONWebKeysResponse) MarshalJSON ¶ added in v0.2.0
func (s *GetJSONWebKeysResponse) MarshalJSON() ([]byte, error)
type GetOpenIDConfigResponse ¶ added in v0.2.0
type GetOpenIDConfigResponse struct { // CacheHeader: OnePlatform automatically extracts this field and uses // it to set the HTTP Cache-Control header. CacheHeader *HttpCacheControlResponseHeader `json:"cacheHeader,omitempty"` // ClaimsSupported: Supported claims. ClaimsSupported []string `json:"claims_supported,omitempty"` // GrantTypes: Supported grant types. GrantTypes []string `json:"grant_types,omitempty"` // IdTokenSigningAlgValuesSupported: supported ID Token signing // Algorithms. IdTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported,omitempty"` // Issuer: OIDC Issuer. Issuer string `json:"issuer,omitempty"` // JwksUri: JSON Web Key uri. JwksUri string `json:"jwks_uri,omitempty"` // ResponseTypesSupported: Supported response types. ResponseTypesSupported []string `json:"response_types_supported,omitempty"` // SubjectTypesSupported: Supported subject types. SubjectTypesSupported []string `json:"subject_types_supported,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CacheHeader") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CacheHeader") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetOpenIDConfigResponse: GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.
func (*GetOpenIDConfigResponse) MarshalJSON ¶ added in v0.2.0
func (s *GetOpenIDConfigResponse) MarshalJSON() ([]byte, error)
type GkeBackupAgentConfig ¶ added in v0.100.0
type GkeBackupAgentConfig struct { // Enabled: Whether the Backup for GKE agent is enabled for this // cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GkeBackupAgentConfig: Configuration for the Backup for GKE Agent.
func (*GkeBackupAgentConfig) MarshalJSON ¶ added in v0.100.0
func (s *GkeBackupAgentConfig) MarshalJSON() ([]byte, error)
type HorizontalPodAutoscaling ¶
type HorizontalPodAutoscaling struct { // Disabled: Whether the Horizontal Pod Autoscaling feature is enabled // in the cluster. When enabled, it ensures that metrics are collected // into Stackdriver Monitoring. Disabled bool `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HorizontalPodAutoscaling: 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) MarshalJSON ¶
func (s *HorizontalPodAutoscaling) MarshalJSON() ([]byte, error)
type HttpCacheControlResponseHeader ¶ added in v0.9.0
type HttpCacheControlResponseHeader struct { // Age: 14.6 response cache age, in seconds since the response is // generated Age int64 `json:"age,omitempty,string"` // Directive: 14.9 request and response directives Directive string `json:"directive,omitempty"` // Expires: 14.21 response cache expires, in RFC 1123 date format Expires string `json:"expires,omitempty"` // ForceSendFields is a list of field names (e.g. "Age") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Age") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HttpCacheControlResponseHeader: RFC-2616: cache control support
func (*HttpCacheControlResponseHeader) MarshalJSON ¶ added in v0.9.0
func (s *HttpCacheControlResponseHeader) MarshalJSON() ([]byte, error)
type HttpLoadBalancing ¶
type HttpLoadBalancing struct { // Disabled: 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 `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
HttpLoadBalancing: 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) MarshalJSON ¶
func (s *HttpLoadBalancing) MarshalJSON() ([]byte, error)
type ILBSubsettingConfig ¶ added in v0.49.0
type ILBSubsettingConfig struct { // Enabled: Enables l4 ILB subsetting for this cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ILBSubsettingConfig: ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.
func (*ILBSubsettingConfig) MarshalJSON ¶ added in v0.49.0
func (s *ILBSubsettingConfig) MarshalJSON() ([]byte, error)
type IPAllocationPolicy ¶
type IPAllocationPolicy struct { // AdditionalPodRangesConfig: 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 `json:"additionalPodRangesConfig,omitempty"` // ClusterIpv4Cidr: This field is deprecated, use // cluster_ipv4_cidr_block. ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty"` // ClusterIpv4CidrBlock: 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 `json:"clusterIpv4CidrBlock,omitempty"` // ClusterSecondaryRangeName: 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 `json:"clusterSecondaryRangeName,omitempty"` // CreateSubnetwork: Whether a new subnetwork will be created // automatically for the cluster. This field is only applicable when // `use_ip_aliases` is true. CreateSubnetwork bool `json:"createSubnetwork,omitempty"` // DefaultPodIpv4RangeUtilization: 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 `json:"defaultPodIpv4RangeUtilization,omitempty"` // Ipv6AccessType: The ipv6 access type (internal or external) when // create_subnetwork is true // // Possible values: // "IPV6_ACCESS_TYPE_UNSPECIFIED" - Default value, will be defaulted // as type external. // "INTERNAL" - Access type internal (all v6 addresses are internal // IPs) // "EXTERNAL" - Access type external (all v6 addresses are external // IPs) Ipv6AccessType string `json:"ipv6AccessType,omitempty"` // NodeIpv4Cidr: This field is deprecated, use node_ipv4_cidr_block. NodeIpv4Cidr string `json:"nodeIpv4Cidr,omitempty"` // NodeIpv4CidrBlock: 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 `json:"nodeIpv4CidrBlock,omitempty"` // PodCidrOverprovisionConfig: [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 `json:"podCidrOverprovisionConfig,omitempty"` // ServicesIpv4Cidr: This field is deprecated, use // services_ipv4_cidr_block. ServicesIpv4Cidr string `json:"servicesIpv4Cidr,omitempty"` // ServicesIpv4CidrBlock: 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 `json:"servicesIpv4CidrBlock,omitempty"` // ServicesIpv6CidrBlock: Output only. [Output only] The services IPv6 // CIDR block for the cluster. ServicesIpv6CidrBlock string `json:"servicesIpv6CidrBlock,omitempty"` // ServicesSecondaryRangeName: 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 `json:"servicesSecondaryRangeName,omitempty"` // StackType: The IP stack type of the cluster // // Possible values: // "STACK_TYPE_UNSPECIFIED" - Default value, will be defaulted as IPV4 // only // "IPV4" - Cluster is IPV4 only // "IPV4_IPV6" - Cluster can use both IPv4 and IPv6 StackType string `json:"stackType,omitempty"` // SubnetIpv6CidrBlock: Output only. [Output only] The subnet's IPv6 // CIDR block used by nodes and pods. SubnetIpv6CidrBlock string `json:"subnetIpv6CidrBlock,omitempty"` // SubnetworkName: 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 `json:"subnetworkName,omitempty"` // TpuIpv4CidrBlock: 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 `json:"tpuIpv4CidrBlock,omitempty"` // UseIpAliases: 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 `json:"useIpAliases,omitempty"` // UseRoutes: 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 `json:"useRoutes,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdditionalPodRangesConfig") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdditionalPodRangesConfig") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
IPAllocationPolicy: Configuration for controlling how IPs are allocated in the cluster.
func (*IPAllocationPolicy) MarshalJSON ¶
func (s *IPAllocationPolicy) MarshalJSON() ([]byte, error)
func (*IPAllocationPolicy) UnmarshalJSON ¶ added in v0.130.0
func (s *IPAllocationPolicy) UnmarshalJSON(data []byte) error
type IdentityServiceConfig ¶ added in v0.69.0
type IdentityServiceConfig struct { // Enabled: Whether to enable the Identity Service component Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IdentityServiceConfig: IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API
func (*IdentityServiceConfig) MarshalJSON ¶ added in v0.69.0
func (s *IdentityServiceConfig) MarshalJSON() ([]byte, error)
type IntraNodeVisibilityConfig ¶ added in v0.10.0
type IntraNodeVisibilityConfig struct { // Enabled: Enables intra node visibility for this cluster. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IntraNodeVisibilityConfig: IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.
func (*IntraNodeVisibilityConfig) MarshalJSON ¶ added in v0.10.0
func (s *IntraNodeVisibilityConfig) MarshalJSON() ([]byte, error)
type Jwk ¶ added in v0.2.0
type Jwk struct { // Alg: Algorithm. Alg string `json:"alg,omitempty"` // Crv: Used for ECDSA keys. Crv string `json:"crv,omitempty"` // E: Used for RSA keys. E string `json:"e,omitempty"` // Kid: Key ID. Kid string `json:"kid,omitempty"` // Kty: Key Type. Kty string `json:"kty,omitempty"` // N: Used for RSA keys. N string `json:"n,omitempty"` // Use: Permitted uses for the public keys. Use string `json:"use,omitempty"` // X: Used for ECDSA keys. X string `json:"x,omitempty"` // Y: Used for ECDSA keys. Y string `json:"y,omitempty"` // ForceSendFields is a list of field names (e.g. "Alg") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alg") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Jwk: Jwk is a JSON Web Key as specified in RFC 7517
func (*Jwk) MarshalJSON ¶ added in v0.2.0
type K8sBetaAPIConfig ¶ added in v0.126.0
type K8sBetaAPIConfig struct { // EnabledApis: Enabled k8s beta APIs. EnabledApis []string `json:"enabledApis,omitempty"` // ForceSendFields is a list of field names (e.g. "EnabledApis") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnabledApis") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
K8sBetaAPIConfig: K8sBetaAPIConfig , configuration for beta APIs
func (*K8sBetaAPIConfig) MarshalJSON ¶ added in v0.126.0
func (s *K8sBetaAPIConfig) MarshalJSON() ([]byte, error)
type KubernetesDashboard ¶
type KubernetesDashboard struct { // Disabled: Whether the Kubernetes Dashboard is enabled for this // cluster. Disabled bool `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
KubernetesDashboard: Configuration for the Kubernetes Dashboard.
func (*KubernetesDashboard) MarshalJSON ¶
func (s *KubernetesDashboard) MarshalJSON() ([]byte, error)
type LegacyAbac ¶
type LegacyAbac struct { // Enabled: 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 `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LegacyAbac: Configuration for the legacy Attribute Based Access Control authorization mode.
func (*LegacyAbac) MarshalJSON ¶
func (s *LegacyAbac) MarshalJSON() ([]byte, error)
type LinuxNodeConfig ¶ added in v0.41.0
type LinuxNodeConfig struct { // CgroupMode: cgroup_mode specifies the cgroup mode to be used on the // node. // // Possible values: // "CGROUP_MODE_UNSPECIFIED" - CGROUP_MODE_UNSPECIFIED is when // unspecified cgroup configuration is used. The default for the GKE // node OS image will be used. // "CGROUP_MODE_V1" - CGROUP_MODE_V1 specifies to use cgroupv1 for the // cgroup configuration on the node image. // "CGROUP_MODE_V2" - CGROUP_MODE_V2 specifies to use cgroupv2 for the // cgroup configuration on the node image. CgroupMode string `json:"cgroupMode,omitempty"` // Sysctls: 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 `json:"sysctls,omitempty"` // ForceSendFields is a list of field names (e.g. "CgroupMode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CgroupMode") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LinuxNodeConfig: Parameters that can be configured on Linux nodes.
func (*LinuxNodeConfig) MarshalJSON ¶ added in v0.41.0
func (s *LinuxNodeConfig) MarshalJSON() ([]byte, error)
type ListClustersResponse ¶
type ListClustersResponse struct { // Clusters: A list of clusters in the project in the specified zone, or // across all ones. Clusters []*Cluster `json:"clusters,omitempty"` // MissingZones: If any zones are listed here, the list of clusters // returned may be missing those zones. MissingZones []string `json:"missingZones,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Clusters") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Clusters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListClustersResponse: ListClustersResponse is the result of ListClustersRequest.
func (*ListClustersResponse) MarshalJSON ¶
func (s *ListClustersResponse) MarshalJSON() ([]byte, error)
type ListNodePoolsResponse ¶
type ListNodePoolsResponse struct { // NodePools: A list of node pools for a cluster. NodePools []*NodePool `json:"nodePools,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NodePools") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodePools") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListNodePoolsResponse: ListNodePoolsResponse is the result of ListNodePoolsRequest.
func (*ListNodePoolsResponse) MarshalJSON ¶
func (s *ListNodePoolsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct { // MissingZones: If any zones are listed here, the list of operations // returned may be missing the operations from those zones. MissingZones []string `json:"missingZones,omitempty"` // Operations: A list of operations in the project in the specified // zone. Operations []*Operation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "MissingZones") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MissingZones") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListOperationsResponse: ListOperationsResponse is the result of ListOperationsRequest.
func (*ListOperationsResponse) MarshalJSON ¶
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListUsableSubnetworksResponse ¶ added in v0.4.0
type ListUsableSubnetworksResponse struct { // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Subnetworks: A list of usable subnetworks in the specified network // project. Subnetworks []*UsableSubnetwork `json:"subnetworks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListUsableSubnetworksResponse: ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.
func (*ListUsableSubnetworksResponse) MarshalJSON ¶ added in v0.4.0
func (s *ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error)
type LocalNvmeSsdBlockConfig ¶ added in v0.107.0
type LocalNvmeSsdBlockConfig struct { // LocalSsdCount: The number of raw-block local NVMe SSD disks to be // attached to the node. Each local SSD is 375 GB in size. If zero, it // means no raw-block local NVMe SSD disks to be attached to the node. // The limit for this value is dependent upon the maximum number of // disks available on a machine per zone. See: // https://cloud.google.com/compute/docs/disks/local-ssd for more // information. LocalSsdCount int64 `json:"localSsdCount,omitempty"` // ForceSendFields is a list of field names (e.g. "LocalSsdCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LocalSsdCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LocalNvmeSsdBlockConfig: LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.
func (*LocalNvmeSsdBlockConfig) MarshalJSON ¶ added in v0.107.0
func (s *LocalNvmeSsdBlockConfig) MarshalJSON() ([]byte, error)
type LoggingComponentConfig ¶ added in v0.53.0
type LoggingComponentConfig struct { // EnableComponents: Select components to collect logs. An empty set // would disable all logging. // // Possible values: // "COMPONENT_UNSPECIFIED" - Default value. This shouldn't be used. // "SYSTEM_COMPONENTS" - system components // "WORKLOADS" - workloads // "APISERVER" - kube-apiserver // "SCHEDULER" - kube-scheduler // "CONTROLLER_MANAGER" - kube-controller-manager EnableComponents []string `json:"enableComponents,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableComponents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableComponents") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
LoggingComponentConfig: LoggingComponentConfig is cluster logging component configuration.
func (*LoggingComponentConfig) MarshalJSON ¶ added in v0.53.0
func (s *LoggingComponentConfig) MarshalJSON() ([]byte, error)
type LoggingConfig ¶ added in v0.53.0
type LoggingConfig struct { // ComponentConfig: Logging components configuration ComponentConfig *LoggingComponentConfig `json:"componentConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ComponentConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ComponentConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
LoggingConfig: LoggingConfig is cluster logging configuration.
func (*LoggingConfig) MarshalJSON ¶ added in v0.53.0
func (s *LoggingConfig) MarshalJSON() ([]byte, error)
type LoggingVariantConfig ¶ added in v0.97.0
type LoggingVariantConfig struct { // Variant: Logging variant deployed on nodes. // // Possible values: // "VARIANT_UNSPECIFIED" - Default value. This shouldn't be used. // "DEFAULT" - default logging variant. // "MAX_THROUGHPUT" - maximum logging throughput variant. Variant string `json:"variant,omitempty"` // ForceSendFields is a list of field names (e.g. "Variant") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Variant") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
LoggingVariantConfig: LoggingVariantConfig specifies the behaviour of the logging component.
func (*LoggingVariantConfig) MarshalJSON ¶ added in v0.97.0
func (s *LoggingVariantConfig) MarshalJSON() ([]byte, error)
type MaintenanceExclusionOptions ¶ added in v0.64.0
type MaintenanceExclusionOptions struct { // Scope: Scope specifies the upgrade scope which upgrades are blocked // by the exclusion. // // Possible values: // "NO_UPGRADES" - NO_UPGRADES excludes all upgrades, including patch // upgrades and minor upgrades across control planes and nodes. This is // the default exclusion behavior. // "NO_MINOR_UPGRADES" - NO_MINOR_UPGRADES excludes all minor upgrades // for the cluster, only patches are allowed. // "NO_MINOR_OR_NODE_UPGRADES" - 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. Scope string `json:"scope,omitempty"` // ForceSendFields is a list of field names (e.g. "Scope") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Scope") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MaintenanceExclusionOptions: Represents the Maintenance exclusion option.
func (*MaintenanceExclusionOptions) MarshalJSON ¶ added in v0.64.0
func (s *MaintenanceExclusionOptions) MarshalJSON() ([]byte, error)
type MaintenancePolicy ¶
type MaintenancePolicy struct { // ResourceVersion: 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 `json:"resourceVersion,omitempty"` // Window: Specifies the maintenance window in which maintenance may be // performed. Window *MaintenanceWindow `json:"window,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourceVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ResourceVersion") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MaintenancePolicy: MaintenancePolicy defines the maintenance policy to be used for the cluster.
func (*MaintenancePolicy) MarshalJSON ¶
func (s *MaintenancePolicy) MarshalJSON() ([]byte, error)
type MaintenanceWindow ¶
type MaintenanceWindow struct { // DailyMaintenanceWindow: DailyMaintenanceWindow specifies a daily // maintenance operation window. DailyMaintenanceWindow *DailyMaintenanceWindow `json:"dailyMaintenanceWindow,omitempty"` // MaintenanceExclusions: Exceptions to maintenance window. // Non-emergency maintenance should not occur in these windows. MaintenanceExclusions map[string]TimeWindow `json:"maintenanceExclusions,omitempty"` // RecurringWindow: 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 `json:"recurringWindow,omitempty"` // ForceSendFields is a list of field names (e.g. // "DailyMaintenanceWindow") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DailyMaintenanceWindow") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MaintenanceWindow: MaintenanceWindow defines the maintenance window to be used for the cluster.
func (*MaintenanceWindow) MarshalJSON ¶
func (s *MaintenanceWindow) MarshalJSON() ([]byte, error)
type ManagedPrometheusConfig ¶ added in v0.76.0
type ManagedPrometheusConfig struct { // Enabled: Enable Managed Collection. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ManagedPrometheusConfig: ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.
func (*ManagedPrometheusConfig) MarshalJSON ¶ added in v0.76.0
func (s *ManagedPrometheusConfig) MarshalJSON() ([]byte, error)
type MasterAuth ¶
type MasterAuth struct { // ClientCertificate: [Output only] Base64-encoded public certificate // used by clients to authenticate to the cluster endpoint. ClientCertificate string `json:"clientCertificate,omitempty"` // ClientCertificateConfig: 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 `json:"clientCertificateConfig,omitempty"` // ClientKey: [Output only] Base64-encoded private key used by clients // to authenticate to the cluster endpoint. ClientKey string `json:"clientKey,omitempty"` // ClusterCaCertificate: [Output only] Base64-encoded public certificate // that is the root of trust for the cluster. ClusterCaCertificate string `json:"clusterCaCertificate,omitempty"` // Password: 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 Password string `json:"password,omitempty"` // Username: 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 Username string `json:"username,omitempty"` // ForceSendFields is a list of field names (e.g. "ClientCertificate") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClientCertificate") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MasterAuth: The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.
func (*MasterAuth) MarshalJSON ¶
func (s *MasterAuth) MarshalJSON() ([]byte, error)
type MasterAuthorizedNetworksConfig ¶
type MasterAuthorizedNetworksConfig struct { // CidrBlocks: cidr_blocks define up to 50 external networks that could // access Kubernetes master through HTTPS. CidrBlocks []*CidrBlock `json:"cidrBlocks,omitempty"` // Enabled: Whether or not master authorized networks is enabled. Enabled bool `json:"enabled,omitempty"` // GcpPublicCidrsAccessEnabled: Whether master is accessbile via Google // Compute Engine Public IP addresses. GcpPublicCidrsAccessEnabled bool `json:"gcpPublicCidrsAccessEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. "CidrBlocks") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CidrBlocks") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MasterAuthorizedNetworksConfig: 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) MarshalJSON ¶
func (s *MasterAuthorizedNetworksConfig) MarshalJSON() ([]byte, error)
type MaxPodsConstraint ¶ added in v0.4.0
type MaxPodsConstraint struct { // MaxPodsPerNode: Constraint enforced on the max num of pods per node. MaxPodsPerNode int64 `json:"maxPodsPerNode,omitempty,string"` // ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxPodsPerNode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MaxPodsConstraint: Constraints applied to pods.
func (*MaxPodsConstraint) MarshalJSON ¶ added in v0.4.0
func (s *MaxPodsConstraint) MarshalJSON() ([]byte, error)
type MeshCertificates ¶ added in v0.59.0
type MeshCertificates struct { // EnableCertificates: 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 must be // non-empty). EnableCertificates bool `json:"enableCertificates,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableCertificates") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableCertificates") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MeshCertificates: Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
func (*MeshCertificates) MarshalJSON ¶ added in v0.61.0
func (s *MeshCertificates) MarshalJSON() ([]byte, error)
type Metric ¶ added in v0.21.0
type Metric struct { // DoubleValue: For metrics with floating point value. DoubleValue float64 `json:"doubleValue,omitempty"` // IntValue: For metrics with integer value. IntValue int64 `json:"intValue,omitempty,string"` // Name: Required. Metric name, e.g., "nodes total", "percent done". Name string `json:"name,omitempty"` // StringValue: For metrics with custom values (ratios, visual progress, // etc.). StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "DoubleValue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DoubleValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Metric: Progress metric is (string, int|float|string) pair.
func (*Metric) MarshalJSON ¶ added in v0.21.0
func (*Metric) UnmarshalJSON ¶ added in v0.21.0
type MonitoringComponentConfig ¶ added in v0.53.0
type MonitoringComponentConfig struct { // EnableComponents: Select components to collect metrics. An empty set // would disable all monitoring. // // Possible values: // "COMPONENT_UNSPECIFIED" - Default value. This shouldn't be used. // "SYSTEM_COMPONENTS" - system components // "APISERVER" - kube-apiserver // "SCHEDULER" - kube-scheduler // "CONTROLLER_MANAGER" - kube-controller-manager // "STORAGE" - Storage // "HPA" - Horizontal Pod Autoscaling // "POD" - Pod // "DAEMONSET" - DaemonSet // "DEPLOYMENT" - Deployment // "STATEFULSET" - Statefulset EnableComponents []string `json:"enableComponents,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableComponents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableComponents") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
MonitoringComponentConfig: MonitoringComponentConfig is cluster monitoring component configuration.
func (*MonitoringComponentConfig) MarshalJSON ¶ added in v0.53.0
func (s *MonitoringComponentConfig) MarshalJSON() ([]byte, error)
type MonitoringConfig ¶ added in v0.53.0
type MonitoringConfig struct { // AdvancedDatapathObservabilityConfig: Configuration of Advanced // Datapath Observability features. AdvancedDatapathObservabilityConfig *AdvancedDatapathObservabilityConfig `json:"advancedDatapathObservabilityConfig,omitempty"` // ComponentConfig: Monitoring components configuration ComponentConfig *MonitoringComponentConfig `json:"componentConfig,omitempty"` // ManagedPrometheusConfig: Enable Google Cloud Managed Service for // Prometheus in the cluster. ManagedPrometheusConfig *ManagedPrometheusConfig `json:"managedPrometheusConfig,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdvancedDatapathObservabilityConfig") to unconditionally include in // API requests. By default, fields with empty or default values are // omitted from API requests. However, any non-pointer, non-interface // field appearing in ForceSendFields will be sent to the server // regardless of whether the field is empty or not. This may be used to // include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdvancedDatapathObservabilityConfig") to include in API requests // with the JSON null value. By default, fields with empty values are // omitted from API requests. However, any field with an empty value // appearing in NullFields will be sent to the server as null. It is an // error if a field in this list has a non-empty value. This may be used // to include null fields in Patch requests. NullFields []string `json:"-"` }
MonitoringConfig: MonitoringConfig is cluster monitoring configuration.
func (*MonitoringConfig) MarshalJSON ¶ added in v0.53.0
func (s *MonitoringConfig) MarshalJSON() ([]byte, error)
type NetworkConfig ¶
type NetworkConfig struct { // DatapathProvider: The desired datapath provider for this cluster. By // default, uses the IPTables-based kube-proxy implementation. // // Possible values: // "DATAPATH_PROVIDER_UNSPECIFIED" - Default value. // "LEGACY_DATAPATH" - Use the IPTables implementation based on // kube-proxy. // "ADVANCED_DATAPATH" - 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 string `json:"datapathProvider,omitempty"` // DefaultSnatStatus: 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 `json:"defaultSnatStatus,omitempty"` // DnsConfig: DNSConfig contains clusterDNS config for this cluster. DnsConfig *DNSConfig `json:"dnsConfig,omitempty"` // EnableFqdnNetworkPolicy: Whether FQDN Network Policy is enabled on // this cluster. EnableFqdnNetworkPolicy bool `json:"enableFqdnNetworkPolicy,omitempty"` // EnableIntraNodeVisibility: Whether Intra-node visibility is enabled // for this cluster. This makes same node pod to pod traffic visible for // VPC network. EnableIntraNodeVisibility bool `json:"enableIntraNodeVisibility,omitempty"` // EnableL4ilbSubsetting: Whether L4ILB Subsetting is enabled for this // cluster. EnableL4ilbSubsetting bool `json:"enableL4ilbSubsetting,omitempty"` // EnableMultiNetworking: Whether multi-networking is enabled for this // cluster. EnableMultiNetworking bool `json:"enableMultiNetworking,omitempty"` // GatewayApiConfig: GatewayAPIConfig contains the desired config of // Gateway API on this cluster. GatewayApiConfig *GatewayAPIConfig `json:"gatewayApiConfig,omitempty"` // Network: Output only. The relative name of the Google Compute Engine // network(https://cloud.google.com/compute/docs/networks-and-firewalls#n // etworks) to which the cluster is connected. Example: // projects/my-project/global/networks/my-network Network string `json:"network,omitempty"` // NetworkPerformanceConfig: Network bandwidth tier configuration. NetworkPerformanceConfig *ClusterNetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"` // PrivateIpv6GoogleAccess: 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) // // Possible values: // "PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED" - Default value. Same as // DISABLED // "PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED" - No private access to or // from Google Services // "PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE" - Enables private IPv6 // access to Google Services from GKE // "PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL" - Enables private IPv6 // access to and from Google Services PrivateIpv6GoogleAccess string `json:"privateIpv6GoogleAccess,omitempty"` // ServiceExternalIpsConfig: ServiceExternalIPsConfig specifies if // services with externalIPs field are blocked or not. ServiceExternalIpsConfig *ServiceExternalIPsConfig `json:"serviceExternalIpsConfig,omitempty"` // Subnetwork: 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 `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "DatapathProvider") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatapathProvider") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NetworkConfig: NetworkConfig reports the relative names of network & subnetwork.
func (*NetworkConfig) MarshalJSON ¶
func (s *NetworkConfig) MarshalJSON() ([]byte, error)
type NetworkPerformanceConfig ¶ added in v0.76.0
type NetworkPerformanceConfig struct { // TotalEgressBandwidthTier: Specifies the total network bandwidth tier // for the NodePool. // // Possible values: // "TIER_UNSPECIFIED" - Default value // "TIER_1" - Higher bandwidth, actual values based on VM size. TotalEgressBandwidthTier string `json:"totalEgressBandwidthTier,omitempty"` // ForceSendFields is a list of field names (e.g. // "TotalEgressBandwidthTier") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalEgressBandwidthTier") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NetworkPerformanceConfig: Configuration of all network bandwidth tiers
func (*NetworkPerformanceConfig) MarshalJSON ¶ added in v0.76.0
func (s *NetworkPerformanceConfig) MarshalJSON() ([]byte, error)
type NetworkPolicy ¶
type NetworkPolicy struct { // Enabled: Whether network policy is enabled on the cluster. Enabled bool `json:"enabled,omitempty"` // Provider: The selected network policy provider. // // Possible values: // "PROVIDER_UNSPECIFIED" - Not set // "CALICO" - Tigera (Calico Felix). Provider string `json:"provider,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkPolicy: Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
func (*NetworkPolicy) MarshalJSON ¶
func (s *NetworkPolicy) MarshalJSON() ([]byte, error)
type NetworkPolicyConfig ¶
type NetworkPolicyConfig struct { // Disabled: Whether NetworkPolicy is enabled for this cluster. Disabled bool `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkPolicyConfig: 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) MarshalJSON ¶
func (s *NetworkPolicyConfig) MarshalJSON() ([]byte, error)
type NetworkTags ¶ added in v0.71.0
type NetworkTags struct { // Tags: List of network tags. Tags []string `json:"tags,omitempty"` // ForceSendFields is a list of field names (e.g. "Tags") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tags") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NetworkTags: Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.
func (*NetworkTags) MarshalJSON ¶ added in v0.71.0
func (s *NetworkTags) MarshalJSON() ([]byte, error)
type NodeAffinity ¶ added in v0.125.0
type NodeAffinity struct { // Key: Key for NodeAffinity. Key string `json:"key,omitempty"` // Operator: Operator for NodeAffinity. // // Possible values: // "OPERATOR_UNSPECIFIED" - Invalid or unspecified affinity operator. // "IN" - Affinity operator. // "NOT_IN" - Anti-affinity operator. Operator string `json:"operator,omitempty"` // Values: Values for NodeAffinity. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeAffinity: 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 (*NodeAffinity) MarshalJSON ¶ added in v0.125.0
func (s *NodeAffinity) MarshalJSON() ([]byte, error)
type NodeConfig ¶
type NodeConfig struct { // Accelerators: 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 `json:"accelerators,omitempty"` // AdvancedMachineFeatures: Advanced features for the Compute Engine VM. AdvancedMachineFeatures *AdvancedMachineFeatures `json:"advancedMachineFeatures,omitempty"` // BootDiskKmsKey: 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]/cr // yptoKeys/[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 `json:"bootDiskKmsKey,omitempty"` // ConfidentialNodes: Confidential nodes config. All the nodes in the // node pool will be Confidential VM once enabled. ConfidentialNodes *ConfidentialNodes `json:"confidentialNodes,omitempty"` // DiskSizeGb: 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 int64 `json:"diskSizeGb,omitempty"` // DiskType: 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 `json:"diskType,omitempty"` // EphemeralStorageLocalSsdConfig: Parameters for the node ephemeral // storage using Local SSDs. If unspecified, ephemeral storage is backed // by the boot disk. EphemeralStorageLocalSsdConfig *EphemeralStorageLocalSsdConfig `json:"ephemeralStorageLocalSsdConfig,omitempty"` // FastSocket: Enable or disable NCCL fast socket for the node pool. FastSocket *FastSocket `json:"fastSocket,omitempty"` // GcfsConfig: Google Container File System (image streaming) configs. GcfsConfig *GcfsConfig `json:"gcfsConfig,omitempty"` // Gvnic: Enable or disable gvnic in the node pool. Gvnic *VirtualNIC `json:"gvnic,omitempty"` // ImageType: 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 `json:"imageType,omitempty"` // KubeletConfig: Node kubelet configs. KubeletConfig *NodeKubeletConfig `json:"kubeletConfig,omitempty"` // Labels: 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 `json:"labels,omitempty"` // LinuxNodeConfig: Parameters that can be configured on Linux nodes. LinuxNodeConfig *LinuxNodeConfig `json:"linuxNodeConfig,omitempty"` // LocalNvmeSsdBlockConfig: Parameters for using raw-block Local NVMe // SSDs. LocalNvmeSsdBlockConfig *LocalNvmeSsdBlockConfig `json:"localNvmeSsdBlockConfig,omitempty"` // LocalSsdCount: 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 int64 `json:"localSsdCount,omitempty"` // LoggingConfig: Logging configuration. LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` // MachineType: 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 `json:"machineType,omitempty"` // Metadata: 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 `json:"metadata,omitempty"` // MinCpuPlatform: 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 `json:"minCpuPlatform,omitempty"` // NodeGroup: 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 `json:"nodeGroup,omitempty"` // OauthScopes: 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 `json:"oauthScopes,omitempty"` // Preemptible: 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 `json:"preemptible,omitempty"` // ReservationAffinity: 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 `json:"reservationAffinity,omitempty"` // ResourceLabels: The resource labels for the node pool to use to // annotate any related Google Compute Engine resources. ResourceLabels map[string]string `json:"resourceLabels,omitempty"` // SandboxConfig: Sandbox configuration for this node. SandboxConfig *SandboxConfig `json:"sandboxConfig,omitempty"` // ServiceAccount: 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 `json:"serviceAccount,omitempty"` // ShieldedInstanceConfig: Shielded Instance options. ShieldedInstanceConfig *ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"` // SoleTenantConfig: Parameters for node pools to be backed by shared // sole tenant node groups. SoleTenantConfig *SoleTenantConfig `json:"soleTenantConfig,omitempty"` // Spot: Spot flag for enabling Spot VM, which is a rebrand of the // existing preemptible flag. Spot bool `json:"spot,omitempty"` // Tags: 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 `json:"tags,omitempty"` // Taints: 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 `json:"taints,omitempty"` // WindowsNodeConfig: Parameters that can be configured on Windows // nodes. WindowsNodeConfig *WindowsNodeConfig `json:"windowsNodeConfig,omitempty"` // WorkloadMetadataConfig: The workload metadata configuration for this // node. WorkloadMetadataConfig *WorkloadMetadataConfig `json:"workloadMetadataConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Accelerators") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Accelerators") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeConfig: Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead.
func (*NodeConfig) MarshalJSON ¶
func (s *NodeConfig) MarshalJSON() ([]byte, error)
type NodeConfigDefaults ¶ added in v0.60.0
type NodeConfigDefaults struct { // GcfsConfig: GCFS (Google Container File System, also known as // Riptide) options. GcfsConfig *GcfsConfig `json:"gcfsConfig,omitempty"` // LoggingConfig: Logging configuration for node pools. LoggingConfig *NodePoolLoggingConfig `json:"loggingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "GcfsConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcfsConfig") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeConfigDefaults: Subset of NodeConfig message that has defaults.
func (*NodeConfigDefaults) MarshalJSON ¶ added in v0.60.0
func (s *NodeConfigDefaults) MarshalJSON() ([]byte, error)
type NodeKubeletConfig ¶ added in v0.41.0
type NodeKubeletConfig struct { // CpuCfsQuota: 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 bool `json:"cpuCfsQuota,omitempty"` // CpuCfsQuotaPeriod: 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 `json:"cpuCfsQuotaPeriod,omitempty"` // CpuManagerPolicy: 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 `json:"cpuManagerPolicy,omitempty"` // InsecureKubeletReadonlyPortEnabled: Enable or disable Kubelet read // only port. InsecureKubeletReadonlyPortEnabled bool `json:"insecureKubeletReadonlyPortEnabled,omitempty"` // PodPidsLimit: 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 `json:"podPidsLimit,omitempty,string"` // ForceSendFields is a list of field names (e.g. "CpuCfsQuota") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CpuCfsQuota") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeKubeletConfig: Node kubelet configs.
func (*NodeKubeletConfig) MarshalJSON ¶ added in v0.41.0
func (s *NodeKubeletConfig) MarshalJSON() ([]byte, error)
type NodeLabels ¶ added in v0.75.0
type NodeLabels struct { // Labels: Map of node label keys and node label values. Labels map[string]string `json:"labels,omitempty"` // ForceSendFields is a list of field names (e.g. "Labels") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeLabels: Collection of node-level Kubernetes labels (https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
func (*NodeLabels) MarshalJSON ¶ added in v0.75.0
func (s *NodeLabels) MarshalJSON() ([]byte, error)
type NodeManagement ¶
type NodeManagement struct { // AutoRepair: 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 `json:"autoRepair,omitempty"` // AutoUpgrade: 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 `json:"autoUpgrade,omitempty"` // UpgradeOptions: Specifies the Auto Upgrade knobs for the node pool. UpgradeOptions *AutoUpgradeOptions `json:"upgradeOptions,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoRepair") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoRepair") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeManagement: NodeManagement defines the set of node management services turned on for the node pool.
func (*NodeManagement) MarshalJSON ¶
func (s *NodeManagement) MarshalJSON() ([]byte, error)
type NodeNetworkConfig ¶ added in v0.53.0
type NodeNetworkConfig struct { // AdditionalNodeNetworkConfigs: We specify the additional node networks // for this node pool using this list. Each node network corresponds to // an additional interface AdditionalNodeNetworkConfigs []*AdditionalNodeNetworkConfig `json:"additionalNodeNetworkConfigs,omitempty"` // AdditionalPodNetworkConfigs: 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 `json:"additionalPodNetworkConfigs,omitempty"` // CreatePodRange: 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 `json:"createPodRange,omitempty"` // EnablePrivateNodes: Whether nodes have internal IP addresses only. If // enable_private_nodes is not specified, then the value is derived from // cluster.privateClusterConfig.enablePrivateNodes EnablePrivateNodes bool `json:"enablePrivateNodes,omitempty"` // NetworkPerformanceConfig: Network bandwidth tier configuration. NetworkPerformanceConfig *NetworkPerformanceConfig `json:"networkPerformanceConfig,omitempty"` // PodCidrOverprovisionConfig: [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 `json:"podCidrOverprovisionConfig,omitempty"` // PodIpv4CidrBlock: 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 `json:"podIpv4CidrBlock,omitempty"` // PodIpv4RangeUtilization: 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 `json:"podIpv4RangeUtilization,omitempty"` // PodRange: 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 `json:"podRange,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdditionalNodeNetworkConfigs") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdditionalNodeNetworkConfigs") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
NodeNetworkConfig: Parameters for node pool-level network config.
func (*NodeNetworkConfig) MarshalJSON ¶ added in v0.53.0
func (s *NodeNetworkConfig) MarshalJSON() ([]byte, error)
func (*NodeNetworkConfig) UnmarshalJSON ¶ added in v0.130.0
func (s *NodeNetworkConfig) UnmarshalJSON(data []byte) error
type NodePool ¶
type NodePool struct { // Autoscaling: Autoscaler configuration for this NodePool. Autoscaler // is enabled only if a valid configuration is present. Autoscaling *NodePoolAutoscaling `json:"autoscaling,omitempty"` // BestEffortProvisioning: Enable best effort provisioning for nodes BestEffortProvisioning *BestEffortProvisioning `json:"bestEffortProvisioning,omitempty"` // Conditions: Which conditions caused the current node pool state. Conditions []*StatusCondition `json:"conditions,omitempty"` // Config: The node configuration of the pool. Config *NodeConfig `json:"config,omitempty"` // Etag: 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 `json:"etag,omitempty"` // InitialNodeCount: 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 int64 `json:"initialNodeCount,omitempty"` // InstanceGroupUrls: [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 `json:"instanceGroupUrls,omitempty"` // Locations: 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 `json:"locations,omitempty"` // Management: NodeManagement configuration for this NodePool. Management *NodeManagement `json:"management,omitempty"` // MaxPodsConstraint: The constraint on the maximum number of pods that // can be run simultaneously on a node in the node pool. MaxPodsConstraint *MaxPodsConstraint `json:"maxPodsConstraint,omitempty"` // Name: The name of the node pool. Name string `json:"name,omitempty"` // NetworkConfig: Networking configuration for this NodePool. If // specified, it overrides the cluster-level defaults. NetworkConfig *NodeNetworkConfig `json:"networkConfig,omitempty"` // PlacementPolicy: Specifies the node placement policy. PlacementPolicy *PlacementPolicy `json:"placementPolicy,omitempty"` // PodIpv4CidrSize: [Output only] The pod CIDR block size per node in // this node pool. PodIpv4CidrSize int64 `json:"podIpv4CidrSize,omitempty"` // SelfLink: [Output only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // Status: [Output only] The status of the nodes in this pool instance. // // Possible values: // "STATUS_UNSPECIFIED" - Not set. // "PROVISIONING" - The PROVISIONING state indicates the node pool is // being created. // "RUNNING" - The RUNNING state indicates the node pool has been // created and is fully usable. // "RUNNING_WITH_ERROR" - 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. // "RECONCILING" - 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. // "STOPPING" - The STOPPING state indicates the node pool is being // deleted. // "ERROR" - The ERROR state indicates the node pool may be unusable. // Details can be found in the `statusMessage` field. Status string `json:"status,omitempty"` // StatusMessage: [Output only] Deprecated. Use conditions instead. // Additional information about the current status of this node pool // instance, if available. StatusMessage string `json:"statusMessage,omitempty"` // UpdateInfo: Output only. [Output only] Update info contains relevant // information during a node pool update. UpdateInfo *UpdateInfo `json:"updateInfo,omitempty"` // UpgradeSettings: Upgrade settings control disruption and speed of the // upgrade. UpgradeSettings *UpgradeSettings `json:"upgradeSettings,omitempty"` // Version: 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 `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Autoscaling") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Autoscaling") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodePool: 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) MarshalJSON ¶
type NodePoolAutoConfig ¶ added in v0.71.0
type NodePoolAutoConfig struct { // NetworkTags: 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 `json:"networkTags,omitempty"` // ForceSendFields is a list of field names (e.g. "NetworkTags") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NetworkTags") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodePoolAutoConfig: Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
func (*NodePoolAutoConfig) MarshalJSON ¶ added in v0.71.0
func (s *NodePoolAutoConfig) MarshalJSON() ([]byte, error)
type NodePoolAutoscaling ¶
type NodePoolAutoscaling struct { // Autoprovisioned: Can this node pool be deleted automatically. Autoprovisioned bool `json:"autoprovisioned,omitempty"` // Enabled: Is autoscaling enabled for this node pool. Enabled bool `json:"enabled,omitempty"` // LocationPolicy: Location policy used when scaling up a nodepool. // // Possible values: // "LOCATION_POLICY_UNSPECIFIED" - Not set. // "BALANCED" - BALANCED is a best effort policy that aims to balance // the sizes of different zones. // "ANY" - ANY policy picks zones that have the highest capacity // available. LocationPolicy string `json:"locationPolicy,omitempty"` // MaxNodeCount: 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 int64 `json:"maxNodeCount,omitempty"` // MinNodeCount: Minimum number of nodes for one location in the // NodePool. Must be >= 1 and <= max_node_count. MinNodeCount int64 `json:"minNodeCount,omitempty"` // TotalMaxNodeCount: 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 int64 `json:"totalMaxNodeCount,omitempty"` // TotalMinNodeCount: 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 int64 `json:"totalMinNodeCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Autoprovisioned") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Autoprovisioned") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NodePoolAutoscaling: NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.
func (*NodePoolAutoscaling) MarshalJSON ¶
func (s *NodePoolAutoscaling) MarshalJSON() ([]byte, error)
type NodePoolDefaults ¶ added in v0.60.0
type NodePoolDefaults struct { // NodeConfigDefaults: Subset of NodeConfig message that has defaults. NodeConfigDefaults *NodeConfigDefaults `json:"nodeConfigDefaults,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeConfigDefaults") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeConfigDefaults") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
NodePoolDefaults: Subset of Nodepool message that has defaults.
func (*NodePoolDefaults) MarshalJSON ¶ added in v0.60.0
func (s *NodePoolDefaults) MarshalJSON() ([]byte, error)
type NodePoolLoggingConfig ¶ added in v0.97.0
type NodePoolLoggingConfig struct { // VariantConfig: Logging variant configuration. VariantConfig *LoggingVariantConfig `json:"variantConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "VariantConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "VariantConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodePoolLoggingConfig: NodePoolLoggingConfig specifies logging configuration for nodepools.
func (*NodePoolLoggingConfig) MarshalJSON ¶ added in v0.97.0
func (s *NodePoolLoggingConfig) MarshalJSON() ([]byte, error)
type NodeTaint ¶
type NodeTaint struct { // Effect: Effect for taint. // // Possible values: // "EFFECT_UNSPECIFIED" - Not set // "NO_SCHEDULE" - NoSchedule // "PREFER_NO_SCHEDULE" - PreferNoSchedule // "NO_EXECUTE" - NoExecute Effect string `json:"effect,omitempty"` // Key: Key for taint. Key string `json:"key,omitempty"` // Value: Value for taint. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Effect") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Effect") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeTaint: 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) MarshalJSON ¶
type NodeTaints ¶ added in v0.75.0
type NodeTaints struct { // Taints: List of node taints. Taints []*NodeTaint `json:"taints,omitempty"` // ForceSendFields is a list of field names (e.g. "Taints") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Taints") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NodeTaints: Collection of Kubernetes node taints (https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
func (*NodeTaints) MarshalJSON ¶ added in v0.75.0
func (s *NodeTaints) MarshalJSON() ([]byte, error)
type NotificationConfig ¶ added in v0.39.0
type NotificationConfig struct { // Pubsub: Notification config for Pub/Sub. Pubsub *PubSub `json:"pubsub,omitempty"` // ForceSendFields is a list of field names (e.g. "Pubsub") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Pubsub") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
NotificationConfig: NotificationConfig is the configuration of notifications.
func (*NotificationConfig) MarshalJSON ¶ added in v0.39.0
func (s *NotificationConfig) MarshalJSON() ([]byte, error)
type Operation ¶
type Operation struct { // ClusterConditions: Which conditions caused the current cluster state. // Deprecated. Use field error instead. ClusterConditions []*StatusCondition `json:"clusterConditions,omitempty"` // Detail: Detailed operation progress, if available. Detail string `json:"detail,omitempty"` // EndTime: [Output only] The time the operation completed, in RFC3339 // (https://www.ietf.org/rfc/rfc3339.txt) text format. EndTime string `json:"endTime,omitempty"` // Error: The error result of the operation in case of failure. Error *Status `json:"error,omitempty"` // Location: [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 `json:"location,omitempty"` // Name: The server-assigned ID for the operation. Name string `json:"name,omitempty"` // NodepoolConditions: Which conditions caused the current node pool // state. Deprecated. Use field error instead. NodepoolConditions []*StatusCondition `json:"nodepoolConditions,omitempty"` // OperationType: The operation type. // // Possible values: // "TYPE_UNSPECIFIED" - Not set. // "CREATE_CLUSTER" - 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 and // eventually be deleted. // "DELETE_CLUSTER" - 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 and the deletion will be automatically retried until completed. // "UPGRADE_MASTER" - The cluster 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/concep // ts/cluster-upgrades#upgrading_automatically). For more details, see // [documentation on cluster // upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/clu // ster-upgrades#cluster_upgrades). // "UPGRADE_NODES" - 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 field and may // be canceled. The upgrade strategy depends on [node pool // configuration](https://cloud.google.com/kubernetes-engine/docs/concept // s/node-pool-upgrade-strategies). The nodes are generally still usable // during this operation. // "REPAIR_CLUSTER" - 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/main // tenance-windows-and-exclusions#repairs). // "UPDATE_CLUSTER" - 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/mai // ntenance-windows-and-exclusions). Some GKE-initiated operations use // this type. This includes certain types of auto-upgrades and incident // mitigations. // "CREATE_NODE_POOL" - 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. // "DELETE_NODE_POOL" - The node pool is being deleted. The node pool // should be assumed to be unusable as soon as this operation starts. // "SET_NODE_POOL_MANAGEMENT" - The node pool's manamagent field is // being updated. These operations only update metadata and may be // concurrent with most other operations. // "AUTO_REPAIR_NODES" - 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. // "AUTO_UPGRADE_NODES" - Unused. Automatic node upgrade uses // UPGRADE_NODES. // "SET_LABELS" - Unused. Updating labels uses UPDATE_CLUSTER. // "SET_MASTER_AUTH" - Unused. Updating master auth uses // UPDATE_CLUSTER. // "SET_NODE_POOL_SIZE" - 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. // "SET_NETWORK_POLICY" - Unused. Updating network policy uses // UPDATE_CLUSTER. // "SET_MAINTENANCE_POLICY" - Unused. Updating maintenance policy uses // UPDATE_CLUSTER. // "RESIZE_CLUSTER" - 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/main // tenance-windows-and-exclusions#repairs). OperationType string `json:"operationType,omitempty"` // Progress: Output only. [Output only] Progress information for an // operation. Progress *OperationProgress `json:"progress,omitempty"` // SelfLink: Server-defined URI for the operation. Example: // `https://container.googleapis.com/v1alpha1/projects/123/locations/us-c // entral1/operations/operation-123`. SelfLink string `json:"selfLink,omitempty"` // StartTime: [Output only] The time the operation started, in RFC3339 // (https://www.ietf.org/rfc/rfc3339.txt) text format. StartTime string `json:"startTime,omitempty"` // Status: The current status of the operation. // // Possible values: // "STATUS_UNSPECIFIED" - Not set. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. // "ABORTING" - The operation is aborting. Status string `json:"status,omitempty"` // StatusMessage: Output only. If an error has occurred, a textual // description of the error. Deprecated. Use the field error instead. StatusMessage string `json:"statusMessage,omitempty"` // TargetLink: 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-central // 1/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 `json:"targetLink,omitempty"` // Zone: 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. Zone string `json:"zone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ClusterConditions") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterConditions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Operation: This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
func (*Operation) MarshalJSON ¶
type OperationProgress ¶ added in v0.21.0
type OperationProgress struct { // Metrics: 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 []*Metric `json:"metrics,omitempty"` // Name: A non-parameterized string describing an operation stage. Unset // for single-stage operations. Name string `json:"name,omitempty"` // Stages: Substages of an operation or a stage. Stages []*OperationProgress `json:"stages,omitempty"` // Status: Status of an operation stage. Unset for single-stage // operations. // // Possible values: // "STATUS_UNSPECIFIED" - Not set. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. // "ABORTING" - The operation is aborting. Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Metrics") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metrics") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OperationProgress: Information about operation (or operation stage) progress.
func (*OperationProgress) MarshalJSON ¶ added in v0.21.0
func (s *OperationProgress) MarshalJSON() ([]byte, error)
type PlacementPolicy ¶ added in v0.104.0
type PlacementPolicy struct { // PolicyName: 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 `json:"policyName,omitempty"` // TpuTopology: Optional. TPU placement topology for pod slice node // pool. // https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies TpuTopology string `json:"tpuTopology,omitempty"` // Type: The type of placement. // // Possible values: // "TYPE_UNSPECIFIED" - TYPE_UNSPECIFIED specifies no requirements on // nodes placement. // "COMPACT" - COMPACT specifies node placement in the same // availability domain to ensure low communication latency. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "PolicyName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PolicyName") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PlacementPolicy: PlacementPolicy defines the placement policy used by the node pool.
func (*PlacementPolicy) MarshalJSON ¶ added in v0.104.0
func (s *PlacementPolicy) MarshalJSON() ([]byte, error)
type PodCIDROverprovisionConfig ¶ added in v0.116.0
type PodCIDROverprovisionConfig struct { // Disable: Whether Pod CIDR overprovisioning is disabled. Note: Pod // CIDR overprovisioning is enabled by default. Disable bool `json:"disable,omitempty"` // ForceSendFields is a list of field names (e.g. "Disable") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disable") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PodCIDROverprovisionConfig: [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
func (*PodCIDROverprovisionConfig) MarshalJSON ¶ added in v0.116.0
func (s *PodCIDROverprovisionConfig) MarshalJSON() ([]byte, error)
type PrivateClusterConfig ¶
type PrivateClusterConfig struct { // EnablePrivateEndpoint: Whether the master's internal IP address is // used as the cluster endpoint. EnablePrivateEndpoint bool `json:"enablePrivateEndpoint,omitempty"` // EnablePrivateNodes: 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 `json:"enablePrivateNodes,omitempty"` // MasterGlobalAccessConfig: Controls master global access settings. MasterGlobalAccessConfig *PrivateClusterMasterGlobalAccessConfig `json:"masterGlobalAccessConfig,omitempty"` // MasterIpv4CidrBlock: 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 `json:"masterIpv4CidrBlock,omitempty"` // PeeringName: Output only. The peering name in the customer VPC used // by this cluster. PeeringName string `json:"peeringName,omitempty"` // PrivateEndpoint: Output only. The internal IP address of this // cluster's master endpoint. PrivateEndpoint string `json:"privateEndpoint,omitempty"` // PrivateEndpointSubnetwork: Subnet to provision the master's private // endpoint during cluster creation. Specified in // projects/*/regions/*/subnetworks/* format. PrivateEndpointSubnetwork string `json:"privateEndpointSubnetwork,omitempty"` // PublicEndpoint: Output only. The external IP address of this // cluster's master endpoint. PublicEndpoint string `json:"publicEndpoint,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnablePrivateEndpoint") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnablePrivateEndpoint") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
PrivateClusterConfig: Configuration options for private clusters.
func (*PrivateClusterConfig) MarshalJSON ¶
func (s *PrivateClusterConfig) MarshalJSON() ([]byte, error)
type PrivateClusterMasterGlobalAccessConfig ¶ added in v0.31.0
type PrivateClusterMasterGlobalAccessConfig struct { // Enabled: Whenever master is accessible globally or not. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PrivateClusterMasterGlobalAccessConfig: Configuration for controlling master global access settings.
func (*PrivateClusterMasterGlobalAccessConfig) MarshalJSON ¶ added in v0.31.0
func (s *PrivateClusterMasterGlobalAccessConfig) MarshalJSON() ([]byte, error)
type ProjectsAggregatedService ¶ added in v0.4.0
type ProjectsAggregatedService struct { UsableSubnetworks *ProjectsAggregatedUsableSubnetworksService // contains filtered or unexported fields }
func NewProjectsAggregatedService ¶ added in v0.4.0
func NewProjectsAggregatedService(s *Service) *ProjectsAggregatedService
type ProjectsAggregatedUsableSubnetworksListCall ¶ added in v0.4.0
type ProjectsAggregatedUsableSubnetworksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAggregatedUsableSubnetworksListCall) Context ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Context(ctx context.Context) *ProjectsAggregatedUsableSubnetworksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsAggregatedUsableSubnetworksListCall) Do ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Do(opts ...googleapi.CallOption) (*ListUsableSubnetworksResponse, error)
Do executes the "container.projects.aggregated.usableSubnetworks.list" call. Exactly one of *ListUsableSubnetworksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListUsableSubnetworksResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsAggregatedUsableSubnetworksListCall) Fields ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Fields(s ...googleapi.Field) *ProjectsAggregatedUsableSubnetworksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAggregatedUsableSubnetworksListCall) Filter ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Filter(filter string) *ProjectsAggregatedUsableSubnetworksListCall
Filter sets the optional parameter "filter": 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.
func (*ProjectsAggregatedUsableSubnetworksListCall) Header ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAggregatedUsableSubnetworksListCall) IfNoneMatch ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) IfNoneMatch(entityTag string) *ProjectsAggregatedUsableSubnetworksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsAggregatedUsableSubnetworksListCall) PageSize ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) PageSize(pageSize int64) *ProjectsAggregatedUsableSubnetworksListCall
PageSize sets the optional parameter "pageSize": 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)
func (*ProjectsAggregatedUsableSubnetworksListCall) PageToken ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) PageToken(pageToken string) *ProjectsAggregatedUsableSubnetworksListCall
PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.
func (*ProjectsAggregatedUsableSubnetworksListCall) Pages ¶ added in v0.4.0
func (c *ProjectsAggregatedUsableSubnetworksListCall) Pages(ctx context.Context, f func(*ListUsableSubnetworksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsAggregatedUsableSubnetworksService ¶ added in v0.4.0
type ProjectsAggregatedUsableSubnetworksService struct {
// contains filtered or unexported fields
}
func NewProjectsAggregatedUsableSubnetworksService ¶ added in v0.4.0
func NewProjectsAggregatedUsableSubnetworksService(s *Service) *ProjectsAggregatedUsableSubnetworksService
func (*ProjectsAggregatedUsableSubnetworksService) List ¶ added in v0.4.0
func (r *ProjectsAggregatedUsableSubnetworksService) List(parent string) *ProjectsAggregatedUsableSubnetworksListCall
List: Lists subnetworks that are usable for creating clusters in a project.
- parent: The parent project where subnetworks are usable. Specified in the format `projects/*`.
type ProjectsLocationsClustersCheckAutopilotCompatibilityCall ¶ added in v0.126.0
type ProjectsLocationsClustersCheckAutopilotCompatibilityCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Context ¶ added in v0.126.0
func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Context(ctx context.Context) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Do ¶ added in v0.126.0
func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Do(opts ...googleapi.CallOption) (*CheckAutopilotCompatibilityResponse, error)
Do executes the "container.projects.locations.clusters.checkAutopilotCompatibility" call. Exactly one of *CheckAutopilotCompatibilityResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CheckAutopilotCompatibilityResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Fields ¶ added in v0.126.0
func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Header ¶ added in v0.126.0
func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersCheckAutopilotCompatibilityCall) IfNoneMatch ¶ added in v0.126.0
func (c *ProjectsLocationsClustersCheckAutopilotCompatibilityCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersCheckAutopilotCompatibilityCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsClustersCompleteIpRotationCall ¶
type ProjectsLocationsClustersCompleteIpRotationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersCompleteIpRotationCall) Context ¶
func (c *ProjectsLocationsClustersCompleteIpRotationCall) Context(ctx context.Context) *ProjectsLocationsClustersCompleteIpRotationCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsClustersCompleteIpRotationCall) Do ¶
func (c *ProjectsLocationsClustersCompleteIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.completeIpRotation" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsClustersCompleteIpRotationCall) Fields ¶
func (c *ProjectsLocationsClustersCompleteIpRotationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCompleteIpRotationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersCompleteIpRotationCall) Header ¶
func (c *ProjectsLocationsClustersCompleteIpRotationCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersCreateCall ¶
type ProjectsLocationsClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersCreateCall) Context ¶
func (c *ProjectsLocationsClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsClustersCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsClustersCreateCall) Do ¶
func (c *ProjectsLocationsClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsClustersCreateCall) Fields ¶
func (c *ProjectsLocationsClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersCreateCall) Header ¶
func (c *ProjectsLocationsClustersCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersDeleteCall ¶
type ProjectsLocationsClustersDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersDeleteCall) ClusterId ¶
func (c *ProjectsLocationsClustersDeleteCall) ClusterId(clusterId string) *ProjectsLocationsClustersDeleteCall
ClusterId sets the optional parameter "clusterId": Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersDeleteCall) Context ¶
func (c *ProjectsLocationsClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsClustersDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsClustersDeleteCall) Do ¶
func (c *ProjectsLocationsClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsClustersDeleteCall) Fields ¶
func (c *ProjectsLocationsClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersDeleteCall) Header ¶
func (c *ProjectsLocationsClustersDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersDeleteCall) ProjectId ¶
func (c *ProjectsLocationsClustersDeleteCall) ProjectId(projectId string) *ProjectsLocationsClustersDeleteCall
ProjectId sets the optional parameter "projectId": 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.
func (*ProjectsLocationsClustersDeleteCall) Zone ¶
func (c *ProjectsLocationsClustersDeleteCall) Zone(zone string) *ProjectsLocationsClustersDeleteCall
Zone sets the optional parameter "zone": 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.
type ProjectsLocationsClustersGetCall ¶
type ProjectsLocationsClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersGetCall) ClusterId ¶
func (c *ProjectsLocationsClustersGetCall) ClusterId(clusterId string) *ProjectsLocationsClustersGetCall
ClusterId sets the optional parameter "clusterId": Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersGetCall) Context ¶
func (c *ProjectsLocationsClustersGetCall) Context(ctx context.Context) *ProjectsLocationsClustersGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsClustersGetCall) Do ¶
func (c *ProjectsLocationsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster, error)
Do executes the "container.projects.locations.clusters.get" call. Exactly one of *Cluster or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Cluster.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsClustersGetCall) Fields ¶
func (c *ProjectsLocationsClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersGetCall) Header ¶
func (c *ProjectsLocationsClustersGetCall) Header() http.