Documentation ¶
Overview ¶
Package container provides access to the Kubernetes Engine API.
For product documentation, see: https://cloud.google.com/container-engine/
Creating a client ¶
Usage example:
import "google.golang.org/api/container/v1beta1" ... 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 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 option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) containerService, err := container.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type AcceleratorConfig
- type AddonsConfig
- type AuthenticatorGroupsConfig
- type AutoUpgradeOptions
- type AutoprovisioningNodePoolDefaults
- type AvailableVersion
- type BigQueryDestination
- type BinaryAuthorization
- type CancelOperationRequest
- type CidrBlock
- type ClientCertificateConfig
- type CloudRunConfig
- type Cluster
- type ClusterAutoscaling
- type ClusterTelemetry
- type ClusterUpdate
- type CompleteIPRotationRequest
- type ConfidentialNodes
- type ConfigConnectorConfig
- type ConsumptionMeteringConfig
- type CreateClusterRequest
- type CreateNodePoolRequest
- type DailyMaintenanceWindow
- type DatabaseEncryption
- type DefaultSnatStatus
- type DnsCacheConfig
- type Empty
- type EphemeralStorageConfig
- type GcePersistentDiskCsiDriverConfig
- type GetJSONWebKeysResponse
- type GetOpenIDConfigResponse
- type HorizontalPodAutoscaling
- type HttpCacheControlResponseHeader
- type HttpLoadBalancing
- type IPAllocationPolicy
- type IntraNodeVisibilityConfig
- type IstioConfig
- type Jwk
- type KalmConfig
- type KubernetesDashboard
- type LegacyAbac
- type LinuxNodeConfig
- type ListClustersResponse
- type ListLocationsResponse
- type ListNodePoolsResponse
- type ListOperationsResponse
- type ListUsableSubnetworksResponse
- type Location
- type MaintenancePolicy
- type MaintenanceWindow
- type Master
- type MasterAuth
- type MasterAuthorizedNetworksConfig
- type MaxPodsConstraint
- type Metric
- type NetworkConfig
- type NetworkPolicy
- type NetworkPolicyConfig
- type NodeConfig
- type NodeKubeletConfig
- type NodeManagement
- type NodePool
- type NodePoolAutoscaling
- type NodeTaint
- type NotificationConfig
- type Operation
- type OperationProgress
- type PodSecurityPolicyConfig
- 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 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 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) 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) 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 ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- 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 RecurringTimeWindow
- type ReleaseChannel
- type ReleaseChannelConfig
- type ReservationAffinity
- type ResourceLimit
- type ResourceUsageExportConfig
- type RollbackNodePoolUpgradeRequest
- type SandboxConfig
- type ServerConfig
- type Service
- 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 StartIPRotationRequest
- type Status
- type StatusCondition
- type TimeWindow
- type TpuConfig
- type UpdateClusterRequest
- type UpdateMasterRequest
- type UpdateNodePoolRequest
- type UpgradeEvent
- type UpgradeSettings
- type UsableSubnetwork
- type UsableSubnetworkSecondaryRange
- type VerticalPodAutoscaling
- type WorkloadIdentityConfig
- type WorkloadMetadataConfig
Constants ¶
const (
// View and manage your data across Google Cloud Platform services
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"` // ForceSendFields is a list of field names (e.g. "AcceleratorCount") to // unconditionally include in API requests. By default, fields with // empty 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 AddonsConfig ¶
type AddonsConfig struct { // CloudRunConfig: Configuration for the Cloud Run addon. The // `IstioConfig` addon must be enabled in order to enable Cloud Run // addon. This option can only be enabled at cluster creation time. 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"` // 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"` // IstioConfig: Configuration for Istio, an open platform to connect, // manage, and secure microservices. IstioConfig *IstioConfig `json:"istioConfig,omitempty"` // KalmConfig: Configuration for the KALM addon, which manages the // lifecycle of k8s applications. KalmConfig *KalmConfig `json:"kalmConfig,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 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 AuthenticatorGroupsConfig ¶
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 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 ¶
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 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 AutoprovisioningNodePoolDefaults ¶
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"` // Management: NodeManagement configuration for this NodePool. Management *NodeManagement `json:"management,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) To unset the min cpu platform field pass "automatic" as // field value. MinCpuPlatform string `json:"minCpuPlatform,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"` // 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"` // UpgradeSettings: Upgrade settings control disruption and speed of the // upgrade. 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 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 ¶
func (s *AutoprovisioningNodePoolDefaults) MarshalJSON() ([]byte, error)
type AvailableVersion ¶
type AvailableVersion struct { // Reason: Reason for availability. Reason string `json:"reason,omitempty"` // Version: Kubernetes version. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Reason") to // unconditionally include in API requests. By default, fields with // empty 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. "Reason") 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:"-"` }
AvailableVersion: Deprecated.
func (*AvailableVersion) MarshalJSON ¶
func (s *AvailableVersion) MarshalJSON() ([]byte, error)
type BigQueryDestination ¶
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 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 ¶
func (s *BigQueryDestination) MarshalJSON() ([]byte, error)
type BinaryAuthorization ¶
type BinaryAuthorization struct { // Enabled: Enable Binary Authorization for this cluster. If enabled, // all container images will be validated by Google Binauthz. 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 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 ¶
func (s *BinaryAuthorization) 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: Required. 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: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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 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 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 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 ¶
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 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 ¶
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"` // 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"` // ClusterTelemetry: Telemetry integration for the cluster. ClusterTelemetry *ClusterTelemetry `json:"clusterTelemetry,omitempty"` // Conditions: Which conditions caused the current cluster state. Conditions []*StatusCondition `json:"conditions,omitempty"` // ConfidentialNodes: Configuration of Confidential Nodes ConfidentialNodes *ConfidentialNodes `json:"confidentialNodes,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 // [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/ref // erence/rest/v1beta1/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"` // EnableKubernetesAlpha: Kubernetes alpha features are enabled on this // cluster. This includes alpha API groups (e.g. v1beta1) 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. This // field is deprecated, use tpu_config.enabled instead. 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"` // 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"` // 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-zon // es#available) or // [region](https://cloud.google.com/compute/docs/regions-zones/regions-z // ones#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/r // eference/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/r // eference/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"` // 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"` // Master: Configuration for master components. Master *Master `json:"master,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"` // MasterIpv4CidrBlock: The IP prefix in CIDR notation to use for the // hosted master network. This prefix will be used for assigning private // IP addresses to the master or set of masters, as well as the ILB VIP. // This field is deprecated, use // private_cluster_config.master_ipv4_cidr_block instead. MasterIpv4CidrBlock string `json:"masterIpv4CidrBlock,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. On output this shows the network // ID instead of the name. 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"` // 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"` // PodSecurityPolicyConfig: Configuration for the PodSecurityPolicy // feature. PodSecurityPolicyConfig *PodSecurityPolicyConfig `json:"podSecurityPolicyConfig,omitempty"` // PrivateCluster: If this is a private cluster setup. Private clusters // are clusters that, by default have no external IP addresses on the // nodes and where nodes and the master communicate over private IP // addresses. This field is deprecated, use // private_cluster_config.enable_private_nodes instead. PrivateCluster bool `json:"privateCluster,omitempty"` // PrivateClusterConfig: Configuration for private cluster. PrivateClusterConfig *PrivateClusterConfig `json:"privateClusterConfig,omitempty"` // ReleaseChannel: Release channel configuration. 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 // unspecified. ResourceUsageExportConfig *ResourceUsageExportConfig `json:"resourceUsageExportConfig,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 may be unusable. // 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. On output this shows the subnetwork // ID instead of the name. Subnetwork string `json:"subnetwork,omitempty"` // TpuConfig: Configuration for Cloud TPU support; TpuConfig *TpuConfig `json:"tpuConfig,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 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 ¶
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 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 ¶
func (s *ClusterAutoscaling) MarshalJSON() ([]byte, error)
type ClusterTelemetry ¶
type ClusterTelemetry struct { // Type: Type of the integration. // // Possible values: // "UNSPECIFIED" - Not set. // "DISABLED" - Monitoring integration is disabled. // "ENABLED" - Monitoring integration is enabled. // "SYSTEM_ONLY" - Only system components are monitored and logged. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty 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. "Type") 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:"-"` }
ClusterTelemetry: Telemetry integration for the cluster.
func (*ClusterTelemetry) MarshalJSON ¶
func (s *ClusterTelemetry) MarshalJSON() ([]byte, error)
type ClusterUpdate ¶
type ClusterUpdate struct { // DesiredAddonsConfig: Configurations for the various addons available // to run in the cluster. DesiredAddonsConfig *AddonsConfig `json:"desiredAddonsConfig,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"` // DesiredClusterTelemetry: The desired telemetry integration for the // cluster. DesiredClusterTelemetry *ClusterTelemetry `json:"desiredClusterTelemetry,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-enginw/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"` // 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"` // 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"` // 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"` // DesiredMaster: Configuration for master components. DesiredMaster *Master `json:"desiredMaster,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. // The only valid value is the latest supported version. 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"` // 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"` // 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", // "desired_node_pool_autoscaling", or // "desired_workload_metadata_config" is specified and there is more // than one node pool on the cluster. DesiredNodePoolId string `json:"desiredNodePoolId,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"` // DesiredPodSecurityPolicyConfig: The desired configuration options for // the PodSecurityPolicy feature. DesiredPodSecurityPolicyConfig *PodSecurityPolicyConfig `json:"desiredPodSecurityPolicyConfig,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 priate 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"` // DesiredShieldedNodes: Configuration for Shielded Nodes. DesiredShieldedNodes *ShieldedNodes `json:"desiredShieldedNodes,omitempty"` // DesiredTpuConfig: The desired Cloud TPU configuration. DesiredTpuConfig *TpuConfig `json:"desiredTpuConfig,omitempty"` // DesiredVerticalPodAutoscaling: Cluster-level Vertical Pod Autoscaling // configuration. DesiredVerticalPodAutoscaling *VerticalPodAutoscaling `json:"desiredVerticalPodAutoscaling,omitempty"` // DesiredWorkloadIdentityConfig: Configuration for Workload Identity. DesiredWorkloadIdentityConfig *WorkloadIdentityConfig `json:"desiredWorkloadIdentityConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "DesiredAddonsConfig") // to unconditionally include in API requests. By default, fields with // empty 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. "DesiredAddonsConfig") 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: Required. 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 id) of the cluster to // complete IP rotation. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber) // . This field has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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 ConfidentialNodes ¶
type ConfidentialNodes struct { // Enabled: Whether Confidential Nodes feature is enabled for all nodes // in 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 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 ¶
func (s *ConfidentialNodes) MarshalJSON() ([]byte, error)
type ConfigConnectorConfig ¶
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 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 ¶
func (s *ConfigConnectorConfig) MarshalJSON() ([]byte, error)
type ConsumptionMeteringConfig ¶
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 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 ¶
func (s *ConsumptionMeteringConfig) MarshalJSON() ([]byte, error)
type CreateClusterRequest ¶
type CreateClusterRequest struct { // Cluster: Required. A [cluster // resource](https://cloud.google.com/container-engine/reference/rest/v1b // eta1/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: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the parent field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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: Required. 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 id) where the node // pool will be created. Specified in the format // `projects/*/locations/*/clusters/*`. Parent string `json:"parent,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber) // . This field has been deprecated and replaced by the parent field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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 DailyMaintenanceWindow ¶
type DailyMaintenanceWindow struct { // Duration: [Output only] Duration of the time window, automatically // chosen to be smallest possible in the given scenario. Duration string `json:"duration,omitempty"` // StartTime: Time within the maintenance window to start the // maintenance operations. It must be in 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 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 ¶
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: Denotes the 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 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 ¶
func (s *DatabaseEncryption) MarshalJSON() ([]byte, error)
type DefaultSnatStatus ¶
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 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 ¶
func (s *DefaultSnatStatus) MarshalJSON() ([]byte, error)
type DnsCacheConfig ¶
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 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 ¶
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); } The JSON representation for `Empty` is empty JSON object `{}`.
type EphemeralStorageConfig ¶
type EphemeralStorageConfig 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. 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 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:"-"` }
EphemeralStorageConfig: EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.
func (*EphemeralStorageConfig) MarshalJSON ¶
func (s *EphemeralStorageConfig) MarshalJSON() ([]byte, error)
type GcePersistentDiskCsiDriverConfig ¶
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 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 ¶
func (s *GcePersistentDiskCsiDriverConfig) MarshalJSON() ([]byte, error)
type GetJSONWebKeysResponse ¶
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 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 ¶
func (s *GetJSONWebKeysResponse) MarshalJSON() ([]byte, error)
type GetOpenIDConfigResponse ¶
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 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 ¶
func (s *GetOpenIDConfigResponse) 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 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 ¶
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 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 ¶
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 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 IPAllocationPolicy ¶
type IPAllocationPolicy struct { // AllowRouteOverlap: If true, allow allocation of cluster CIDR ranges // that overlap with certain kinds of network routes. By default we do // not allow cluster CIDR ranges to intersect with any user declared // routes. With allow_route_overlap == true, we allow overlapping with // CIDR ranges that are larger than the cluster CIDR range. If this // field is set to true, then cluster and services CIDRs must be // fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) // When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and // `services_ipv4_cidr_block` must be fully-specified. 2) When // `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be // fully-specified. AllowRouteOverlap bool `json:"allowRouteOverlap,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 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"` // 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"` // 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"` // 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 and create_subnetwork is false. ServicesSecondaryRangeName string `json:"servicesSecondaryRangeName,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. This field is deprecated, use // cluster.tpu_config.ipv4_cidr_block instead. 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. "AllowRouteOverlap") // to unconditionally include in API requests. By default, fields with // empty 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. "AllowRouteOverlap") 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)
type IntraNodeVisibilityConfig ¶
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 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 ¶
func (s *IntraNodeVisibilityConfig) MarshalJSON() ([]byte, error)
type IstioConfig ¶
type IstioConfig struct { // Auth: The specified Istio auth mode, either none, or mutual TLS. // // Possible values: // "AUTH_NONE" - auth not enabled // "AUTH_MUTUAL_TLS" - auth mutual TLS enabled Auth string `json:"auth,omitempty"` // Disabled: Whether Istio is enabled for this cluster. Disabled bool `json:"disabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Auth") to // unconditionally include in API requests. By default, fields with // empty 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. "Auth") 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:"-"` }
IstioConfig: Configuration options for Istio addon.
func (*IstioConfig) MarshalJSON ¶
func (s *IstioConfig) MarshalJSON() ([]byte, error)
type Jwk ¶
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 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 ¶
type KalmConfig ¶
type KalmConfig struct { // Enabled: Whether KALM 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 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:"-"` }
KalmConfig: Configuration options for the KALM addon.
func (*KalmConfig) MarshalJSON ¶
func (s *KalmConfig) 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 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 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 ¶
type LinuxNodeConfig struct { // 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.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. "Sysctls") to // unconditionally include in API requests. By default, fields with // empty 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. "Sysctls") 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 ¶
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 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 ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A full list of GKE locations. Locations []*Location `json:"locations,omitempty"` // NextPageToken: Only return ListLocationsResponse that occur after the // page_token. This value should be populated from the // ListLocationsResponse.next_page_token if that response token was set // (which happens when listing more Locations than fit in a single // ListLocationsResponse). NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with // empty 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. "Locations") 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:"-"` }
ListLocationsResponse: ListLocationsResponse returns the list of all GKE locations and their recommendation state.
func (*ListLocationsResponse) MarshalJSON ¶
func (s *ListLocationsResponse) 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 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 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 ¶
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 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 ¶
func (s *ListUsableSubnetworksResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // Name: Contains the name of the resource requested. Specified in the // format `projects/*/locations/*`. Name string `json:"name,omitempty"` // Recommended: Whether the location is recomended for GKE cluster // scheduling. Recommended bool `json:"recommended,omitempty"` // Type: Contains the type of location this Location is for. Regional or // Zonal. // // Possible values: // "LOCATION_TYPE_UNSPECIFIED" - LOCATION_TYPE_UNSPECIFIED means the // location type was not determined. // "ZONE" - A GKE Location where Zonal clusters can be created. // "REGION" - A GKE Location where Regional clusters can be created. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty 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:"-"` }
Location: Location returns the location name, and if the location is recommended for GKE cluster scheduling.
func (*Location) MarshalJSON ¶
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 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 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 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 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 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 10 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"` // ForceSendFields is a list of field names (e.g. "CidrBlocks") to // unconditionally include in API requests. By default, fields with // empty 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 ¶
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 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 ¶
func (s *MaxPodsConstraint) MarshalJSON() ([]byte, error)
type Metric ¶
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 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 ¶
func (*Metric) UnmarshalJSON ¶
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-enginw/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"` // 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"` // 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"` // 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 priate IPv6 // access to and from Google Services PrivateIpv6GoogleAccess string `json:"privateIpv6GoogleAccess,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 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 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 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 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 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"` // 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"` // EphemeralStorageConfig: Parameters for the ephemeral storage // filesystem. If unspecified, ephemeral storage is backed by the boot // disk. EphemeralStorageConfig *EphemeralStorageConfig `json:"ephemeralStorageConfig,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. 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"` // 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"` // 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-oslogin" - "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" The following keys are // reserved for Windows nodes: - "serial-port-logging-enable" 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 // inforamtion 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"` // 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"` // 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"` // 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 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.
func (*NodeConfig) MarshalJSON ¶
func (s *NodeConfig) MarshalJSON() ([]byte, error)
type NodeKubeletConfig ¶
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"` // ForceSendFields is a list of field names (e.g. "CpuCfsQuota") to // unconditionally include in API requests. By default, fields with // empty 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 ¶
func (s *NodeKubeletConfig) MarshalJSON() ([]byte, error)
type NodeManagement ¶
type NodeManagement struct { // AutoRepair: Whether the nodes will be automatically repaired. AutoRepair bool `json:"autoRepair,omitempty"` // AutoUpgrade: Whether the nodes will be automatically upgraded. 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 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 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"` // 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"` // 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. 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/re // ference/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"` // 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"` // UpgradeSettings: Upgrade settings control disruption and speed of the // upgrade. UpgradeSettings *UpgradeSettings `json:"upgradeSettings,omitempty"` // Version: The version of the Kubernetes of this node. 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 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 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"` // MaxNodeCount: Maximum number of nodes in the NodePool. Must be >= // min_node_count. There has to enough quota to scale up the cluster. MaxNodeCount int64 `json:"maxNodeCount,omitempty"` // MinNodeCount: Minimum number of nodes in the NodePool. Must be >= 1 // and <= max_node_count. MinNodeCount int64 `json:"minNodeCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Autoprovisioned") to // unconditionally include in API requests. By default, fields with // empty 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 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 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 comprised 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-tol eration) for more information, including usage and the valid values.
func (*NodeTaint) MarshalJSON ¶
type NotificationConfig ¶
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 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 ¶
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-zon // es#available) or // [region](https://cloud.google.com/compute/docs/regions-zones/regions-z // ones#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" - Cluster create. // "DELETE_CLUSTER" - Cluster delete. // "UPGRADE_MASTER" - A master upgrade. // "UPGRADE_NODES" - A node upgrade. // "REPAIR_CLUSTER" - Cluster repair. // "UPDATE_CLUSTER" - Cluster update. // "CREATE_NODE_POOL" - Node pool create. // "DELETE_NODE_POOL" - Node pool delete. // "SET_NODE_POOL_MANAGEMENT" - Set node pool management. // "AUTO_REPAIR_NODES" - Automatic node pool repair. // "AUTO_UPGRADE_NODES" - Automatic node upgrade. // "SET_LABELS" - Set labels. // "SET_MASTER_AUTH" - Set/generate master auth materials // "SET_NODE_POOL_SIZE" - Set node pool size. // "SET_NETWORK_POLICY" - Updates network policy for a cluster. // "SET_MAINTENANCE_POLICY" - Set the maintenance policy. OperationType string `json:"operationType,omitempty"` // Progress: Output only. [Output only] Progress information for an // operation. Progress *OperationProgress `json:"progress,omitempty"` // SelfLink: Server-defined URL for the resource. 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 field error instead. StatusMessage string `json:"statusMessage,omitempty"` // TargetLink: Server-defined URL for the target of the operation. 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 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 ¶
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 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 ¶
func (s *OperationProgress) MarshalJSON() ([]byte, error)
type PodSecurityPolicyConfig ¶
type PodSecurityPolicyConfig struct { // Enabled: Enable the PodSecurityPolicy controller for this cluster. If // enabled, pods must be valid under a PodSecurityPolicy to be created. 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 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:"-"` }
PodSecurityPolicyConfig: Configuration for the PodSecurityPolicy feature.
func (*PodSecurityPolicyConfig) MarshalJSON ¶
func (s *PodSecurityPolicyConfig) 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"` // 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 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 ¶
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 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 ¶
func (s *PrivateClusterMasterGlobalAccessConfig) MarshalJSON() ([]byte, error)
type ProjectsAggregatedService ¶
type ProjectsAggregatedService struct { UsableSubnetworks *ProjectsAggregatedUsableSubnetworksService // contains filtered or unexported fields }
func NewProjectsAggregatedService ¶
func NewProjectsAggregatedService(s *Service) *ProjectsAggregatedService
type ProjectsAggregatedUsableSubnetworksListCall ¶
type ProjectsAggregatedUsableSubnetworksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAggregatedUsableSubnetworksListCall) Context ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type ProjectsAggregatedUsableSubnetworksService struct {
// contains filtered or unexported fields
}
func NewProjectsAggregatedUsableSubnetworksService ¶
func NewProjectsAggregatedUsableSubnetworksService(s *Service) *ProjectsAggregatedUsableSubnetworksService
func (*ProjectsAggregatedUsableSubnetworksService) List ¶
func (r *ProjectsAggregatedUsableSubnetworksService) List(parent string) *ProjectsAggregatedUsableSubnetworksListCall
List: Lists subnetworks that can be used for creating clusters in a project.
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": Required. 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": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). 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": Required. 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": Required. 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.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersGetCall
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 (*ProjectsLocationsClustersGetCall) ProjectId ¶
func (c *ProjectsLocationsClustersGetCall) ProjectId(projectId string) *ProjectsLocationsClustersGetCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersGetCall) Zone ¶
func (c *ProjectsLocationsClustersGetCall) Zone(zone string) *ProjectsLocationsClustersGetCall
Zone sets the optional parameter "zone": Required. 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 ProjectsLocationsClustersGetJwksCall ¶
type ProjectsLocationsClustersGetJwksCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersGetJwksCall) Context ¶
func (c *ProjectsLocationsClustersGetJwksCall) Context(ctx context.Context) *ProjectsLocationsClustersGetJwksCall
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 (*ProjectsLocationsClustersGetJwksCall) Do ¶
func (c *ProjectsLocationsClustersGetJwksCall) Do(opts ...googleapi.CallOption) (*GetJSONWebKeysResponse, error)
Do executes the "container.projects.locations.clusters.getJwks" call. Exactly one of *GetJSONWebKeysResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetJSONWebKeysResponse.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 (*ProjectsLocationsClustersGetJwksCall) Fields ¶
func (c *ProjectsLocationsClustersGetJwksCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersGetJwksCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersGetJwksCall) Header ¶
func (c *ProjectsLocationsClustersGetJwksCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersGetJwksCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersGetJwksCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersGetJwksCall
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 ProjectsLocationsClustersListCall ¶
type ProjectsLocationsClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersListCall) Context ¶
func (c *ProjectsLocationsClustersListCall) Context(ctx context.Context) *ProjectsLocationsClustersListCall
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 (*ProjectsLocationsClustersListCall) Do ¶
func (c *ProjectsLocationsClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse, error)
Do executes the "container.projects.locations.clusters.list" call. Exactly one of *ListClustersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListClustersResponse.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 (*ProjectsLocationsClustersListCall) Fields ¶
func (c *ProjectsLocationsClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersListCall) Header ¶
func (c *ProjectsLocationsClustersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersListCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersListCall
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 (*ProjectsLocationsClustersListCall) ProjectId ¶
func (c *ProjectsLocationsClustersListCall) ProjectId(projectId string) *ProjectsLocationsClustersListCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.
func (*ProjectsLocationsClustersListCall) Zone ¶
func (c *ProjectsLocationsClustersListCall) Zone(zone string) *ProjectsLocationsClustersListCall
Zone sets the optional parameter "zone": Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or "-" for all zones. This field has been deprecated and replaced by the parent field.
type ProjectsLocationsClustersNodePoolsCreateCall ¶
type ProjectsLocationsClustersNodePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsCreateCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsCreateCall
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 (*ProjectsLocationsClustersNodePoolsCreateCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.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 (*ProjectsLocationsClustersNodePoolsCreateCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsCreateCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersNodePoolsDeleteCall ¶
type ProjectsLocationsClustersNodePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsDeleteCall) ClusterId ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsDeleteCall
ClusterId sets the optional parameter "clusterId": Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsDeleteCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsDeleteCall
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 (*ProjectsLocationsClustersNodePoolsDeleteCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.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 (*ProjectsLocationsClustersNodePoolsDeleteCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsDeleteCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersNodePoolsDeleteCall) NodePoolId ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) NodePoolId(nodePoolId string) *ProjectsLocationsClustersNodePoolsDeleteCall
NodePoolId sets the optional parameter "nodePoolId": Required. Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsDeleteCall) ProjectId ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsDeleteCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber) . This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsDeleteCall) Zone ¶
func (c *ProjectsLocationsClustersNodePoolsDeleteCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsDeleteCall
Zone sets the optional parameter "zone": Required. 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 ProjectsLocationsClustersNodePoolsGetCall ¶
type ProjectsLocationsClustersNodePoolsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsGetCall) ClusterId ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsGetCall
ClusterId sets the optional parameter "clusterId": Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsGetCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsGetCall
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 (*ProjectsLocationsClustersNodePoolsGetCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*NodePool, error)
Do executes the "container.projects.locations.clusters.nodePools.get" call. Exactly one of *NodePool or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *NodePool.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 (*ProjectsLocationsClustersNodePoolsGetCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsGetCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersNodePoolsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersNodePoolsGetCall
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 (*ProjectsLocationsClustersNodePoolsGetCall) NodePoolId ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) NodePoolId(nodePoolId string) *ProjectsLocationsClustersNodePoolsGetCall
NodePoolId sets the optional parameter "nodePoolId": Required. Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsGetCall) ProjectId ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsGetCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber) . This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsClustersNodePoolsGetCall) Zone ¶
func (c *ProjectsLocationsClustersNodePoolsGetCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsGetCall
Zone sets the optional parameter "zone": Required. 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 ProjectsLocationsClustersNodePoolsListCall ¶
type ProjectsLocationsClustersNodePoolsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsListCall) ClusterId ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) ClusterId(clusterId string) *ProjectsLocationsClustersNodePoolsListCall
ClusterId sets the optional parameter "clusterId": Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
func (*ProjectsLocationsClustersNodePoolsListCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsListCall
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 (*ProjectsLocationsClustersNodePoolsListCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListNodePoolsResponse, error)
Do executes the "container.projects.locations.clusters.nodePools.list" call. Exactly one of *ListNodePoolsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListNodePoolsResponse.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 (*ProjectsLocationsClustersNodePoolsListCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsListCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersNodePoolsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersNodePoolsListCall
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 (*ProjectsLocationsClustersNodePoolsListCall) ProjectId ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) ProjectId(projectId string) *ProjectsLocationsClustersNodePoolsListCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber) . This field has been deprecated and replaced by the parent field.
func (*ProjectsLocationsClustersNodePoolsListCall) Zone ¶
func (c *ProjectsLocationsClustersNodePoolsListCall) Zone(zone string) *ProjectsLocationsClustersNodePoolsListCall
Zone sets the optional parameter "zone": Required. 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.
type ProjectsLocationsClustersNodePoolsRollbackCall ¶
type ProjectsLocationsClustersNodePoolsRollbackCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsRollbackCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsRollbackCall
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 (*ProjectsLocationsClustersNodePoolsRollbackCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.rollback" 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 (*ProjectsLocationsClustersNodePoolsRollbackCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsRollbackCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsRollbackCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsRollbackCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersNodePoolsService ¶
type ProjectsLocationsClustersNodePoolsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsClustersNodePoolsService ¶
func NewProjectsLocationsClustersNodePoolsService(s *Service) *ProjectsLocationsClustersNodePoolsService
func (*ProjectsLocationsClustersNodePoolsService) Create ¶
func (r *ProjectsLocationsClustersNodePoolsService) Create(parent string, createnodepoolrequest *CreateNodePoolRequest) *ProjectsLocationsClustersNodePoolsCreateCall
Create: Creates a node pool for a cluster.
func (*ProjectsLocationsClustersNodePoolsService) Delete ¶
func (r *ProjectsLocationsClustersNodePoolsService) Delete(name string) *ProjectsLocationsClustersNodePoolsDeleteCall
Delete: Deletes a node pool from a cluster.
func (*ProjectsLocationsClustersNodePoolsService) Get ¶
func (r *ProjectsLocationsClustersNodePoolsService) Get(name string) *ProjectsLocationsClustersNodePoolsGetCall
Get: Retrieves the requested node pool.
func (*ProjectsLocationsClustersNodePoolsService) List ¶
func (r *ProjectsLocationsClustersNodePoolsService) List(parent string) *ProjectsLocationsClustersNodePoolsListCall
List: Lists the node pools for a cluster.
func (*ProjectsLocationsClustersNodePoolsService) Rollback ¶
func (r *ProjectsLocationsClustersNodePoolsService) Rollback(name string, rollbacknodepoolupgraderequest *RollbackNodePoolUpgradeRequest) *ProjectsLocationsClustersNodePoolsRollbackCall
Rollback: Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
func (*ProjectsLocationsClustersNodePoolsService) SetAutoscaling ¶
func (r *ProjectsLocationsClustersNodePoolsService) SetAutoscaling(name string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
SetAutoscaling: Sets the autoscaling settings of a specific node pool.
func (*ProjectsLocationsClustersNodePoolsService) SetManagement ¶
func (r *ProjectsLocationsClustersNodePoolsService) SetManagement(name string, setnodepoolmanagementrequest *SetNodePoolManagementRequest) *ProjectsLocationsClustersNodePoolsSetManagementCall
SetManagement: Sets the NodeManagement options for a node pool.
func (*ProjectsLocationsClustersNodePoolsService) SetSize ¶
func (r *ProjectsLocationsClustersNodePoolsService) SetSize(name string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsLocationsClustersNodePoolsSetSizeCall
SetSize: SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.
func (*ProjectsLocationsClustersNodePoolsService) Update ¶
func (r *ProjectsLocationsClustersNodePoolsService) Update(name string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsLocationsClustersNodePoolsUpdateCall
Update: Updates the version and/or image type of a specific node pool.
type ProjectsLocationsClustersNodePoolsSetAutoscalingCall ¶
type ProjectsLocationsClustersNodePoolsSetAutoscalingCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
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 (*ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.setAutoscaling" 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 (*ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetAutoscalingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsSetAutoscalingCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersNodePoolsSetManagementCall ¶
type ProjectsLocationsClustersNodePoolsSetManagementCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsSetManagementCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetManagementCall
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 (*ProjectsLocationsClustersNodePoolsSetManagementCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.setManagement" 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 (*ProjectsLocationsClustersNodePoolsSetManagementCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetManagementCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsSetManagementCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsSetManagementCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersNodePoolsSetSizeCall ¶
type ProjectsLocationsClustersNodePoolsSetSizeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsSetSizeCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsSetSizeCall
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 (*ProjectsLocationsClustersNodePoolsSetSizeCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.setSize" 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 (*ProjectsLocationsClustersNodePoolsSetSizeCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsSetSizeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsSetSizeCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsSetSizeCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersNodePoolsUpdateCall ¶
type ProjectsLocationsClustersNodePoolsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersNodePoolsUpdateCall) Context ¶
func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Context(ctx context.Context) *ProjectsLocationsClustersNodePoolsUpdateCall
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 (*ProjectsLocationsClustersNodePoolsUpdateCall) Do ¶
func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.nodePools.update" 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 (*ProjectsLocationsClustersNodePoolsUpdateCall) Fields ¶
func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersNodePoolsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersNodePoolsUpdateCall) Header ¶
func (c *ProjectsLocationsClustersNodePoolsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersService ¶
type ProjectsLocationsClustersService struct { NodePools *ProjectsLocationsClustersNodePoolsService WellKnown *ProjectsLocationsClustersWellKnownService // contains filtered or unexported fields }
func NewProjectsLocationsClustersService ¶
func NewProjectsLocationsClustersService(s *Service) *ProjectsLocationsClustersService
func (*ProjectsLocationsClustersService) CompleteIpRotation ¶
func (r *ProjectsLocationsClustersService) CompleteIpRotation(name string, completeiprotationrequest *CompleteIPRotationRequest) *ProjectsLocationsClustersCompleteIpRotationCall
CompleteIpRotation: Completes master IP rotation.
func (*ProjectsLocationsClustersService) Create ¶
func (r *ProjectsLocationsClustersService) Create(parent string, createclusterrequest *CreateClusterRequest) *ProjectsLocationsClustersCreateCall
Create: Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls# networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
func (*ProjectsLocationsClustersService) Delete ¶
func (r *ProjectsLocationsClustersService) Delete(name string) *ProjectsLocationsClustersDeleteCall
Delete: Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
func (*ProjectsLocationsClustersService) Get ¶
func (r *ProjectsLocationsClustersService) Get(name string) *ProjectsLocationsClustersGetCall
Get: Gets the details for a specific cluster.
func (*ProjectsLocationsClustersService) GetJwks ¶
func (r *ProjectsLocationsClustersService) GetJwks(parent string) *ProjectsLocationsClustersGetJwksCall
GetJwks: Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
func (*ProjectsLocationsClustersService) List ¶
func (r *ProjectsLocationsClustersService) List(parent string) *ProjectsLocationsClustersListCall
List: Lists all clusters owned by a project in either the specified zone or all zones.
func (*ProjectsLocationsClustersService) SetAddons ¶
func (r *ProjectsLocationsClustersService) SetAddons(name string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsLocationsClustersSetAddonsCall
SetAddons: Sets the addons for a specific cluster.
func (*ProjectsLocationsClustersService) SetLegacyAbac ¶
func (r *ProjectsLocationsClustersService) SetLegacyAbac(name string, setlegacyabacrequest *SetLegacyAbacRequest) *ProjectsLocationsClustersSetLegacyAbacCall
SetLegacyAbac: Enables or disables the ABAC authorization mechanism on a cluster.
func (*ProjectsLocationsClustersService) SetLocations ¶
func (r *ProjectsLocationsClustersService) SetLocations(name string, setlocationsrequest *SetLocationsRequest) *ProjectsLocationsClustersSetLocationsCall
SetLocations: Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernet es-engine/docs/reference/rest/v1beta1/projects.locations.clusters/upda te) instead.
func (*ProjectsLocationsClustersService) SetLogging ¶
func (r *ProjectsLocationsClustersService) SetLogging(name string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsLocationsClustersSetLoggingCall
SetLogging: Sets the logging service for a specific cluster.
func (*ProjectsLocationsClustersService) SetMaintenancePolicy ¶
func (r *ProjectsLocationsClustersService) SetMaintenancePolicy(name string, setmaintenancepolicyrequest *SetMaintenancePolicyRequest) *ProjectsLocationsClustersSetMaintenancePolicyCall
SetMaintenancePolicy: Sets the maintenance policy for a cluster.
func (*ProjectsLocationsClustersService) SetMasterAuth ¶
func (r *ProjectsLocationsClustersService) SetMasterAuth(name string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsLocationsClustersSetMasterAuthCall
SetMasterAuth: Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
func (*ProjectsLocationsClustersService) SetMonitoring ¶
func (r *ProjectsLocationsClustersService) SetMonitoring(name string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsLocationsClustersSetMonitoringCall
SetMonitoring: Sets the monitoring service for a specific cluster.
func (*ProjectsLocationsClustersService) SetNetworkPolicy ¶
func (r *ProjectsLocationsClustersService) SetNetworkPolicy(name string, setnetworkpolicyrequest *SetNetworkPolicyRequest) *ProjectsLocationsClustersSetNetworkPolicyCall
SetNetworkPolicy: Enables or disables Network Policy for a cluster.
func (*ProjectsLocationsClustersService) SetResourceLabels ¶
func (r *ProjectsLocationsClustersService) SetResourceLabels(name string, setlabelsrequest *SetLabelsRequest) *ProjectsLocationsClustersSetResourceLabelsCall
SetResourceLabels: Sets labels on a cluster.
func (*ProjectsLocationsClustersService) StartIpRotation ¶
func (r *ProjectsLocationsClustersService) StartIpRotation(name string, startiprotationrequest *StartIPRotationRequest) *ProjectsLocationsClustersStartIpRotationCall
StartIpRotation: Starts master IP rotation.
func (*ProjectsLocationsClustersService) Update ¶
func (r *ProjectsLocationsClustersService) Update(name string, updateclusterrequest *UpdateClusterRequest) *ProjectsLocationsClustersUpdateCall
Update: Updates the settings for a specific cluster.
func (*ProjectsLocationsClustersService) UpdateMaster ¶
func (r *ProjectsLocationsClustersService) UpdateMaster(name string, updatemasterrequest *UpdateMasterRequest) *ProjectsLocationsClustersUpdateMasterCall
UpdateMaster: Updates the master for a specific cluster.
type ProjectsLocationsClustersSetAddonsCall ¶
type ProjectsLocationsClustersSetAddonsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetAddonsCall) Context ¶
func (c *ProjectsLocationsClustersSetAddonsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetAddonsCall
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 (*ProjectsLocationsClustersSetAddonsCall) Do ¶
func (c *ProjectsLocationsClustersSetAddonsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setAddons" 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 (*ProjectsLocationsClustersSetAddonsCall) Fields ¶
func (c *ProjectsLocationsClustersSetAddonsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetAddonsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetAddonsCall) Header ¶
func (c *ProjectsLocationsClustersSetAddonsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetLegacyAbacCall ¶
type ProjectsLocationsClustersSetLegacyAbacCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetLegacyAbacCall) Context ¶
func (c *ProjectsLocationsClustersSetLegacyAbacCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLegacyAbacCall
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 (*ProjectsLocationsClustersSetLegacyAbacCall) Do ¶
func (c *ProjectsLocationsClustersSetLegacyAbacCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setLegacyAbac" 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 (*ProjectsLocationsClustersSetLegacyAbacCall) Fields ¶
func (c *ProjectsLocationsClustersSetLegacyAbacCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLegacyAbacCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetLegacyAbacCall) Header ¶
func (c *ProjectsLocationsClustersSetLegacyAbacCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetLocationsCall ¶
type ProjectsLocationsClustersSetLocationsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetLocationsCall) Context ¶
func (c *ProjectsLocationsClustersSetLocationsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLocationsCall
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 (*ProjectsLocationsClustersSetLocationsCall) Do ¶
func (c *ProjectsLocationsClustersSetLocationsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setLocations" 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 (*ProjectsLocationsClustersSetLocationsCall) Fields ¶
func (c *ProjectsLocationsClustersSetLocationsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLocationsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetLocationsCall) Header ¶
func (c *ProjectsLocationsClustersSetLocationsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetLoggingCall ¶
type ProjectsLocationsClustersSetLoggingCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetLoggingCall) Context ¶
func (c *ProjectsLocationsClustersSetLoggingCall) Context(ctx context.Context) *ProjectsLocationsClustersSetLoggingCall
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 (*ProjectsLocationsClustersSetLoggingCall) Do ¶
func (c *ProjectsLocationsClustersSetLoggingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setLogging" 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 (*ProjectsLocationsClustersSetLoggingCall) Fields ¶
func (c *ProjectsLocationsClustersSetLoggingCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetLoggingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetLoggingCall) Header ¶
func (c *ProjectsLocationsClustersSetLoggingCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetMaintenancePolicyCall ¶
type ProjectsLocationsClustersSetMaintenancePolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetMaintenancePolicyCall) Context ¶
func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMaintenancePolicyCall
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 (*ProjectsLocationsClustersSetMaintenancePolicyCall) Do ¶
func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setMaintenancePolicy" 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 (*ProjectsLocationsClustersSetMaintenancePolicyCall) Fields ¶
func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMaintenancePolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetMaintenancePolicyCall) Header ¶
func (c *ProjectsLocationsClustersSetMaintenancePolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetMasterAuthCall ¶
type ProjectsLocationsClustersSetMasterAuthCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetMasterAuthCall) Context ¶
func (c *ProjectsLocationsClustersSetMasterAuthCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMasterAuthCall
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 (*ProjectsLocationsClustersSetMasterAuthCall) Do ¶
func (c *ProjectsLocationsClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setMasterAuth" 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 (*ProjectsLocationsClustersSetMasterAuthCall) Fields ¶
func (c *ProjectsLocationsClustersSetMasterAuthCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMasterAuthCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetMasterAuthCall) Header ¶
func (c *ProjectsLocationsClustersSetMasterAuthCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetMonitoringCall ¶
type ProjectsLocationsClustersSetMonitoringCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetMonitoringCall) Context ¶
func (c *ProjectsLocationsClustersSetMonitoringCall) Context(ctx context.Context) *ProjectsLocationsClustersSetMonitoringCall
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 (*ProjectsLocationsClustersSetMonitoringCall) Do ¶
func (c *ProjectsLocationsClustersSetMonitoringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setMonitoring" 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 (*ProjectsLocationsClustersSetMonitoringCall) Fields ¶
func (c *ProjectsLocationsClustersSetMonitoringCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetMonitoringCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetMonitoringCall) Header ¶
func (c *ProjectsLocationsClustersSetMonitoringCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetNetworkPolicyCall ¶
type ProjectsLocationsClustersSetNetworkPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetNetworkPolicyCall) Context ¶
func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Context(ctx context.Context) *ProjectsLocationsClustersSetNetworkPolicyCall
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 (*ProjectsLocationsClustersSetNetworkPolicyCall) Do ¶
func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setNetworkPolicy" 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 (*ProjectsLocationsClustersSetNetworkPolicyCall) Fields ¶
func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetNetworkPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetNetworkPolicyCall) Header ¶
func (c *ProjectsLocationsClustersSetNetworkPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersSetResourceLabelsCall ¶
type ProjectsLocationsClustersSetResourceLabelsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersSetResourceLabelsCall) Context ¶
func (c *ProjectsLocationsClustersSetResourceLabelsCall) Context(ctx context.Context) *ProjectsLocationsClustersSetResourceLabelsCall
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 (*ProjectsLocationsClustersSetResourceLabelsCall) Do ¶
func (c *ProjectsLocationsClustersSetResourceLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.setResourceLabels" 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 (*ProjectsLocationsClustersSetResourceLabelsCall) Fields ¶
func (c *ProjectsLocationsClustersSetResourceLabelsCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersSetResourceLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersSetResourceLabelsCall) Header ¶
func (c *ProjectsLocationsClustersSetResourceLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersStartIpRotationCall ¶
type ProjectsLocationsClustersStartIpRotationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersStartIpRotationCall) Context ¶
func (c *ProjectsLocationsClustersStartIpRotationCall) Context(ctx context.Context) *ProjectsLocationsClustersStartIpRotationCall
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 (*ProjectsLocationsClustersStartIpRotationCall) Do ¶
func (c *ProjectsLocationsClustersStartIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.startIpRotation" 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 (*ProjectsLocationsClustersStartIpRotationCall) Fields ¶
func (c *ProjectsLocationsClustersStartIpRotationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersStartIpRotationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersStartIpRotationCall) Header ¶
func (c *ProjectsLocationsClustersStartIpRotationCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersUpdateCall ¶
type ProjectsLocationsClustersUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersUpdateCall) Context ¶
func (c *ProjectsLocationsClustersUpdateCall) Context(ctx context.Context) *ProjectsLocationsClustersUpdateCall
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 (*ProjectsLocationsClustersUpdateCall) Do ¶
func (c *ProjectsLocationsClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.update" 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 (*ProjectsLocationsClustersUpdateCall) Fields ¶
func (c *ProjectsLocationsClustersUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersUpdateCall) Header ¶
func (c *ProjectsLocationsClustersUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersUpdateMasterCall ¶
type ProjectsLocationsClustersUpdateMasterCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersUpdateMasterCall) Context ¶
func (c *ProjectsLocationsClustersUpdateMasterCall) Context(ctx context.Context) *ProjectsLocationsClustersUpdateMasterCall
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 (*ProjectsLocationsClustersUpdateMasterCall) Do ¶
func (c *ProjectsLocationsClustersUpdateMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.clusters.updateMaster" 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 (*ProjectsLocationsClustersUpdateMasterCall) Fields ¶
func (c *ProjectsLocationsClustersUpdateMasterCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersUpdateMasterCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersUpdateMasterCall) Header ¶
func (c *ProjectsLocationsClustersUpdateMasterCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall ¶
type ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Context ¶
func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Context(ctx context.Context) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
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 (*ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Do ¶
func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Do(opts ...googleapi.CallOption) (*GetOpenIDConfigResponse, error)
Do executes the "container.projects.locations.clusters.well-known.getOpenid-configuration" call. Exactly one of *GetOpenIDConfigResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GetOpenIDConfigResponse.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 (*ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Fields ¶
func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Fields(s ...googleapi.Field) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header ¶
func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) IfNoneMatch ¶
func (c *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall) IfNoneMatch(entityTag string) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
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 ProjectsLocationsClustersWellKnownService ¶
type ProjectsLocationsClustersWellKnownService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsClustersWellKnownService ¶
func NewProjectsLocationsClustersWellKnownService(s *Service) *ProjectsLocationsClustersWellKnownService
func (*ProjectsLocationsClustersWellKnownService) GetOpenidConfiguration ¶
func (r *ProjectsLocationsClustersWellKnownService) GetOpenidConfiguration(parent string) *ProjectsLocationsClustersWellKnownGetOpenidConfigurationCall
GetOpenidConfiguration: Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.h tml) for details. This API is not yet intended for general use, and is not available for all clusters.
type ProjectsLocationsGetServerConfigCall ¶
type ProjectsLocationsGetServerConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetServerConfigCall) Context ¶
func (c *ProjectsLocationsGetServerConfigCall) Context(ctx context.Context) *ProjectsLocationsGetServerConfigCall
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 (*ProjectsLocationsGetServerConfigCall) Do ¶
func (c *ProjectsLocationsGetServerConfigCall) Do(opts ...googleapi.CallOption) (*ServerConfig, error)
Do executes the "container.projects.locations.getServerConfig" call. Exactly one of *ServerConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ServerConfig.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 (*ProjectsLocationsGetServerConfigCall) Fields ¶
func (c *ProjectsLocationsGetServerConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetServerConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetServerConfigCall) Header ¶
func (c *ProjectsLocationsGetServerConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetServerConfigCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetServerConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetServerConfigCall
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 (*ProjectsLocationsGetServerConfigCall) ProjectId ¶
func (c *ProjectsLocationsGetServerConfigCall) ProjectId(projectId string) *ProjectsLocationsGetServerConfigCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsGetServerConfigCall) Zone ¶
func (c *ProjectsLocationsGetServerConfigCall) Zone(zone string) *ProjectsLocationsGetServerConfigCall
Zone sets the optional parameter "zone": Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "container.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.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 (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
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 ProjectsLocationsOperationsCancelCall ¶
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
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 (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "container.projects.locations.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*ProjectsLocationsOperationsCancelCall) Fields ¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
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 (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.locations.operations.get" 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 (*ProjectsLocationsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
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 (*ProjectsLocationsOperationsGetCall) OperationId ¶
func (c *ProjectsLocationsOperationsGetCall) OperationId(operationId string) *ProjectsLocationsOperationsGetCall
OperationId sets the optional parameter "operationId": Required. Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsOperationsGetCall) ProjectId ¶
func (c *ProjectsLocationsOperationsGetCall) ProjectId(projectId string) *ProjectsLocationsOperationsGetCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
func (*ProjectsLocationsOperationsGetCall) Zone ¶
func (c *ProjectsLocationsOperationsGetCall) Zone(zone string) *ProjectsLocationsOperationsGetCall
Zone sets the optional parameter "zone": Required. 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 ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
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 (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "container.projects.locations.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsListCall) Header ¶
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
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 (*ProjectsLocationsOperationsListCall) ProjectId ¶
func (c *ProjectsLocationsOperationsListCall) ProjectId(projectId string) *ProjectsLocationsOperationsListCall
ProjectId sets the optional parameter "projectId": Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.
func (*ProjectsLocationsOperationsListCall) Zone ¶
func (c *ProjectsLocationsOperationsListCall) Zone(zone string) *ProjectsLocationsOperationsListCall
Zone sets the optional parameter "zone": Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Cancels the specified operation.
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the specified operation.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(parent string) *ProjectsLocationsOperationsListCall
List: Lists all operations in a project in the specified zone or all zones.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Clusters *ProjectsLocationsClustersService Operations *ProjectsLocationsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) GetServerConfig ¶
func (r *ProjectsLocationsService) GetServerConfig(name string) *ProjectsLocationsGetServerConfigCall
GetServerConfig: Returns configuration info about the Google Kubernetes Engine service.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(parent string) *ProjectsLocationsListCall
List: Fetches locations that offer Google Kubernetes Engine.
type ProjectsService ¶
type ProjectsService struct { Aggregated *ProjectsAggregatedService Locations *ProjectsLocationsService Zones *ProjectsZonesService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type ProjectsZonesClustersAddonsCall ¶
type ProjectsZonesClustersAddonsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersAddonsCall) Context ¶
func (c *ProjectsZonesClustersAddonsCall) Context(ctx context.Context) *ProjectsZonesClustersAddonsCall
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 (*ProjectsZonesClustersAddonsCall) Do ¶
func (c *ProjectsZonesClustersAddonsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.addons" 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 (*ProjectsZonesClustersAddonsCall) Fields ¶
func (c *ProjectsZonesClustersAddonsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersAddonsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersAddonsCall) Header ¶
func (c *ProjectsZonesClustersAddonsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersCompleteIpRotationCall ¶
type ProjectsZonesClustersCompleteIpRotationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersCompleteIpRotationCall) Context ¶
func (c *ProjectsZonesClustersCompleteIpRotationCall) Context(ctx context.Context) *ProjectsZonesClustersCompleteIpRotationCall
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 (*ProjectsZonesClustersCompleteIpRotationCall) Do ¶
func (c *ProjectsZonesClustersCompleteIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.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 (*ProjectsZonesClustersCompleteIpRotationCall) Fields ¶
func (c *ProjectsZonesClustersCompleteIpRotationCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersCompleteIpRotationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersCompleteIpRotationCall) Header ¶
func (c *ProjectsZonesClustersCompleteIpRotationCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersCreateCall ¶
type ProjectsZonesClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersCreateCall) Context ¶
func (c *ProjectsZonesClustersCreateCall) Context(ctx context.Context) *ProjectsZonesClustersCreateCall
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 (*ProjectsZonesClustersCreateCall) Do ¶
func (c *ProjectsZonesClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.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 (*ProjectsZonesClustersCreateCall) Fields ¶
func (c *ProjectsZonesClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersCreateCall) Header ¶
func (c *ProjectsZonesClustersCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersDeleteCall ¶
type ProjectsZonesClustersDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersDeleteCall) Context ¶
func (c *ProjectsZonesClustersDeleteCall) Context(ctx context.Context) *ProjectsZonesClustersDeleteCall
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 (*ProjectsZonesClustersDeleteCall) Do ¶
func (c *ProjectsZonesClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.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 (*ProjectsZonesClustersDeleteCall) Fields ¶
func (c *ProjectsZonesClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersDeleteCall) Header ¶
func (c *ProjectsZonesClustersDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersDeleteCall) Name ¶
func (c *ProjectsZonesClustersDeleteCall) Name(name string) *ProjectsZonesClustersDeleteCall
Name sets the optional parameter "name": The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.
type ProjectsZonesClustersGetCall ¶
type ProjectsZonesClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersGetCall) Context ¶
func (c *ProjectsZonesClustersGetCall) Context(ctx context.Context) *ProjectsZonesClustersGetCall
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 (*ProjectsZonesClustersGetCall) Do ¶
func (c *ProjectsZonesClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster, error)
Do executes the "container.projects.zones.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 (*ProjectsZonesClustersGetCall) Fields ¶
func (c *ProjectsZonesClustersGetCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersGetCall) Header ¶
func (c *ProjectsZonesClustersGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersGetCall) IfNoneMatch ¶
func (c *ProjectsZonesClustersGetCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersGetCall
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 (*ProjectsZonesClustersGetCall) Name ¶
func (c *ProjectsZonesClustersGetCall) Name(name string) *ProjectsZonesClustersGetCall
Name sets the optional parameter "name": The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.
type ProjectsZonesClustersLegacyAbacCall ¶
type ProjectsZonesClustersLegacyAbacCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersLegacyAbacCall) Context ¶
func (c *ProjectsZonesClustersLegacyAbacCall) Context(ctx context.Context) *ProjectsZonesClustersLegacyAbacCall
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 (*ProjectsZonesClustersLegacyAbacCall) Do ¶
func (c *ProjectsZonesClustersLegacyAbacCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.legacyAbac" 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 (*ProjectsZonesClustersLegacyAbacCall) Fields ¶
func (c *ProjectsZonesClustersLegacyAbacCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLegacyAbacCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersLegacyAbacCall) Header ¶
func (c *ProjectsZonesClustersLegacyAbacCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersListCall ¶
type ProjectsZonesClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersListCall) Context ¶
func (c *ProjectsZonesClustersListCall) Context(ctx context.Context) *ProjectsZonesClustersListCall
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 (*ProjectsZonesClustersListCall) Do ¶
func (c *ProjectsZonesClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse, error)
Do executes the "container.projects.zones.clusters.list" call. Exactly one of *ListClustersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListClustersResponse.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 (*ProjectsZonesClustersListCall) Fields ¶
func (c *ProjectsZonesClustersListCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersListCall) Header ¶
func (c *ProjectsZonesClustersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersListCall) IfNoneMatch ¶
func (c *ProjectsZonesClustersListCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersListCall
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 (*ProjectsZonesClustersListCall) Parent ¶
func (c *ProjectsZonesClustersListCall) Parent(parent string) *ProjectsZonesClustersListCall
Parent sets the optional parameter "parent": The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.
type ProjectsZonesClustersLocationsCall ¶
type ProjectsZonesClustersLocationsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersLocationsCall) Context ¶
func (c *ProjectsZonesClustersLocationsCall) Context(ctx context.Context) *ProjectsZonesClustersLocationsCall
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 (*ProjectsZonesClustersLocationsCall) Do ¶
func (c *ProjectsZonesClustersLocationsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.locations" 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 (*ProjectsZonesClustersLocationsCall) Fields ¶
func (c *ProjectsZonesClustersLocationsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLocationsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersLocationsCall) Header ¶
func (c *ProjectsZonesClustersLocationsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersLoggingCall ¶
type ProjectsZonesClustersLoggingCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersLoggingCall) Context ¶
func (c *ProjectsZonesClustersLoggingCall) Context(ctx context.Context) *ProjectsZonesClustersLoggingCall
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 (*ProjectsZonesClustersLoggingCall) Do ¶
func (c *ProjectsZonesClustersLoggingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.logging" 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 (*ProjectsZonesClustersLoggingCall) Fields ¶
func (c *ProjectsZonesClustersLoggingCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersLoggingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersLoggingCall) Header ¶
func (c *ProjectsZonesClustersLoggingCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersMasterCall ¶
type ProjectsZonesClustersMasterCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersMasterCall) Context ¶
func (c *ProjectsZonesClustersMasterCall) Context(ctx context.Context) *ProjectsZonesClustersMasterCall
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 (*ProjectsZonesClustersMasterCall) Do ¶
func (c *ProjectsZonesClustersMasterCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.master" 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 (*ProjectsZonesClustersMasterCall) Fields ¶
func (c *ProjectsZonesClustersMasterCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersMasterCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersMasterCall) Header ¶
func (c *ProjectsZonesClustersMasterCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersMonitoringCall ¶
type ProjectsZonesClustersMonitoringCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersMonitoringCall) Context ¶
func (c *ProjectsZonesClustersMonitoringCall) Context(ctx context.Context) *ProjectsZonesClustersMonitoringCall
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 (*ProjectsZonesClustersMonitoringCall) Do ¶
func (c *ProjectsZonesClustersMonitoringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.monitoring" 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 (*ProjectsZonesClustersMonitoringCall) Fields ¶
func (c *ProjectsZonesClustersMonitoringCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersMonitoringCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersMonitoringCall) Header ¶
func (c *ProjectsZonesClustersMonitoringCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsAutoscalingCall ¶
type ProjectsZonesClustersNodePoolsAutoscalingCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsAutoscalingCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsAutoscalingCall
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 (*ProjectsZonesClustersNodePoolsAutoscalingCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.autoscaling" 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 (*ProjectsZonesClustersNodePoolsAutoscalingCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsAutoscalingCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsAutoscalingCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsAutoscalingCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsCreateCall ¶
type ProjectsZonesClustersNodePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsCreateCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsCreateCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsCreateCall
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 (*ProjectsZonesClustersNodePoolsCreateCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.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 (*ProjectsZonesClustersNodePoolsCreateCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsCreateCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsDeleteCall ¶
type ProjectsZonesClustersNodePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsDeleteCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsDeleteCall
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 (*ProjectsZonesClustersNodePoolsDeleteCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.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 (*ProjectsZonesClustersNodePoolsDeleteCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsDeleteCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersNodePoolsDeleteCall) Name ¶
func (c *ProjectsZonesClustersNodePoolsDeleteCall) Name(name string) *ProjectsZonesClustersNodePoolsDeleteCall
Name sets the optional parameter "name": The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
type ProjectsZonesClustersNodePoolsGetCall ¶
type ProjectsZonesClustersNodePoolsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsGetCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsGetCall
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 (*ProjectsZonesClustersNodePoolsGetCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*NodePool, error)
Do executes the "container.projects.zones.clusters.nodePools.get" call. Exactly one of *NodePool or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *NodePool.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 (*ProjectsZonesClustersNodePoolsGetCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsGetCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersNodePoolsGetCall) IfNoneMatch ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersNodePoolsGetCall
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 (*ProjectsZonesClustersNodePoolsGetCall) Name ¶
func (c *ProjectsZonesClustersNodePoolsGetCall) Name(name string) *ProjectsZonesClustersNodePoolsGetCall
Name sets the optional parameter "name": The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
type ProjectsZonesClustersNodePoolsListCall ¶
type ProjectsZonesClustersNodePoolsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsListCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsListCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsListCall
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 (*ProjectsZonesClustersNodePoolsListCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListNodePoolsResponse, error)
Do executes the "container.projects.zones.clusters.nodePools.list" call. Exactly one of *ListNodePoolsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListNodePoolsResponse.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 (*ProjectsZonesClustersNodePoolsListCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsListCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesClustersNodePoolsListCall) IfNoneMatch ¶
func (c *ProjectsZonesClustersNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsZonesClustersNodePoolsListCall
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 (*ProjectsZonesClustersNodePoolsListCall) Parent ¶
func (c *ProjectsZonesClustersNodePoolsListCall) Parent(parent string) *ProjectsZonesClustersNodePoolsListCall
Parent sets the optional parameter "parent": The parent (project, location, cluster id) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.
type ProjectsZonesClustersNodePoolsRollbackCall ¶
type ProjectsZonesClustersNodePoolsRollbackCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsRollbackCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsRollbackCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsRollbackCall
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 (*ProjectsZonesClustersNodePoolsRollbackCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.rollback" 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 (*ProjectsZonesClustersNodePoolsRollbackCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsRollbackCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsRollbackCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsRollbackCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsRollbackCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsService ¶
type ProjectsZonesClustersNodePoolsService struct {
// contains filtered or unexported fields
}
func NewProjectsZonesClustersNodePoolsService ¶
func NewProjectsZonesClustersNodePoolsService(s *Service) *ProjectsZonesClustersNodePoolsService
func (*ProjectsZonesClustersNodePoolsService) Autoscaling ¶
func (r *ProjectsZonesClustersNodePoolsService) Autoscaling(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolautoscalingrequest *SetNodePoolAutoscalingRequest) *ProjectsZonesClustersNodePoolsAutoscalingCall
Autoscaling: Sets the autoscaling settings of a specific node pool.
func (*ProjectsZonesClustersNodePoolsService) Create ¶
func (r *ProjectsZonesClustersNodePoolsService) Create(projectId string, zone string, clusterId string, createnodepoolrequest *CreateNodePoolRequest) *ProjectsZonesClustersNodePoolsCreateCall
Create: Creates a node pool for a cluster.
func (*ProjectsZonesClustersNodePoolsService) Delete ¶
func (r *ProjectsZonesClustersNodePoolsService) Delete(projectId string, zone string, clusterId string, nodePoolId string) *ProjectsZonesClustersNodePoolsDeleteCall
Delete: Deletes a node pool from a cluster.
func (*ProjectsZonesClustersNodePoolsService) Get ¶
func (r *ProjectsZonesClustersNodePoolsService) Get(projectId string, zone string, clusterId string, nodePoolId string) *ProjectsZonesClustersNodePoolsGetCall
Get: Retrieves the requested node pool.
func (*ProjectsZonesClustersNodePoolsService) List ¶
func (r *ProjectsZonesClustersNodePoolsService) List(projectId string, zone string, clusterId string) *ProjectsZonesClustersNodePoolsListCall
List: Lists the node pools for a cluster.
func (*ProjectsZonesClustersNodePoolsService) Rollback ¶
func (r *ProjectsZonesClustersNodePoolsService) Rollback(projectId string, zone string, clusterId string, nodePoolId string, rollbacknodepoolupgraderequest *RollbackNodePoolUpgradeRequest) *ProjectsZonesClustersNodePoolsRollbackCall
Rollback: Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.
func (*ProjectsZonesClustersNodePoolsService) SetManagement ¶
func (r *ProjectsZonesClustersNodePoolsService) SetManagement(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolmanagementrequest *SetNodePoolManagementRequest) *ProjectsZonesClustersNodePoolsSetManagementCall
SetManagement: Sets the NodeManagement options for a node pool.
func (*ProjectsZonesClustersNodePoolsService) SetSize ¶
func (r *ProjectsZonesClustersNodePoolsService) SetSize(projectId string, zone string, clusterId string, nodePoolId string, setnodepoolsizerequest *SetNodePoolSizeRequest) *ProjectsZonesClustersNodePoolsSetSizeCall
SetSize: SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.
func (*ProjectsZonesClustersNodePoolsService) Update ¶
func (r *ProjectsZonesClustersNodePoolsService) Update(projectId string, zone string, clusterId string, nodePoolId string, updatenodepoolrequest *UpdateNodePoolRequest) *ProjectsZonesClustersNodePoolsUpdateCall
Update: Updates the version and/or image type of a specific node pool.
type ProjectsZonesClustersNodePoolsSetManagementCall ¶
type ProjectsZonesClustersNodePoolsSetManagementCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsSetManagementCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsSetManagementCall
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 (*ProjectsZonesClustersNodePoolsSetManagementCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.setManagement" 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 (*ProjectsZonesClustersNodePoolsSetManagementCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsSetManagementCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsSetManagementCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsSetManagementCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsSetSizeCall ¶
type ProjectsZonesClustersNodePoolsSetSizeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsSetSizeCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsSetSizeCall
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 (*ProjectsZonesClustersNodePoolsSetSizeCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.setSize" 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 (*ProjectsZonesClustersNodePoolsSetSizeCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsSetSizeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsSetSizeCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsSetSizeCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersNodePoolsUpdateCall ¶
type ProjectsZonesClustersNodePoolsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersNodePoolsUpdateCall) Context ¶
func (c *ProjectsZonesClustersNodePoolsUpdateCall) Context(ctx context.Context) *ProjectsZonesClustersNodePoolsUpdateCall
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 (*ProjectsZonesClustersNodePoolsUpdateCall) Do ¶
func (c *ProjectsZonesClustersNodePoolsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.nodePools.update" 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 (*ProjectsZonesClustersNodePoolsUpdateCall) Fields ¶
func (c *ProjectsZonesClustersNodePoolsUpdateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersNodePoolsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersNodePoolsUpdateCall) Header ¶
func (c *ProjectsZonesClustersNodePoolsUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersResourceLabelsCall ¶
type ProjectsZonesClustersResourceLabelsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersResourceLabelsCall) Context ¶
func (c *ProjectsZonesClustersResourceLabelsCall) Context(ctx context.Context) *ProjectsZonesClustersResourceLabelsCall
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 (*ProjectsZonesClustersResourceLabelsCall) Do ¶
func (c *ProjectsZonesClustersResourceLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.resourceLabels" 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 (*ProjectsZonesClustersResourceLabelsCall) Fields ¶
func (c *ProjectsZonesClustersResourceLabelsCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersResourceLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersResourceLabelsCall) Header ¶
func (c *ProjectsZonesClustersResourceLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersService ¶
type ProjectsZonesClustersService struct { NodePools *ProjectsZonesClustersNodePoolsService // contains filtered or unexported fields }
func NewProjectsZonesClustersService ¶
func NewProjectsZonesClustersService(s *Service) *ProjectsZonesClustersService
func (*ProjectsZonesClustersService) Addons ¶
func (r *ProjectsZonesClustersService) Addons(projectId string, zone string, clusterId string, setaddonsconfigrequest *SetAddonsConfigRequest) *ProjectsZonesClustersAddonsCall
Addons: Sets the addons for a specific cluster.
func (*ProjectsZonesClustersService) CompleteIpRotation ¶
func (r *ProjectsZonesClustersService) CompleteIpRotation(projectId string, zone string, clusterId string, completeiprotationrequest *CompleteIPRotationRequest) *ProjectsZonesClustersCompleteIpRotationCall
CompleteIpRotation: Completes master IP rotation.
func (*ProjectsZonesClustersService) Create ¶
func (r *ProjectsZonesClustersService) Create(projectId string, zone string, createclusterrequest *CreateClusterRequest) *ProjectsZonesClustersCreateCall
Create: Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls# networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.
func (*ProjectsZonesClustersService) Delete ¶
func (r *ProjectsZonesClustersService) Delete(projectId string, zone string, clusterId string) *ProjectsZonesClustersDeleteCall
Delete: Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.
func (*ProjectsZonesClustersService) Get ¶
func (r *ProjectsZonesClustersService) Get(projectId string, zone string, clusterId string) *ProjectsZonesClustersGetCall
Get: Gets the details for a specific cluster.
func (*ProjectsZonesClustersService) LegacyAbac ¶
func (r *ProjectsZonesClustersService) LegacyAbac(projectId string, zone string, clusterId string, setlegacyabacrequest *SetLegacyAbacRequest) *ProjectsZonesClustersLegacyAbacCall
LegacyAbac: Enables or disables the ABAC authorization mechanism on a cluster.
func (*ProjectsZonesClustersService) List ¶
func (r *ProjectsZonesClustersService) List(projectId string, zone string) *ProjectsZonesClustersListCall
List: Lists all clusters owned by a project in either the specified zone or all zones.
func (*ProjectsZonesClustersService) Locations ¶
func (r *ProjectsZonesClustersService) Locations(projectId string, zone string, clusterId string, setlocationsrequest *SetLocationsRequest) *ProjectsZonesClustersLocationsCall
Locations: Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernet es-engine/docs/reference/rest/v1beta1/projects.locations.clusters/upda te) instead.
func (*ProjectsZonesClustersService) Logging ¶
func (r *ProjectsZonesClustersService) Logging(projectId string, zone string, clusterId string, setloggingservicerequest *SetLoggingServiceRequest) *ProjectsZonesClustersLoggingCall
Logging: Sets the logging service for a specific cluster.
func (*ProjectsZonesClustersService) Master ¶
func (r *ProjectsZonesClustersService) Master(projectId string, zone string, clusterId string, updatemasterrequest *UpdateMasterRequest) *ProjectsZonesClustersMasterCall
Master: Updates the master for a specific cluster.
func (*ProjectsZonesClustersService) Monitoring ¶
func (r *ProjectsZonesClustersService) Monitoring(projectId string, zone string, clusterId string, setmonitoringservicerequest *SetMonitoringServiceRequest) *ProjectsZonesClustersMonitoringCall
Monitoring: Sets the monitoring service for a specific cluster.
func (*ProjectsZonesClustersService) ResourceLabels ¶
func (r *ProjectsZonesClustersService) ResourceLabels(projectId string, zone string, clusterId string, setlabelsrequest *SetLabelsRequest) *ProjectsZonesClustersResourceLabelsCall
ResourceLabels: Sets labels on a cluster.
func (*ProjectsZonesClustersService) SetMaintenancePolicy ¶
func (r *ProjectsZonesClustersService) SetMaintenancePolicy(projectId string, zone string, clusterId string, setmaintenancepolicyrequest *SetMaintenancePolicyRequest) *ProjectsZonesClustersSetMaintenancePolicyCall
SetMaintenancePolicy: Sets the maintenance policy for a cluster.
func (*ProjectsZonesClustersService) SetMasterAuth ¶
func (r *ProjectsZonesClustersService) SetMasterAuth(projectId string, zone string, clusterId string, setmasterauthrequest *SetMasterAuthRequest) *ProjectsZonesClustersSetMasterAuthCall
SetMasterAuth: Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
func (*ProjectsZonesClustersService) SetNetworkPolicy ¶
func (r *ProjectsZonesClustersService) SetNetworkPolicy(projectId string, zone string, clusterId string, setnetworkpolicyrequest *SetNetworkPolicyRequest) *ProjectsZonesClustersSetNetworkPolicyCall
SetNetworkPolicy: Enables or disables Network Policy for a cluster.
func (*ProjectsZonesClustersService) StartIpRotation ¶
func (r *ProjectsZonesClustersService) StartIpRotation(projectId string, zone string, clusterId string, startiprotationrequest *StartIPRotationRequest) *ProjectsZonesClustersStartIpRotationCall
StartIpRotation: Starts master IP rotation.
func (*ProjectsZonesClustersService) Update ¶
func (r *ProjectsZonesClustersService) Update(projectId string, zone string, clusterId string, updateclusterrequest *UpdateClusterRequest) *ProjectsZonesClustersUpdateCall
Update: Updates the settings for a specific cluster.
type ProjectsZonesClustersSetMaintenancePolicyCall ¶
type ProjectsZonesClustersSetMaintenancePolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersSetMaintenancePolicyCall) Context ¶
func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Context(ctx context.Context) *ProjectsZonesClustersSetMaintenancePolicyCall
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 (*ProjectsZonesClustersSetMaintenancePolicyCall) Do ¶
func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.setMaintenancePolicy" 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 (*ProjectsZonesClustersSetMaintenancePolicyCall) Fields ¶
func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetMaintenancePolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersSetMaintenancePolicyCall) Header ¶
func (c *ProjectsZonesClustersSetMaintenancePolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersSetMasterAuthCall ¶
type ProjectsZonesClustersSetMasterAuthCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersSetMasterAuthCall) Context ¶
func (c *ProjectsZonesClustersSetMasterAuthCall) Context(ctx context.Context) *ProjectsZonesClustersSetMasterAuthCall
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 (*ProjectsZonesClustersSetMasterAuthCall) Do ¶
func (c *ProjectsZonesClustersSetMasterAuthCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.setMasterAuth" 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 (*ProjectsZonesClustersSetMasterAuthCall) Fields ¶
func (c *ProjectsZonesClustersSetMasterAuthCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetMasterAuthCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersSetMasterAuthCall) Header ¶
func (c *ProjectsZonesClustersSetMasterAuthCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersSetNetworkPolicyCall ¶
type ProjectsZonesClustersSetNetworkPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersSetNetworkPolicyCall) Context ¶
func (c *ProjectsZonesClustersSetNetworkPolicyCall) Context(ctx context.Context) *ProjectsZonesClustersSetNetworkPolicyCall
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 (*ProjectsZonesClustersSetNetworkPolicyCall) Do ¶
func (c *ProjectsZonesClustersSetNetworkPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.setNetworkPolicy" 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 (*ProjectsZonesClustersSetNetworkPolicyCall) Fields ¶
func (c *ProjectsZonesClustersSetNetworkPolicyCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersSetNetworkPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersSetNetworkPolicyCall) Header ¶
func (c *ProjectsZonesClustersSetNetworkPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersStartIpRotationCall ¶
type ProjectsZonesClustersStartIpRotationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersStartIpRotationCall) Context ¶
func (c *ProjectsZonesClustersStartIpRotationCall) Context(ctx context.Context) *ProjectsZonesClustersStartIpRotationCall
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 (*ProjectsZonesClustersStartIpRotationCall) Do ¶
func (c *ProjectsZonesClustersStartIpRotationCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.startIpRotation" 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 (*ProjectsZonesClustersStartIpRotationCall) Fields ¶
func (c *ProjectsZonesClustersStartIpRotationCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersStartIpRotationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersStartIpRotationCall) Header ¶
func (c *ProjectsZonesClustersStartIpRotationCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesClustersUpdateCall ¶
type ProjectsZonesClustersUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesClustersUpdateCall) Context ¶
func (c *ProjectsZonesClustersUpdateCall) Context(ctx context.Context) *ProjectsZonesClustersUpdateCall
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 (*ProjectsZonesClustersUpdateCall) Do ¶
func (c *ProjectsZonesClustersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.clusters.update" 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 (*ProjectsZonesClustersUpdateCall) Fields ¶
func (c *ProjectsZonesClustersUpdateCall) Fields(s ...googleapi.Field) *ProjectsZonesClustersUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesClustersUpdateCall) Header ¶
func (c *ProjectsZonesClustersUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesGetServerconfigCall ¶
type ProjectsZonesGetServerconfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesGetServerconfigCall) Context ¶
func (c *ProjectsZonesGetServerconfigCall) Context(ctx context.Context) *ProjectsZonesGetServerconfigCall
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 (*ProjectsZonesGetServerconfigCall) Do ¶
func (c *ProjectsZonesGetServerconfigCall) Do(opts ...googleapi.CallOption) (*ServerConfig, error)
Do executes the "container.projects.zones.getServerconfig" call. Exactly one of *ServerConfig or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ServerConfig.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 (*ProjectsZonesGetServerconfigCall) Fields ¶
func (c *ProjectsZonesGetServerconfigCall) Fields(s ...googleapi.Field) *ProjectsZonesGetServerconfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesGetServerconfigCall) Header ¶
func (c *ProjectsZonesGetServerconfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesGetServerconfigCall) IfNoneMatch ¶
func (c *ProjectsZonesGetServerconfigCall) IfNoneMatch(entityTag string) *ProjectsZonesGetServerconfigCall
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 (*ProjectsZonesGetServerconfigCall) Name ¶
func (c *ProjectsZonesGetServerconfigCall) Name(name string) *ProjectsZonesGetServerconfigCall
Name sets the optional parameter "name": The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.
type ProjectsZonesOperationsCancelCall ¶
type ProjectsZonesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesOperationsCancelCall) Context ¶
func (c *ProjectsZonesOperationsCancelCall) Context(ctx context.Context) *ProjectsZonesOperationsCancelCall
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 (*ProjectsZonesOperationsCancelCall) Do ¶
func (c *ProjectsZonesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "container.projects.zones.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*ProjectsZonesOperationsCancelCall) Fields ¶
func (c *ProjectsZonesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesOperationsCancelCall) Header ¶
func (c *ProjectsZonesOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsZonesOperationsGetCall ¶
type ProjectsZonesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesOperationsGetCall) Context ¶
func (c *ProjectsZonesOperationsGetCall) Context(ctx context.Context) *ProjectsZonesOperationsGetCall
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 (*ProjectsZonesOperationsGetCall) Do ¶
func (c *ProjectsZonesOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "container.projects.zones.operations.get" 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 (*ProjectsZonesOperationsGetCall) Fields ¶
func (c *ProjectsZonesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesOperationsGetCall) Header ¶
func (c *ProjectsZonesOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsZonesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsZonesOperationsGetCall
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 (*ProjectsZonesOperationsGetCall) Name ¶
func (c *ProjectsZonesOperationsGetCall) Name(name string) *ProjectsZonesOperationsGetCall
Name sets the optional parameter "name": The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.
type ProjectsZonesOperationsListCall ¶
type ProjectsZonesOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsZonesOperationsListCall) Context ¶
func (c *ProjectsZonesOperationsListCall) Context(ctx context.Context) *ProjectsZonesOperationsListCall
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 (*ProjectsZonesOperationsListCall) Do ¶
func (c *ProjectsZonesOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "container.projects.zones.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*ProjectsZonesOperationsListCall) Fields ¶
func (c *ProjectsZonesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsZonesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsZonesOperationsListCall) Header ¶
func (c *ProjectsZonesOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsZonesOperationsListCall) IfNoneMatch ¶
func (c *ProjectsZonesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsZonesOperationsListCall
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 (*ProjectsZonesOperationsListCall) Parent ¶
func (c *ProjectsZonesOperationsListCall) Parent(parent string) *ProjectsZonesOperationsListCall
Parent sets the optional parameter "parent": The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.
type ProjectsZonesOperationsService ¶
type ProjectsZonesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsZonesOperationsService ¶
func NewProjectsZonesOperationsService(s *Service) *ProjectsZonesOperationsService
func (*ProjectsZonesOperationsService) Cancel ¶
func (r *ProjectsZonesOperationsService) Cancel(projectId string, zone string, operationId string, canceloperationrequest *CancelOperationRequest) *ProjectsZonesOperationsCancelCall
Cancel: Cancels the specified operation.
func (*ProjectsZonesOperationsService) Get ¶
func (r *ProjectsZonesOperationsService) Get(projectId string, zone string, operationId string) *ProjectsZonesOperationsGetCall
Get: Gets the specified operation.
func (*ProjectsZonesOperationsService) List ¶
func (r *ProjectsZonesOperationsService) List(projectId string, zone string) *ProjectsZonesOperationsListCall
List: Lists all operations in a project in the specified zone or all zones.
type ProjectsZonesService ¶
type ProjectsZonesService struct { Clusters *ProjectsZonesClustersService Operations *ProjectsZonesOperationsService // contains filtered or unexported fields }
func NewProjectsZonesService ¶
func NewProjectsZonesService(s *Service) *ProjectsZonesService
func (*ProjectsZonesService) GetServerconfig ¶
func (r *ProjectsZonesService) GetServerconfig(projectId string, zone string) *ProjectsZonesGetServerconfigCall
GetServerconfig: Returns configuration info about the Google Kubernetes Engine service.
type PubSub ¶
type PubSub struct { // Enabled: Enable notifications for Pub/Sub. Enabled bool `json:"enabled,omitempty"` // Topic: The desired Pub/Sub topic to which notifications will be sent // by GKE. Format is `projects/{project}/topics/{topic}`. Topic string `json:"topic,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty 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:"-"` }
PubSub: Pub/Sub specific notification config.
func (*PubSub) MarshalJSON ¶
type RecurringTimeWindow ¶
type RecurringTimeWindow struct { // Recurrence: An RRULE // (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this // window reccurs. They go on for the span of time between the start and // end time. For example, to have something repeat every weekday, you'd // use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily // (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the // first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` // This specifies how frequently the window starts. Eg, if you wanted to // have a 9-5 UTC-4 window every weekday, you'd use something like: “` // start time = 2019-01-01T09:00:00-0400 end time = // 2019-01-01T17:00:00-0400 recurrence = // FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR “` Windows can span multiple days. // Eg, to make the window encompass every weekend from midnight Saturday // till the last minute of Sunday UTC: “` start time = // 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = // FREQ=WEEKLY;BYDAY=SA “` Note the start and end time's specific dates // are largely arbitrary except to specify duration of the window and // when it first starts. The FREQ values of HOURLY, MINUTELY, and // SECONDLY are not supported. Recurrence string `json:"recurrence,omitempty"` // Window: The window of the first recurrence. Window *TimeWindow `json:"window,omitempty"` // ForceSendFields is a list of field names (e.g. "Recurrence") to // unconditionally include in API requests. By default, fields with // empty 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. "Recurrence") 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:"-"` }
RecurringTimeWindow: Represents an arbitrary window of time that recurs.
func (*RecurringTimeWindow) MarshalJSON ¶
func (s *RecurringTimeWindow) MarshalJSON() ([]byte, error)
type ReleaseChannel ¶
type ReleaseChannel struct { // Channel: channel specifies which release channel the cluster is // subscribed to. // // Possible values: // "UNSPECIFIED" - No channel specified. // "RAPID" - RAPID channel is offered on an early access basis for // customers who want to test new releases. WARNING: Versions available // in the RAPID Channel may be subject to unresolved issues with no // known workaround and are not subject to any SLAs. // "REGULAR" - Clusters subscribed to REGULAR receive versions that // are considered GA quality. REGULAR is intended for production users // who want to take advantage of new features. // "STABLE" - Clusters subscribed to STABLE receive versions that are // known to be stable and reliable in production. 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 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:"-"` }
ReleaseChannel: ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.
func (*ReleaseChannel) MarshalJSON ¶
func (s *ReleaseChannel) MarshalJSON() ([]byte, error)
type ReleaseChannelConfig ¶
type ReleaseChannelConfig struct { // AvailableVersions: Deprecated. This field has been deprecated and // replaced with the valid_versions field. AvailableVersions []*AvailableVersion `json:"availableVersions,omitempty"` // Channel: The release channel this configuration applies to. // // Possible values: // "UNSPECIFIED" - No channel specified. // "RAPID" - RAPID channel is offered on an early access basis for // customers who want to test new releases. WARNING: Versions available // in the RAPID Channel may be subject to unresolved issues with no // known workaround and are not subject to any SLAs. // "REGULAR" - Clusters subscribed to REGULAR receive versions that // are considered GA quality. REGULAR is intended for production users // who want to take advantage of new features. // "STABLE" - Clusters subscribed to STABLE receive versions that are // known to be stable and reliable in production. Channel string `json:"channel,omitempty"` // DefaultVersion: The default version for newly created clusters on the // channel. DefaultVersion string `json:"defaultVersion,omitempty"` // ValidVersions: List of valid versions for the channel. ValidVersions []string `json:"validVersions,omitempty"` // ForceSendFields is a list of field names (e.g. "AvailableVersions") // to unconditionally include in API requests. By default, fields with // empty 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. "AvailableVersions") 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:"-"` }
ReleaseChannelConfig: ReleaseChannelConfig exposes configuration for a release channel.
func (*ReleaseChannelConfig) MarshalJSON ¶
func (s *ReleaseChannelConfig) MarshalJSON() ([]byte, error)
type ReservationAffinity ¶
type ReservationAffinity struct { // ConsumeReservationType: Corresponds to the type of reservation // consumption. // // Possible values: // "UNSPECIFIED" - Default value. This should not be used. // "NO_RESERVATION" - Do not consume from any reserved capacity. // "ANY_RESERVATION" - Consume any reservation available. // "SPECIFIC_RESERVATION" - Must consume from a specific reservation. // Must specify key value fields for specifying the reservations. ConsumeReservationType string `json:"consumeReservationType,omitempty"` // Key: Corresponds to the label key of a reservation resource. To // target a SPECIFIC_RESERVATION by name, specify // "googleapis.com/reservation-name" as the key and specify the name of // your reservation as its value. Key string `json:"key,omitempty"` // Values: Corresponds to the label value(s) of reservation resource(s). Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. // "ConsumeReservationType") to unconditionally include in API requests. // By default, fields with empty 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. "ConsumeReservationType") // 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:"-"` }
ReservationAffinity: ReservationAffinity(https://cloud.google.com/compute/docs/instances/ reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.
func (*ReservationAffinity) MarshalJSON ¶
func (s *ReservationAffinity) MarshalJSON() ([]byte, error)
type ResourceLimit ¶
type ResourceLimit struct { // Maximum: Maximum amount of the resource in the cluster. Maximum int64 `json:"maximum,omitempty,string"` // Minimum: Minimum amount of the resource in the cluster. Minimum int64 `json:"minimum,omitempty,string"` // ResourceType: Resource name "cpu", "memory" or gpu-specific string. ResourceType string `json:"resourceType,omitempty"` // ForceSendFields is a list of field names (e.g. "Maximum") to // unconditionally include in API requests. By default, fields with // empty 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. "Maximum") 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:"-"` }
ResourceLimit: Contains information about amount of some resource in the cluster. For memory, value should be in GB.
func (*ResourceLimit) MarshalJSON ¶
func (s *ResourceLimit) MarshalJSON() ([]byte, error)
type ResourceUsageExportConfig ¶
type ResourceUsageExportConfig struct { // BigqueryDestination: Configuration to use BigQuery as usage export // destination. BigqueryDestination *BigQueryDestination `json:"bigqueryDestination,omitempty"` // ConsumptionMeteringConfig: Configuration to enable resource // consumption metering. ConsumptionMeteringConfig *ConsumptionMeteringConfig `json:"consumptionMeteringConfig,omitempty"` // EnableNetworkEgressMetering: Whether to enable network egress // metering for this cluster. If enabled, a daemonset will be created in // the cluster to meter network egress traffic. EnableNetworkEgressMetering bool `json:"enableNetworkEgressMetering,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryDestination") // to unconditionally include in API requests. By default, fields with // empty 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. "BigqueryDestination") 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:"-"` }
ResourceUsageExportConfig: Configuration for exporting cluster resource usages.
func (*ResourceUsageExportConfig) MarshalJSON ¶
func (s *ResourceUsageExportConfig) MarshalJSON() ([]byte, error)
type RollbackNodePoolUpgradeRequest ¶
type RollbackNodePoolUpgradeRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to rollback. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster, node pool id) of the node // poll to rollback upgrade. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `json:"name,omitempty"` // NodePoolId: Required. Deprecated. The name of the node pool to // rollback. This field has been deprecated and replaced by the name // field. NodePoolId string `json:"nodePoolId,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
RollbackNodePoolUpgradeRequest: RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.
func (*RollbackNodePoolUpgradeRequest) MarshalJSON ¶
func (s *RollbackNodePoolUpgradeRequest) MarshalJSON() ([]byte, error)
type SandboxConfig ¶
type SandboxConfig struct { // SandboxType: Type of the sandbox to use for the node (e.g. 'gvisor') SandboxType string `json:"sandboxType,omitempty"` // Type: Type of the sandbox to use for the node. // // Possible values: // "UNSPECIFIED" - Default value. This should not be used. // "GVISOR" - Run sandbox using gvisor. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "SandboxType") to // unconditionally include in API requests. By default, fields with // empty 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. "SandboxType") 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:"-"` }
SandboxConfig: SandboxConfig contains configurations of the sandbox to use for the node.
func (*SandboxConfig) MarshalJSON ¶
func (s *SandboxConfig) MarshalJSON() ([]byte, error)
type ServerConfig ¶
type ServerConfig struct { // Channels: List of release channel configurations. Channels []*ReleaseChannelConfig `json:"channels,omitempty"` // DefaultClusterVersion: Version of Kubernetes the service deploys by // default. DefaultClusterVersion string `json:"defaultClusterVersion,omitempty"` // DefaultImageType: Default image type. DefaultImageType string `json:"defaultImageType,omitempty"` // ValidImageTypes: List of valid image types. ValidImageTypes []string `json:"validImageTypes,omitempty"` // ValidMasterVersions: List of valid master versions, in descending // order. ValidMasterVersions []string `json:"validMasterVersions,omitempty"` // ValidNodeVersions: List of valid node upgrade target versions, in // descending order. ValidNodeVersions []string `json:"validNodeVersions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Channels") to // unconditionally include in API requests. By default, fields with // empty 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. "Channels") 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:"-"` }
ServerConfig: Kubernetes Engine service configuration.
func (*ServerConfig) MarshalJSON ¶
func (s *ServerConfig) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.
type SetAddonsConfigRequest ¶
type SetAddonsConfigRequest struct { // AddonsConfig: Required. The desired configurations for the various // addons available to run in the cluster. AddonsConfig *AddonsConfig `json:"addonsConfig,omitempty"` // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster) of the cluster to set // addons. Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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. "AddonsConfig") to // unconditionally include in API requests. By default, fields with // empty 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:"-"` }
SetAddonsConfigRequest: SetAddonsRequest sets the addons associated with the cluster.
func (*SetAddonsConfigRequest) MarshalJSON ¶
func (s *SetAddonsConfigRequest) MarshalJSON() ([]byte, error)
type SetLabelsRequest ¶
type SetLabelsRequest struct { // ClusterId: Required. Deprecated. The name of the cluster. This field // has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // LabelFingerprint: Required. The fingerprint of the previous set of // labels for this resource, used to detect conflicts. The fingerprint // is initially generated by Kubernetes Engine and changes after every // request to modify or update labels. You must always provide an // up-to-date fingerprint hash when updating or changing labels. Make a // `get()` request to the resource to get the latest fingerprint. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Name: The name (project, location, cluster id) of the cluster to set // labels. Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber) // . This field has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // ResourceLabels: Required. The labels to set for that cluster. ResourceLabels map[string]string `json:"resourceLabels,omitempty"` // Zone: Required. 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 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:"-"` }
SetLabelsRequest: SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
func (*SetLabelsRequest) MarshalJSON ¶
func (s *SetLabelsRequest) MarshalJSON() ([]byte, error)
type SetLegacyAbacRequest ¶
type SetLegacyAbacRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Enabled: Required. Whether ABAC authorization will be enabled in the // cluster. Enabled bool `json:"enabled,omitempty"` // Name: The name (project, location, cluster id) of the cluster to set // legacy abac. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetLegacyAbacRequest: SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.
func (*SetLegacyAbacRequest) MarshalJSON ¶
func (s *SetLegacyAbacRequest) MarshalJSON() ([]byte, error)
type SetLocationsRequest ¶
type SetLocationsRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Locations: Required. The desired list of Google Compute Engine // [zones](https://cloud.google.com/compute/docs/zones#available) in // which the cluster's nodes should be located. Changing the locations a // cluster is in will result in nodes being either created or removed // from the cluster, depending on whether locations are being added or // removed. This list must always include the cluster's primary zone. Locations []string `json:"locations,omitempty"` // Name: The name (project, location, cluster) of the cluster to set // locations. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetLocationsRequest: SetLocationsRequest sets the locations of the cluster.
func (*SetLocationsRequest) MarshalJSON ¶
func (s *SetLocationsRequest) MarshalJSON() ([]byte, error)
type SetLoggingServiceRequest ¶
type SetLoggingServiceRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // LoggingService: Required. The logging service the cluster should use // to write logs. Currently available options: * // `logging.googleapis.com/kubernetes` - The Cloud Logging service with // a Kubernetes-native resource model * `logging.googleapis.com` - The // legacy Cloud Logging service (no longer available as of GKE 1.15). * // `none` - no logs will be exported from the cluster. If left as an // empty string,`logging.googleapis.com/kubernetes` will be used for GKE // 1.14+ or `logging.googleapis.com` for earlier versions. LoggingService string `json:"loggingService,omitempty"` // Name: The name (project, location, cluster) of the cluster to set // logging. Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetLoggingServiceRequest: SetLoggingServiceRequest sets the logging service of a cluster.
func (*SetLoggingServiceRequest) MarshalJSON ¶
func (s *SetLoggingServiceRequest) MarshalJSON() ([]byte, error)
type SetMaintenancePolicyRequest ¶
type SetMaintenancePolicyRequest struct { // ClusterId: Required. The name of the cluster to update. ClusterId string `json:"clusterId,omitempty"` // MaintenancePolicy: Required. The maintenance policy to be set for the // cluster. An empty field clears the existing maintenance policy. MaintenancePolicy *MaintenancePolicy `json:"maintenancePolicy,omitempty"` // Name: The name (project, location, cluster id) of the cluster to set // maintenance policy. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. The Google Developers Console [project ID or // project number](https://support.google.com/cloud/answer/6158840). ProjectId string `json:"projectId,omitempty"` // Zone: Required. The name of the Google Compute Engine // [zone](https://cloud.google.com/compute/docs/zones#available) in // which the cluster resides. 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 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:"-"` }
SetMaintenancePolicyRequest: SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
func (*SetMaintenancePolicyRequest) MarshalJSON ¶
func (s *SetMaintenancePolicyRequest) MarshalJSON() ([]byte, error)
type SetMasterAuthRequest ¶
type SetMasterAuthRequest struct { // Action: Required. The exact form of action to be taken on the master // auth. // // Possible values: // "UNKNOWN" - Operation is unknown and will error out. // "SET_PASSWORD" - Set the password to a user generated value. // "GENERATE_PASSWORD" - Generate a new password and set it to that. // "SET_USERNAME" - Set the username. If an empty username is // provided, basic authentication is disabled for the cluster. If a // non-empty username is provided, basic authentication is enabled, with // either a provided password or a generated one. Action string `json:"action,omitempty"` // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster) of the cluster to set // auth. Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Update: Required. A description of the update. Update *MasterAuth `json:"update,omitempty"` // Zone: Required. 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. "Action") to // unconditionally include in API requests. By default, fields with // empty 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. "Action") 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:"-"` }
SetMasterAuthRequest: SetMasterAuthRequest updates the admin password of a cluster.
func (*SetMasterAuthRequest) MarshalJSON ¶
func (s *SetMasterAuthRequest) MarshalJSON() ([]byte, error)
type SetMonitoringServiceRequest ¶
type SetMonitoringServiceRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // MonitoringService: Required. The monitoring service the cluster // should use to write metrics. Currently available options: * // "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring service // with a Kubernetes-native resource model * `monitoring.googleapis.com` // - The legacy Cloud Monitoring service (no longer available as of GKE // 1.15). * `none` - No metrics will be exported from the cluster. If // left as an empty string,`monitoring.googleapis.com/kubernetes` will // be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier // versions. MonitoringService string `json:"monitoringService,omitempty"` // Name: The name (project, location, cluster) of the cluster to set // monitoring. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetMonitoringServiceRequest: SetMonitoringServiceRequest sets the monitoring service of a cluster.
func (*SetMonitoringServiceRequest) MarshalJSON ¶
func (s *SetMonitoringServiceRequest) MarshalJSON() ([]byte, error)
type SetNetworkPolicyRequest ¶
type SetNetworkPolicyRequest struct { // ClusterId: Required. 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 id) of the cluster to set // networking policy. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // NetworkPolicy: Required. Configuration options for the NetworkPolicy // feature. NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber) // . This field has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetNetworkPolicyRequest: SetNetworkPolicyRequest enables/disables network policy for a cluster.
func (*SetNetworkPolicyRequest) MarshalJSON ¶
func (s *SetNetworkPolicyRequest) MarshalJSON() ([]byte, error)
type SetNodePoolAutoscalingRequest ¶
type SetNodePoolAutoscalingRequest struct { // Autoscaling: Required. Autoscaling configuration for the node pool. Autoscaling *NodePoolAutoscaling `json:"autoscaling,omitempty"` // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster, node pool) of the node // pool to set autoscaler settings. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `json:"name,omitempty"` // NodePoolId: Required. Deprecated. The name of the node pool to // upgrade. This field has been deprecated and replaced by the name // field. NodePoolId string `json:"nodePoolId,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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. "Autoscaling") to // unconditionally include in API requests. By default, fields with // empty 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:"-"` }
SetNodePoolAutoscalingRequest: SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
func (*SetNodePoolAutoscalingRequest) MarshalJSON ¶
func (s *SetNodePoolAutoscalingRequest) MarshalJSON() ([]byte, error)
type SetNodePoolManagementRequest ¶
type SetNodePoolManagementRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Management: Required. NodeManagement configuration for the node pool. Management *NodeManagement `json:"management,omitempty"` // Name: The name (project, location, cluster, node pool id) of the node // pool to set management properties. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `json:"name,omitempty"` // NodePoolId: Required. Deprecated. The name of the node pool to // update. This field has been deprecated and replaced by the name // field. NodePoolId string `json:"nodePoolId,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetNodePoolManagementRequest: SetNodePoolManagementRequest sets the node management properties of a node pool.
func (*SetNodePoolManagementRequest) MarshalJSON ¶
func (s *SetNodePoolManagementRequest) MarshalJSON() ([]byte, error)
type SetNodePoolSizeRequest ¶
type SetNodePoolSizeRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to update. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster, node pool id) of the node // pool to set size. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `json:"name,omitempty"` // NodeCount: Required. The desired node count for the pool. NodeCount int64 `json:"nodeCount,omitempty"` // NodePoolId: Required. Deprecated. The name of the node pool to // update. This field has been deprecated and replaced by the name // field. NodePoolId string `json:"nodePoolId,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
SetNodePoolSizeRequest: SetNodePoolSizeRequest sets the size of a node pool.
func (*SetNodePoolSizeRequest) MarshalJSON ¶
func (s *SetNodePoolSizeRequest) MarshalJSON() ([]byte, error)
type ShieldedInstanceConfig ¶
type ShieldedInstanceConfig struct { // EnableIntegrityMonitoring: Defines whether the instance has integrity // monitoring enabled. Enables monitoring and attestation of the boot // integrity of the instance. The attestation is performed against the // integrity policy baseline. This baseline is initially derived from // the implicitly trusted boot image when the instance is created. EnableIntegrityMonitoring bool `json:"enableIntegrityMonitoring,omitempty"` // EnableSecureBoot: Defines whether the instance has Secure Boot // enabled. Secure Boot helps ensure that the system only runs authentic // software by verifying the digital signature of all boot components, // and halting the boot process if signature verification fails. EnableSecureBoot bool `json:"enableSecureBoot,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableIntegrityMonitoring") to unconditionally include in API // requests. By default, fields with empty 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. // "EnableIntegrityMonitoring") 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:"-"` }
ShieldedInstanceConfig: A set of Shielded Instance options.
func (*ShieldedInstanceConfig) MarshalJSON ¶
func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error)
type ShieldedNodes ¶
type ShieldedNodes struct { // Enabled: Whether Shielded Nodes features are enabled on all nodes in // 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 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:"-"` }
ShieldedNodes: Configuration of Shielded Nodes feature.
func (*ShieldedNodes) MarshalJSON ¶
func (s *ShieldedNodes) MarshalJSON() ([]byte, error)
type StartIPRotationRequest ¶
type StartIPRotationRequest struct { // ClusterId: Required. 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 id) of the cluster to // start IP rotation. Specified in the format // `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://developers.google.com/console/help/new/#projectnumber) // . This field has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // RotateCredentials: Whether to rotate credentials during IP rotation. RotateCredentials bool `json:"rotateCredentials,omitempty"` // Zone: Required. 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 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:"-"` }
StartIPRotationRequest: StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.
func (*StartIPRotationRequest) MarshalJSON ¶
func (s *StartIPRotationRequest) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any user-facing error message should be localized and sent // in the google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty 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. "Code") 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:"-"` }
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
func (*Status) MarshalJSON ¶
type StatusCondition ¶
type StatusCondition struct { // CanonicalCode: Canonical code of the condition. // // Possible values: // "OK" - Not an error; returned on success HTTP Mapping: 200 OK // "CANCELLED" - The operation was cancelled, typically by the caller. // HTTP Mapping: 499 Client Closed Request // "UNKNOWN" - Unknown error. For example, this error may be returned // when a `Status` value received from another address space belongs to // an error space that is not known in this address space. Also errors // raised by APIs that do not return enough error information may be // converted to this error. HTTP Mapping: 500 Internal Server Error // "INVALID_ARGUMENT" - The client specified an invalid argument. Note // that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` // indicates arguments that are problematic regardless of the state of // the system (e.g., a malformed file name). HTTP Mapping: 400 Bad // Request // "DEADLINE_EXCEEDED" - The deadline expired before the operation // could complete. For operations that change the state of the system, // this error may be returned even if the operation has completed // successfully. For example, a successful response from a server could // have been delayed long enough for the deadline to expire. HTTP // Mapping: 504 Gateway Timeout // "NOT_FOUND" - Some requested entity (e.g., file or directory) was // not found. Note to server developers: if a request is denied for an // entire class of users, such as gradual feature rollout or // undocumented allowlist, `NOT_FOUND` may be used. If a request is // denied for some users within a class of users, such as user-based // access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 // Not Found // "ALREADY_EXISTS" - The entity that a client attempted to create // (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict // "PERMISSION_DENIED" - The caller does not have permission to // execute the specified operation. `PERMISSION_DENIED` must not be used // for rejections caused by exhausting some resource (use // `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` // must not be used if the caller can not be identified (use // `UNAUTHENTICATED` instead for those errors). This error code does not // imply the request is valid or the requested entity exists or // satisfies other pre-conditions. HTTP Mapping: 403 Forbidden // "UNAUTHENTICATED" - The request does not have valid authentication // credentials for the operation. HTTP Mapping: 401 Unauthorized // "RESOURCE_EXHAUSTED" - Some resource has been exhausted, perhaps a // per-user quota, or perhaps the entire file system is out of space. // HTTP Mapping: 429 Too Many Requests // "FAILED_PRECONDITION" - The operation was rejected because the // system is not in a state required for the operation's execution. For // example, the directory to be deleted is non-empty, an rmdir operation // is applied to a non-directory, etc. Service implementors can use the // following guidelines to decide between `FAILED_PRECONDITION`, // `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can // retry just the failing call. (b) Use `ABORTED` if the client should // retry at a higher level (e.g., when a client-specified test-and-set // fails, indicating the client should restart a read-modify-write // sequence). (c) Use `FAILED_PRECONDITION` if the client should not // retry until the system state has been explicitly fixed. E.g., if an // "rmdir" fails because the directory is non-empty, // `FAILED_PRECONDITION` should be returned since the client should not // retry unless the files are deleted from the directory. HTTP Mapping: // 400 Bad Request // "ABORTED" - The operation was aborted, typically due to a // concurrency issue such as a sequencer check failure or transaction // abort. See the guidelines above for deciding between // `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: // 409 Conflict // "OUT_OF_RANGE" - The operation was attempted past the valid range. // E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, // this error indicates a problem that may be fixed if the system state // changes. For example, a 32-bit file system will generate // `INVALID_ARGUMENT` if asked to read at an offset that is not in the // range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to // read from an offset past the current file size. There is a fair bit // of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We // recommend using `OUT_OF_RANGE` (the more specific error) when it // applies so that callers who are iterating through a space can easily // look for an `OUT_OF_RANGE` error to detect when they are done. HTTP // Mapping: 400 Bad Request // "UNIMPLEMENTED" - The operation is not implemented or is not // supported/enabled in this service. HTTP Mapping: 501 Not Implemented // "INTERNAL" - Internal errors. This means that some invariants // expected by the underlying system have been broken. This error code // is reserved for serious errors. HTTP Mapping: 500 Internal Server // Error // "UNAVAILABLE" - The service is currently unavailable. This is most // likely a transient condition, which can be corrected by retrying with // a backoff. Note that it is not always safe to retry non-idempotent // operations. See the guidelines above for deciding between // `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: // 503 Service Unavailable // "DATA_LOSS" - Unrecoverable data loss or corruption. HTTP Mapping: // 500 Internal Server Error CanonicalCode string `json:"canonicalCode,omitempty"` // Code: Machine-friendly representation of the condition Deprecated. // Use canonical_code instead. // // Possible values: // "UNKNOWN" - UNKNOWN indicates a generic condition. // "GCE_STOCKOUT" - GCE_STOCKOUT indicates that Google Compute Engine // resources are temporarily unavailable. // "GKE_SERVICE_ACCOUNT_DELETED" - GKE_SERVICE_ACCOUNT_DELETED // indicates that the user deleted their robot service account. // "GCE_QUOTA_EXCEEDED" - Google Compute Engine quota was exceeded. // "SET_BY_OPERATOR" - Cluster state was manually changed by an SRE // due to a system logic error. // "CLOUD_KMS_KEY_ERROR" - Unable to perform an encrypt operation // against the CloudKMS key used for etcd level encryption. More codes // TBA Code string `json:"code,omitempty"` // Message: Human-friendly representation of the condition Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "CanonicalCode") to // unconditionally include in API requests. By default, fields with // empty 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. "CanonicalCode") 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:"-"` }
StatusCondition: StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
func (*StatusCondition) MarshalJSON ¶
func (s *StatusCondition) MarshalJSON() ([]byte, error)
type TimeWindow ¶
type TimeWindow struct { // EndTime: The time that the window ends. The end time should take // place after the start time. EndTime string `json:"endTime,omitempty"` // StartTime: The time that the window first starts. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to // unconditionally include in API requests. By default, fields with // empty 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. "EndTime") 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:"-"` }
TimeWindow: Represents an arbitrary window of time.
func (*TimeWindow) MarshalJSON ¶
func (s *TimeWindow) MarshalJSON() ([]byte, error)
type TpuConfig ¶
type TpuConfig struct { // Enabled: Whether Cloud TPU integration is enabled or not. Enabled bool `json:"enabled,omitempty"` // Ipv4CidrBlock: IPv4 CIDR block reserved for Cloud TPU in the VPC. Ipv4CidrBlock string `json:"ipv4CidrBlock,omitempty"` // UseServiceNetworking: Whether to use service networking for Cloud TPU // or not. UseServiceNetworking bool `json:"useServiceNetworking,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to // unconditionally include in API requests. By default, fields with // empty 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:"-"` }
TpuConfig: Configuration for Cloud TPU.
func (*TpuConfig) MarshalJSON ¶
type UpdateClusterRequest ¶
type UpdateClusterRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // Name: The name (project, location, cluster) of the cluster to update. // Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Update: Required. A description of the update. Update *ClusterUpdate `json:"update,omitempty"` // Zone: Required. 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 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:"-"` }
UpdateClusterRequest: UpdateClusterRequest updates the settings of a cluster.
func (*UpdateClusterRequest) MarshalJSON ¶
func (s *UpdateClusterRequest) MarshalJSON() ([]byte, error)
type UpdateMasterRequest ¶
type UpdateMasterRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // MasterVersion: Required. The Kubernetes version to change the master // to. Users may specify either explicit versions offered by Kubernetes // Engine or version aliases, which have the following behavior: - // "latest": picks the highest valid Kubernetes version - "1.X": picks // the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": // picks the highest valid gke.N patch in the 1.X.Y version - // "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the // default Kubernetes version MasterVersion string `json:"masterVersion,omitempty"` // Name: The name (project, location, cluster) of the cluster to update. // Specified in the format `projects/*/locations/*/clusters/*`. Name string `json:"name,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // Zone: Required. 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 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:"-"` }
UpdateMasterRequest: UpdateMasterRequest updates the master of the cluster.
func (*UpdateMasterRequest) MarshalJSON ¶
func (s *UpdateMasterRequest) MarshalJSON() ([]byte, error)
type UpdateNodePoolRequest ¶
type UpdateNodePoolRequest struct { // ClusterId: Required. Deprecated. The name of the cluster to upgrade. // This field has been deprecated and replaced by the name field. ClusterId string `json:"clusterId,omitempty"` // ImageType: Required. The desired image type for the node pool. ImageType string `json:"imageType,omitempty"` // KubeletConfig: Node kubelet configs. KubeletConfig *NodeKubeletConfig `json:"kubeletConfig,omitempty"` // LinuxNodeConfig: Parameters that can be configured on Linux nodes. LinuxNodeConfig *LinuxNodeConfig `json:"linuxNodeConfig,omitempty"` // Locations: The desired list of Google Compute Engine // [zones](https://cloud.google.com/compute/docs/zones#available) in // which the node pool's nodes should be located. Changing the locations // for a node pool will result in nodes being either created or removed // from the node pool, depending on whether locations are being added or // removed. Locations []string `json:"locations,omitempty"` // Name: The name (project, location, cluster, node pool) of the node // pool to update. Specified in the format // `projects/*/locations/*/clusters/*/nodePools/*`. Name string `json:"name,omitempty"` // NodePoolId: Required. Deprecated. The name of the node pool to // upgrade. This field has been deprecated and replaced by the name // field. NodePoolId string `json:"nodePoolId,omitempty"` // NodeVersion: Required. The Kubernetes version to change the nodes to // (typically an upgrade). Users may specify either explicit versions // offered by Kubernetes Engine or version aliases, which have the // following behavior: - "latest": picks the highest valid Kubernetes // version - "1.X": picks the highest valid patch+gke.N patch in the 1.X // version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y // version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": // picks the Kubernetes master version NodeVersion string `json:"nodeVersion,omitempty"` // ProjectId: Required. Deprecated. The Google Developers Console // [project ID or project // number](https://support.google.com/cloud/answer/6158840). This field // has been deprecated and replaced by the name field. ProjectId string `json:"projectId,omitempty"` // UpgradeSettings: Upgrade settings control disruption and speed of the // upgrade. UpgradeSettings *UpgradeSettings `json:"upgradeSettings,omitempty"` // WorkloadMetadataConfig: The desired workload metadata config for the // node pool. WorkloadMetadataConfig *WorkloadMetadataConfig `json:"workloadMetadataConfig,omitempty"` // Zone: Required. 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 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:"-"` }
UpdateNodePoolRequest: SetNodePoolVersionRequest updates the version of a node pool.
func (*UpdateNodePoolRequest) MarshalJSON ¶
func (s *UpdateNodePoolRequest) MarshalJSON() ([]byte, error)
type UpgradeEvent ¶
type UpgradeEvent struct { // CurrentVersion: Required. The current version before the upgrade. CurrentVersion string `json:"currentVersion,omitempty"` // Operation: Required. The operation associated with this upgrade. Operation string `json:"operation,omitempty"` // OperationStartTime: Required. The time when the operation was // started. OperationStartTime string `json:"operationStartTime,omitempty"` // Resource: Optional. Optional relative path to the resource. For // example in node pool upgrades, the relative path of the node pool. Resource string `json:"resource,omitempty"` // ResourceType: Required. The resource type that is upgrading. // // Possible values: // "UPGRADE_RESOURCE_TYPE_UNSPECIFIED" - Default value. This shouldn't // be used. // "MASTER" - Master / control plane // "NODE_POOL" - Node pool ResourceType string `json:"resourceType,omitempty"` // TargetVersion: Required. The target version for the upgrade. TargetVersion string `json:"targetVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentVersion") to // unconditionally include in API requests. By default, fields with // empty 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. "CurrentVersion") 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:"-"` }
UpgradeEvent: UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.
func (*UpgradeEvent) MarshalJSON ¶
func (s *UpgradeEvent) MarshalJSON() ([]byte, error)
type UpgradeSettings ¶
type UpgradeSettings struct { // MaxSurge: The maximum number of nodes that can be created beyond the // current size of the node pool during the upgrade process. MaxSurge int64 `json:"maxSurge,omitempty"` // simultaneously unavailable during the upgrade process. A node is // considered available if its status is Ready. MaxUnavailable int64 `json:"maxUnavailable,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxSurge") to // unconditionally include in API requests. By default, fields with // empty 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. "MaxSurge") 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:"-"` }
UpgradeSettings: These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
func (*UpgradeSettings) MarshalJSON ¶
func (s *UpgradeSettings) MarshalJSON() ([]byte, error)
type UsableSubnetwork ¶
type UsableSubnetwork struct { // IpCidrRange: The range of internal addresses that are owned by this // subnetwork. IpCidrRange string `json:"ipCidrRange,omitempty"` // Network: Network Name. Example: // projects/my-project/global/networks/my-network Network string `json:"network,omitempty"` // SecondaryIpRanges: Secondary IP ranges. SecondaryIpRanges []*UsableSubnetworkSecondaryRange `json:"secondaryIpRanges,omitempty"` // StatusMessage: A human readable status message representing the // reasons for cases where the caller cannot use the secondary ranges // under the subnet. For example if the secondary_ip_ranges is empty due // to a permission issue, an insufficient permission message will be // given by status_message. StatusMessage string `json:"statusMessage,omitempty"` // Subnetwork: Subnetwork Name. Example: // projects/my-project/regions/us-central1/subnetworks/my-subnet Subnetwork string `json:"subnetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "IpCidrRange") to // unconditionally include in API requests. By default, fields with // empty 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. "IpCidrRange") 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:"-"` }
UsableSubnetwork: UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.
func (*UsableSubnetwork) MarshalJSON ¶
func (s *UsableSubnetwork) MarshalJSON() ([]byte, error)
type UsableSubnetworkSecondaryRange ¶
type UsableSubnetworkSecondaryRange struct { // IpCidrRange: The range of IP addresses belonging to this subnetwork // secondary range. IpCidrRange string `json:"ipCidrRange,omitempty"` // RangeName: The name associated with this subnetwork secondary range, // used when adding an alias IP range to a VM instance. RangeName string `json:"rangeName,omitempty"` // Status: This field is to determine the status of the secondary range // programmably. // // Possible values: // "UNKNOWN" - UNKNOWN is the zero value of the Status enum. It's not // a valid status. // "UNUSED" - UNUSED denotes that this range is unclaimed by any // cluster. // "IN_USE_SERVICE" - IN_USE_SERVICE denotes that this range is // claimed by a cluster for services. It cannot be used for other // clusters. // "IN_USE_SHAREABLE_POD" - IN_USE_SHAREABLE_POD denotes this range // was created by the network admin and is currently claimed by a // cluster for pods. It can only be used by other clusters as a pod // range. // "IN_USE_MANAGED_POD" - IN_USE_MANAGED_POD denotes this range was // created by GKE and is claimed for pods. It cannot be used for other // clusters. Status string `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "IpCidrRange") to // unconditionally include in API requests. By default, fields with // empty 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. "IpCidrRange") 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:"-"` }
UsableSubnetworkSecondaryRange: Secondary IP range of a usable subnetwork.
func (*UsableSubnetworkSecondaryRange) MarshalJSON ¶
func (s *UsableSubnetworkSecondaryRange) MarshalJSON() ([]byte, error)
type VerticalPodAutoscaling ¶
type VerticalPodAutoscaling struct { // Enabled: Enables vertical pod autoscaling. 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 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:"-"` }
VerticalPodAutoscaling: VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.
func (*VerticalPodAutoscaling) MarshalJSON ¶
func (s *VerticalPodAutoscaling) MarshalJSON() ([]byte, error)
type WorkloadIdentityConfig ¶
type WorkloadIdentityConfig struct { // IdentityNamespace: IAM Identity Namespace to attach all Kubernetes // Service Accounts to. IdentityNamespace string `json:"identityNamespace,omitempty"` // IdentityProvider: identity provider is the third party identity // provider. IdentityProvider string `json:"identityProvider,omitempty"` // WorkloadPool: The workload pool to attach all Kubernetes service // accounts to. WorkloadPool string `json:"workloadPool,omitempty"` // ForceSendFields is a list of field names (e.g. "IdentityNamespace") // to unconditionally include in API requests. By default, fields with // empty 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. "IdentityNamespace") 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:"-"` }
WorkloadIdentityConfig: Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
func (*WorkloadIdentityConfig) MarshalJSON ¶
func (s *WorkloadIdentityConfig) MarshalJSON() ([]byte, error)
type WorkloadMetadataConfig ¶
type WorkloadMetadataConfig struct { // Mode: Mode is the configuration for how to expose metadata to // workloads running on the node pool. // // Possible values: // "MODE_UNSPECIFIED" - Not set. // "GCE_METADATA" - Expose all Compute Engine metadata to pods. // "GKE_METADATA" - Run the GKE Metadata Server on this node. The GKE // Metadata Server exposes a metadata API to workloads that is // compatible with the V1 Compute Metadata APIs exposed by the Compute // Engine and App Engine Metadata Servers. This feature can only be // enabled if Workload Identity is enabled at the cluster level. Mode string `json:"mode,omitempty"` // NodeMetadata: NodeMetadata is the configuration for how to expose // metadata to the workloads running on the node. // // Possible values: // "UNSPECIFIED" - Not set. // "SECURE" - Prevent workloads not in hostNetwork from accessing // certain VM metadata, specifically kube-env, which contains Kubelet // credentials, and the instance identity token. Metadata concealment is // a temporary security solution available while the bootstrapping // process for cluster nodes is being redesigned with significant // security improvements. This feature is scheduled to be deprecated in // the future and later removed. // "EXPOSE" - Expose all VM metadata to pods. // "GKE_METADATA_SERVER" - Run the GKE Metadata Server on this node. // The GKE Metadata Server exposes a metadata API to workloads that is // compatible with the V1 Compute Metadata APIs exposed by the Compute // Engine and App Engine Metadata Servers. This feature can only be // enabled if Workload Identity is enabled at the cluster level. NodeMetadata string `json:"nodeMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to // unconditionally include in API requests. By default, fields with // empty 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. "Mode") 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:"-"` }
WorkloadMetadataConfig: WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
func (*WorkloadMetadataConfig) MarshalJSON ¶
func (s *WorkloadMetadataConfig) MarshalJSON() ([]byte, error)