Documentation ¶
Overview ¶
Package gkeonprem provides access to the GDC Virtual API.
For product documentation, see: https://cloud.google.com/anthos/clusters/docs/on-prem/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/gkeonprem/v1" ... ctx := context.Background() gkeonpremService, err := gkeonprem.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
gkeonpremService, err := gkeonprem.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) gkeonpremService, err := gkeonprem.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type Authorization
- type BareMetalAdminApiServerArgument
- type BareMetalAdminCluster
- type BareMetalAdminClusterOperationsConfig
- type BareMetalAdminControlPlaneConfig
- type BareMetalAdminControlPlaneNodePoolConfig
- type BareMetalAdminDrainedMachine
- type BareMetalAdminDrainingMachine
- type BareMetalAdminIslandModeCidrConfig
- type BareMetalAdminLoadBalancerConfig
- type BareMetalAdminMachineDrainStatus
- type BareMetalAdminMaintenanceConfig
- type BareMetalAdminMaintenanceStatus
- type BareMetalAdminManualLbConfig
- type BareMetalAdminNetworkConfig
- type BareMetalAdminNodeAccessConfig
- type BareMetalAdminOsEnvironmentConfig
- type BareMetalAdminPortConfig
- type BareMetalAdminProxyConfig
- type BareMetalAdminSecurityConfig
- type BareMetalAdminStorageConfig
- type BareMetalAdminVipConfig
- type BareMetalAdminWorkloadNodeConfig
- type BareMetalApiServerArgument
- type BareMetalBgpLbConfig
- type BareMetalBgpPeerConfig
- type BareMetalCluster
- type BareMetalClusterOperationsConfig
- type BareMetalClusterUpgradePolicy
- type BareMetalControlPlaneConfig
- type BareMetalControlPlaneNodePoolConfig
- type BareMetalDrainedMachine
- type BareMetalDrainingMachine
- type BareMetalIslandModeCidrConfig
- type BareMetalKubeletConfig
- type BareMetalLoadBalancerAddressPool
- type BareMetalLoadBalancerConfig
- type BareMetalLoadBalancerNodePoolConfig
- type BareMetalLvpConfig
- type BareMetalLvpShareConfig
- type BareMetalMachineDrainStatus
- type BareMetalMaintenanceConfig
- type BareMetalMaintenanceStatus
- type BareMetalManualLbConfig
- type BareMetalMetalLbConfig
- type BareMetalMultipleNetworkInterfacesConfig
- type BareMetalNetworkConfig
- type BareMetalNodeAccessConfig
- type BareMetalNodeConfig
- type BareMetalNodePool
- type BareMetalNodePoolConfig
- type BareMetalNodePoolUpgradePolicy
- type BareMetalOsEnvironmentConfig
- type BareMetalParallelUpgradeConfig
- type BareMetalPortConfig
- type BareMetalProxyConfig
- type BareMetalSecurityConfig
- type BareMetalSrIovConfig
- type BareMetalStorageConfig
- type BareMetalVersionInfo
- type BareMetalVipConfig
- type BareMetalWorkloadNodeConfig
- type BinaryAuthorization
- type Binding
- type CancelOperationRequest
- type ClusterUser
- type Empty
- type EnrollBareMetalAdminClusterRequest
- type EnrollBareMetalClusterRequest
- type EnrollBareMetalNodePoolRequest
- type EnrollVmwareAdminClusterRequest
- type EnrollVmwareClusterRequest
- type EnrollVmwareNodePoolRequest
- type Expr
- type Fleet
- type ListBareMetalAdminClustersResponse
- type ListBareMetalClustersResponse
- type ListBareMetalNodePoolsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListVmwareAdminClustersResponse
- type ListVmwareClustersResponse
- type ListVmwareNodePoolsResponse
- type Location
- type Metric
- type NodeTaint
- type Operation
- type OperationMetadata
- type OperationProgress
- type OperationStage
- type Policy
- type ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId(bareMetalAdminClusterId string) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
- type ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalAdminCluster, error)
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetCall) View(view string) *ProjectsLocationsBareMetalAdminClustersGetCall
- type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- type ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalAdminClustersResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalAdminClustersResponse) error) error
- func (c *ProjectsLocationsBareMetalAdminClustersListCall) View(view string) *ProjectsLocationsBareMetalAdminClustersListCall
- type ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
- type ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsBareMetalAdminClustersOperationsService
- type ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersPatchCall
- type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalAdminVersionConfigResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- type ProjectsLocationsBareMetalAdminClustersService
- func (r *ProjectsLocationsBareMetalAdminClustersService) Create(parent string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersCreateCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Enroll(parent string, ...) *ProjectsLocationsBareMetalAdminClustersEnrollCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Get(name string) *ProjectsLocationsBareMetalAdminClustersGetCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) List(parent string) *ProjectsLocationsBareMetalAdminClustersListCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Patch(name string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersPatchCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalAdminClustersService) Unenroll(name string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId(bareMetalNodePoolId string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*BareMetalNodePool, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalNodePoolsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Pages(ctx context.Context, f func(*ListBareMetalNodePoolsResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Create(parent string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Delete(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll(parent string, enrollbaremetalnodepoolrequest *EnrollBareMetalNodePoolRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) List(parent string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Patch(name string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Unenroll(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
- type ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) BareMetalClusterId(bareMetalClusterId string) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersCreateCall
- func (c *ProjectsLocationsBareMetalClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersCreateCall
- type ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Force(force bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersDeleteCall
- func (c *ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersDeleteCall
- type ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersEnrollCall
- func (c *ProjectsLocationsBareMetalClustersEnrollCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalCluster, error)
- func (c *ProjectsLocationsBareMetalClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetCall
- func (c *ProjectsLocationsBareMetalClustersGetCall) View(view string) *ProjectsLocationsBareMetalClustersGetCall
- type ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- type ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalClustersResponse, error)
- func (c *ProjectsLocationsBareMetalClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersListCall
- func (c *ProjectsLocationsBareMetalClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalClustersResponse) error) error
- func (c *ProjectsLocationsBareMetalClustersListCall) View(view string) *ProjectsLocationsBareMetalClustersListCall
- type ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsGetCall
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsGetCall
- type ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersOperationsListCall
- func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsBareMetalClustersOperationsService
- type ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersPatchCall
- func (c *ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersPatchCall
- type ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalVersionConfigResponse, error)
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- type ProjectsLocationsBareMetalClustersService
- func (r *ProjectsLocationsBareMetalClustersService) Create(parent string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersCreateCall
- func (r *ProjectsLocationsBareMetalClustersService) Delete(name string) *ProjectsLocationsBareMetalClustersDeleteCall
- func (r *ProjectsLocationsBareMetalClustersService) Enroll(parent string, enrollbaremetalclusterrequest *EnrollBareMetalClusterRequest) *ProjectsLocationsBareMetalClustersEnrollCall
- func (r *ProjectsLocationsBareMetalClustersService) Get(name string) *ProjectsLocationsBareMetalClustersGetCall
- func (r *ProjectsLocationsBareMetalClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersService) List(parent string) *ProjectsLocationsBareMetalClustersListCall
- func (r *ProjectsLocationsBareMetalClustersService) Patch(name string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersPatchCall
- func (r *ProjectsLocationsBareMetalClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
- func (r *ProjectsLocationsBareMetalClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (r *ProjectsLocationsBareMetalClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (r *ProjectsLocationsBareMetalClustersService) Unenroll(name string) *ProjectsLocationsBareMetalClustersUnenrollCall
- type ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
- func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
- func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Force(force bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersUnenrollCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- 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) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- 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 ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) 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
- 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) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (c *ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId(vmwareAdminClusterId string) *ProjectsLocationsVmwareAdminClustersCreateCall
- type ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareAdminCluster, error)
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetCall
- func (c *ProjectsLocationsVmwareAdminClustersGetCall) View(view string) *ProjectsLocationsVmwareAdminClustersGetCall
- type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- type ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareAdminClustersResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersListCall
- func (c *ProjectsLocationsVmwareAdminClustersListCall) Pages(ctx context.Context, f func(*ListVmwareAdminClustersResponse) error) error
- func (c *ProjectsLocationsVmwareAdminClustersListCall) View(view string) *ProjectsLocationsVmwareAdminClustersListCall
- type ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
- type ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
- func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsVmwareAdminClustersOperationsService
- type ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (c *ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersPatchCall
- type ProjectsLocationsVmwareAdminClustersService
- func (r *ProjectsLocationsVmwareAdminClustersService) Create(parent string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersCreateCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Enroll(parent string, ...) *ProjectsLocationsVmwareAdminClustersEnrollCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Get(name string) *ProjectsLocationsVmwareAdminClustersGetCall
- func (r *ProjectsLocationsVmwareAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
- func (r *ProjectsLocationsVmwareAdminClustersService) List(parent string) *ProjectsLocationsVmwareAdminClustersListCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Patch(name string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersPatchCall
- func (r *ProjectsLocationsVmwareAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (r *ProjectsLocationsVmwareAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareAdminClustersService) Unenroll(name string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
- type ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersCreateCall
- func (c *ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId(vmwareClusterId string) *ProjectsLocationsVmwareClustersCreateCall
- type ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Force(force bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersDeleteCall
- func (c *ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersDeleteCall
- type ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersEnrollCall
- func (c *ProjectsLocationsVmwareClustersEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareCluster, error)
- func (c *ProjectsLocationsVmwareClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetCall
- func (c *ProjectsLocationsVmwareClustersGetCall) View(view string) *ProjectsLocationsVmwareClustersGetCall
- type ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- type ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareClustersResponse, error)
- func (c *ProjectsLocationsVmwareClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Filter(filter string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersListCall
- func (c *ProjectsLocationsVmwareClustersListCall) Pages(ctx context.Context, f func(*ListVmwareClustersResponse) error) error
- func (c *ProjectsLocationsVmwareClustersListCall) View(view string) *ProjectsLocationsVmwareClustersListCall
- type ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsGetCall
- type ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersOperationsListCall
- func (c *ProjectsLocationsVmwareClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsVmwareClustersOperationsService
- type ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersPatchCall
- func (c *ProjectsLocationsVmwareClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersPatchCall
- type ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryVmwareVersionConfigResponse, error)
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- type ProjectsLocationsVmwareClustersService
- func (r *ProjectsLocationsVmwareClustersService) Create(parent string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersCreateCall
- func (r *ProjectsLocationsVmwareClustersService) Delete(name string) *ProjectsLocationsVmwareClustersDeleteCall
- func (r *ProjectsLocationsVmwareClustersService) Enroll(parent string, enrollvmwareclusterrequest *EnrollVmwareClusterRequest) *ProjectsLocationsVmwareClustersEnrollCall
- func (r *ProjectsLocationsVmwareClustersService) Get(name string) *ProjectsLocationsVmwareClustersGetCall
- func (r *ProjectsLocationsVmwareClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersService) List(parent string) *ProjectsLocationsVmwareClustersListCall
- func (r *ProjectsLocationsVmwareClustersService) Patch(name string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersPatchCall
- func (r *ProjectsLocationsVmwareClustersService) QueryVersionConfig(parent string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
- func (r *ProjectsLocationsVmwareClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareClustersService) Unenroll(name string) *ProjectsLocationsVmwareClustersUnenrollCall
- type ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Force(force bool) *ProjectsLocationsVmwareClustersUnenrollCall
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersUnenrollCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId(vmwareNodePoolId string) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*VmwareNodePool, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListVmwareNodePoolsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Pages(ctx context.Context, f func(*ListVmwareNodePoolsResponse) error) error
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsService
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Create(parent string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Delete(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Enroll(parent string, enrollvmwarenodepoolrequest *EnrollVmwareNodePoolRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) List(parent string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Patch(name string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Unenroll(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header() http.Header
- func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
- type ProjectsService
- type QueryBareMetalAdminVersionConfigResponse
- type QueryBareMetalVersionConfigResponse
- type QueryVmwareVersionConfigResponse
- type ResourceCondition
- type ResourceStatus
- type Service
- type SetIamPolicyRequest
- type Status
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type UpgradeDependency
- type ValidationCheck
- type ValidationCheckResult
- type ValidationCheckStatus
- type Version
- type Versions
- type VmwareAAGConfig
- type VmwareAddressPool
- type VmwareAdminAddonNodeConfig
- type VmwareAdminAuthorizationConfig
- type VmwareAdminCluster
- type VmwareAdminControlPlaneNodeConfig
- type VmwareAdminF5BigIpConfig
- type VmwareAdminHAControlPlaneConfig
- type VmwareAdminLoadBalancerConfig
- type VmwareAdminManualLbConfig
- type VmwareAdminMetalLbConfig
- type VmwareAdminNetworkConfig
- type VmwareAdminPreparedSecretsConfig
- type VmwareAdminSeesawConfig
- type VmwareAdminVCenterConfig
- type VmwareAdminVipConfig
- type VmwareAutoRepairConfig
- type VmwareAutoResizeConfig
- type VmwareBundleConfig
- type VmwareCluster
- type VmwareClusterUpgradePolicy
- type VmwareControlPlaneNodeConfig
- type VmwareControlPlaneV2Config
- type VmwareControlPlaneVsphereConfig
- type VmwareDataplaneV2Config
- type VmwareDhcpIpConfig
- type VmwareF5BigIpConfig
- type VmwareHostConfig
- type VmwareHostIp
- type VmwareIpBlock
- type VmwareLoadBalancerConfig
- type VmwareManualLbConfig
- type VmwareMetalLbConfig
- type VmwareNetworkConfig
- type VmwareNodeConfig
- type VmwareNodePool
- type VmwareNodePoolAutoscalingConfig
- type VmwarePlatformConfig
- type VmwareSeesawConfig
- type VmwareStaticIpConfig
- type VmwareStorageConfig
- type VmwareVCenterConfig
- type VmwareVersionInfo
- type VmwareVipConfig
- type VmwareVsphereConfig
- type VmwareVsphereTag
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the email // address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorization ¶
type Authorization struct { // AdminUsers: For VMware and bare metal user clusters, users will be granted // the cluster-admin role on the cluster, which provides full administrative // access to the cluster. For bare metal admin clusters, users will be granted // the cluster-view role, which limits users to read-only access. AdminUsers []*ClusterUser `json:"adminUsers,omitempty"` // ForceSendFields is a list of field names (e.g. "AdminUsers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdminUsers") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Authorization: Authorization defines the On-Prem cluster authorization configuration to bootstrap onto the admin cluster.
func (Authorization) MarshalJSON ¶
func (s Authorization) MarshalJSON() ([]byte, error)
type BareMetalAdminApiServerArgument ¶
type BareMetalAdminApiServerArgument struct { // Argument: Required. The argument name as it appears on the API Server // command line please make sure to remove the leading dashes. Argument string `json:"argument,omitempty"` // Value: Required. The value of the arg as it will be passed to the API Server // command line. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Argument") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Argument") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminApiServerArgument: BareMetalAdminApiServerArgument represents an arg name->value pair. Only a subset of customized flags are supported. Please refer to the API server documentation below to know the exact format: https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/
func (BareMetalAdminApiServerArgument) MarshalJSON ¶
func (s BareMetalAdminApiServerArgument) MarshalJSON() ([]byte, error)
type BareMetalAdminCluster ¶
type BareMetalAdminCluster struct { // Annotations: Annotations on the bare metal admin cluster. This field has the // same restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // BareMetalVersion: The Anthos clusters on bare metal version for the bare // metal admin cluster. BareMetalVersion string `json:"bareMetalVersion,omitempty"` // BinaryAuthorization: Binary Authorization related configurations. BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"` // ClusterOperations: Cluster operations configuration. ClusterOperations *BareMetalAdminClusterOperationsConfig `json:"clusterOperations,omitempty"` // ControlPlane: Control plane configuration. ControlPlane *BareMetalAdminControlPlaneConfig `json:"controlPlane,omitempty"` // CreateTime: Output only. The time at which this bare metal admin cluster was // created. CreateTime string `json:"createTime,omitempty"` // DeleteTime: Output only. The time at which this bare metal admin cluster was // deleted. If the resource is not deleted, this must be empty DeleteTime string `json:"deleteTime,omitempty"` // Description: A human readable description of this bare metal admin cluster. Description string `json:"description,omitempty"` // Endpoint: Output only. The IP address name of bare metal admin cluster's API // server. Endpoint string `json:"endpoint,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. Allows clients to perform // consistent read-modify-writes through optimistic concurrency control. Etag string `json:"etag,omitempty"` // Fleet: Output only. Fleet configuration for the cluster. Fleet *Fleet `json:"fleet,omitempty"` // LoadBalancer: Load balancer configuration. LoadBalancer *BareMetalAdminLoadBalancerConfig `json:"loadBalancer,omitempty"` // LocalName: Output only. The object name of the bare metal cluster custom // resource. This field is used to support conflicting names when enrolling // existing clusters to the API. When used as a part of cluster enrollment, // this field will differ from the ID in the resource name. For new clusters, // this field will match the user provided cluster name and be visible in the // last component of the resource name. It is not modifiable. All users should // use this name to access their cluster using gkectl or kubectl and should // expect to see the local name when viewing admin cluster controller logs. LocalName string `json:"localName,omitempty"` // MaintenanceConfig: Maintenance configuration. MaintenanceConfig *BareMetalAdminMaintenanceConfig `json:"maintenanceConfig,omitempty"` // MaintenanceStatus: Output only. MaintenanceStatus representing state of // maintenance. MaintenanceStatus *BareMetalAdminMaintenanceStatus `json:"maintenanceStatus,omitempty"` // Name: Immutable. The bare metal admin cluster resource name. Name string `json:"name,omitempty"` // NetworkConfig: Network configuration. NetworkConfig *BareMetalAdminNetworkConfig `json:"networkConfig,omitempty"` // NodeAccessConfig: Node access related configurations. NodeAccessConfig *BareMetalAdminNodeAccessConfig `json:"nodeAccessConfig,omitempty"` // NodeConfig: Workload node configuration. NodeConfig *BareMetalAdminWorkloadNodeConfig `json:"nodeConfig,omitempty"` // OsEnvironmentConfig: OS environment related configurations. OsEnvironmentConfig *BareMetalAdminOsEnvironmentConfig `json:"osEnvironmentConfig,omitempty"` // Proxy: Proxy configuration. Proxy *BareMetalAdminProxyConfig `json:"proxy,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the bare metal Admin Cluster. Reconciling bool `json:"reconciling,omitempty"` // SecurityConfig: Security related configuration. SecurityConfig *BareMetalAdminSecurityConfig `json:"securityConfig,omitempty"` // State: Output only. The current state of the bare metal admin cluster. // // Possible values: // "STATE_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 the cluster is being // updated. It remains available, but potentially with degraded performance. // "STOPPING" - The STOPPING state indicates the cluster is being deleted. // "ERROR" - The ERROR state indicates the cluster is in a broken // unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the cluster requires user action // to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. ResourceStatus representing detailed cluster status. Status *ResourceStatus `json:"status,omitempty"` // Storage: Storage configuration. Storage *BareMetalAdminStorageConfig `json:"storage,omitempty"` // Uid: Output only. The unique identifier of the bare metal admin cluster. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time at which this bare metal admin cluster was // last updated. UpdateTime string `json:"updateTime,omitempty"` // ValidationCheck: Output only. ValidationCheck representing the result of the // preflight check. ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminCluster: Resource that represents a bare metal admin cluster.
func (BareMetalAdminCluster) MarshalJSON ¶
func (s BareMetalAdminCluster) MarshalJSON() ([]byte, error)
type BareMetalAdminClusterOperationsConfig ¶
type BareMetalAdminClusterOperationsConfig struct { // EnableApplicationLogs: Whether collection of application logs/metrics should // be enabled (in addition to system logs/metrics). EnableApplicationLogs bool `json:"enableApplicationLogs,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableApplicationLogs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableApplicationLogs") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminClusterOperationsConfig: BareMetalAdminClusterOperationsConfig specifies the admin cluster's observability infrastructure.
func (BareMetalAdminClusterOperationsConfig) MarshalJSON ¶
func (s BareMetalAdminClusterOperationsConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminControlPlaneConfig ¶
type BareMetalAdminControlPlaneConfig struct { // ApiServerArgs: Customizes the default API server args. Only a subset of // customized flags are supported. Please refer to the API server documentation // below to know the exact format: // https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/ ApiServerArgs []*BareMetalAdminApiServerArgument `json:"apiServerArgs,omitempty"` // ControlPlaneNodePoolConfig: Required. Configures the node pool running the // control plane. If specified the corresponding NodePool will be created for // the cluster's control plane. The NodePool will have the same name and // namespace as the cluster. ControlPlaneNodePoolConfig *BareMetalAdminControlPlaneNodePoolConfig `json:"controlPlaneNodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiServerArgs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiServerArgs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminControlPlaneConfig: BareMetalAdminControlPlaneConfig specifies the control plane configuration.
func (BareMetalAdminControlPlaneConfig) MarshalJSON ¶
func (s BareMetalAdminControlPlaneConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminControlPlaneNodePoolConfig ¶
type BareMetalAdminControlPlaneNodePoolConfig struct { // NodePoolConfig: Required. The generic configuration for a node pool running // the control plane. NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "NodePoolConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodePoolConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminControlPlaneNodePoolConfig: BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future.
func (BareMetalAdminControlPlaneNodePoolConfig) MarshalJSON ¶
func (s BareMetalAdminControlPlaneNodePoolConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminDrainedMachine ¶
type BareMetalAdminDrainedMachine struct { // NodeIp: Drained machine IP address. NodeIp string `json:"nodeIp,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeIp") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminDrainedMachine: BareMetalAdminDrainedMachine represents the machines that are drained.
func (BareMetalAdminDrainedMachine) MarshalJSON ¶
func (s BareMetalAdminDrainedMachine) MarshalJSON() ([]byte, error)
type BareMetalAdminDrainingMachine ¶
type BareMetalAdminDrainingMachine struct { // NodeIp: Draining machine IP address. NodeIp string `json:"nodeIp,omitempty"` // PodCount: The count of pods yet to drain. PodCount int64 `json:"podCount,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeIp") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminDrainingMachine: BareMetalAdminDrainingMachine represents the machines that are currently draining.
func (BareMetalAdminDrainingMachine) MarshalJSON ¶
func (s BareMetalAdminDrainingMachine) MarshalJSON() ([]byte, error)
type BareMetalAdminIslandModeCidrConfig ¶
type BareMetalAdminIslandModeCidrConfig struct { // PodAddressCidrBlocks: Required. All pods in the cluster are assigned an // RFC1918 IPv4 address from these ranges. This field cannot be changed after // creation. PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"` // ServiceAddressCidrBlocks: Required. All services in the cluster are assigned // an RFC1918 IPv4 address from these ranges. This field cannot be changed // after creation. ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"` // ForceSendFields is a list of field names (e.g. "PodAddressCidrBlocks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PodAddressCidrBlocks") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminIslandModeCidrConfig: BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.
func (BareMetalAdminIslandModeCidrConfig) MarshalJSON ¶
func (s BareMetalAdminIslandModeCidrConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminLoadBalancerConfig ¶
type BareMetalAdminLoadBalancerConfig struct { // ManualLbConfig: Manually configured load balancers. ManualLbConfig *BareMetalAdminManualLbConfig `json:"manualLbConfig,omitempty"` // PortConfig: Configures the ports that the load balancer will listen on. PortConfig *BareMetalAdminPortConfig `json:"portConfig,omitempty"` // VipConfig: The VIPs used by the load balancer. VipConfig *BareMetalAdminVipConfig `json:"vipConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ManualLbConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ManualLbConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminLoadBalancerConfig: BareMetalAdminLoadBalancerConfig specifies the load balancer configuration.
func (BareMetalAdminLoadBalancerConfig) MarshalJSON ¶
func (s BareMetalAdminLoadBalancerConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminMachineDrainStatus ¶
type BareMetalAdminMachineDrainStatus struct { // DrainedMachines: The list of drained machines. DrainedMachines []*BareMetalAdminDrainedMachine `json:"drainedMachines,omitempty"` // DrainingMachines: The list of draning machines. DrainingMachines []*BareMetalAdminDrainingMachine `json:"drainingMachines,omitempty"` // ForceSendFields is a list of field names (e.g. "DrainedMachines") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DrainedMachines") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminMachineDrainStatus: BareMetalAdminMachineDrainStatus represents the status of bare metal node machines that are undergoing drain operations.
func (BareMetalAdminMachineDrainStatus) MarshalJSON ¶
func (s BareMetalAdminMachineDrainStatus) MarshalJSON() ([]byte, error)
type BareMetalAdminMaintenanceConfig ¶
type BareMetalAdminMaintenanceConfig struct { // MaintenanceAddressCidrBlocks: Required. All IPv4 address from these ranges // will be placed into maintenance mode. Nodes in maintenance mode will be // cordoned and drained. When both of these are true, the // "baremetal.cluster.gke.io/maintenance" annotation will be set on the node // resource. MaintenanceAddressCidrBlocks []string `json:"maintenanceAddressCidrBlocks,omitempty"` // ForceSendFields is a list of field names (e.g. // "MaintenanceAddressCidrBlocks") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaintenanceAddressCidrBlocks") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminMaintenanceConfig: BareMetalAdminMaintenanceConfig specifies configurations to put bare metal Admin cluster CRs nodes in and out of maintenance.
func (BareMetalAdminMaintenanceConfig) MarshalJSON ¶
func (s BareMetalAdminMaintenanceConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminMaintenanceStatus ¶
type BareMetalAdminMaintenanceStatus struct { // MachineDrainStatus: Represents the status of draining and drained machine // nodes. This is used to show the progress of cluster upgrade. MachineDrainStatus *BareMetalAdminMachineDrainStatus `json:"machineDrainStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "MachineDrainStatus") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MachineDrainStatus") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminMaintenanceStatus: BareMetalAdminMaintenanceStatus represents the maintenance status for bare metal Admin cluster CR's nodes.
func (BareMetalAdminMaintenanceStatus) MarshalJSON ¶
func (s BareMetalAdminMaintenanceStatus) MarshalJSON() ([]byte, error)
type BareMetalAdminManualLbConfig ¶
type BareMetalAdminManualLbConfig struct { // Enabled: Whether manual load balancing is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminManualLbConfig: BareMetalAdminManualLbConfig represents configuration parameters for a manual load balancer.
func (BareMetalAdminManualLbConfig) MarshalJSON ¶
func (s BareMetalAdminManualLbConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminNetworkConfig ¶
type BareMetalAdminNetworkConfig struct { // IslandModeCidr: Configuration for Island mode CIDR. IslandModeCidr *BareMetalAdminIslandModeCidrConfig `json:"islandModeCidr,omitempty"` // ForceSendFields is a list of field names (e.g. "IslandModeCidr") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IslandModeCidr") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminNetworkConfig: BareMetalAdminNetworkConfig specifies the cluster network configuration.
func (BareMetalAdminNetworkConfig) MarshalJSON ¶
func (s BareMetalAdminNetworkConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminNodeAccessConfig ¶
type BareMetalAdminNodeAccessConfig struct { // LoginUser: Required. LoginUser is the user name used to access node // machines. It defaults to "root" if not set. LoginUser string `json:"loginUser,omitempty"` // ForceSendFields is a list of field names (e.g. "LoginUser") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LoginUser") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminNodeAccessConfig: Specifies the node access related settings for the bare metal admin cluster.
func (BareMetalAdminNodeAccessConfig) MarshalJSON ¶
func (s BareMetalAdminNodeAccessConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminOsEnvironmentConfig ¶
type BareMetalAdminOsEnvironmentConfig struct { // PackageRepoExcluded: Whether the package repo should be added when // initializing bare metal machines. PackageRepoExcluded bool `json:"packageRepoExcluded,omitempty"` // ForceSendFields is a list of field names (e.g. "PackageRepoExcluded") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PackageRepoExcluded") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminOsEnvironmentConfig: Specifies operating system operation settings for cluster provisioning.
func (BareMetalAdminOsEnvironmentConfig) MarshalJSON ¶
func (s BareMetalAdminOsEnvironmentConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminPortConfig ¶
type BareMetalAdminPortConfig struct { // ControlPlaneLoadBalancerPort: The port that control plane hosted load // balancers will listen on. ControlPlaneLoadBalancerPort int64 `json:"controlPlaneLoadBalancerPort,omitempty"` // ForceSendFields is a list of field names (e.g. // "ControlPlaneLoadBalancerPort") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneLoadBalancerPort") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminPortConfig: BareMetalAdminPortConfig is the specification of load balancer ports.
func (BareMetalAdminPortConfig) MarshalJSON ¶
func (s BareMetalAdminPortConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminProxyConfig ¶
type BareMetalAdminProxyConfig struct { // NoProxy: A list of IPs, hostnames, and domains that should skip the proxy. // Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. NoProxy []string `json:"noProxy,omitempty"` // Uri: Required. Specifies the address of your proxy server. Examples: // `http://domain` WARNING: Do not provide credentials in the format // `http://(username:password@)domain` these will be rejected by the server. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "NoProxy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NoProxy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminProxyConfig: BareMetalAdminProxyConfig specifies the cluster proxy configuration.
func (BareMetalAdminProxyConfig) MarshalJSON ¶
func (s BareMetalAdminProxyConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminSecurityConfig ¶
type BareMetalAdminSecurityConfig struct { // Authorization: Configures user access to the admin cluster. Authorization *Authorization `json:"authorization,omitempty"` // ForceSendFields is a list of field names (e.g. "Authorization") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Authorization") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminSecurityConfig: Specifies the security related settings for the bare metal admin cluster.
func (BareMetalAdminSecurityConfig) MarshalJSON ¶
func (s BareMetalAdminSecurityConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminStorageConfig ¶
type BareMetalAdminStorageConfig struct { // LvpNodeMountsConfig: Required. Specifies the config for local // PersistentVolumes backed by mounted node disks. These disks need to be // formatted and mounted by the user, which can be done before or after cluster // creation. LvpNodeMountsConfig *BareMetalLvpConfig `json:"lvpNodeMountsConfig,omitempty"` // backed by subdirectories in a shared filesystem. These subdirectores are // automatically created during cluster creation. LvpShareConfig *BareMetalLvpShareConfig `json:"lvpShareConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LvpNodeMountsConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LvpNodeMountsConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminStorageConfig: BareMetalAdminStorageConfig specifies the cluster storage configuration.
func (BareMetalAdminStorageConfig) MarshalJSON ¶
func (s BareMetalAdminStorageConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminVipConfig ¶
type BareMetalAdminVipConfig struct { // ControlPlaneVip: The VIP which you previously set aside for the Kubernetes // API of this bare metal admin cluster. ControlPlaneVip string `json:"controlPlaneVip,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneVip") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminVipConfig: BareMetalAdminVipConfig for bare metal load balancer configurations.
func (BareMetalAdminVipConfig) MarshalJSON ¶
func (s BareMetalAdminVipConfig) MarshalJSON() ([]byte, error)
type BareMetalAdminWorkloadNodeConfig ¶
type BareMetalAdminWorkloadNodeConfig struct { // MaxPodsPerNode: The maximum number of pods a node can run. The size of the // CIDR range assigned to the node will be derived from this parameter. By // default 110 Pods are created per Node. Upper bound is 250 for both HA and // non-HA admin cluster. Lower bound is 64 for non-HA admin cluster and 32 for // HA admin cluster. MaxPodsPerNode int64 `json:"maxPodsPerNode,omitempty,string"` // ForceSendFields is a list of field names (e.g. "MaxPodsPerNode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalAdminWorkloadNodeConfig: BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.
func (BareMetalAdminWorkloadNodeConfig) MarshalJSON ¶
func (s BareMetalAdminWorkloadNodeConfig) MarshalJSON() ([]byte, error)
type BareMetalApiServerArgument ¶
type BareMetalApiServerArgument struct { // Argument: Required. The argument name as it appears on the API Server // command line, make sure to remove the leading dashes. Argument string `json:"argument,omitempty"` // Value: Required. The value of the arg as it will be passed to the API Server // command line. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Argument") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Argument") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalApiServerArgument: Represents an arg name->value pair. Only a subset of customized flags are supported. For the exact format, refer to the API server documentation (https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/).
func (BareMetalApiServerArgument) MarshalJSON ¶
func (s BareMetalApiServerArgument) MarshalJSON() ([]byte, error)
type BareMetalBgpLbConfig ¶
type BareMetalBgpLbConfig struct { // AddressPools: Required. AddressPools is a list of non-overlapping IP pools // used by load balancer typed services. All addresses must be routable to load // balancer nodes. IngressVIP must be included in the pools. AddressPools []*BareMetalLoadBalancerAddressPool `json:"addressPools,omitempty"` // Asn: Required. BGP autonomous system number (ASN) of the cluster. This field // can be updated after cluster creation. Asn int64 `json:"asn,omitempty,string"` // BgpPeerConfigs: Required. The list of BGP peers that the cluster will // connect to. At least one peer must be configured for each control plane // node. Control plane nodes will connect to these peers to advertise the // control plane VIP. The Services load balancer also uses these peers by // default. This field can be updated after cluster creation. BgpPeerConfigs []*BareMetalBgpPeerConfig `json:"bgpPeerConfigs,omitempty"` // LoadBalancerNodePoolConfig: Specifies the node pool running data plane load // balancing. L2 connectivity is required among nodes in this pool. If missing, // the control plane node pool is used for data plane load balancing. LoadBalancerNodePoolConfig *BareMetalLoadBalancerNodePoolConfig `json:"loadBalancerNodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AddressPools") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddressPools") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalBgpLbConfig: BareMetalBgpLbConfig represents configuration parameters for a Border Gateway Protocol (BGP) load balancer.
func (BareMetalBgpLbConfig) MarshalJSON ¶
func (s BareMetalBgpLbConfig) MarshalJSON() ([]byte, error)
type BareMetalBgpPeerConfig ¶
type BareMetalBgpPeerConfig struct { // Asn: Required. BGP autonomous system number (ASN) for the network that // contains the external peer device. Asn int64 `json:"asn,omitempty,string"` // ControlPlaneNodes: The IP address of the control plane node that connects to // the external peer. If you don't specify any control plane nodes, all control // plane nodes can connect to the external peer. If you specify one or more IP // addresses, only the nodes specified participate in peering sessions. ControlPlaneNodes []string `json:"controlPlaneNodes,omitempty"` // IpAddress: Required. The IP address of the external peer device. IpAddress string `json:"ipAddress,omitempty"` // ForceSendFields is a list of field names (e.g. "Asn") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Asn") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalBgpPeerConfig: BareMetalBgpPeerConfig represents configuration parameters for a Border Gateway Protocol (BGP) peer.
func (BareMetalBgpPeerConfig) MarshalJSON ¶
func (s BareMetalBgpPeerConfig) MarshalJSON() ([]byte, error)
type BareMetalCluster ¶
type BareMetalCluster struct { // AdminClusterMembership: Required. The admin cluster this bare metal user // cluster belongs to. This is the full resource name of the admin cluster's // fleet membership. AdminClusterMembership string `json:"adminClusterMembership,omitempty"` // AdminClusterName: Output only. The resource name of the bare metal admin // cluster managing this user cluster. AdminClusterName string `json:"adminClusterName,omitempty"` // Annotations: Annotations on the bare metal user cluster. This field has the // same restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // BareMetalVersion: Required. The Anthos clusters on bare metal version for // your user cluster. BareMetalVersion string `json:"bareMetalVersion,omitempty"` // BinaryAuthorization: Binary Authorization related configurations. BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"` // ClusterOperations: Cluster operations configuration. ClusterOperations *BareMetalClusterOperationsConfig `json:"clusterOperations,omitempty"` // ControlPlane: Required. Control plane configuration. ControlPlane *BareMetalControlPlaneConfig `json:"controlPlane,omitempty"` // CreateTime: Output only. The time when the bare metal user cluster was // created. CreateTime string `json:"createTime,omitempty"` // DeleteTime: Output only. The time when the bare metal user cluster was // deleted. If the resource is not deleted, this must be empty DeleteTime string `json:"deleteTime,omitempty"` // Description: A human readable description of this bare metal user cluster. Description string `json:"description,omitempty"` // Endpoint: Output only. The IP address of the bare metal user cluster's API // server. Endpoint string `json:"endpoint,omitempty"` // Etag: Output only. This checksum is computed by the server based on the // value of other fields, and may be sent on update and delete requests to // ensure the client has an up-to-date value before proceeding. Allows clients // to perform consistent read-modify-writes through optimistic concurrency // control. Etag string `json:"etag,omitempty"` // Fleet: Output only. Fleet configuration for the cluster. Fleet *Fleet `json:"fleet,omitempty"` // LoadBalancer: Required. Load balancer configuration. LoadBalancer *BareMetalLoadBalancerConfig `json:"loadBalancer,omitempty"` // LocalName: Output only. The object name of the bare metal user cluster // custom resource on the associated admin cluster. This field is used to // support conflicting names when enrolling existing clusters to the API. When // used as a part of cluster enrollment, this field will differ from the name // in the resource name. For new clusters, this field will match the user // provided cluster name and be visible in the last component of the resource // name. It is not modifiable. When the local name and cluster name differ, the // local name is used in the admin cluster controller logs. You use the cluster // name when accessing the cluster using bmctl and kubectl. LocalName string `json:"localName,omitempty"` // MaintenanceConfig: Maintenance configuration. MaintenanceConfig *BareMetalMaintenanceConfig `json:"maintenanceConfig,omitempty"` // MaintenanceStatus: Output only. Status of on-going maintenance tasks. MaintenanceStatus *BareMetalMaintenanceStatus `json:"maintenanceStatus,omitempty"` // Name: Immutable. The bare metal user cluster resource name. Name string `json:"name,omitempty"` // NetworkConfig: Required. Network configuration. NetworkConfig *BareMetalNetworkConfig `json:"networkConfig,omitempty"` // NodeAccessConfig: Node access related configurations. NodeAccessConfig *BareMetalNodeAccessConfig `json:"nodeAccessConfig,omitempty"` // NodeConfig: Workload node configuration. NodeConfig *BareMetalWorkloadNodeConfig `json:"nodeConfig,omitempty"` // OsEnvironmentConfig: OS environment related configurations. OsEnvironmentConfig *BareMetalOsEnvironmentConfig `json:"osEnvironmentConfig,omitempty"` // Proxy: Proxy configuration. Proxy *BareMetalProxyConfig `json:"proxy,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the bare metal user cluster. Reconciling bool `json:"reconciling,omitempty"` // SecurityConfig: Security related setting configuration. SecurityConfig *BareMetalSecurityConfig `json:"securityConfig,omitempty"` // State: Output only. The current state of the bare metal user cluster. // // Possible values: // "STATE_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 the cluster is being // updated. It remains available, but potentially with degraded performance. // "STOPPING" - The STOPPING state indicates the cluster is being deleted. // "ERROR" - The ERROR state indicates the cluster is in a broken // unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the cluster requires user action // to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. Detailed cluster status. Status *ResourceStatus `json:"status,omitempty"` // Storage: Required. Storage configuration. Storage *BareMetalStorageConfig `json:"storage,omitempty"` // Uid: Output only. The unique identifier of the bare metal user cluster. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time when the bare metal user cluster was last // updated. UpdateTime string `json:"updateTime,omitempty"` // UpgradePolicy: The cluster upgrade policy. UpgradePolicy *BareMetalClusterUpgradePolicy `json:"upgradePolicy,omitempty"` // ValidationCheck: Output only. The result of the preflight check. ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdminClusterMembership") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalCluster: Resource that represents a bare metal user cluster.
func (BareMetalCluster) MarshalJSON ¶
func (s BareMetalCluster) MarshalJSON() ([]byte, error)
type BareMetalClusterOperationsConfig ¶
type BareMetalClusterOperationsConfig struct { // EnableApplicationLogs: Whether collection of application logs/metrics should // be enabled (in addition to system logs/metrics). EnableApplicationLogs bool `json:"enableApplicationLogs,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableApplicationLogs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableApplicationLogs") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalClusterOperationsConfig: Specifies the bare metal user cluster's observability infrastructure.
func (BareMetalClusterOperationsConfig) MarshalJSON ¶
func (s BareMetalClusterOperationsConfig) MarshalJSON() ([]byte, error)
type BareMetalClusterUpgradePolicy ¶ added in v0.135.0
type BareMetalClusterUpgradePolicy struct { // Pause: Output only. Pause is used to show the upgrade pause status. It's // view only for now. Pause bool `json:"pause,omitempty"` // Policy: Specifies which upgrade policy to use. // // Possible values: // "NODE_POOL_POLICY_UNSPECIFIED" - No upgrade policy selected. // "SERIAL" - Upgrade worker node pools sequentially. // "CONCURRENT" - Upgrade all worker node pools in parallel. Policy string `json:"policy,omitempty"` // ForceSendFields is a list of field names (e.g. "Pause") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Pause") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalClusterUpgradePolicy: BareMetalClusterUpgradePolicy defines the cluster upgrade policy.
func (BareMetalClusterUpgradePolicy) MarshalJSON ¶ added in v0.135.0
func (s BareMetalClusterUpgradePolicy) MarshalJSON() ([]byte, error)
type BareMetalControlPlaneConfig ¶
type BareMetalControlPlaneConfig struct { // ApiServerArgs: Customizes the default API server args. Only a subset of // customized flags are supported. For the exact format, refer to the API // server documentation // (https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/). ApiServerArgs []*BareMetalApiServerArgument `json:"apiServerArgs,omitempty"` // ControlPlaneNodePoolConfig: Required. Configures the node pool running the // control plane. ControlPlaneNodePoolConfig *BareMetalControlPlaneNodePoolConfig `json:"controlPlaneNodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiServerArgs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiServerArgs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalControlPlaneConfig: Specifies the control plane configuration.
func (BareMetalControlPlaneConfig) MarshalJSON ¶
func (s BareMetalControlPlaneConfig) MarshalJSON() ([]byte, error)
type BareMetalControlPlaneNodePoolConfig ¶
type BareMetalControlPlaneNodePoolConfig struct { // NodePoolConfig: Required. The generic configuration for a node pool running // the control plane. NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "NodePoolConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodePoolConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalControlPlaneNodePoolConfig: Specifies the control plane node pool configuration.
func (BareMetalControlPlaneNodePoolConfig) MarshalJSON ¶
func (s BareMetalControlPlaneNodePoolConfig) MarshalJSON() ([]byte, error)
type BareMetalDrainedMachine ¶
type BareMetalDrainedMachine struct { // NodeIp: Drained machine IP address. NodeIp string `json:"nodeIp,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeIp") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalDrainedMachine: Represents a machine that is currently drained.
func (BareMetalDrainedMachine) MarshalJSON ¶
func (s BareMetalDrainedMachine) MarshalJSON() ([]byte, error)
type BareMetalDrainingMachine ¶
type BareMetalDrainingMachine struct { // NodeIp: Draining machine IP address. NodeIp string `json:"nodeIp,omitempty"` // PodCount: The count of pods yet to drain. PodCount int64 `json:"podCount,omitempty"` // ForceSendFields is a list of field names (e.g. "NodeIp") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodeIp") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalDrainingMachine: Represents a machine that is currently draining.
func (BareMetalDrainingMachine) MarshalJSON ¶
func (s BareMetalDrainingMachine) MarshalJSON() ([]byte, error)
type BareMetalIslandModeCidrConfig ¶
type BareMetalIslandModeCidrConfig struct { // PodAddressCidrBlocks: Required. All pods in the cluster are assigned an // RFC1918 IPv4 address from these ranges. This field cannot be changed after // creation. PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"` // ServiceAddressCidrBlocks: Required. All services in the cluster are assigned // an RFC1918 IPv4 address from these ranges. This field is mutable after // creation starting with version 1.15. ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"` // ForceSendFields is a list of field names (e.g. "PodAddressCidrBlocks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PodAddressCidrBlocks") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalIslandModeCidrConfig: Specifies the cluster CIDR configuration while running in island mode.
func (BareMetalIslandModeCidrConfig) MarshalJSON ¶
func (s BareMetalIslandModeCidrConfig) MarshalJSON() ([]byte, error)
type BareMetalKubeletConfig ¶
type BareMetalKubeletConfig struct { // RegistryBurst: The maximum size of bursty pulls, temporarily allows pulls to // burst to this number, while still not exceeding registry_pull_qps. The value // must not be a negative number. Updating this field may impact scalability by // changing the amount of traffic produced by image pulls. Defaults to 10. RegistryBurst int64 `json:"registryBurst,omitempty"` // RegistryPullQps: The limit of registry pulls per second. Setting this value // to 0 means no limit. Updating this field may impact scalability by changing // the amount of traffic produced by image pulls. Defaults to 5. RegistryPullQps int64 `json:"registryPullQps,omitempty"` // SerializeImagePullsDisabled: Prevents the Kubelet from pulling multiple // images at a time. We recommend *not* changing the default value on nodes // that run docker daemon with version < 1.9 or an Another Union File System // (Aufs) storage backend. Issue // https://github.com/kubernetes/kubernetes/issues/10959 has more details. SerializeImagePullsDisabled bool `json:"serializeImagePullsDisabled,omitempty"` // ForceSendFields is a list of field names (e.g. "RegistryBurst") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RegistryBurst") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalKubeletConfig: KubeletConfig defines the modifiable kubelet configurations for bare metal machines. Note: this list includes fields supported in GKE (see https://cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-options).
func (BareMetalKubeletConfig) MarshalJSON ¶
func (s BareMetalKubeletConfig) MarshalJSON() ([]byte, error)
type BareMetalLoadBalancerAddressPool ¶
type BareMetalLoadBalancerAddressPool struct { // Addresses: Required. The addresses that are part of this pool. Each address // must be either in the CIDR form (1.2.3.0/24) or range form // (1.2.3.1-1.2.3.5). Addresses []string `json:"addresses,omitempty"` // AvoidBuggyIps: If true, avoid using IPs ending in .0 or .255. This avoids // buggy consumer devices mistakenly dropping IPv4 traffic for those special IP // addresses. AvoidBuggyIps bool `json:"avoidBuggyIps,omitempty"` // ManualAssign: If true, prevent IP addresses from being automatically // assigned. ManualAssign bool `json:"manualAssign,omitempty"` // Pool: Required. The name of the address pool. Pool string `json:"pool,omitempty"` // ForceSendFields is a list of field names (e.g. "Addresses") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Addresses") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalLoadBalancerAddressPool: Represents an IP pool used by the load balancer.
func (BareMetalLoadBalancerAddressPool) MarshalJSON ¶
func (s BareMetalLoadBalancerAddressPool) MarshalJSON() ([]byte, error)
type BareMetalLoadBalancerConfig ¶
type BareMetalLoadBalancerConfig struct { // BgpLbConfig: Configuration for BGP typed load balancers. When set // network_config.advanced_networking is automatically set to true. BgpLbConfig *BareMetalBgpLbConfig `json:"bgpLbConfig,omitempty"` // ManualLbConfig: Manually configured load balancers. ManualLbConfig *BareMetalManualLbConfig `json:"manualLbConfig,omitempty"` // MetalLbConfig: Configuration for MetalLB load balancers. MetalLbConfig *BareMetalMetalLbConfig `json:"metalLbConfig,omitempty"` // PortConfig: Configures the ports that the load balancer will listen on. PortConfig *BareMetalPortConfig `json:"portConfig,omitempty"` // VipConfig: The VIPs used by the load balancer. VipConfig *BareMetalVipConfig `json:"vipConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BgpLbConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BgpLbConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalLoadBalancerConfig: Specifies the load balancer configuration.
func (BareMetalLoadBalancerConfig) MarshalJSON ¶
func (s BareMetalLoadBalancerConfig) MarshalJSON() ([]byte, error)
type BareMetalLoadBalancerNodePoolConfig ¶
type BareMetalLoadBalancerNodePoolConfig struct { // NodePoolConfig: The generic configuration for a node pool running a load // balancer. NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "NodePoolConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NodePoolConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalLoadBalancerNodePoolConfig: Specifies the load balancer's node pool configuration.
func (BareMetalLoadBalancerNodePoolConfig) MarshalJSON ¶
func (s BareMetalLoadBalancerNodePoolConfig) MarshalJSON() ([]byte, error)
type BareMetalLvpConfig ¶
type BareMetalLvpConfig struct { // Path: Required. The host machine path. Path string `json:"path,omitempty"` // StorageClass: Required. The StorageClass name that PVs will be created with. StorageClass string `json:"storageClass,omitempty"` // ForceSendFields is a list of field names (e.g. "Path") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Path") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalLvpConfig: Specifies the configs for local persistent volumes (PVs).
func (BareMetalLvpConfig) MarshalJSON ¶
func (s BareMetalLvpConfig) MarshalJSON() ([]byte, error)
type BareMetalLvpShareConfig ¶
type BareMetalLvpShareConfig struct { // Share. LvpConfig *BareMetalLvpConfig `json:"lvpConfig,omitempty"` SharedPathPvCount int64 `json:"sharedPathPvCount,omitempty"` // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalLvpShareConfig: Specifies the configs for local persistent volumes under a shared file system.
func (BareMetalLvpShareConfig) MarshalJSON ¶
func (s BareMetalLvpShareConfig) MarshalJSON() ([]byte, error)
type BareMetalMachineDrainStatus ¶
type BareMetalMachineDrainStatus struct { // DrainedMachines: The list of drained machines. DrainedMachines []*BareMetalDrainedMachine `json:"drainedMachines,omitempty"` // DrainingMachines: The list of draning machines. DrainingMachines []*BareMetalDrainingMachine `json:"drainingMachines,omitempty"` // ForceSendFields is a list of field names (e.g. "DrainedMachines") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DrainedMachines") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalMachineDrainStatus: Represents the status of node machines that are undergoing drain operations.
func (BareMetalMachineDrainStatus) MarshalJSON ¶
func (s BareMetalMachineDrainStatus) MarshalJSON() ([]byte, error)
type BareMetalMaintenanceConfig ¶
type BareMetalMaintenanceConfig struct { // MaintenanceAddressCidrBlocks: Required. All IPv4 address from these ranges // will be placed into maintenance mode. Nodes in maintenance mode will be // cordoned and drained. When both of these are true, the // "baremetal.cluster.gke.io/maintenance" annotation will be set on the node // resource. MaintenanceAddressCidrBlocks []string `json:"maintenanceAddressCidrBlocks,omitempty"` // ForceSendFields is a list of field names (e.g. // "MaintenanceAddressCidrBlocks") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaintenanceAddressCidrBlocks") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalMaintenanceConfig: Specifies configurations to put bare metal nodes in and out of maintenance.
func (BareMetalMaintenanceConfig) MarshalJSON ¶
func (s BareMetalMaintenanceConfig) MarshalJSON() ([]byte, error)
type BareMetalMaintenanceStatus ¶
type BareMetalMaintenanceStatus struct { // MachineDrainStatus: The maintenance status of node machines. MachineDrainStatus *BareMetalMachineDrainStatus `json:"machineDrainStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "MachineDrainStatus") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MachineDrainStatus") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalMaintenanceStatus: Represents the maintenance status of the bare metal user cluster.
func (BareMetalMaintenanceStatus) MarshalJSON ¶
func (s BareMetalMaintenanceStatus) MarshalJSON() ([]byte, error)
type BareMetalManualLbConfig ¶
type BareMetalManualLbConfig struct { // Enabled: Whether manual load balancing is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalManualLbConfig: Represents configuration parameters for a manual load balancer.
func (BareMetalManualLbConfig) MarshalJSON ¶
func (s BareMetalManualLbConfig) MarshalJSON() ([]byte, error)
type BareMetalMetalLbConfig ¶
type BareMetalMetalLbConfig struct { // AddressPools: Required. AddressPools is a list of non-overlapping IP pools // used by load balancer typed services. All addresses must be routable to load // balancer nodes. IngressVIP must be included in the pools. AddressPools []*BareMetalLoadBalancerAddressPool `json:"addressPools,omitempty"` // LoadBalancerNodePoolConfig: Specifies the node pool running the load // balancer. L2 connectivity is required among nodes in this pool. If missing, // the control plane node pool is used as the load balancer pool. LoadBalancerNodePoolConfig *BareMetalLoadBalancerNodePoolConfig `json:"loadBalancerNodePoolConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AddressPools") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddressPools") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalMetalLbConfig: Represents configuration parameters for a MetalLB load balancer.
func (BareMetalMetalLbConfig) MarshalJSON ¶
func (s BareMetalMetalLbConfig) MarshalJSON() ([]byte, error)
type BareMetalMultipleNetworkInterfacesConfig ¶
type BareMetalMultipleNetworkInterfacesConfig struct { // Enabled: Whether to enable multiple network interfaces for your pods. When // set network_config.advanced_networking is automatically set to true. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalMultipleNetworkInterfacesConfig: Specifies the multiple networking interfaces cluster configuration.
func (BareMetalMultipleNetworkInterfacesConfig) MarshalJSON ¶
func (s BareMetalMultipleNetworkInterfacesConfig) MarshalJSON() ([]byte, error)
type BareMetalNetworkConfig ¶
type BareMetalNetworkConfig struct { // AdvancedNetworking: Enables the use of advanced Anthos networking features, // such as Bundled Load Balancing with BGP or the egress NAT gateway. Setting // configuration for advanced networking features will automatically set this // flag. AdvancedNetworking bool `json:"advancedNetworking,omitempty"` // IslandModeCidr: Configuration for island mode CIDR. In an island-mode // network, nodes have unique IP addresses, but pods don't have unique // addresses across clusters. This doesn't cause problems because pods in one // cluster never directly communicate with pods in another cluster. Instead, // there are gateways that mediate between a pod in one cluster and a pod in // another cluster. IslandModeCidr *BareMetalIslandModeCidrConfig `json:"islandModeCidr,omitempty"` // MultipleNetworkInterfacesConfig: Configuration for multiple network // interfaces. MultipleNetworkInterfacesConfig *BareMetalMultipleNetworkInterfacesConfig `json:"multipleNetworkInterfacesConfig,omitempty"` // SrIovConfig: Configuration for SR-IOV. SrIovConfig *BareMetalSrIovConfig `json:"srIovConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AdvancedNetworking") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvancedNetworking") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNetworkConfig: Specifies the cluster network configuration.
func (BareMetalNetworkConfig) MarshalJSON ¶
func (s BareMetalNetworkConfig) MarshalJSON() ([]byte, error)
type BareMetalNodeAccessConfig ¶
type BareMetalNodeAccessConfig struct { // LoginUser: LoginUser is the user name used to access node machines. It // defaults to "root" if not set. LoginUser string `json:"loginUser,omitempty"` // ForceSendFields is a list of field names (e.g. "LoginUser") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LoginUser") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNodeAccessConfig: Specifies the node access related settings for the bare metal user cluster.
func (BareMetalNodeAccessConfig) MarshalJSON ¶
func (s BareMetalNodeAccessConfig) MarshalJSON() ([]byte, error)
type BareMetalNodeConfig ¶
type BareMetalNodeConfig struct { // Labels: The labels assigned to this node. An object containing a list of // key/value pairs. The labels here, unioned with the labels set on // BareMetalNodePoolConfig are the set of labels that will be applied to the // node. If there are any conflicts, the BareMetalNodeConfig labels take // precedence. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels map[string]string `json:"labels,omitempty"` // NodeIp: The default IPv4 address for SSH access and Kubernetes node. // Example: 192.168.0.1 NodeIp string `json:"nodeIp,omitempty"` // ForceSendFields is a list of field names (e.g. "Labels") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNodeConfig: BareMetalNodeConfig lists machine addresses to access Nodes.
func (BareMetalNodeConfig) MarshalJSON ¶
func (s BareMetalNodeConfig) MarshalJSON() ([]byte, error)
type BareMetalNodePool ¶
type BareMetalNodePool struct { // Annotations: Annotations on the bare metal node pool. This field has the // same restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // CreateTime: Output only. The time at which this bare metal node pool was // created. CreateTime string `json:"createTime,omitempty"` // DeleteTime: Output only. The time at which this bare metal node pool was // deleted. If the resource is not deleted, this must be empty DeleteTime string `json:"deleteTime,omitempty"` // DisplayName: The display name for the bare metal node pool. DisplayName string `json:"displayName,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. Allows clients to perform // consistent read-modify-writes through optimistic concurrency control. Etag string `json:"etag,omitempty"` // Name: Immutable. The bare metal node pool resource name. Name string `json:"name,omitempty"` // NodePoolConfig: Required. Node pool configuration. NodePoolConfig *BareMetalNodePoolConfig `json:"nodePoolConfig,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the bare metal node pool. Reconciling bool `json:"reconciling,omitempty"` // State: Output only. The current state of the bare metal node pool. // // Possible values: // "STATE_UNSPECIFIED" - Not set. // "PROVISIONING" - The PROVISIONING state indicates the bare metal node pool // is being created. // "RUNNING" - The RUNNING state indicates the bare metal node pool has been // created and is fully usable. // "RECONCILING" - The RECONCILING state indicates that the bare metal node // pool is being updated. It remains available, but potentially with degraded // performance. // "STOPPING" - The STOPPING state indicates the bare metal node pool is // being deleted. // "ERROR" - The ERROR state indicates the bare metal node pool is in a // broken unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the bare metal node pool // requires user action to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. ResourceStatus representing the detailed node pool // status. Status *ResourceStatus `json:"status,omitempty"` // Uid: Output only. The unique identifier of the bare metal node pool. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time at which this bare metal node pool was // last updated. UpdateTime string `json:"updateTime,omitempty"` // UpgradePolicy: The worker node pool upgrade policy. UpgradePolicy *BareMetalNodePoolUpgradePolicy `json:"upgradePolicy,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNodePool: Resource that represents a bare metal node pool.
func (BareMetalNodePool) MarshalJSON ¶
func (s BareMetalNodePool) MarshalJSON() ([]byte, error)
type BareMetalNodePoolConfig ¶
type BareMetalNodePoolConfig struct { // KubeletConfig: The modifiable kubelet configurations for the bare metal // machines. KubeletConfig *BareMetalKubeletConfig `json:"kubeletConfig,omitempty"` // Labels: The labels assigned to nodes of this node pool. An object containing // a list of key/value pairs. Example: { "name": "wrench", "mass": "1.3kg", // "count": "3" }. Labels map[string]string `json:"labels,omitempty"` // NodeConfigs: Required. The list of machine addresses in the bare metal node // pool. NodeConfigs []*BareMetalNodeConfig `json:"nodeConfigs,omitempty"` // OperatingSystem: Specifies the nodes operating system (default: LINUX). // // Possible values: // "OPERATING_SYSTEM_UNSPECIFIED" - No operating system runtime selected. // "LINUX" - Linux operating system. OperatingSystem string `json:"operatingSystem,omitempty"` // Taints: The initial taints assigned to nodes of this node pool. Taints []*NodeTaint `json:"taints,omitempty"` // ForceSendFields is a list of field names (e.g. "KubeletConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KubeletConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNodePoolConfig: BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool.
func (BareMetalNodePoolConfig) MarshalJSON ¶
func (s BareMetalNodePoolConfig) MarshalJSON() ([]byte, error)
type BareMetalNodePoolUpgradePolicy ¶ added in v0.127.0
type BareMetalNodePoolUpgradePolicy struct { // ParallelUpgradeConfig: The parallel upgrade settings for worker node pools. ParallelUpgradeConfig *BareMetalParallelUpgradeConfig `json:"parallelUpgradeConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ParallelUpgradeConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParallelUpgradeConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalNodePoolUpgradePolicy: BareMetalNodePoolUpgradePolicy defines the node pool upgrade policy.
func (BareMetalNodePoolUpgradePolicy) MarshalJSON ¶ added in v0.127.0
func (s BareMetalNodePoolUpgradePolicy) MarshalJSON() ([]byte, error)
type BareMetalOsEnvironmentConfig ¶
type BareMetalOsEnvironmentConfig struct { // PackageRepoExcluded: Whether the package repo should not be included when // initializing bare metal machines. PackageRepoExcluded bool `json:"packageRepoExcluded,omitempty"` // ForceSendFields is a list of field names (e.g. "PackageRepoExcluded") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PackageRepoExcluded") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalOsEnvironmentConfig: Specifies operating system settings for cluster provisioning.
func (BareMetalOsEnvironmentConfig) MarshalJSON ¶
func (s BareMetalOsEnvironmentConfig) MarshalJSON() ([]byte, error)
type BareMetalParallelUpgradeConfig ¶ added in v0.127.0
type BareMetalParallelUpgradeConfig struct { // ConcurrentNodes: The maximum number of nodes that can be upgraded at once. ConcurrentNodes int64 `json:"concurrentNodes,omitempty"` // MinimumAvailableNodes: The minimum number of nodes that should be healthy // and available during an upgrade. If set to the default value of 0, it is // possible that none of the nodes will be available during an upgrade. MinimumAvailableNodes int64 `json:"minimumAvailableNodes,omitempty"` // ForceSendFields is a list of field names (e.g. "ConcurrentNodes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConcurrentNodes") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalParallelUpgradeConfig: BareMetalParallelUpgradeConfig defines the parallel upgrade settings for worker node pools.
func (BareMetalParallelUpgradeConfig) MarshalJSON ¶ added in v0.127.0
func (s BareMetalParallelUpgradeConfig) MarshalJSON() ([]byte, error)
type BareMetalPortConfig ¶
type BareMetalPortConfig struct { // ControlPlaneLoadBalancerPort: The port that control plane hosted load // balancers will listen on. ControlPlaneLoadBalancerPort int64 `json:"controlPlaneLoadBalancerPort,omitempty"` // ForceSendFields is a list of field names (e.g. // "ControlPlaneLoadBalancerPort") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneLoadBalancerPort") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalPortConfig: Specifies load balancer ports for the bare metal user cluster.
func (BareMetalPortConfig) MarshalJSON ¶
func (s BareMetalPortConfig) MarshalJSON() ([]byte, error)
type BareMetalProxyConfig ¶
type BareMetalProxyConfig struct { // NoProxy: A list of IPs, hostnames, and domains that should skip the proxy. // Examples: ["127.0.0.1", "example.com", ".corp", "localhost"]. NoProxy []string `json:"noProxy,omitempty"` // Uri: Required. Specifies the address of your proxy server. Examples: // `http://domain` Do not provide credentials in the format // `http://(username:password@)domain` these will be rejected by the server. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "NoProxy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NoProxy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalProxyConfig: Specifies the cluster proxy configuration.
func (BareMetalProxyConfig) MarshalJSON ¶
func (s BareMetalProxyConfig) MarshalJSON() ([]byte, error)
type BareMetalSecurityConfig ¶
type BareMetalSecurityConfig struct { // Authorization: Configures user access to the user cluster. Authorization *Authorization `json:"authorization,omitempty"` // ForceSendFields is a list of field names (e.g. "Authorization") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Authorization") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalSecurityConfig: Specifies the security related settings for the bare metal user cluster.
func (BareMetalSecurityConfig) MarshalJSON ¶
func (s BareMetalSecurityConfig) MarshalJSON() ([]byte, error)
type BareMetalSrIovConfig ¶
type BareMetalSrIovConfig struct { // Enabled: Whether to install the SR-IOV operator. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalSrIovConfig: Specifies the SR-IOV networking operator config.
func (BareMetalSrIovConfig) MarshalJSON ¶
func (s BareMetalSrIovConfig) MarshalJSON() ([]byte, error)
type BareMetalStorageConfig ¶
type BareMetalStorageConfig struct { // LvpNodeMountsConfig: Required. Specifies the config for local // PersistentVolumes backed by mounted node disks. These disks need to be // formatted and mounted by the user, which can be done before or after cluster // creation. LvpNodeMountsConfig *BareMetalLvpConfig `json:"lvpNodeMountsConfig,omitempty"` // backed by subdirectories in a shared filesystem. These subdirectores are // automatically created during cluster creation. LvpShareConfig *BareMetalLvpShareConfig `json:"lvpShareConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LvpNodeMountsConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LvpNodeMountsConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalStorageConfig: BareMetalStorageConfig specifies the cluster storage configuration.
func (BareMetalStorageConfig) MarshalJSON ¶
func (s BareMetalStorageConfig) MarshalJSON() ([]byte, error)
type BareMetalVersionInfo ¶
type BareMetalVersionInfo struct { // Dependencies: The list of upgrade dependencies for this version. Dependencies []*UpgradeDependency `json:"dependencies,omitempty"` // HasDependencies: If set, the cluster dependencies (e.g. the admin cluster, // other user clusters managed by the same admin cluster, version skew policy, // etc) must be upgraded before this version can be installed or upgraded to. HasDependencies bool `json:"hasDependencies,omitempty"` // Version: Version number e.g. 1.13.1. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Dependencies") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dependencies") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalVersionInfo: Contains information about a specific Anthos on bare metal version.
func (BareMetalVersionInfo) MarshalJSON ¶
func (s BareMetalVersionInfo) MarshalJSON() ([]byte, error)
type BareMetalVipConfig ¶
type BareMetalVipConfig struct { // ControlPlaneVip: The VIP which you previously set aside for the Kubernetes // API of this bare metal user cluster. ControlPlaneVip string `json:"controlPlaneVip,omitempty"` // IngressVip: The VIP which you previously set aside for ingress traffic into // this bare metal user cluster. IngressVip string `json:"ingressVip,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneVip") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalVipConfig: Specifies the VIP config for the bare metal load balancer.
func (BareMetalVipConfig) MarshalJSON ¶
func (s BareMetalVipConfig) MarshalJSON() ([]byte, error)
type BareMetalWorkloadNodeConfig ¶
type BareMetalWorkloadNodeConfig struct { // ContainerRuntime: Specifies which container runtime will be used. // // Possible values: // "CONTAINER_RUNTIME_UNSPECIFIED" - No container runtime selected. // "CONTAINERD" - Containerd runtime. ContainerRuntime string `json:"containerRuntime,omitempty"` // MaxPodsPerNode: The maximum number of pods a node can run. The size of the // CIDR range assigned to the node will be derived from this parameter. MaxPodsPerNode int64 `json:"maxPodsPerNode,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ContainerRuntime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainerRuntime") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BareMetalWorkloadNodeConfig: Specifies the workload node configurations.
func (BareMetalWorkloadNodeConfig) MarshalJSON ¶
func (s BareMetalWorkloadNodeConfig) MarshalJSON() ([]byte, error)
type BinaryAuthorization ¶ added in v0.139.0
type BinaryAuthorization struct { // EvaluationMode: Mode of operation for binauthz policy evaluation. If // unspecified, defaults to DISABLED. // // Possible values: // "EVALUATION_MODE_UNSPECIFIED" - Default value // "DISABLED" - Disable BinaryAuthorization // "PROJECT_SINGLETON_POLICY_ENFORCE" - Enforce Kubernetes admission requests // with BinaryAuthorization using the project's singleton policy. EvaluationMode string `json:"evaluationMode,omitempty"` // ForceSendFields is a list of field names (e.g. "EvaluationMode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluationMode") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BinaryAuthorization: Configuration for Binary Authorization.
func (BinaryAuthorization) MarshalJSON ¶ added in v0.139.0
func (s BinaryAuthorization) MarshalJSON() ([]byte, error)
type Binding ¶
type Binding struct { // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the current // request. If the condition evaluates to `false`, then this binding does not // apply to the current request. However, a different role binding might grant // the same role to one or more of the principals in this binding. To learn // which resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` // Members: Specifies the principals requesting access for a Google Cloud // resource. `members` can have the following values: * `allUsers`: A special // identifier that represents anyone who is on the internet; with or without a // Google account. * `allAuthenticatedUsers`: A special identifier that // represents anyone who is authenticated with a Google account or a service // account. Does not include identities that come from external identity // providers (IdPs) through identity federation. * `user:{emailid}`: An email // address that represents a specific Google account. For example, // `alice@example.com` . * `serviceAccount:{emailid}`: An email address that // represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An // identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * // `group:{emailid}`: An email address that represents a Google group. For // example, `admins@example.com`. * `domain:{domain}`: The G Suite domain // (primary) that represents all the users of that domain. For example, // `google.com` or `example.com`. * // `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub // ject/{subject_attribute_value}`: A single identity in a workforce identity // pool. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // group/{group_id}`: All workforce identities in a group. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // attribute.{attribute_name}/{attribute_value}`: All workforce identities with // a specific attribute value. * // `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/ // *`: All identities in a workforce identity pool. * // `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo // rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single // identity in a workload identity pool. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool // group. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value} // `: All identities in a workload identity pool with a certain attribute. * // `principalSet://iam.googleapis.com/projects/{project_number}/locations/global // /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity // pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a user that has been recently deleted. For // example, `alice@example.com?uid=123456789012345678901`. If the user is // recovered, this value reverts to `user:{emailid}` and the recovered user // retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a service account that has been recently // deleted. For example, // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the // service account is undeleted, this value reverts to // `serviceAccount:{emailid}` and the undeleted service account retains the // role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email // address (plus unique identifier) representing a Google group that has been // recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is recovered, // this value reverts to `group:{emailid}` and the recovered group retains the // role in the binding. * // `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool // _id}/subject/{subject_attribute_value}`: Deleted single identity in a // workforce identity pool. For example, // `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po // ol-id/subject/my-subject-attribute-value`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. For // example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview // of the IAM roles and permissions, see the IAM documentation // (https://cloud.google.com/iam/docs/roles-overview). For a list of the // available pre-defined roles, see here // (https://cloud.google.com/iam/docs/understanding-roles). Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Binding: Associates `members`, or principals, with a `role`.
func (Binding) MarshalJSON ¶
type CancelOperationRequest ¶
type CancelOperationRequest struct { }
CancelOperationRequest: The request message for Operations.CancelOperation.
type ClusterUser ¶
type ClusterUser struct { // Username: Required. The name of the user, e.g. `my-gcp-id@gmail.com`. Username string `json:"username,omitempty"` // ForceSendFields is a list of field names (e.g. "Username") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Username") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ClusterUser: ClusterUser configures user principals for an RBAC policy.
func (ClusterUser) MarshalJSON ¶
func (s ClusterUser) MarshalJSON() ([]byte, error)
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type EnrollBareMetalAdminClusterRequest ¶
type EnrollBareMetalAdminClusterRequest struct { // BareMetalAdminClusterId: User provided OnePlatform identifier that is used // as part of the resource name. This must be unique among all GKE on-prem // clusters within a project and location and will return a 409 if the cluster // already exists. (https://tools.ietf.org/html/rfc1123) format. BareMetalAdminClusterId string `json:"bareMetalAdminClusterId,omitempty"` // Membership: Required. This is the full resource name of this admin cluster's // fleet membership. Membership string `json:"membership,omitempty"` // ForceSendFields is a list of field names (e.g. "BareMetalAdminClusterId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BareMetalAdminClusterId") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollBareMetalAdminClusterRequest: Message for enrolling an existing bare metal admin cluster to the GKE on-prem API.
func (EnrollBareMetalAdminClusterRequest) MarshalJSON ¶
func (s EnrollBareMetalAdminClusterRequest) MarshalJSON() ([]byte, error)
type EnrollBareMetalClusterRequest ¶
type EnrollBareMetalClusterRequest struct { // AdminClusterMembership: Required. The admin cluster this bare metal user // cluster belongs to. This is the full resource name of the admin cluster's // fleet membership. In the future, references to other resource types might be // allowed if admin clusters are modeled as their own resources. AdminClusterMembership string `json:"adminClusterMembership,omitempty"` // BareMetalClusterId: User provided OnePlatform identifier that is used as // part of the resource name. This must be unique among all bare metal clusters // within a project and location and will return a 409 if the cluster already // exists. (https://tools.ietf.org/html/rfc1123) format. BareMetalClusterId string `json:"bareMetalClusterId,omitempty"` // LocalName: Optional. The object name of the bare metal cluster custom // resource on the associated admin cluster. This field is used to support // conflicting resource names when enrolling existing clusters to the API. When // not provided, this field will resolve to the bare_metal_cluster_id. // Otherwise, it must match the object name of the bare metal cluster custom // resource. It is not modifiable outside / beyond the enrollment operation. LocalName string `json:"localName,omitempty"` // ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdminClusterMembership") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollBareMetalClusterRequest: Message for enrolling an existing bare metal cluster to the Anthos On-Prem API.
func (EnrollBareMetalClusterRequest) MarshalJSON ¶
func (s EnrollBareMetalClusterRequest) MarshalJSON() ([]byte, error)
type EnrollBareMetalNodePoolRequest ¶
type EnrollBareMetalNodePoolRequest struct { // BareMetalNodePoolId: User provided OnePlatform identifier that is used as // part of the resource name. (https://tools.ietf.org/html/rfc1123) format. BareMetalNodePoolId string `json:"bareMetalNodePoolId,omitempty"` // ValidateOnly: If set, only validate the request, but do not actually enroll // the node pool. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "BareMetalNodePoolId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BareMetalNodePoolId") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollBareMetalNodePoolRequest: Message for enrolling an existing bare metal node pool to the GKE on-prem API.
func (EnrollBareMetalNodePoolRequest) MarshalJSON ¶
func (s EnrollBareMetalNodePoolRequest) MarshalJSON() ([]byte, error)
type EnrollVmwareAdminClusterRequest ¶
type EnrollVmwareAdminClusterRequest struct { // Membership: Required. This is the full resource name of this admin cluster's // fleet membership. Membership string `json:"membership,omitempty"` // VmwareAdminClusterId: User provided OnePlatform identifier that is used as // part of the resource name. This must be unique among all GKE on-prem // clusters within a project and location and will return a 409 if the cluster // already exists. (https://tools.ietf.org/html/rfc1123) format. VmwareAdminClusterId string `json:"vmwareAdminClusterId,omitempty"` // ForceSendFields is a list of field names (e.g. "Membership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Membership") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollVmwareAdminClusterRequest: Message for enrolling an existing VMware admin cluster to the GKE on-prem API.
func (EnrollVmwareAdminClusterRequest) MarshalJSON ¶
func (s EnrollVmwareAdminClusterRequest) MarshalJSON() ([]byte, error)
type EnrollVmwareClusterRequest ¶
type EnrollVmwareClusterRequest struct { // AdminClusterMembership: Required. The admin cluster this VMware user cluster // belongs to. This is the full resource name of the admin cluster's fleet // membership. In the future, references to other resource types might be // allowed if admin clusters are modeled as their own resources. AdminClusterMembership string `json:"adminClusterMembership,omitempty"` // LocalName: Optional. The object name of the VMware OnPremUserCluster custom // resource on the associated admin cluster. This field is used to support // conflicting resource names when enrolling existing clusters to the API. When // not provided, this field will resolve to the vmware_cluster_id. Otherwise, // it must match the object name of the VMware OnPremUserCluster custom // resource. It is not modifiable outside / beyond the enrollment operation. LocalName string `json:"localName,omitempty"` // ValidateOnly: Validate the request without actually doing any updates. ValidateOnly bool `json:"validateOnly,omitempty"` // VmwareClusterId: User provided OnePlatform identifier that is used as part // of the resource name. This must be unique among all GKE on-prem clusters // within a project and location and will return a 409 if the cluster already // exists. (https://tools.ietf.org/html/rfc1123) format. VmwareClusterId string `json:"vmwareClusterId,omitempty"` // ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdminClusterMembership") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollVmwareClusterRequest: Message for enrolling an existing VMware cluster to the Anthos On-Prem API.
func (EnrollVmwareClusterRequest) MarshalJSON ¶
func (s EnrollVmwareClusterRequest) MarshalJSON() ([]byte, error)
type EnrollVmwareNodePoolRequest ¶
type EnrollVmwareNodePoolRequest struct { // VmwareNodePoolId: The target node pool id to be enrolled. VmwareNodePoolId string `json:"vmwareNodePoolId,omitempty"` // ForceSendFields is a list of field names (e.g. "VmwareNodePoolId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "VmwareNodePoolId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
EnrollVmwareNodePoolRequest: Message for enrolling a VMware node pool.
func (EnrollVmwareNodePoolRequest) MarshalJSON ¶
func (s EnrollVmwareNodePoolRequest) MarshalJSON() ([]byte, error)
type Expr ¶
type Expr struct { // Description: Optional. Description of the expression. This is a longer text // which describes the expression, e.g. when hovered over it in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common Expression // Language syntax. Expression string `json:"expression,omitempty"` // Location: Optional. String indicating the location of the expression for // error reporting, e.g. a file name and a position in the file. Location string `json:"location,omitempty"` // Title: Optional. Title for the expression, i.e. a short string describing // its purpose. This can be used e.g. in UIs which allow to enter the // expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (Expr) MarshalJSON ¶
type Fleet ¶
type Fleet struct { // Membership: Output only. The name of the managed fleet Membership resource // associated to this cluster. Membership names are formatted as // `projects//locations//memberships/`. Membership string `json:"membership,omitempty"` // ForceSendFields is a list of field names (e.g. "Membership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Membership") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Fleet: Fleet related configuration. Fleets are a Google Cloud concept for logically organizing clusters, letting you use and manage multi-cluster capabilities and apply consistent policies across your systems. See Anthos Fleets (`https://cloud.google.com/anthos/multicluster-management/fleets`) for more details on Anthos multi-cluster capabilities using Fleets. ##
func (Fleet) MarshalJSON ¶
type ListBareMetalAdminClustersResponse ¶
type ListBareMetalAdminClustersResponse struct { // BareMetalAdminClusters: The list of bare metal admin cluster. BareMetalAdminClusters []*BareMetalAdminCluster `json:"bareMetalAdminClusters,omitempty"` // NextPageToken: A token identifying a page of results the server should // return. If the token is not empty this means that more results are available // and should be retrieved by repeating the request with the provided page // token. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BareMetalAdminClusters") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BareMetalAdminClusters") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBareMetalAdminClustersResponse: Response message for listing bare metal admin clusters.
func (ListBareMetalAdminClustersResponse) MarshalJSON ¶
func (s ListBareMetalAdminClustersResponse) MarshalJSON() ([]byte, error)
type ListBareMetalClustersResponse ¶
type ListBareMetalClustersResponse struct { // BareMetalClusters: The list of bare metal Clusters. BareMetalClusters []*BareMetalCluster `json:"bareMetalClusters,omitempty"` // NextPageToken: A token identifying a page of results the server should // return. If the token is not empty this means that more results are available // and should be retrieved by repeating the request with the provided page // token. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BareMetalClusters") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BareMetalClusters") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBareMetalClustersResponse: Response message for listing bare metal Clusters.
func (ListBareMetalClustersResponse) MarshalJSON ¶
func (s ListBareMetalClustersResponse) MarshalJSON() ([]byte, error)
type ListBareMetalNodePoolsResponse ¶
type ListBareMetalNodePoolsResponse struct { // BareMetalNodePools: The node pools from the specified parent resource. BareMetalNodePools []*BareMetalNodePool `json:"bareMetalNodePools,omitempty"` // NextPageToken: A token, which can be sent as `page_token` to retrieve the // next page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BareMetalNodePools") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BareMetalNodePools") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBareMetalNodePoolsResponse: Response message for listing bare metal node pools.
func (ListBareMetalNodePoolsResponse) MarshalJSON ¶
func (s ListBareMetalNodePoolsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in the // request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse) MarshalJSON ¶
func (s ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in the // request. 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. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse) MarshalJSON ¶
func (s ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListVmwareAdminClustersResponse ¶
type ListVmwareAdminClustersResponse struct { // NextPageToken: A token identifying a page of results the server should // return. If the token is not empty this means that more results are available // and should be retrieved by repeating the request with the provided page // token. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // VmwareAdminClusters: The list of VMware admin cluster. VmwareAdminClusters []*VmwareAdminCluster `json:"vmwareAdminClusters,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListVmwareAdminClustersResponse: Response message for listing VMware admin clusters.
func (ListVmwareAdminClustersResponse) MarshalJSON ¶
func (s ListVmwareAdminClustersResponse) MarshalJSON() ([]byte, error)
type ListVmwareClustersResponse ¶
type ListVmwareClustersResponse struct { // NextPageToken: A token identifying a page of results the server should // return. If the token is not empty this means that more results are available // and should be retrieved by repeating the request with the provided page // token. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // VmwareClusters: The list of VMware Cluster. VmwareClusters []*VmwareCluster `json:"vmwareClusters,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListVmwareClustersResponse: Response message for listing VMware Clusters.
func (ListVmwareClustersResponse) MarshalJSON ¶
func (s ListVmwareClustersResponse) MarshalJSON() ([]byte, error)
type ListVmwareNodePoolsResponse ¶
type ListVmwareNodePoolsResponse struct { // NextPageToken: A token, which can be sent as `page_token` to retrieve the // next page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // VmwareNodePools: The node pools from the specified parent resource. VmwareNodePools []*VmwareNodePool `json:"vmwareNodePools,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListVmwareNodePoolsResponse: Response message for listing VMware node pools.
func (ListVmwareNodePoolsResponse) MarshalJSON ¶
func (s ListVmwareNodePoolsResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby city // name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available capacity at // the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (Location) MarshalJSON ¶
type Metric ¶ added in v0.130.0
type Metric struct { // DoubleValue: For metrics with floating point value. DoubleValue float64 `json:"doubleValue,omitempty"` // IntValue: For metrics with integer value. IntValue int64 `json:"intValue,omitempty,string"` // Metric: Required. The metric name. // // Possible values: // "METRIC_ID_UNSPECIFIED" - Not set. // "NODES_TOTAL" - The total number of nodes being actuated. // "NODES_DRAINING" - The number of nodes draining. // "NODES_UPGRADING" - The number of nodes actively upgrading. // "NODES_PENDING_UPGRADE" - The number of nodes to be upgraded. // "NODES_UPGRADED" - The number of nodes upgraded. // "NODES_FAILED" - The number of nodes to fail actuation. // "NODES_HEALTHY" - The number of nodes healthy. // "NODES_RECONCILING" - The number of nodes reconciling. // "NODES_IN_MAINTENANCE" - The number of nodes in maintenance mode. // "PREFLIGHTS_COMPLETED" - The number of completed preflight checks. // "PREFLIGHTS_RUNNING" - The number of preflight checks running. // "PREFLIGHTS_FAILED" - The number of preflight checks failed. // "PREFLIGHTS_TOTAL" - The total number of preflight checks. Metric string `json:"metric,omitempty"` // StringValue: For metrics with custom values (ratios, visual progress, etc.). StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "DoubleValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Metric: Progress metric is (string, int|float|string) pair.
func (Metric) MarshalJSON ¶ added in v0.130.0
func (*Metric) UnmarshalJSON ¶ added in v0.130.0
type NodeTaint ¶
type NodeTaint struct { // Effect: The taint effect. // // Possible values: // "EFFECT_UNSPECIFIED" - Not set. // "NO_SCHEDULE" - Do not allow new pods to schedule onto the node unless // they tolerate the taint, but allow all pods submitted to Kubelet without // going through the scheduler to start, and allow all already-running pods to // continue running. Enforced by the scheduler. // "PREFER_NO_SCHEDULE" - Like TaintEffectNoSchedule, but the scheduler tries // not to schedule new pods onto the node, rather than prohibiting new pods // from scheduling onto the node entirely. Enforced by the scheduler. // "NO_EXECUTE" - Evict any already-running pods that do not tolerate the // taint. Currently enforced by NodeController. Effect string `json:"effect,omitempty"` // Key: Key associated with the effect. Key string `json:"key,omitempty"` // Value: Value associated with the effect. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Effect") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
NodeTaint: NodeTaint applied to every Kubernetes node in a node pool. Kubernetes taints can be used together with tolerations to control how workloads are scheduled to your nodes. Node taints are permanent.
func (NodeTaint) MarshalJSON ¶
type Operation ¶
type Operation struct { // Done: If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is // available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or cancellation. Error *Status `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as create // time. Some services might not provide such metadata. Any method that returns // a long-running operation should document the metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same service // that originally returns it. If you use the default HTTP mapping, the `name` // should be a resource name ending with `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. If the original // method returns no data on success, such as `Delete`, the response is // `google.protobuf.Empty`. If the original method is standard // `Get`/`Create`/`Update`, the response should be the resource. For other // methods, the response should have the type `XxxResponse`, where `Xxx` is the // original method name. For example, if the original method name is // `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Operation: This resource represents a long-running operation that is the result of a network API call.
func (Operation) MarshalJSON ¶
type OperationMetadata ¶
type OperationMetadata struct { // ApiVersion: Output only. API version used to start the operation. ApiVersion string `json:"apiVersion,omitempty"` // ControlPlaneDisconnected: Output only. Denotes if the local managing // cluster's control plane is currently disconnected. This is expected to occur // temporarily during self-managed cluster upgrades. ControlPlaneDisconnected bool `json:"controlPlaneDisconnected,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. The time the operation finished running. EndTime string `json:"endTime,omitempty"` // Progress: Output only. Detailed progress information for the operation. Progress *OperationProgress `json:"progress,omitempty"` // RequestedCancellation: Output only. Identifies whether the user has // requested cancellation of the operation. Operations that have successfully // been cancelled have [Operation.error] value with a [google.rpc.Status.code] // of 1, corresponding to `Code.CANCELLED`. RequestedCancellation bool `json:"requestedCancellation,omitempty"` // StatusMessage: Output only. Human-readable status of the operation, if any. StatusMessage string `json:"statusMessage,omitempty"` // Target: Output only. Server-defined resource path for the target of the // operation. Target string `json:"target,omitempty"` // Type: Output only. Type of operation being executed. // // Possible values: // "OPERATION_TYPE_UNSPECIFIED" - Not set. // "CREATE" - The resource is being created. // "DELETE" - The resource is being deleted. // "UPDATE" - The resource is being updated. // "UPGRADE" - The resource is being upgraded. // "PLATFORM_UPGRADE" - The platform is being upgraded. Type string `json:"type,omitempty"` // Verb: Output only. Name of the verb executed by the operation. Verb string `json:"verb,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiVersion") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata) MarshalJSON ¶
func (s OperationMetadata) MarshalJSON() ([]byte, error)
type OperationProgress ¶ added in v0.130.0
type OperationProgress struct { // Stages: The stages of the operation. Stages []*OperationStage `json:"stages,omitempty"` // ForceSendFields is a list of field names (e.g. "Stages") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Stages") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
OperationProgress: Information about operation progress.
func (OperationProgress) MarshalJSON ¶ added in v0.130.0
func (s OperationProgress) MarshalJSON() ([]byte, error)
type OperationStage ¶ added in v0.130.0
type OperationStage struct { // EndTime: Time the stage ended. EndTime string `json:"endTime,omitempty"` // Metrics: Progress metric bundle. Metrics []*Metric `json:"metrics,omitempty"` // Stage: The high-level stage of the operation. // // Possible values: // "STAGE_UNSPECIFIED" - Not set. // "PREFLIGHT_CHECK" - Preflight checks are running. // "CONFIGURE" - Resource is being configured. // "DEPLOY" - Resource is being deployed. // "HEALTH_CHECK" - Waiting for the resource to become healthy. // "UPDATE" - Resource is being updated. Stage string `json:"stage,omitempty"` // StartTime: Time the stage started. StartTime string `json:"startTime,omitempty"` // State: Output only. State of the stage. // // Possible values: // "STATE_UNSPECIFIED" - Not set. // "PENDING" - The stage is pending. // "RUNNING" - The stage is running // "SUCCEEDED" - The stage has completed successfully. // "FAILED" - The stage has failed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
OperationStage: Information about a particular stage of an operation.
func (OperationStage) MarshalJSON ¶ added in v0.130.0
func (s OperationStage) MarshalJSON() ([]byte, error)
type Policy ¶
type Policy struct { // Bindings: Associates a list of `members`, or principals, with a `role`. // Optionally, may specify a `condition` that determines how and when the // `bindings` are applied. Each of the `bindings` must contain at least one // principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; // up to 250 of these principals can be Google groups. Each occurrence of a // principal counts towards these limits. For example, if the `bindings` grant // 50 different roles to `user:alice@example.com`, and not to any other // principal, then you can add another 1,450 principals to the `bindings` in // the `Policy`. Bindings []*Binding `json:"bindings,omitempty"` // Etag: `etag` is used for optimistic concurrency control as a way to help // prevent simultaneous updates of a policy from overwriting each other. It is // strongly suggested that systems make use of the `etag` in the // read-modify-write cycle to perform policy updates in order to avoid race // conditions: An `etag` is returned in the response to `getIamPolicy`, and // systems are expected to put that etag in the request to `setIamPolicy` to // ensure that their change will be applied to the same version of the policy. // **Important:** If you use IAM Conditions, you must include the `etag` field // whenever you call `setIamPolicy`. If you omit this field, then IAM allows // you to overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. Etag string `json:"etag,omitempty"` // Version: Specifies the format of the policy. Valid values are `0`, `1`, and // `3`. Requests that specify an invalid value are rejected. Any operation that // affects conditional role bindings must specify version `3`. This requirement // applies to the following operations: * Getting a policy that includes a // conditional role binding * Adding a conditional role binding to a policy * // Changing a conditional role binding in a policy * Removing any role binding, // with or without a condition, from a policy that includes conditions // **Important:** If you use IAM Conditions, you must include the `etag` field // whenever you call `setIamPolicy`. If you omit this field, then IAM allows // you to overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. If a policy does not // include any conditions, operations on that policy may specify any valid // version or leave the field unset. To learn which resources support // conditions in their IAM policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Version int64 `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. "Bindings") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bindings") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
func (Policy) MarshalJSON ¶
type ProjectsLocationsBareMetalAdminClustersCreateCall ¶
type ProjectsLocationsBareMetalAdminClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) BareMetalAdminClusterId(bareMetalAdminClusterId string) *ProjectsLocationsBareMetalAdminClustersCreateCall
BareMetalAdminClusterId sets the optional parameter "bareMetalAdminClusterId": Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.create" call. 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 (*ProjectsLocationsBareMetalAdminClustersCreateCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalAdminClustersEnrollCall ¶
type ProjectsLocationsBareMetalAdminClustersEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.enroll" call. 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 (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersEnrollCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalAdminClustersGetCall ¶
type ProjectsLocationsBareMetalAdminClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, return BareMetal Admin Cluster including the one that only exists in RMS.
func (*ProjectsLocationsBareMetalAdminClustersGetCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersGetCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalAdminCluster, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.get" call. Any non-2xx status code is an error. Response headers are in either *BareMetalAdminCluster.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 (*ProjectsLocationsBareMetalAdminClustersGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersGetCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalAdminClustersGetCall) View ¶ added in v0.123.0
func (c *ProjectsLocationsBareMetalAdminClustersGetCall) View(view string) *ProjectsLocationsBareMetalAdminClustersGetCall
View sets the optional parameter "view": View for bare metal admin cluster. When `BASIC` is specified, only the cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for GetBareMetalAdminClusterRequest method.
type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall ¶
type ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsBareMetalAdminClustersListCall ¶
type ProjectsLocationsBareMetalAdminClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, return list of BareMetal Admin Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsBareMetalAdminClustersListCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersListCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalAdminClustersResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.list" call. Any non-2xx status code is an error. Response headers are in either *ListBareMetalAdminClustersResponse.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 (*ProjectsLocationsBareMetalAdminClustersListCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersListCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalAdminClustersListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBareMetalAdminClustersListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsBareMetalAdminClustersListCall) Pages ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalAdminClustersResponse) 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.
func (*ProjectsLocationsBareMetalAdminClustersListCall) View ¶
func (c *ProjectsLocationsBareMetalAdminClustersListCall) View(view string) *ProjectsLocationsBareMetalAdminClustersListCall
View sets the optional parameter "view": View for bare metal admin clusters. When `BASIC` is specified, only the admin cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a admin cluster resource including
admin cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for ListBareMetalAdminClustersRequest method.
type ProjectsLocationsBareMetalAdminClustersOperationsGetCall ¶
type ProjectsLocationsBareMetalAdminClustersOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.operations.get" call. 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 (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBareMetalAdminClustersOperationsListCall ¶
type ProjectsLocationsBareMetalAdminClustersOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.operations.list" call. 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 (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Filter ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsBareMetalAdminClustersOperationsListCall) Pages ¶
func (c *ProjectsLocationsBareMetalAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsBareMetalAdminClustersOperationsService ¶
type ProjectsLocationsBareMetalAdminClustersOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBareMetalAdminClustersOperationsService ¶
func NewProjectsLocationsBareMetalAdminClustersOperationsService(s *Service) *ProjectsLocationsBareMetalAdminClustersOperationsService
func (*ProjectsLocationsBareMetalAdminClustersOperationsService) Get ¶
func (r *ProjectsLocationsBareMetalAdminClustersOperationsService) Get(name string) *ProjectsLocationsBareMetalAdminClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalAdminClustersOperationsService) List ¶
func (r *ProjectsLocationsBareMetalAdminClustersOperationsService) List(name string) *ProjectsLocationsBareMetalAdminClustersOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsBareMetalAdminClustersPatchCall ¶
type ProjectsLocationsBareMetalAdminClustersPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersPatchCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.patch" call. 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 (*ProjectsLocationsBareMetalAdminClustersPatchCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalAdminClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall ¶
type ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalAdminVersionConfigResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.queryVersionConfig" call. Any non-2xx status code is an error. Response headers are in either *QueryBareMetalAdminVersionConfigResponse.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 (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName ¶
func (c *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_a dmin_cluster}"
type ProjectsLocationsBareMetalAdminClustersService ¶
type ProjectsLocationsBareMetalAdminClustersService struct { Operations *ProjectsLocationsBareMetalAdminClustersOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsBareMetalAdminClustersService ¶
func NewProjectsLocationsBareMetalAdminClustersService(s *Service) *ProjectsLocationsBareMetalAdminClustersService
func (*ProjectsLocationsBareMetalAdminClustersService) Create ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Create(parent string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersCreateCall
Create: Creates a new bare metal admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work. See: https://cloud.google.com/anthos/clusters/docs/bare-metal/latest/installing/creating-clusters/create-admin-cluster-api#prepare_bootstrap_environment
- parent: The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService) Enroll ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Enroll(parent string, enrollbaremetaladminclusterrequest *EnrollBareMetalAdminClusterRequest) *ProjectsLocationsBareMetalAdminClustersEnrollCall
Enroll: Enrolls an existing bare metal admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.
- parent: The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService) Get ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Get(name string) *ProjectsLocationsBareMetalAdminClustersGetCall
Get: Gets details of a single bare metal admin cluster.
- name: Name of the bare metal admin cluster to get. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal _admin_cluster}".
func (*ProjectsLocationsBareMetalAdminClustersService) GetIamPolicy ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalAdminClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalAdminClustersService) List ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) List(parent string) *ProjectsLocationsBareMetalAdminClustersListCall
List: Lists bare metal admin clusters in a given project and location.
- parent: The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService) Patch ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Patch(name string, baremetaladmincluster *BareMetalAdminCluster) *ProjectsLocationsBareMetalAdminClustersPatchCall
Patch: Updates the parameters of a single bare metal admin cluster.
- name: Immutable. The bare metal admin cluster resource name.
func (*ProjectsLocationsBareMetalAdminClustersService) QueryVersionConfig ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalAdminClustersQueryVersionConfigCall
QueryVersionConfig: Queries the bare metal admin cluster version config.
- parent: The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalAdminClustersService) SetIamPolicy ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalAdminClustersService) TestIamPermissions ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalAdminClustersService) Unenroll ¶
func (r *ProjectsLocationsBareMetalAdminClustersService) Unenroll(name string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Unenroll: Unenrolls an existing bare metal admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
- name: Name of the bare metal admin cluster to be unenrolled. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{cluster}".
type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall ¶
type ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall ¶
type ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalAdminClustersUnenrollCall ¶
type ProjectsLocationsBareMetalAdminClustersUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal admin cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Context ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Do ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalAdminClusters.unenroll" call. 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 (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metal admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors ¶ added in v0.127.0
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the unenrollment of a bare metal admin cluster resource will succeed even if errors occur during unenrollment. This parameter can be used when you want to unenroll admin cluster resource and the on-prem admin cluster is disconnected / unreachable. WARNING: Using this parameter when your admin cluster still exists may result in a deleted GCP admin cluster but existing resourcelink in on-prem admin cluster and membership.
func (*ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalAdminClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) BareMetalNodePoolId(bareMetalNodePoolId string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
BareMetalNodePoolId sets the optional parameter "bareMetalNodePoolId": The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 63 characters, and valid characters are /a-z-/. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.create" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually create the node pool.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.delete" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Etag sets the optional parameter "etag": The current etag of the BareMetalNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a bare metal node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually delete the node pool.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.enroll" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*BareMetalNodePool, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.get" call. Any non-2xx status code is an error. Response headers are in either *BareMetalNodePool.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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View ¶ added in v0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
View sets the optional parameter "view": View for bare metal node pool. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for bare metal node pool
resource. This is the default value for GetBareMetalNodePoolRequest method.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalNodePoolsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.list" call. Any non-2xx status code is an error. Response headers are in either *ListBareMetalNodePoolsResponse.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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListBareMetalNodePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListBareMetalNodePools` must match the call that provided the page token.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Pages ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) Pages(ctx context.Context, f func(*ListBareMetalNodePoolsResponse) 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.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) View ¶ added in v0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall) View(view string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
View sets the optional parameter "view": View for bare metal node pools. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for bare metal node pool
resource. This is the default value for ListBareMetalNodePoolsRequest method.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.get" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.operations.list" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Filter ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Pages ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService ¶
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService(s *Service) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService) List(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing ¶ added in v0.125.0
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will create a new bare metal node pool with the provided configuration. The user must have both create and update permission to call Update with allow_missing set to true.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.patch" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalNodePool message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsService struct { Operations *ProjectsLocationsBareMetalClustersBareMetalNodePoolsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsService ¶
func NewProjectsLocationsBareMetalClustersBareMetalNodePoolsService(s *Service) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Create ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Create(parent string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsCreateCall
Create: Creates a new bare metal node pool in a given project, location and Bare Metal cluster.
- parent: The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Delete ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Delete(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsDeleteCall
Delete: Deletes a single bare metal node pool.
- name: The name of the node pool to delete. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMet alNodePools/{nodepool}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Enroll(parent string, enrollbaremetalnodepoolrequest *EnrollBareMetalNodePoolRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsEnrollCall
Enroll: Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created.
- parent: The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Get ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Get(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetCall
Get: Gets details of a single bare metal node pool.
- name: The name of the node pool to retrieve. projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMet alNodePools/{nodepool}.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) List ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) List(parent string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsListCall
List: Lists bare metal node pools in a given project, location and bare metal cluster.
- parent: The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster }.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Patch ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Patch(name string, baremetalnodepool *BareMetalNodePool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsPatchCall
Patch: Updates the parameters of a single bare metal node pool.
- name: Immutable. The bare metal node pool resource name.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) SetIamPolicy ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) TestIamPermissions ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Unenroll ¶
func (r *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService) Unenroll(name string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Unenroll: Unenrolls a bare metal node pool from Anthos On-Prem API.
- name: The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMet alNodePools/{nodepool}.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall ¶
type ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.bareMetalNodePools.unenroll" call. 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 (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metal node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersBareMetalNodePoolsUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually unenroll the node pool.
type ProjectsLocationsBareMetalClustersCreateCall ¶
type ProjectsLocationsBareMetalClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsBareMetalClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.
func (*ProjectsLocationsBareMetalClustersCreateCall) BareMetalClusterId ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) BareMetalClusterId(bareMetalClusterId string) *ProjectsLocationsBareMetalClustersCreateCall
BareMetalClusterId sets the optional parameter "bareMetalClusterId": Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/
func (*ProjectsLocationsBareMetalClustersCreateCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersCreateCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.create" call. 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 (*ProjectsLocationsBareMetalClustersCreateCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersCreateCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalClustersDeleteCall ¶
type ProjectsLocationsBareMetalClustersDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersDeleteCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersDeleteCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.delete" call. 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 (*ProjectsLocationsBareMetalClustersDeleteCall) Etag ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Etag(etag string) *ProjectsLocationsBareMetalClustersDeleteCall
Etag sets the optional parameter "etag": The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersDeleteCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersDeleteCall) Force ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Force(force bool) *ProjectsLocationsBareMetalClustersDeleteCall
Force sets the optional parameter "force": If set to true, any node pools from the cluster will also be deleted.
func (*ProjectsLocationsBareMetalClustersDeleteCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsBareMetalClustersDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a bare metal user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.
func (*ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersDeleteCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalClustersEnrollCall ¶
type ProjectsLocationsBareMetalClustersEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersEnrollCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersEnrollCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.enroll" call. 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 (*ProjectsLocationsBareMetalClustersEnrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersEnrollCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersGetCall ¶
type ProjectsLocationsBareMetalClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersGetCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, return BareMetal Cluster including the one that only exists in RMS.
func (*ProjectsLocationsBareMetalClustersGetCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersGetCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Do(opts ...googleapi.CallOption) (*BareMetalCluster, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.get" call. Any non-2xx status code is an error. Response headers are in either *BareMetalCluster.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 (*ProjectsLocationsBareMetalClustersGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersGetCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersGetCall) View ¶ added in v0.123.0
func (c *ProjectsLocationsBareMetalClustersGetCall) View(view string) *ProjectsLocationsBareMetalClustersGetCall
View sets the optional parameter "view": View for bare metal user cluster. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for bare metal cluster
resource. This is the default value for GetBareMetalClusterRequest method.
type ProjectsLocationsBareMetalClustersGetIamPolicyCall ¶
type ProjectsLocationsBareMetalClustersGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsBareMetalClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsBareMetalClustersListCall ¶
type ProjectsLocationsBareMetalClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersListCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsBareMetalClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, return list of BareMetal Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsBareMetalClustersListCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersListCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Do(opts ...googleapi.CallOption) (*ListBareMetalClustersResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.list" call. Any non-2xx status code is an error. Response headers are in either *ListBareMetalClustersResponse.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 (*ProjectsLocationsBareMetalClustersListCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersListCall) Filter ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersListCall
Filter sets the optional parameter "filter": A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.
func (*ProjectsLocationsBareMetalClustersListCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalClustersListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsBareMetalClustersListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalClustersListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsBareMetalClustersListCall) Pages ¶
func (c *ProjectsLocationsBareMetalClustersListCall) Pages(ctx context.Context, f func(*ListBareMetalClustersResponse) 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.
func (*ProjectsLocationsBareMetalClustersListCall) View ¶
func (c *ProjectsLocationsBareMetalClustersListCall) View(view string) *ProjectsLocationsBareMetalClustersListCall
View sets the optional parameter "view": View for bare metal Clusters. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for bare metal cluster
resource. This is the default value for ListBareMetalClustersRequest method.
type ProjectsLocationsBareMetalClustersOperationsGetCall ¶
type ProjectsLocationsBareMetalClustersOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersOperationsGetCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.operations.get" call. 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 (*ProjectsLocationsBareMetalClustersOperationsGetCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBareMetalClustersOperationsListCall ¶
type ProjectsLocationsBareMetalClustersOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersOperationsListCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.operations.list" call. 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 (*ProjectsLocationsBareMetalClustersOperationsListCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) Filter ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Filter(filter string) *ProjectsLocationsBareMetalClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBareMetalClustersOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) PageSize ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsBareMetalClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) PageToken ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsBareMetalClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsBareMetalClustersOperationsListCall) Pages ¶
func (c *ProjectsLocationsBareMetalClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsBareMetalClustersOperationsService ¶
type ProjectsLocationsBareMetalClustersOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBareMetalClustersOperationsService ¶
func NewProjectsLocationsBareMetalClustersOperationsService(s *Service) *ProjectsLocationsBareMetalClustersOperationsService
func (*ProjectsLocationsBareMetalClustersOperationsService) Get ¶
func (r *ProjectsLocationsBareMetalClustersOperationsService) Get(name string) *ProjectsLocationsBareMetalClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsBareMetalClustersOperationsService) List ¶
func (r *ProjectsLocationsBareMetalClustersOperationsService) List(name string) *ProjectsLocationsBareMetalClustersOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsBareMetalClustersPatchCall ¶
type ProjectsLocationsBareMetalClustersPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersPatchCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will create a new bare metal cluster with the provided configuration. The user must have both create and update permission to call Update with allow_missing set to true.
func (*ProjectsLocationsBareMetalClustersPatchCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersPatchCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.patch" call. 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 (*ProjectsLocationsBareMetalClustersPatchCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersPatchCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersPatchCall) UpdateMask ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBareMetalClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the BareMetalCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the BareMetalCluster message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsBareMetalClustersQueryVersionConfigCall ¶
type ProjectsLocationsBareMetalClustersQueryVersionConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
CreateConfigAdminClusterMembership sets the optional parameter "createConfig.adminClusterMembership": The admin cluster membership. This is the full resource name of the admin cluster's fleet membership. Format: "projects/{project}/locations/{location}/memberships/{membership}"
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterName ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
CreateConfigAdminClusterName sets the optional parameter "createConfig.adminClusterName": The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_a dmin_cluster}"
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryBareMetalVersionConfigResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.queryVersionConfig" call. Any non-2xx status code is an error. Response headers are in either *QueryBareMetalVersionConfigResponse.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 (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName ¶
func (c *ProjectsLocationsBareMetalClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The user cluster resource name. This is the full resource name of the user cluster resource. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluste r}"
type ProjectsLocationsBareMetalClustersService ¶
type ProjectsLocationsBareMetalClustersService struct { BareMetalNodePools *ProjectsLocationsBareMetalClustersBareMetalNodePoolsService Operations *ProjectsLocationsBareMetalClustersOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsBareMetalClustersService ¶
func NewProjectsLocationsBareMetalClustersService(s *Service) *ProjectsLocationsBareMetalClustersService
func (*ProjectsLocationsBareMetalClustersService) Create ¶
func (r *ProjectsLocationsBareMetalClustersService) Create(parent string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersCreateCall
Create: Creates a new bare metal cluster in a given project and location.
- parent: The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService) Delete ¶
func (r *ProjectsLocationsBareMetalClustersService) Delete(name string) *ProjectsLocationsBareMetalClustersDeleteCall
Delete: Deletes a single bare metal Cluster.
- name: Name of the bare metal user cluster to be deleted. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_clus ter}".
func (*ProjectsLocationsBareMetalClustersService) Enroll ¶
func (r *ProjectsLocationsBareMetalClustersService) Enroll(parent string, enrollbaremetalclusterrequest *EnrollBareMetalClusterRequest) *ProjectsLocationsBareMetalClustersEnrollCall
Enroll: Enrolls an existing bare metal user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
- parent: The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService) Get ¶
func (r *ProjectsLocationsBareMetalClustersService) Get(name string) *ProjectsLocationsBareMetalClustersGetCall
Get: Gets details of a single bare metal Cluster.
- name: Name of the bare metal user cluster to get. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_clus ter}".
func (*ProjectsLocationsBareMetalClustersService) GetIamPolicy ¶
func (r *ProjectsLocationsBareMetalClustersService) GetIamPolicy(resource string) *ProjectsLocationsBareMetalClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersService) List ¶
func (r *ProjectsLocationsBareMetalClustersService) List(parent string) *ProjectsLocationsBareMetalClustersListCall
List: Lists bare metal clusters in a given project and location.
- parent: The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService) Patch ¶
func (r *ProjectsLocationsBareMetalClustersService) Patch(name string, baremetalcluster *BareMetalCluster) *ProjectsLocationsBareMetalClustersPatchCall
Patch: Updates the parameters of a single bare metal Cluster.
- name: Immutable. The bare metal user cluster resource name.
func (*ProjectsLocationsBareMetalClustersService) QueryVersionConfig ¶
func (r *ProjectsLocationsBareMetalClustersService) QueryVersionConfig(parent string) *ProjectsLocationsBareMetalClustersQueryVersionConfigCall
QueryVersionConfig: Queries the bare metal user cluster version config.
- parent: The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsBareMetalClustersService) SetIamPolicy ¶
func (r *ProjectsLocationsBareMetalClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersService) TestIamPermissions ¶
func (r *ProjectsLocationsBareMetalClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBareMetalClustersService) Unenroll ¶
func (r *ProjectsLocationsBareMetalClustersService) Unenroll(name string) *ProjectsLocationsBareMetalClustersUnenrollCall
Unenroll: Unenrolls an existing bare metal user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
- name: Name of the bare metal user cluster to be unenrolled. Format: "projects/{project}/locations/{location}/bareMetalClusters/{cluster}".
type ProjectsLocationsBareMetalClustersSetIamPolicyCall ¶
type ProjectsLocationsBareMetalClustersSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersTestIamPermissionsCall ¶
type ProjectsLocationsBareMetalClustersTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBareMetalClustersUnenrollCall ¶
type ProjectsLocationsBareMetalClustersUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsBareMetalClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the bare metal cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) Context ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsBareMetalClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) Do ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.bareMetalClusters.unenroll" call. 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 (*ProjectsLocationsBareMetalClustersUnenrollCall) Etag ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Etag(etag string) *ProjectsLocationsBareMetalClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the bare metal Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) Fields ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsBareMetalClustersUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) Force ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Force(force bool) *ProjectsLocationsBareMetalClustersUnenrollCall
Force sets the optional parameter "force": This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) Header ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsBareMetalClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsBareMetalClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsGetCall ¶
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall) Do ¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "gkeonprem.projects.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.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 (*ProjectsLocationsGetCall) Fields ¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets an 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.
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.
func (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "gkeonprem.projects.locations.list" call. 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 details.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) 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 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.
func (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "gkeonprem.projects.locations.operations.cancel" call. 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 details.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsDeleteCall ¶
type ProjectsLocationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsDeleteCall) Context ¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall) Do ¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "gkeonprem.projects.locations.operations.delete" call. 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 (*ProjectsLocationsOperationsDeleteCall) Fields ¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsDeleteCall) Header ¶
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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.
func (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.operations.get" call. 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 details.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an 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.
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.
func (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.operations.list" call. 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 details.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 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: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Delete ¶
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { BareMetalAdminClusters *ProjectsLocationsBareMetalAdminClustersService BareMetalClusters *ProjectsLocationsBareMetalClustersService Operations *ProjectsLocationsOperationsService VmwareAdminClusters *ProjectsLocationsVmwareAdminClustersService VmwareClusters *ProjectsLocationsVmwareClustersService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLocationsVmwareAdminClustersCreateCall ¶ added in v0.205.0
type ProjectsLocationsVmwareAdminClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareAdminClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.
func (*ProjectsLocationsVmwareAdminClustersCreateCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersCreateCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.create" call. 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 (*ProjectsLocationsVmwareAdminClustersCreateCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersCreateCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
func (*ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId ¶ added in v0.205.0
func (c *ProjectsLocationsVmwareAdminClustersCreateCall) VmwareAdminClusterId(vmwareAdminClusterId string) *ProjectsLocationsVmwareAdminClustersCreateCall
VmwareAdminClusterId sets the optional parameter "vmwareAdminClusterId": Required. User provided identifier that is used as part of the resource name; must conform to RFC-1034 and additionally restrict to lower-cased letters. This comes out roughly to: /^a-z+[a-z0-9]$/
type ProjectsLocationsVmwareAdminClustersEnrollCall ¶
type ProjectsLocationsVmwareAdminClustersEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersEnrollCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersEnrollCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.enroll" call. 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 (*ProjectsLocationsVmwareAdminClustersEnrollCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersEnrollCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareAdminClustersGetCall ¶
type ProjectsLocationsVmwareAdminClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsVmwareAdminClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, return Vmware Admin Cluster including the one that only exists in RMS.
func (*ProjectsLocationsVmwareAdminClustersGetCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersGetCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareAdminCluster, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.get" call. Any non-2xx status code is an error. Response headers are in either *VmwareAdminCluster.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 (*ProjectsLocationsVmwareAdminClustersGetCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersGetCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareAdminClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareAdminClustersGetCall) View ¶ added in v0.125.0
func (c *ProjectsLocationsVmwareAdminClustersGetCall) View(view string) *ProjectsLocationsVmwareAdminClustersGetCall
View sets the optional parameter "view": View for VMware admin cluster. When `BASIC` is specified, only the cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and membership.
"FULL" - Includes the complete configuration for VMware admin cluster
resource. This is the default value for GetVmwareAdminClusterRequest method.
type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall ¶
type ProjectsLocationsVmwareAdminClustersGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsVmwareAdminClustersListCall ¶
type ProjectsLocationsVmwareAdminClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersListCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsVmwareAdminClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, return list of Vmware Admin Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsVmwareAdminClustersListCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersListCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareAdminClustersResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.list" call. Any non-2xx status code is an error. Response headers are in either *ListVmwareAdminClustersResponse.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 (*ProjectsLocationsVmwareAdminClustersListCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersListCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareAdminClustersListCall) PageSize ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsVmwareAdminClustersListCall) PageToken ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsVmwareAdminClustersListCall) Pages ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) Pages(ctx context.Context, f func(*ListVmwareAdminClustersResponse) 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.
func (*ProjectsLocationsVmwareAdminClustersListCall) View ¶
func (c *ProjectsLocationsVmwareAdminClustersListCall) View(view string) *ProjectsLocationsVmwareAdminClustersListCall
View sets the optional parameter "view": View for VMware admin clusters. When `BASIC` is specified, only the admin cluster resource name and membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete admin cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a admin cluster resource including
admin cluster resource name and membership.
"FULL" - Includes the complete configuration for bare metal admin cluster
resource. This is the default value for ListVmwareAdminClustersRequest method.
type ProjectsLocationsVmwareAdminClustersOperationsGetCall ¶
type ProjectsLocationsVmwareAdminClustersOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.operations.get" call. 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 (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsVmwareAdminClustersOperationsListCall ¶
type ProjectsLocationsVmwareAdminClustersOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.operations.list" call. 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 (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Filter ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareAdminClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsVmwareAdminClustersOperationsListCall) Pages ¶
func (c *ProjectsLocationsVmwareAdminClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsVmwareAdminClustersOperationsService ¶
type ProjectsLocationsVmwareAdminClustersOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsVmwareAdminClustersOperationsService ¶
func NewProjectsLocationsVmwareAdminClustersOperationsService(s *Service) *ProjectsLocationsVmwareAdminClustersOperationsService
func (*ProjectsLocationsVmwareAdminClustersOperationsService) Get ¶
func (r *ProjectsLocationsVmwareAdminClustersOperationsService) Get(name string) *ProjectsLocationsVmwareAdminClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareAdminClustersOperationsService) List ¶
func (r *ProjectsLocationsVmwareAdminClustersOperationsService) List(name string) *ProjectsLocationsVmwareAdminClustersOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsVmwareAdminClustersPatchCall ¶
type ProjectsLocationsVmwareAdminClustersPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersPatchCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersPatchCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.patch" call. 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 (*ProjectsLocationsVmwareAdminClustersPatchCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersPatchCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareAdminClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareAdminCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareAdminCluster message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareAdminClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareAdminClustersService ¶
type ProjectsLocationsVmwareAdminClustersService struct { Operations *ProjectsLocationsVmwareAdminClustersOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsVmwareAdminClustersService ¶
func NewProjectsLocationsVmwareAdminClustersService(s *Service) *ProjectsLocationsVmwareAdminClustersService
func (*ProjectsLocationsVmwareAdminClustersService) Create ¶ added in v0.205.0
func (r *ProjectsLocationsVmwareAdminClustersService) Create(parent string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersCreateCall
Create: Creates a new VMware admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work.
- parent: The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService) Enroll ¶
func (r *ProjectsLocationsVmwareAdminClustersService) Enroll(parent string, enrollvmwareadminclusterrequest *EnrollVmwareAdminClusterRequest) *ProjectsLocationsVmwareAdminClustersEnrollCall
Enroll: Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.
- parent: The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService) Get ¶
func (r *ProjectsLocationsVmwareAdminClustersService) Get(name string) *ProjectsLocationsVmwareAdminClustersGetCall
Get: Gets details of a single VMware admin cluster.
- name: Name of the VMware admin cluster to be returned. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_ cluster}".
func (*ProjectsLocationsVmwareAdminClustersService) GetIamPolicy ¶
func (r *ProjectsLocationsVmwareAdminClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareAdminClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareAdminClustersService) List ¶
func (r *ProjectsLocationsVmwareAdminClustersService) List(parent string) *ProjectsLocationsVmwareAdminClustersListCall
List: Lists VMware admin clusters in a given project and location.
- parent: The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareAdminClustersService) Patch ¶
func (r *ProjectsLocationsVmwareAdminClustersService) Patch(name string, vmwareadmincluster *VmwareAdminCluster) *ProjectsLocationsVmwareAdminClustersPatchCall
Patch: Updates the parameters of a single VMware admin cluster.
- name: Immutable. The VMware admin cluster resource name.
func (*ProjectsLocationsVmwareAdminClustersService) SetIamPolicy ¶
func (r *ProjectsLocationsVmwareAdminClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareAdminClustersService) TestIamPermissions ¶
func (r *ProjectsLocationsVmwareAdminClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareAdminClustersService) Unenroll ¶
func (r *ProjectsLocationsVmwareAdminClustersService) Unenroll(name string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Unenroll: Unenrolls an existing VMware admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
- name: Name of the VMware admin cluster to be unenrolled. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}".
type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall ¶
type ProjectsLocationsVmwareAdminClustersSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall ¶
type ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareAdminClustersUnenrollCall ¶
type ProjectsLocationsVmwareAdminClustersUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware admin cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Context ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Do ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareAdminClusters.unenroll" call. 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 (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMware admin cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareAdminClustersUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) Header ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareAdminClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareAdminClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareClustersCreateCall ¶
type ProjectsLocationsVmwareClustersCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure ¶ added in v0.195.0
func (c *ProjectsLocationsVmwareClustersCreateCall) AllowPreflightFailure(allowPreflightFailure bool) *ProjectsLocationsVmwareClustersCreateCall
AllowPreflightFailure sets the optional parameter "allowPreflightFailure": If set to true, CLM will force CCFE to persist the cluster resource in RMS when the creation fails during standalone preflight checks. In that case the subsequent create call will fail with "cluster already exists" error and hence a update cluster is required to fix the cluster.
func (*ProjectsLocationsVmwareClustersCreateCall) Context ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersCreateCall) Do ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.create" call. 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 (*ProjectsLocationsVmwareClustersCreateCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersCreateCall) Header ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
func (*ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId ¶
func (c *ProjectsLocationsVmwareClustersCreateCall) VmwareClusterId(vmwareClusterId string) *ProjectsLocationsVmwareClustersCreateCall
VmwareClusterId sets the optional parameter "vmwareClusterId": User provided identifier that is used as part of the resource name; This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format.
type ProjectsLocationsVmwareClustersDeleteCall ¶
type ProjectsLocationsVmwareClustersDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersDeleteCall) Context ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersDeleteCall) Do ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.delete" call. 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 (*ProjectsLocationsVmwareClustersDeleteCall) Etag ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersDeleteCall
Etag sets the optional parameter "etag": The current etag of the VMware cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersDeleteCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersDeleteCall) Force ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Force(force bool) *ProjectsLocationsVmwareClustersDeleteCall
Force sets the optional parameter "force": If set to true, any node pools from the cluster will also be deleted.
func (*ProjectsLocationsVmwareClustersDeleteCall) Header ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a VMware user cluster resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's cluster resource and the on-prem admin cluster that hosts your user cluster is disconnected / unreachable or deleted. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP user cluster but an existing on-prem user cluster.
func (*ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersDeleteCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareClustersEnrollCall ¶
type ProjectsLocationsVmwareClustersEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersEnrollCall) Context ¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersEnrollCall) Do ¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.enroll" call. 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 (*ProjectsLocationsVmwareClustersEnrollCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersEnrollCall) Header ¶
func (c *ProjectsLocationsVmwareClustersEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersGetCall ¶
type ProjectsLocationsVmwareClustersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersGetCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsVmwareClustersGetCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersGetCall
AllowMissing sets the optional parameter "allowMissing": If true, return Vmware Cluster including the one that only exists in RMS.
func (*ProjectsLocationsVmwareClustersGetCall) Context ¶
func (c *ProjectsLocationsVmwareClustersGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersGetCall) Do ¶
func (c *ProjectsLocationsVmwareClustersGetCall) Do(opts ...googleapi.CallOption) (*VmwareCluster, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.get" call. Any non-2xx status code is an error. Response headers are in either *VmwareCluster.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 (*ProjectsLocationsVmwareClustersGetCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersGetCall) Header ¶
func (c *ProjectsLocationsVmwareClustersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersGetCall) View ¶ added in v0.123.0
func (c *ProjectsLocationsVmwareClustersGetCall) View(view string) *ProjectsLocationsVmwareClustersGetCall
View sets the optional parameter "view": View for VMware user cluster. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for VMware cluster resource.
This is the default value for GetVmwareClusterRequest method.
type ProjectsLocationsVmwareClustersGetIamPolicyCall ¶
type ProjectsLocationsVmwareClustersGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsVmwareClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsVmwareClustersListCall ¶
type ProjectsLocationsVmwareClustersListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersListCall) AllowMissing ¶ added in v0.195.0
func (c *ProjectsLocationsVmwareClustersListCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersListCall
AllowMissing sets the optional parameter "allowMissing": If true, return list of Vmware Clusters including the ones that only exists in RMS.
func (*ProjectsLocationsVmwareClustersListCall) Context ¶
func (c *ProjectsLocationsVmwareClustersListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersListCall) Do ¶
func (c *ProjectsLocationsVmwareClustersListCall) Do(opts ...googleapi.CallOption) (*ListVmwareClustersResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.list" call. Any non-2xx status code is an error. Response headers are in either *ListVmwareClustersResponse.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 (*ProjectsLocationsVmwareClustersListCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersListCall) Filter ¶
func (c *ProjectsLocationsVmwareClustersListCall) Filter(filter string) *ProjectsLocationsVmwareClustersListCall
Filter sets the optional parameter "filter": A resource filtering expression following https://google.aip.dev/160. When non-empty, only resource's whose attributes field matches the filter are returned.
func (*ProjectsLocationsVmwareClustersListCall) Header ¶
func (c *ProjectsLocationsVmwareClustersListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersListCall) PageSize ¶
func (c *ProjectsLocationsVmwareClustersListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, at most 50 clusters will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsVmwareClustersListCall) PageToken ¶
func (c *ProjectsLocationsVmwareClustersListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsVmwareClustersListCall) Pages ¶
func (c *ProjectsLocationsVmwareClustersListCall) Pages(ctx context.Context, f func(*ListVmwareClustersResponse) 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.
func (*ProjectsLocationsVmwareClustersListCall) View ¶
func (c *ProjectsLocationsVmwareClustersListCall) View(view string) *ProjectsLocationsVmwareClustersListCall
View sets the optional parameter "view": View for VMware clusters. When `BASIC` is specified, only the cluster resource name and admin cluster membership are returned. The default/unset value `CLUSTER_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete cluster configuration details.
Possible values:
"CLUSTER_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a cluster resource including
cluster resource name and admin cluster membership.
"FULL" - Includes the complete configuration for VMware cluster resource.
This is the default value for ListVmwareClustersRequest method.
type ProjectsLocationsVmwareClustersOperationsGetCall ¶
type ProjectsLocationsVmwareClustersOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersOperationsGetCall) Context ¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersOperationsGetCall) Do ¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.operations.get" call. 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 (*ProjectsLocationsVmwareClustersOperationsGetCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersOperationsGetCall) Header ¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsVmwareClustersOperationsListCall ¶
type ProjectsLocationsVmwareClustersOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersOperationsListCall) Context ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersOperationsListCall) Do ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.operations.list" call. 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 (*ProjectsLocationsVmwareClustersOperationsListCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersOperationsListCall) Filter ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareClustersOperationsListCall) Header ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersOperationsListCall) PageSize ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsVmwareClustersOperationsListCall) PageToken ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsVmwareClustersOperationsListCall) Pages ¶
func (c *ProjectsLocationsVmwareClustersOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsVmwareClustersOperationsService ¶
type ProjectsLocationsVmwareClustersOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsVmwareClustersOperationsService ¶
func NewProjectsLocationsVmwareClustersOperationsService(s *Service) *ProjectsLocationsVmwareClustersOperationsService
func (*ProjectsLocationsVmwareClustersOperationsService) Get ¶
func (r *ProjectsLocationsVmwareClustersOperationsService) Get(name string) *ProjectsLocationsVmwareClustersOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareClustersOperationsService) List ¶
func (r *ProjectsLocationsVmwareClustersOperationsService) List(name string) *ProjectsLocationsVmwareClustersOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsVmwareClustersPatchCall ¶
type ProjectsLocationsVmwareClustersPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersPatchCall) Context ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersPatchCall) Do ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.patch" call. 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 (*ProjectsLocationsVmwareClustersPatchCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersPatchCall) Header ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareCluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VmwareCluster message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsVmwareClustersPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareClustersQueryVersionConfigCall ¶
type ProjectsLocationsVmwareClustersQueryVersionConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Context ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterMembership(createConfigAdminClusterMembership string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
CreateConfigAdminClusterMembership sets the optional parameter "createConfig.adminClusterMembership": The admin cluster membership. This is the full resource name of the admin cluster's fleet membership. Format: "projects/{project}/locations/{location}/memberships/{membership}"
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterName ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) CreateConfigAdminClusterName(createConfigAdminClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
CreateConfigAdminClusterName sets the optional parameter "createConfig.adminClusterName": The admin cluster resource name. This is the full resource name of the admin cluster resource. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cl uster}"
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Do ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Do(opts ...googleapi.CallOption) (*QueryVmwareVersionConfigResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.queryVersionConfig" call. Any non-2xx status code is an error. Response headers are in either *QueryVmwareVersionConfigResponse.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 (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName ¶
func (c *ProjectsLocationsVmwareClustersQueryVersionConfigCall) UpgradeConfigClusterName(upgradeConfigClusterName string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
UpgradeConfigClusterName sets the optional parameter "upgradeConfig.clusterName": The user cluster resource name. This is the full resource name of the user cluster resource. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"
type ProjectsLocationsVmwareClustersService ¶
type ProjectsLocationsVmwareClustersService struct { Operations *ProjectsLocationsVmwareClustersOperationsService VmwareNodePools *ProjectsLocationsVmwareClustersVmwareNodePoolsService // contains filtered or unexported fields }
func NewProjectsLocationsVmwareClustersService ¶
func NewProjectsLocationsVmwareClustersService(s *Service) *ProjectsLocationsVmwareClustersService
func (*ProjectsLocationsVmwareClustersService) Create ¶
func (r *ProjectsLocationsVmwareClustersService) Create(parent string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersCreateCall
Create: Creates a new VMware user cluster in a given project and location.
- parent: The parent of the project and location where this cluster is created in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService) Delete ¶
func (r *ProjectsLocationsVmwareClustersService) Delete(name string) *ProjectsLocationsVmwareClustersDeleteCall
Delete: Deletes a single VMware Cluster.
- name: Name of the VMware user cluster to be deleted. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
func (*ProjectsLocationsVmwareClustersService) Enroll ¶
func (r *ProjectsLocationsVmwareClustersService) Enroll(parent string, enrollvmwareclusterrequest *EnrollVmwareClusterRequest) *ProjectsLocationsVmwareClustersEnrollCall
Enroll: Enrolls an existing VMware user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
- parent: The parent of the project and location where the cluster is Enrolled in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService) Get ¶
func (r *ProjectsLocationsVmwareClustersService) Get(name string) *ProjectsLocationsVmwareClustersGetCall
Get: Gets details of a single VMware Cluster.
- name: Name of the VMware user cluster to be returned. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
func (*ProjectsLocationsVmwareClustersService) GetIamPolicy ¶
func (r *ProjectsLocationsVmwareClustersService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersService) List ¶
func (r *ProjectsLocationsVmwareClustersService) List(parent string) *ProjectsLocationsVmwareClustersListCall
List: Lists VMware Clusters in a given project and location.
- parent: The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService) Patch ¶
func (r *ProjectsLocationsVmwareClustersService) Patch(name string, vmwarecluster *VmwareCluster) *ProjectsLocationsVmwareClustersPatchCall
Patch: Updates the parameters of a single VMware cluster.
- name: Immutable. The VMware user cluster resource name.
func (*ProjectsLocationsVmwareClustersService) QueryVersionConfig ¶
func (r *ProjectsLocationsVmwareClustersService) QueryVersionConfig(parent string) *ProjectsLocationsVmwareClustersQueryVersionConfigCall
QueryVersionConfig: Queries the VMware user cluster version config.
- parent: The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}".
func (*ProjectsLocationsVmwareClustersService) SetIamPolicy ¶
func (r *ProjectsLocationsVmwareClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersService) TestIamPermissions ¶
func (r *ProjectsLocationsVmwareClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersService) Unenroll ¶
func (r *ProjectsLocationsVmwareClustersService) Unenroll(name string) *ProjectsLocationsVmwareClustersUnenrollCall
Unenroll: Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or UI.
- name: Name of the VMware user cluster to be unenrolled. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}".
type ProjectsLocationsVmwareClustersSetIamPolicyCall ¶
type ProjectsLocationsVmwareClustersSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareClustersSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersTestIamPermissionsCall ¶
type ProjectsLocationsVmwareClustersTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsVmwareClustersTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersUnenrollCall ¶
type ProjectsLocationsVmwareClustersUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware cluster is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersUnenrollCall) Context ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersUnenrollCall) Do ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.unenroll" call. 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 (*ProjectsLocationsVmwareClustersUnenrollCall) Etag ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMware Cluster. If an etag is provided and does not match the current etag of the cluster, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersUnenrollCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersUnenrollCall) Force ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Force(force bool) *ProjectsLocationsVmwareClustersUnenrollCall
Force sets the optional parameter "force": This is required if the cluster has any associated node pools. When set, any child node pools will also be unenrolled.
func (*ProjectsLocationsVmwareClustersUnenrollCall) Header ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.create" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually create the node pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall) VmwareNodePoolId(vmwareNodePoolId string) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
VmwareNodePoolId sets the optional parameter "vmwareNodePoolId": The ID to use for the node pool, which will become the final component of the node pool's resource name. This value must be up to 40 characters and follow RFC-1123 (https://tools.ietf.org/html/rfc1123) format. The value must not be permitted to be a UUID (or UUID-like: anything matching /^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i).
type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.delete" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Etag sets the optional parameter "etag": The current etag of the VmwareNodePool. If an etag is provided and does not match the current etag of the node pool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) IgnoreErrors(ignoreErrors bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
IgnoreErrors sets the optional parameter "ignoreErrors": If set to true, the deletion of a VMware node pool resource will succeed even if errors occur during deletion. This parameter can be used when you want to delete GCP's node pool resource and you've already deleted the on-prem admin cluster that hosted your node pool. WARNING: Using this parameter when your user cluster still exists may result in a deleted GCP node pool but an existing on-prem node pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually delete the node pool.
type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.enroll" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Do(opts ...googleapi.CallOption) (*VmwareNodePool, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.get" call. Any non-2xx status code is an error. Response headers are in either *VmwareNodePool.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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View ¶ added in v0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
View sets the optional parameter "view": View for VMware node pool. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for VMware node pool
resource. This is the default value for GetVmwareNodePoolRequest method.
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Do(opts ...googleapi.CallOption) (*ListVmwareNodePoolsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.list" call. Any non-2xx status code is an error. Response headers are in either *ListVmwareNodePoolsResponse.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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
PageSize sets the optional parameter "pageSize": The maximum number of node pools to return. The service may return fewer than this value. If unspecified, at most 50 node pools will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListVmwareNodePools` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListVmwareNodePools` must match the call that provided the page token.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Pages ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) Pages(ctx context.Context, f func(*ListVmwareNodePoolsResponse) 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.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) View ¶ added in v0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall) View(view string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
View sets the optional parameter "view": View for VMware node pools. When `BASIC` is specified, only the node pool resource name is returned. The default/unset value `NODE_POOL_VIEW_UNSPECIFIED` is the same as `FULL', which returns the complete node pool configuration details.
Possible values:
"NODE_POOL_VIEW_UNSPECIFIED" - If the value is not set, the default `FULL`
view is used.
"BASIC" - Includes basic information of a node pool resource including
node pool resource name.
"FULL" - Includes the complete configuration for VMware node pool
resource. This is the default value for ListVmwareNodePoolsRequest method.
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.get" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.operations.list" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Filter ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Filter(filter string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Pages ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) 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 ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService ¶
func NewProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService(s *Service) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService) List(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.patch" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the VMwareNodePool resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all populated fields in the VMwareNodePool message will be updated. Empty fields will be ignored unless a field mask is used.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
ValidateOnly sets the optional parameter "validateOnly": Validate the request without actually doing any updates.
type ProjectsLocationsVmwareClustersVmwareNodePoolsService ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsService struct { Operations *ProjectsLocationsVmwareClustersVmwareNodePoolsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsVmwareClustersVmwareNodePoolsService ¶
func NewProjectsLocationsVmwareClustersVmwareNodePoolsService(s *Service) *ProjectsLocationsVmwareClustersVmwareNodePoolsService
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Create ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Create(parent string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsCreateCall
Create: Creates a new VMware node pool in a given project, location and VMWare cluster.
- parent: The parent resource where this node pool will be created. projects/{project}/locations/{location}/vmwareClusters/{cluster}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Delete ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Delete(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsDeleteCall
Delete: Deletes a single VMware node pool.
- name: The name of the node pool to delete. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNode Pools/{nodepool}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Enroll ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Enroll(parent string, enrollvmwarenodepoolrequest *EnrollVmwareNodePoolRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsEnrollCall
Enroll: Enrolls a VMware node pool to Anthos On-Prem API
- parent: The parent resource where the node pool is enrolled in.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Get ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Get(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetCall
Get: Gets details of a single VMware node pool.
- name: The name of the node pool to retrieve. projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNode Pools/{nodepool}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) GetIamPolicy(resource string) *ProjectsLocationsVmwareClustersVmwareNodePoolsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) List ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) List(parent string) *ProjectsLocationsVmwareClustersVmwareNodePoolsListCall
List: Lists VMware node pools in a given project, location and VMWare cluster.
- parent: The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/vmwareClusters/{vmwareCluster}.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Patch ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Patch(name string, vmwarenodepool *VmwareNodePool) *ProjectsLocationsVmwareClustersVmwareNodePoolsPatchCall
Patch: Updates the parameters of a single VMware node pool.
- name: Immutable. The resource name of this node pool.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) SetIamPolicy ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) TestIamPermissions ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsService) Unenroll ¶
func (r *ProjectsLocationsVmwareClustersVmwareNodePoolsService) Unenroll(name string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Unenroll: Unenrolls a VMware node pool to Anthos On-Prem API
- name: The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNode Pools/{nodepool}.
type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall ¶
type ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing ¶ added in v0.125.0
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) AllowMissing(allowMissing bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the VMware node pool is not found, the request will succeed but no action will be taken on the server and return a completed LRO.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Context ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Context(ctx context.Context) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Do ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "gkeonprem.projects.locations.vmwareClusters.vmwareNodePools.unenroll" call. 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 (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Etag(etag string) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Etag sets the optional parameter "etag": The current etag of the VMware node pool. If an etag is provided and does not match the current etag of node pool, deletion will be blocked and an ABORTED error will be returned.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly ¶
func (c *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall) ValidateOnly(validateOnly bool) *ProjectsLocationsVmwareClustersVmwareNodePoolsUnenrollCall
ValidateOnly sets the optional parameter "validateOnly": If set, only validate the request, but do not actually unenroll the node pool.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type QueryBareMetalAdminVersionConfigResponse ¶
type QueryBareMetalAdminVersionConfigResponse struct { // Versions: List of available versions to install or to upgrade to. Versions []*BareMetalVersionInfo `json:"versions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Versions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Versions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
QueryBareMetalAdminVersionConfigResponse: Response message for querying bare metal admin cluster version config.
func (QueryBareMetalAdminVersionConfigResponse) MarshalJSON ¶
func (s QueryBareMetalAdminVersionConfigResponse) MarshalJSON() ([]byte, error)
type QueryBareMetalVersionConfigResponse ¶
type QueryBareMetalVersionConfigResponse struct { // Versions: List of available versions to install or to upgrade to. Versions []*BareMetalVersionInfo `json:"versions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Versions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Versions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
QueryBareMetalVersionConfigResponse: Response message for querying bare metal admin cluster version config.
func (QueryBareMetalVersionConfigResponse) MarshalJSON ¶
func (s QueryBareMetalVersionConfigResponse) MarshalJSON() ([]byte, error)
type QueryVmwareVersionConfigResponse ¶
type QueryVmwareVersionConfigResponse struct { // Versions: List of available versions to install or to upgrade to. Versions []*VmwareVersionInfo `json:"versions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Versions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Versions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
QueryVmwareVersionConfigResponse: Response message for querying VMware user cluster version config.
func (QueryVmwareVersionConfigResponse) MarshalJSON ¶
func (s QueryVmwareVersionConfigResponse) MarshalJSON() ([]byte, error)
type ResourceCondition ¶
type ResourceCondition struct { // LastTransitionTime: Last time the condition transit from one status to // another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // Message: Human-readable message indicating details about last transition. Message string `json:"message,omitempty"` // Reason: Machine-readable message indicating details about last transition. Reason string `json:"reason,omitempty"` // State: state of the condition. // // Possible values: // "STATE_UNSPECIFIED" - Not set. // "STATE_TRUE" - Resource is in the condition. // "STATE_FALSE" - Resource is not in the condition. // "STATE_UNKNOWN" - Kubernetes controller can't decide if the resource is in // the condition or not. State string `json:"state,omitempty"` // Type: Type of the condition. (e.g., ClusterRunning, NodePoolRunning or // ServerSidePreflightReady) Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "LastTransitionTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LastTransitionTime") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ResourceCondition: ResourceCondition provides a standard mechanism for higher-level status reporting from controller.
func (ResourceCondition) MarshalJSON ¶
func (s ResourceCondition) MarshalJSON() ([]byte, error)
type ResourceStatus ¶
type ResourceStatus struct { // Conditions: ResourceCondition provide a standard mechanism for higher-level // status reporting from controller. Conditions []*ResourceCondition `json:"conditions,omitempty"` // ErrorMessage: Human-friendly representation of the error message from // controller. The error message can be temporary as the controller controller // creates a cluster or node pool. If the error message persists for a longer // period of time, it can be used to surface error message to indicate real // problems requiring user intervention. ErrorMessage string `json:"errorMessage,omitempty"` // Version: Reflect current version of the resource. Version string `json:"version,omitempty"` // Versions: Shows the mapping of a given version to the number of machines // under this version. Versions *Versions `json:"versions,omitempty"` // ForceSendFields is a list of field names (e.g. "Conditions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conditions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ResourceStatus: ResourceStatus describes why a cluster or node pool has a certain status. (e.g., ERROR or DEGRADED).
func (ResourceStatus) MarshalJSON ¶
func (s ResourceStatus) 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 SetIamPolicyRequest ¶
type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the `resource`. The // size of the policy is limited to a few 10s of KB. An empty policy is a valid // policy but certain Google Cloud services (such as Projects) might reject // them. Policy *Policy `json:"policy,omitempty"` // ForceSendFields is a list of field names (e.g. "Policy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (SetIamPolicyRequest) MarshalJSON ¶
func (s SetIamPolicyRequest) 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 TestIamPermissionsRequest ¶
type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. Permissions // with wildcards (such as `*` or `storage.*`) are not allowed. For more // information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (TestIamPermissionsRequest) MarshalJSON ¶
func (s TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶
type TestIamPermissionsResponse struct { // Permissions: A subset of `TestPermissionsRequest.permissions` that the // caller is allowed. Permissions []string `json:"permissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
func (TestIamPermissionsResponse) MarshalJSON ¶
func (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type UpgradeDependency ¶ added in v0.127.0
type UpgradeDependency struct { // CurrentVersion: Current version of the dependency e.g. 1.15.0. CurrentVersion string `json:"currentVersion,omitempty"` // Membership: Membership names are formatted as // `projects//locations//memberships/`. Membership string `json:"membership,omitempty"` // ResourceName: Resource name of the dependency. ResourceName string `json:"resourceName,omitempty"` // TargetVersion: Target version of the dependency e.g. 1.16.1. This is the // version the dependency needs to be upgraded to before a resource can be // upgraded. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
UpgradeDependency: UpgradeDependency represents a dependency when upgrading a resource.
func (UpgradeDependency) MarshalJSON ¶ added in v0.127.0
func (s UpgradeDependency) MarshalJSON() ([]byte, error)
type ValidationCheck ¶
type ValidationCheck struct { // Option: Options used for the validation check // // Possible values: // "OPTIONS_UNSPECIFIED" - Default value. Standard preflight validation check // will be used. // "SKIP_VALIDATION_CHECK_BLOCKING" - Prevent failed preflight checks from // failing. // "SKIP_VALIDATION_ALL" - Skip all preflight check validations. Option string `json:"option,omitempty"` // Scenario: Output only. The scenario when the preflight checks were run. // // Possible values: // "SCENARIO_UNSPECIFIED" - Default value. This value is unused. // "CREATE" - The validation check occurred during a create flow. // "UPDATE" - The validation check occurred during an update flow. Scenario string `json:"scenario,omitempty"` // Status: Output only. The detailed validation check status. Status *ValidationCheckStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Option") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Option") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ValidationCheck: ValidationCheck represents the result of preflight check.
func (ValidationCheck) MarshalJSON ¶
func (s ValidationCheck) MarshalJSON() ([]byte, error)
type ValidationCheckResult ¶
type ValidationCheckResult struct { // Category: The category of the validation. Category string `json:"category,omitempty"` // Description: The description of the validation check. Description string `json:"description,omitempty"` // Details: Detailed failure information, which might be unformatted. Details string `json:"details,omitempty"` // Reason: A human-readable message of the check failure. Reason string `json:"reason,omitempty"` // State: The validation check state. // // Possible values: // "STATE_UNKNOWN" - The default value. The check result is unknown. // "STATE_FAILURE" - The check failed. // "STATE_SKIPPED" - The check was skipped. // "STATE_FATAL" - The check itself failed to complete. // "STATE_WARNING" - The check encountered a warning. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Category") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ValidationCheckResult: ValidationCheckResult defines the details about the validation check.
func (ValidationCheckResult) MarshalJSON ¶
func (s ValidationCheckResult) MarshalJSON() ([]byte, error)
type ValidationCheckStatus ¶
type ValidationCheckStatus struct { // Result: Individual checks which failed as part of the Preflight check // execution. Result []*ValidationCheckResult `json:"result,omitempty"` // ForceSendFields is a list of field names (e.g. "Result") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Result") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ValidationCheckStatus: ValidationCheckStatus defines the detailed validation check status.
func (ValidationCheckStatus) MarshalJSON ¶
func (s ValidationCheckStatus) MarshalJSON() ([]byte, error)
type Version ¶ added in v0.195.0
type Version struct { // Count: Number of machines under the above version. Count int64 `json:"count,omitempty,string"` // Version: Resource version. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Version: Version describes the number of nodes at a given version under a resource.
func (Version) MarshalJSON ¶ added in v0.195.0
type Versions ¶ added in v0.195.0
type Versions struct { // Versions: Shows the mapping of a given version to the number of machines // under this version. Versions []*Version `json:"versions,omitempty"` // ForceSendFields is a list of field names (e.g. "Versions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Versions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Versions: Versions describes the mapping of a given version to the number of machines under this version.
func (Versions) MarshalJSON ¶ added in v0.195.0
type VmwareAAGConfig ¶
type VmwareAAGConfig struct { // AagConfigDisabled: Spread nodes across at least three physical hosts // (requires at least three hosts). Enabled by default. AagConfigDisabled bool `json:"aagConfigDisabled,omitempty"` // ForceSendFields is a list of field names (e.g. "AagConfigDisabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AagConfigDisabled") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAAGConfig: Specifies anti affinity group config for the VMware user cluster.
func (VmwareAAGConfig) MarshalJSON ¶
func (s VmwareAAGConfig) MarshalJSON() ([]byte, error)
type VmwareAddressPool ¶
type VmwareAddressPool struct { // Addresses: Required. The addresses that are part of this pool. Each address // must be either in the CIDR form (1.2.3.0/24) or range form // (1.2.3.1-1.2.3.5). Addresses []string `json:"addresses,omitempty"` // AvoidBuggyIps: If true, avoid using IPs ending in .0 or .255. This avoids // buggy consumer devices mistakenly dropping IPv4 traffic for those special IP // addresses. AvoidBuggyIps bool `json:"avoidBuggyIps,omitempty"` // ManualAssign: If true, prevent IP addresses from being automatically // assigned. ManualAssign bool `json:"manualAssign,omitempty"` // Pool: Required. The name of the address pool. Pool string `json:"pool,omitempty"` // ForceSendFields is a list of field names (e.g. "Addresses") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Addresses") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAddressPool: Represents an IP pool used by the load balancer.
func (VmwareAddressPool) MarshalJSON ¶
func (s VmwareAddressPool) MarshalJSON() ([]byte, error)
type VmwareAdminAddonNodeConfig ¶
type VmwareAdminAddonNodeConfig struct { // AutoResizeConfig: VmwareAutoResizeConfig config specifies auto resize // config. AutoResizeConfig *VmwareAutoResizeConfig `json:"autoResizeConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoResizeConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoResizeConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminAddonNodeConfig: VmwareAdminAddonNodeConfig contains add-on node configurations for VMware admin cluster.
func (VmwareAdminAddonNodeConfig) MarshalJSON ¶
func (s VmwareAdminAddonNodeConfig) MarshalJSON() ([]byte, error)
type VmwareAdminAuthorizationConfig ¶ added in v0.151.0
type VmwareAdminAuthorizationConfig struct { // ViewerUsers: For VMware admin clusters, users will be granted the // cluster-viewer role on the cluster. ViewerUsers []*ClusterUser `json:"viewerUsers,omitempty"` // ForceSendFields is a list of field names (e.g. "ViewerUsers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ViewerUsers") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminAuthorizationConfig: VmwareAdminAuthorizationConfig represents configuration for admin cluster authorization.
func (VmwareAdminAuthorizationConfig) MarshalJSON ¶ added in v0.151.0
func (s VmwareAdminAuthorizationConfig) MarshalJSON() ([]byte, error)
type VmwareAdminCluster ¶
type VmwareAdminCluster struct { // AddonNode: The VMware admin cluster addon node configuration. AddonNode *VmwareAdminAddonNodeConfig `json:"addonNode,omitempty"` // Annotations: Annotations on the VMware admin cluster. This field has the // same restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // AntiAffinityGroups: The VMware admin cluster anti affinity group // configuration. AntiAffinityGroups *VmwareAAGConfig `json:"antiAffinityGroups,omitempty"` // Authorization: The VMware admin cluster authorization configuration. Authorization *VmwareAdminAuthorizationConfig `json:"authorization,omitempty"` // AutoRepairConfig: The VMware admin cluster auto repair configuration. AutoRepairConfig *VmwareAutoRepairConfig `json:"autoRepairConfig,omitempty"` // BootstrapClusterMembership: The bootstrap cluster this VMware admin cluster // belongs to. BootstrapClusterMembership string `json:"bootstrapClusterMembership,omitempty"` // ControlPlaneNode: The VMware admin cluster control plane node configuration. ControlPlaneNode *VmwareAdminControlPlaneNodeConfig `json:"controlPlaneNode,omitempty"` // CreateTime: Output only. The time at which VMware admin cluster was created. CreateTime string `json:"createTime,omitempty"` // Description: A human readable description of this VMware admin cluster. Description string `json:"description,omitempty"` // Endpoint: Output only. The DNS name of VMware admin cluster's API server. Endpoint string `json:"endpoint,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. Allows clients to perform // consistent read-modify-writes through optimistic concurrency control. Etag string `json:"etag,omitempty"` // Fleet: Output only. Fleet configuration for the cluster. Fleet *Fleet `json:"fleet,omitempty"` // ImageType: The OS image type for the VMware admin cluster. ImageType string `json:"imageType,omitempty"` // LoadBalancer: The VMware admin cluster load balancer configuration. LoadBalancer *VmwareAdminLoadBalancerConfig `json:"loadBalancer,omitempty"` // LocalName: Output only. The object name of the VMware OnPremAdminCluster // custom resource. This field is used to support conflicting names when // enrolling existing clusters to the API. When used as a part of cluster // enrollment, this field will differ from the ID in the resource name. For new // clusters, this field will match the user provided cluster name and be // visible in the last component of the resource name. It is not modifiable. // All users should use this name to access their cluster using gkectl or // kubectl and should expect to see the local name when viewing admin cluster // controller logs. LocalName string `json:"localName,omitempty"` // Name: Immutable. The VMware admin cluster resource name. Name string `json:"name,omitempty"` // NetworkConfig: The VMware admin cluster network configuration. NetworkConfig *VmwareAdminNetworkConfig `json:"networkConfig,omitempty"` // OnPremVersion: The Anthos clusters on the VMware version for the admin // cluster. OnPremVersion string `json:"onPremVersion,omitempty"` // PlatformConfig: The VMware platform configuration. PlatformConfig *VmwarePlatformConfig `json:"platformConfig,omitempty"` // PreparedSecrets: Output only. The VMware admin cluster prepared secrets // configuration. It should always be enabled by the Central API, instead of // letting users set it. PreparedSecrets *VmwareAdminPreparedSecretsConfig `json:"preparedSecrets,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the VMware admin cluster. Reconciling bool `json:"reconciling,omitempty"` // State: Output only. The current state of VMware admin cluster. // // Possible values: // "STATE_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 the cluster is being // updated. It remains available, but potentially with degraded performance. // "STOPPING" - The STOPPING state indicates the cluster is being deleted. // "ERROR" - The ERROR state indicates the cluster is in a broken // unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the cluster requires user action // to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. ResourceStatus representing detailed cluster state. Status *ResourceStatus `json:"status,omitempty"` // Uid: Output only. The unique identifier of the VMware admin cluster. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time at which VMware admin cluster was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ValidationCheck: Output only. ValidationCheck represents the result of the // preflight check job. ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"` // Vcenter: The VMware admin cluster VCenter configuration. Vcenter *VmwareAdminVCenterConfig `json:"vcenter,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AddonNode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddonNode") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminCluster: Resource that represents a VMware admin cluster.
func (VmwareAdminCluster) MarshalJSON ¶
func (s VmwareAdminCluster) MarshalJSON() ([]byte, error)
type VmwareAdminControlPlaneNodeConfig ¶
type VmwareAdminControlPlaneNodeConfig struct { // Cpus: The number of vCPUs for the control-plane node of the admin cluster. Cpus int64 `json:"cpus,omitempty,string"` // Memory: The number of mebibytes of memory for the control-plane node of the // admin cluster. Memory int64 `json:"memory,omitempty,string"` // Replicas: The number of control plane nodes for this VMware admin cluster. // (default: 1 replica). Replicas int64 `json:"replicas,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Cpus") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cpus") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminControlPlaneNodeConfig: VmwareAdminControlPlaneNodeConfig contains control plane node configuration for VMware admin cluster.
func (VmwareAdminControlPlaneNodeConfig) MarshalJSON ¶
func (s VmwareAdminControlPlaneNodeConfig) MarshalJSON() ([]byte, error)
type VmwareAdminF5BigIpConfig ¶
type VmwareAdminF5BigIpConfig struct { // Address: The load balancer's IP address. Address string `json:"address,omitempty"` // Partition: The preexisting partition to be used by the load balancer. This // partition is usually created for the admin cluster for example: // 'my-f5-admin-partition'. Partition string `json:"partition,omitempty"` // SnatPool: The pool name. Only necessary, if using SNAT. SnatPool string `json:"snatPool,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Address") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminF5BigIpConfig: VmwareAdminF5BigIpConfig represents configuration parameters for an F5 BIG-IP load balancer.
func (VmwareAdminF5BigIpConfig) MarshalJSON ¶
func (s VmwareAdminF5BigIpConfig) MarshalJSON() ([]byte, error)
type VmwareAdminHAControlPlaneConfig ¶ added in v0.133.0
type VmwareAdminHAControlPlaneConfig struct { // ControlPlaneIpBlock: Static IP addresses for the admin control plane nodes. ControlPlaneIpBlock *VmwareIpBlock `json:"controlPlaneIpBlock,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneIpBlock") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneIpBlock") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminHAControlPlaneConfig: Specifies HA admin control plane config.
func (VmwareAdminHAControlPlaneConfig) MarshalJSON ¶ added in v0.133.0
func (s VmwareAdminHAControlPlaneConfig) MarshalJSON() ([]byte, error)
type VmwareAdminLoadBalancerConfig ¶
type VmwareAdminLoadBalancerConfig struct { // F5Config: Configuration for F5 Big IP typed load balancers. F5Config *VmwareAdminF5BigIpConfig `json:"f5Config,omitempty"` // ManualLbConfig: Manually configured load balancers. ManualLbConfig *VmwareAdminManualLbConfig `json:"manualLbConfig,omitempty"` // MetalLbConfig: MetalLB load balancers. MetalLbConfig *VmwareAdminMetalLbConfig `json:"metalLbConfig,omitempty"` // SeesawConfig: Output only. Configuration for Seesaw typed load balancers. SeesawConfig *VmwareAdminSeesawConfig `json:"seesawConfig,omitempty"` // VipConfig: The VIPs used by the load balancer. VipConfig *VmwareAdminVipConfig `json:"vipConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "F5Config") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "F5Config") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminLoadBalancerConfig: VmwareAdminLoadBalancerConfig contains load balancer configuration for VMware admin cluster.
func (VmwareAdminLoadBalancerConfig) MarshalJSON ¶
func (s VmwareAdminLoadBalancerConfig) MarshalJSON() ([]byte, error)
type VmwareAdminManualLbConfig ¶
type VmwareAdminManualLbConfig struct { // AddonsNodePort: NodePort for add-ons server in the admin cluster. AddonsNodePort int64 `json:"addonsNodePort,omitempty"` // ControlPlaneNodePort: NodePort for control plane service. The Kubernetes API // server in the admin cluster is implemented as a Service of type NodePort // (ex. 30968). ControlPlaneNodePort int64 `json:"controlPlaneNodePort,omitempty"` // IngressHttpNodePort: NodePort for ingress service's http. The ingress // service in the admin cluster is implemented as a Service of type NodePort // (ex. 32527). IngressHttpNodePort int64 `json:"ingressHttpNodePort,omitempty"` // IngressHttpsNodePort: NodePort for ingress service's https. The ingress // service in the admin cluster is implemented as a Service of type NodePort // (ex. 30139). IngressHttpsNodePort int64 `json:"ingressHttpsNodePort,omitempty"` // KonnectivityServerNodePort: NodePort for konnectivity server service running // as a sidecar in each kube-apiserver pod (ex. 30564). KonnectivityServerNodePort int64 `json:"konnectivityServerNodePort,omitempty"` // ForceSendFields is a list of field names (e.g. "AddonsNodePort") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddonsNodePort") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (VmwareAdminManualLbConfig) MarshalJSON ¶
func (s VmwareAdminManualLbConfig) MarshalJSON() ([]byte, error)
type VmwareAdminMetalLbConfig ¶
type VmwareAdminMetalLbConfig struct { // Enabled: Whether MetalLB is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminMetalLbConfig: VmwareAdminMetalLbConfig represents configuration parameters for a MetalLB load balancer. For admin clusters, currently no configurations is needed.
func (VmwareAdminMetalLbConfig) MarshalJSON ¶ added in v0.207.0
func (s VmwareAdminMetalLbConfig) MarshalJSON() ([]byte, error)
type VmwareAdminNetworkConfig ¶
type VmwareAdminNetworkConfig struct { // DhcpIpConfig: Configuration settings for a DHCP IP configuration. DhcpIpConfig *VmwareDhcpIpConfig `json:"dhcpIpConfig,omitempty"` // HaControlPlaneConfig: Configuration for HA admin cluster control plane. HaControlPlaneConfig *VmwareAdminHAControlPlaneConfig `json:"haControlPlaneConfig,omitempty"` // HostConfig: Represents common network settings irrespective of the host's IP // address. HostConfig *VmwareHostConfig `json:"hostConfig,omitempty"` // PodAddressCidrBlocks: Required. All pods in the cluster are assigned an // RFC1918 IPv4 address from these ranges. Only a single range is supported. // This field cannot be changed after creation. PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"` // ServiceAddressCidrBlocks: Required. All services in the cluster are assigned // an RFC1918 IPv4 address from these ranges. Only a single range is supported. // This field cannot be changed after creation. ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"` // StaticIpConfig: Configuration settings for a static IP configuration. StaticIpConfig *VmwareStaticIpConfig `json:"staticIpConfig,omitempty"` // VcenterNetwork: vcenter_network specifies vCenter network name. VcenterNetwork string `json:"vcenterNetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "DhcpIpConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DhcpIpConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminNetworkConfig: VmwareAdminNetworkConfig contains network configuration for VMware admin cluster.
func (VmwareAdminNetworkConfig) MarshalJSON ¶
func (s VmwareAdminNetworkConfig) MarshalJSON() ([]byte, error)
type VmwareAdminPreparedSecretsConfig ¶ added in v0.148.0
type VmwareAdminPreparedSecretsConfig struct { // Enabled: Whether prepared secrets is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminPreparedSecretsConfig: VmwareAdminPreparedSecretsConfig represents configuration for admin cluster prepared secrets.
func (VmwareAdminPreparedSecretsConfig) MarshalJSON ¶ added in v0.148.0
func (s VmwareAdminPreparedSecretsConfig) MarshalJSON() ([]byte, error)
type VmwareAdminSeesawConfig ¶ added in v0.133.0
type VmwareAdminSeesawConfig struct { // EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw // load balancer. EnableHa bool `json:"enableHa,omitempty"` // Group: In general the following format should be used for the Seesaw group // name: seesaw-for-[cluster_name]. Group string `json:"group,omitempty"` // IpBlocks: The IP Blocks to be used by the Seesaw load balancer IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"` // MasterIp: MasterIP is the IP announced by the master of Seesaw group. MasterIp string `json:"masterIp,omitempty"` // StackdriverName: Name to be used by Stackdriver. StackdriverName string `json:"stackdriverName,omitempty"` // Vms: Names of the VMs created for this Seesaw group. Vms []string `json:"vms,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableHa") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableHa") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminSeesawConfig: VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.
func (VmwareAdminSeesawConfig) MarshalJSON ¶ added in v0.133.0
func (s VmwareAdminSeesawConfig) MarshalJSON() ([]byte, error)
type VmwareAdminVCenterConfig ¶
type VmwareAdminVCenterConfig struct { // Address: The vCenter IP address. Address string `json:"address,omitempty"` // CaCertData: Contains the vCenter CA certificate public key for SSL // verification. CaCertData string `json:"caCertData,omitempty"` // Cluster: The name of the vCenter cluster for the admin cluster. Cluster string `json:"cluster,omitempty"` // DataDisk: The name of the virtual machine disk (VMDK) for the admin cluster. DataDisk string `json:"dataDisk,omitempty"` // Datacenter: The name of the vCenter datacenter for the admin cluster. Datacenter string `json:"datacenter,omitempty"` // Datastore: The name of the vCenter datastore for the admin cluster. Datastore string `json:"datastore,omitempty"` // Folder: The name of the vCenter folder for the admin cluster. Folder string `json:"folder,omitempty"` // ResourcePool: The name of the vCenter resource pool for the admin cluster. ResourcePool string `json:"resourcePool,omitempty"` // StoragePolicyName: The name of the vCenter storage policy for the user // cluster. StoragePolicyName string `json:"storagePolicyName,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Address") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminVCenterConfig: VmwareAdminVCenterConfig contains VCenter configuration for VMware admin cluster.
func (VmwareAdminVCenterConfig) MarshalJSON ¶
func (s VmwareAdminVCenterConfig) MarshalJSON() ([]byte, error)
type VmwareAdminVipConfig ¶
type VmwareAdminVipConfig struct { // AddonsVip: The VIP to configure the load balancer for add-ons. AddonsVip string `json:"addonsVip,omitempty"` // ControlPlaneVip: The VIP which you previously set aside for the Kubernetes // API of the admin cluster. ControlPlaneVip string `json:"controlPlaneVip,omitempty"` // ForceSendFields is a list of field names (e.g. "AddonsVip") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddonsVip") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAdminVipConfig: VmwareAdminVipConfig for VMware load balancer configurations.
func (VmwareAdminVipConfig) MarshalJSON ¶
func (s VmwareAdminVipConfig) MarshalJSON() ([]byte, error)
type VmwareAutoRepairConfig ¶
type VmwareAutoRepairConfig struct { // Enabled: Whether auto repair is enabled. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAutoRepairConfig: Specifies config to enable/disable auto repair. The cluster-health-controller is deployed only if Enabled is true.
func (VmwareAutoRepairConfig) MarshalJSON ¶
func (s VmwareAutoRepairConfig) MarshalJSON() ([]byte, error)
type VmwareAutoResizeConfig ¶
type VmwareAutoResizeConfig struct { // Enabled: Whether to enable controle plane node auto resizing. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareAutoResizeConfig: Represents auto resizing configurations for the VMware user cluster.
func (VmwareAutoResizeConfig) MarshalJSON ¶
func (s VmwareAutoResizeConfig) MarshalJSON() ([]byte, error)
type VmwareBundleConfig ¶
type VmwareBundleConfig struct { // Status: Output only. Resource status for the bundle. Status *ResourceStatus `json:"status,omitempty"` // Version: The version of the bundle. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareBundleConfig: VmwareBundleConfig represents configuration for the bundle.
func (VmwareBundleConfig) MarshalJSON ¶
func (s VmwareBundleConfig) MarshalJSON() ([]byte, error)
type VmwareCluster ¶
type VmwareCluster struct { // AdminClusterMembership: Required. The admin cluster this VMware user cluster // belongs to. This is the full resource name of the admin cluster's fleet // membership. In the future, references to other resource types might be // allowed if admin clusters are modeled as their own resources. AdminClusterMembership string `json:"adminClusterMembership,omitempty"` // AdminClusterName: Output only. The resource name of the VMware admin cluster // hosting this user cluster. AdminClusterName string `json:"adminClusterName,omitempty"` // Annotations: Annotations on the VMware user cluster. This field has the same // restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // AntiAffinityGroups: AAGConfig specifies whether to spread VMware user // cluster nodes across at least three physical hosts in the datacenter. AntiAffinityGroups *VmwareAAGConfig `json:"antiAffinityGroups,omitempty"` // Authorization: RBAC policy that will be applied and managed by the Anthos // On-Prem API. Authorization *Authorization `json:"authorization,omitempty"` // AutoRepairConfig: Configuration for auto repairing. AutoRepairConfig *VmwareAutoRepairConfig `json:"autoRepairConfig,omitempty"` // BinaryAuthorization: Binary Authorization related configurations. BinaryAuthorization *BinaryAuthorization `json:"binaryAuthorization,omitempty"` // ControlPlaneNode: VMware user cluster control plane nodes must have either 1 // or 3 replicas. ControlPlaneNode *VmwareControlPlaneNodeConfig `json:"controlPlaneNode,omitempty"` // CreateTime: Output only. The time at which VMware user cluster was created. CreateTime string `json:"createTime,omitempty"` // DataplaneV2: VmwareDataplaneV2Config specifies configuration for Dataplane // V2. DataplaneV2 *VmwareDataplaneV2Config `json:"dataplaneV2,omitempty"` // DeleteTime: Output only. The time at which VMware user cluster was deleted. DeleteTime string `json:"deleteTime,omitempty"` // Description: A human readable description of this VMware user cluster. Description string `json:"description,omitempty"` // DisableBundledIngress: Disable bundled ingress. DisableBundledIngress bool `json:"disableBundledIngress,omitempty"` // EnableControlPlaneV2: Enable control plane V2. Default to false. EnableControlPlaneV2 bool `json:"enableControlPlaneV2,omitempty"` // Endpoint: Output only. The DNS name of VMware user cluster's API server. Endpoint string `json:"endpoint,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. Allows clients to perform // consistent read-modify-writes through optimistic concurrency control. Etag string `json:"etag,omitempty"` // Fleet: Output only. Fleet configuration for the cluster. Fleet *Fleet `json:"fleet,omitempty"` // LoadBalancer: Load balancer configuration. LoadBalancer *VmwareLoadBalancerConfig `json:"loadBalancer,omitempty"` // LocalName: Output only. The object name of the VMware OnPremUserCluster // custom resource on the associated admin cluster. This field is used to // support conflicting names when enrolling existing clusters to the API. When // used as a part of cluster enrollment, this field will differ from the ID in // the resource name. For new clusters, this field will match the user provided // cluster name and be visible in the last component of the resource name. It // is not modifiable. All users should use this name to access their cluster // using gkectl or kubectl and should expect to see the local name when viewing // admin cluster controller logs. LocalName string `json:"localName,omitempty"` // Name: Immutable. The VMware user cluster resource name. Name string `json:"name,omitempty"` // NetworkConfig: The VMware user cluster network configuration. NetworkConfig *VmwareNetworkConfig `json:"networkConfig,omitempty"` // OnPremVersion: Required. The Anthos clusters on the VMware version for your // user cluster. OnPremVersion string `json:"onPremVersion,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the VMware user cluster. Reconciling bool `json:"reconciling,omitempty"` // State: Output only. The current state of VMware user cluster. // // Possible values: // "STATE_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 the cluster is being // updated. It remains available, but potentially with degraded performance. // "STOPPING" - The STOPPING state indicates the cluster is being deleted. // "ERROR" - The ERROR state indicates the cluster is in a broken // unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the cluster requires user action // to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. ResourceStatus representing detailed cluster state. Status *ResourceStatus `json:"status,omitempty"` // Storage: Storage configuration. Storage *VmwareStorageConfig `json:"storage,omitempty"` // Uid: Output only. The unique identifier of the VMware user cluster. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time at which VMware user cluster was last // updated. UpdateTime string `json:"updateTime,omitempty"` // UpgradePolicy: Specifies upgrade policy for the cluster. UpgradePolicy *VmwareClusterUpgradePolicy `json:"upgradePolicy,omitempty"` // ValidationCheck: Output only. ValidationCheck represents the result of the // preflight check job. ValidationCheck *ValidationCheck `json:"validationCheck,omitempty"` // Vcenter: VmwareVCenterConfig specifies vCenter config for the user cluster. // If unspecified, it is inherited from the admin cluster. Vcenter *VmwareVCenterConfig `json:"vcenter,omitempty"` // VmTrackingEnabled: Enable VM tracking. VmTrackingEnabled bool `json:"vmTrackingEnabled,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AdminClusterMembership") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdminClusterMembership") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareCluster: Resource that represents a VMware user cluster. ##
func (VmwareCluster) MarshalJSON ¶
func (s VmwareCluster) MarshalJSON() ([]byte, error)
type VmwareClusterUpgradePolicy ¶ added in v0.139.0
type VmwareClusterUpgradePolicy struct { // ControlPlaneOnly: Controls whether the upgrade applies to the control plane // only. ControlPlaneOnly bool `json:"controlPlaneOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneOnly") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneOnly") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareClusterUpgradePolicy: VmwareClusterUpgradePolicy defines the cluster upgrade policy.
func (VmwareClusterUpgradePolicy) MarshalJSON ¶ added in v0.139.0
func (s VmwareClusterUpgradePolicy) MarshalJSON() ([]byte, error)
type VmwareControlPlaneNodeConfig ¶
type VmwareControlPlaneNodeConfig struct { // AutoResizeConfig: AutoResizeConfig provides auto resizing configurations. AutoResizeConfig *VmwareAutoResizeConfig `json:"autoResizeConfig,omitempty"` // Cpus: The number of CPUs for each admin cluster node that serve as control // planes for this VMware user cluster. (default: 4 CPUs) Cpus int64 `json:"cpus,omitempty,string"` // Memory: The megabytes of memory for each admin cluster node that serves as a // control plane for this VMware user cluster (default: 8192 MB memory). Memory int64 `json:"memory,omitempty,string"` // Replicas: The number of control plane nodes for this VMware user cluster. // (default: 1 replica). Replicas int64 `json:"replicas,omitempty,string"` // VsphereConfig: Vsphere-specific config. VsphereConfig *VmwareControlPlaneVsphereConfig `json:"vsphereConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoResizeConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoResizeConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareControlPlaneNodeConfig: Specifies control plane node config for the VMware user cluster.
func (VmwareControlPlaneNodeConfig) MarshalJSON ¶
func (s VmwareControlPlaneNodeConfig) MarshalJSON() ([]byte, error)
type VmwareControlPlaneV2Config ¶
type VmwareControlPlaneV2Config struct { // ControlPlaneIpBlock: Static IP addresses for the control plane nodes. ControlPlaneIpBlock *VmwareIpBlock `json:"controlPlaneIpBlock,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneIpBlock") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneIpBlock") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareControlPlaneV2Config: Specifies control plane V2 config.
func (VmwareControlPlaneV2Config) MarshalJSON ¶
func (s VmwareControlPlaneV2Config) MarshalJSON() ([]byte, error)
type VmwareControlPlaneVsphereConfig ¶
type VmwareControlPlaneVsphereConfig struct { // Datastore: The Vsphere datastore used by the control plane Node. Datastore string `json:"datastore,omitempty"` // StoragePolicyName: The Vsphere storage policy used by the control plane // Node. StoragePolicyName string `json:"storagePolicyName,omitempty"` // ForceSendFields is a list of field names (e.g. "Datastore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datastore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareControlPlaneVsphereConfig: Specifies control plane node config.
func (VmwareControlPlaneVsphereConfig) MarshalJSON ¶
func (s VmwareControlPlaneVsphereConfig) MarshalJSON() ([]byte, error)
type VmwareDataplaneV2Config ¶
type VmwareDataplaneV2Config struct { // AdvancedNetworking: Enable advanced networking which requires // dataplane_v2_enabled to be set true. AdvancedNetworking bool `json:"advancedNetworking,omitempty"` // DataplaneV2Enabled: Enables Dataplane V2. DataplaneV2Enabled bool `json:"dataplaneV2Enabled,omitempty"` // ForwardMode: Configure ForwardMode for Dataplane v2. ForwardMode string `json:"forwardMode,omitempty"` // WindowsDataplaneV2Enabled: Enable Dataplane V2 for clusters with Windows // nodes. WindowsDataplaneV2Enabled bool `json:"windowsDataplaneV2Enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "AdvancedNetworking") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvancedNetworking") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareDataplaneV2Config: Contains configurations for Dataplane V2, which is optimized dataplane for Kubernetes networking. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2
func (VmwareDataplaneV2Config) MarshalJSON ¶
func (s VmwareDataplaneV2Config) MarshalJSON() ([]byte, error)
type VmwareDhcpIpConfig ¶
type VmwareDhcpIpConfig struct { // Enabled: enabled is a flag to mark if DHCP IP allocation is used for VMware // user clusters. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareDhcpIpConfig: Represents the network configuration required for the VMware user clusters with DHCP IP configurations.
func (VmwareDhcpIpConfig) MarshalJSON ¶
func (s VmwareDhcpIpConfig) MarshalJSON() ([]byte, error)
type VmwareF5BigIpConfig ¶
type VmwareF5BigIpConfig struct { // Address: The load balancer's IP address. Address string `json:"address,omitempty"` // Partition: The preexisting partition to be used by the load balancer. This // partition is usually created for the admin cluster for example: // 'my-f5-admin-partition'. Partition string `json:"partition,omitempty"` // SnatPool: The pool name. Only necessary, if using SNAT. SnatPool string `json:"snatPool,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Address") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareF5BigIpConfig: Represents configuration parameters for an F5 BIG-IP load balancer.
func (VmwareF5BigIpConfig) MarshalJSON ¶
func (s VmwareF5BigIpConfig) MarshalJSON() ([]byte, error)
type VmwareHostConfig ¶
type VmwareHostConfig struct { // DnsSearchDomains: DNS search domains. DnsSearchDomains []string `json:"dnsSearchDomains,omitempty"` // DnsServers: DNS servers. DnsServers []string `json:"dnsServers,omitempty"` // NtpServers: NTP servers. NtpServers []string `json:"ntpServers,omitempty"` // ForceSendFields is a list of field names (e.g. "DnsSearchDomains") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DnsSearchDomains") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareHostConfig: Represents the common parameters for all the hosts irrespective of their IP address.
func (VmwareHostConfig) MarshalJSON ¶
func (s VmwareHostConfig) MarshalJSON() ([]byte, error)
type VmwareHostIp ¶
type VmwareHostIp struct { // Hostname: Hostname of the machine. VM's name will be used if this field is // empty. Hostname string `json:"hostname,omitempty"` // Ip: IP could be an IP address (like 1.2.3.4) or a CIDR (like 1.2.3.0/24). Ip string `json:"ip,omitempty"` // ForceSendFields is a list of field names (e.g. "Hostname") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Hostname") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareHostIp: Represents VMware user cluster node's network configuration.
func (VmwareHostIp) MarshalJSON ¶
func (s VmwareHostIp) MarshalJSON() ([]byte, error)
type VmwareIpBlock ¶
type VmwareIpBlock struct { // Gateway: The network gateway used by the VMware user cluster. Gateway string `json:"gateway,omitempty"` // Ips: The node's network configurations used by the VMware user cluster. Ips []*VmwareHostIp `json:"ips,omitempty"` // Netmask: The netmask used by the VMware user cluster. Netmask string `json:"netmask,omitempty"` // ForceSendFields is a list of field names (e.g. "Gateway") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Gateway") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareIpBlock: Represents a collection of IP addresses to assign to nodes.
func (VmwareIpBlock) MarshalJSON ¶
func (s VmwareIpBlock) MarshalJSON() ([]byte, error)
type VmwareLoadBalancerConfig ¶
type VmwareLoadBalancerConfig struct { // F5Config: Configuration for F5 Big IP typed load balancers. F5Config *VmwareF5BigIpConfig `json:"f5Config,omitempty"` // ManualLbConfig: Manually configured load balancers. ManualLbConfig *VmwareManualLbConfig `json:"manualLbConfig,omitempty"` // MetalLbConfig: Configuration for MetalLB typed load balancers. MetalLbConfig *VmwareMetalLbConfig `json:"metalLbConfig,omitempty"` // SeesawConfig: Output only. Configuration for Seesaw typed load balancers. SeesawConfig *VmwareSeesawConfig `json:"seesawConfig,omitempty"` // VipConfig: The VIPs used by the load balancer. VipConfig *VmwareVipConfig `json:"vipConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "F5Config") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "F5Config") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareLoadBalancerConfig: Specifies the locad balancer config for the VMware user cluster.
func (VmwareLoadBalancerConfig) MarshalJSON ¶
func (s VmwareLoadBalancerConfig) MarshalJSON() ([]byte, error)
type VmwareManualLbConfig ¶
type VmwareManualLbConfig struct { // ControlPlaneNodePort: NodePort for control plane service. The Kubernetes API // server in the admin cluster is implemented as a Service of type NodePort // (ex. 30968). ControlPlaneNodePort int64 `json:"controlPlaneNodePort,omitempty"` // IngressHttpNodePort: NodePort for ingress service's http. The ingress // service in the admin cluster is implemented as a Service of type NodePort // (ex. 32527). IngressHttpNodePort int64 `json:"ingressHttpNodePort,omitempty"` // IngressHttpsNodePort: NodePort for ingress service's https. The ingress // service in the admin cluster is implemented as a Service of type NodePort // (ex. 30139). IngressHttpsNodePort int64 `json:"ingressHttpsNodePort,omitempty"` // KonnectivityServerNodePort: NodePort for konnectivity server service running // as a sidecar in each kube-apiserver pod (ex. 30564). KonnectivityServerNodePort int64 `json:"konnectivityServerNodePort,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneNodePort") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneNodePort") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareManualLbConfig: Represents configuration parameters for an already existing manual load balancer. Given the nature of manual load balancers it is expected that said load balancer will be fully managed by users. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update ManualLB configurations it can only bind a pre-existing configuration to a new VMware user cluster.
func (VmwareManualLbConfig) MarshalJSON ¶
func (s VmwareManualLbConfig) MarshalJSON() ([]byte, error)
type VmwareMetalLbConfig ¶
type VmwareMetalLbConfig struct { // AddressPools: Required. AddressPools is a list of non-overlapping IP pools // used by load balancer typed services. All addresses must be routable to load // balancer nodes. IngressVIP must be included in the pools. AddressPools []*VmwareAddressPool `json:"addressPools,omitempty"` // ForceSendFields is a list of field names (e.g. "AddressPools") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AddressPools") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareMetalLbConfig: Represents configuration parameters for the MetalLB load balancer.
func (VmwareMetalLbConfig) MarshalJSON ¶
func (s VmwareMetalLbConfig) MarshalJSON() ([]byte, error)
type VmwareNetworkConfig ¶
type VmwareNetworkConfig struct { // ControlPlaneV2Config: Configuration for control plane V2 mode. ControlPlaneV2Config *VmwareControlPlaneV2Config `json:"controlPlaneV2Config,omitempty"` // DhcpIpConfig: Configuration settings for a DHCP IP configuration. DhcpIpConfig *VmwareDhcpIpConfig `json:"dhcpIpConfig,omitempty"` // HostConfig: Represents common network settings irrespective of the host's IP // address. HostConfig *VmwareHostConfig `json:"hostConfig,omitempty"` // PodAddressCidrBlocks: Required. All pods in the cluster are assigned an // RFC1918 IPv4 address from these ranges. Only a single range is supported. // This field cannot be changed after creation. PodAddressCidrBlocks []string `json:"podAddressCidrBlocks,omitempty"` // ServiceAddressCidrBlocks: Required. All services in the cluster are assigned // an RFC1918 IPv4 address from these ranges. Only a single range is supported. // This field cannot be changed after creation. ServiceAddressCidrBlocks []string `json:"serviceAddressCidrBlocks,omitempty"` // StaticIpConfig: Configuration settings for a static IP configuration. StaticIpConfig *VmwareStaticIpConfig `json:"staticIpConfig,omitempty"` // VcenterNetwork: vcenter_network specifies vCenter network name. Inherited // from the admin cluster. VcenterNetwork string `json:"vcenterNetwork,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneV2Config") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneV2Config") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareNetworkConfig: Specifies network config for the VMware user cluster.
func (VmwareNetworkConfig) MarshalJSON ¶
func (s VmwareNetworkConfig) MarshalJSON() ([]byte, error)
type VmwareNodeConfig ¶
type VmwareNodeConfig struct { // BootDiskSizeGb: VMware disk size to be used during creation. BootDiskSizeGb int64 `json:"bootDiskSizeGb,omitempty,string"` // Cpus: The number of CPUs for each node in the node pool. Cpus int64 `json:"cpus,omitempty,string"` // EnableLoadBalancer: Allow node pool traffic to be load balanced. Only works // for clusters with MetalLB load balancers. EnableLoadBalancer bool `json:"enableLoadBalancer,omitempty"` // Image: The OS image name in vCenter, only valid when using Windows. Image string `json:"image,omitempty"` // ImageType: Required. The OS image to be used for each node in a node pool. // Currently `cos`, `cos_cgv2`, `ubuntu`, `ubuntu_cgv2`, `ubuntu_containerd` // and `windows` are supported. ImageType string `json:"imageType,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"` // MemoryMb: The megabytes of memory for each node in the node pool. MemoryMb int64 `json:"memoryMb,omitempty,string"` // Replicas: The number of nodes in the node pool. Replicas int64 `json:"replicas,omitempty,string"` // Taints: The initial taints assigned to nodes of this node pool. Taints []*NodeTaint `json:"taints,omitempty"` // VsphereConfig: Specifies the vSphere config for node pool. VsphereConfig *VmwareVsphereConfig `json:"vsphereConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "BootDiskSizeGb") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BootDiskSizeGb") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareNodeConfig: Parameters that describe the configuration of all nodes within a given node pool.
func (VmwareNodeConfig) MarshalJSON ¶
func (s VmwareNodeConfig) MarshalJSON() ([]byte, error)
type VmwareNodePool ¶
type VmwareNodePool struct { // Annotations: Annotations on the node pool. This field has the same // restrictions as Kubernetes annotations. The total size of all keys and // values combined is limited to 256k. Key can have 2 segments: prefix // (optional) and name (required), separated by a slash (/). Prefix must be a // DNS subdomain. Name must be 63 characters or less, begin and end with // alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics // between. Annotations map[string]string `json:"annotations,omitempty"` // Config: Required. The node configuration of the node pool. Config *VmwareNodeConfig `json:"config,omitempty"` // CreateTime: Output only. The time at which this node pool was created. CreateTime string `json:"createTime,omitempty"` // DeleteTime: Output only. The time at which this node pool was deleted. If // the resource is not deleted, this must be empty DeleteTime string `json:"deleteTime,omitempty"` // DisplayName: The display name for the node pool. DisplayName string `json:"displayName,omitempty"` // Etag: This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the client // has an up-to-date value before proceeding. Allows clients to perform // consistent read-modify-writes through optimistic concurrency control. Etag string `json:"etag,omitempty"` // Name: Immutable. The resource name of this node pool. Name string `json:"name,omitempty"` // NodePoolAutoscaling: Node pool autoscaling config for the node pool. NodePoolAutoscaling *VmwareNodePoolAutoscalingConfig `json:"nodePoolAutoscaling,omitempty"` // OnPremVersion: Anthos version for the node pool. Defaults to the user // cluster version. OnPremVersion string `json:"onPremVersion,omitempty"` // Reconciling: Output only. If set, there are currently changes in flight to // the node pool. Reconciling bool `json:"reconciling,omitempty"` // State: Output only. The current state of the node pool. // // Possible values: // "STATE_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. // "RECONCILING" - The RECONCILING state indicates that the node pool is // being updated. It remains available, but potentially with degraded // performance. // "STOPPING" - The STOPPING state indicates the cluster is being deleted // "ERROR" - The ERROR state indicates the node pool is in a broken // unrecoverable state. // "DEGRADED" - The DEGRADED state indicates the node pool requires user // action to restore full functionality. State string `json:"state,omitempty"` // Status: Output only. ResourceStatus representing the detailed VMware node // pool state. Status *ResourceStatus `json:"status,omitempty"` // Uid: Output only. The unique identifier of the node pool. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. The time at which this node pool was last updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareNodePool: Resource VmwareNodePool represents a VMware node pool. ##
func (VmwareNodePool) MarshalJSON ¶
func (s VmwareNodePool) MarshalJSON() ([]byte, error)
type VmwareNodePoolAutoscalingConfig ¶
type VmwareNodePoolAutoscalingConfig struct { // MaxReplicas: Maximum number of replicas in the NodePool. MaxReplicas int64 `json:"maxReplicas,omitempty"` // MinReplicas: Minimum number of replicas in the NodePool. MinReplicas int64 `json:"minReplicas,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxReplicas") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxReplicas") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareNodePoolAutoscalingConfig: NodePoolAutoscaling config for the NodePool to allow for the kubernetes to scale NodePool.
func (VmwareNodePoolAutoscalingConfig) MarshalJSON ¶
func (s VmwareNodePoolAutoscalingConfig) MarshalJSON() ([]byte, error)
type VmwarePlatformConfig ¶
type VmwarePlatformConfig struct { // Bundles: Output only. The list of bundles installed in the admin cluster. Bundles []*VmwareBundleConfig `json:"bundles,omitempty"` // PlatformVersion: Output only. The platform version e.g. 1.13.2. PlatformVersion string `json:"platformVersion,omitempty"` // RequiredPlatformVersion: Input only. The required platform version e.g. // 1.13.1. If the current platform version is lower than the target version, // the platform version will be updated to the target version. If the target // version is not installed in the platform (bundle versions), download the // target version bundle. RequiredPlatformVersion string `json:"requiredPlatformVersion,omitempty"` // Status: Output only. Resource status for the platform. Status *ResourceStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Bundles") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bundles") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwarePlatformConfig: VmwarePlatformConfig represents configuration for the VMware platform.
func (VmwarePlatformConfig) MarshalJSON ¶
func (s VmwarePlatformConfig) MarshalJSON() ([]byte, error)
type VmwareSeesawConfig ¶ added in v0.139.0
type VmwareSeesawConfig struct { // EnableHa: Enable two load balancer VMs to achieve a highly-available Seesaw // load balancer. EnableHa bool `json:"enableHa,omitempty"` // Group: Required. In general the following format should be used for the // Seesaw group name: seesaw-for-[cluster_name]. Group string `json:"group,omitempty"` // IpBlocks: Required. The IP Blocks to be used by the Seesaw load balancer IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"` // MasterIp: Required. MasterIP is the IP announced by the master of Seesaw // group. MasterIp string `json:"masterIp,omitempty"` // StackdriverName: Name to be used by Stackdriver. StackdriverName string `json:"stackdriverName,omitempty"` // Vms: Names of the VMs created for this Seesaw group. Vms []string `json:"vms,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableHa") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableHa") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareSeesawConfig: VmwareSeesawConfig represents configuration parameters for an already existing Seesaw load balancer. IMPORTANT: Please note that the Anthos On-Prem API will not generate or update Seesaw configurations it can only bind a pre-existing configuration to a new user cluster. IMPORTANT: When attempting to create a user cluster with a pre-existing Seesaw load balancer you will need to follow some preparation steps before calling the 'CreateVmwareCluster' API method. First you will need to create the user cluster's namespace via kubectl. The namespace will need to use the following naming convention : -gke-onprem-mgmt or -gke-onprem-mgmt depending on whether you used the 'VmwareCluster.local_name' to disambiguate collisions; for more context see the documentation of 'VmwareCluster.local_name'. Once the namespace is created you will need to create a secret resource via kubectl. This secret will contain copies of your Seesaw credentials. The Secret must be called 'user-cluster-creds' and contain Seesaw's SSH and Cert credentials. The credentials must be keyed with the following names: 'seesaw-ssh-private-key', 'seesaw-ssh-public-key', 'seesaw-ssh-ca-key', 'seesaw-ssh-ca-cert'.
func (VmwareSeesawConfig) MarshalJSON ¶ added in v0.139.0
func (s VmwareSeesawConfig) MarshalJSON() ([]byte, error)
type VmwareStaticIpConfig ¶
type VmwareStaticIpConfig struct { // IpBlocks: Represents the configuration values for static IP allocation to // nodes. IpBlocks []*VmwareIpBlock `json:"ipBlocks,omitempty"` // ForceSendFields is a list of field names (e.g. "IpBlocks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IpBlocks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareStaticIpConfig: Represents the network configuration required for the VMware user clusters with Static IP configurations.
func (VmwareStaticIpConfig) MarshalJSON ¶
func (s VmwareStaticIpConfig) MarshalJSON() ([]byte, error)
type VmwareStorageConfig ¶
type VmwareStorageConfig struct { // VsphereCsiDisabled: Whether or not to deploy vSphere CSI components in the // VMware user cluster. Enabled by default. VsphereCsiDisabled bool `json:"vsphereCsiDisabled,omitempty"` // ForceSendFields is a list of field names (e.g. "VsphereCsiDisabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "VsphereCsiDisabled") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareStorageConfig: Specifies vSphere CSI components deployment config in the VMware user cluster.
func (VmwareStorageConfig) MarshalJSON ¶
func (s VmwareStorageConfig) MarshalJSON() ([]byte, error)
type VmwareVCenterConfig ¶
type VmwareVCenterConfig struct { // Address: Output only. The vCenter IP address. Address string `json:"address,omitempty"` // CaCertData: Contains the vCenter CA certificate public key for SSL // verification. CaCertData string `json:"caCertData,omitempty"` // Cluster: The name of the vCenter cluster for the user cluster. Cluster string `json:"cluster,omitempty"` // Datacenter: The name of the vCenter datacenter for the user cluster. Datacenter string `json:"datacenter,omitempty"` // Datastore: The name of the vCenter datastore for the user cluster. Datastore string `json:"datastore,omitempty"` // Folder: The name of the vCenter folder for the user cluster. Folder string `json:"folder,omitempty"` // ResourcePool: The name of the vCenter resource pool for the user cluster. ResourcePool string `json:"resourcePool,omitempty"` // StoragePolicyName: The name of the vCenter storage policy for the user // cluster. StoragePolicyName string `json:"storagePolicyName,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Address") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareVCenterConfig: Represents configuration for the VMware VCenter for the user cluster.
func (VmwareVCenterConfig) MarshalJSON ¶
func (s VmwareVCenterConfig) MarshalJSON() ([]byte, error)
type VmwareVersionInfo ¶
type VmwareVersionInfo struct { // Dependencies: The list of upgrade dependencies for this version. Dependencies []*UpgradeDependency `json:"dependencies,omitempty"` // HasDependencies: If set, the cluster dependencies (e.g. the admin cluster, // other user clusters managed by the same admin cluster) must be upgraded // before this version can be installed or upgraded to. HasDependencies bool `json:"hasDependencies,omitempty"` // IsInstalled: If set, the version is installed in the admin cluster. // Otherwise, the version bundle must be downloaded and installed before a user // cluster can be created at or upgraded to this version. IsInstalled bool `json:"isInstalled,omitempty"` // Version: Version number e.g. 1.13.1-gke.1000. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Dependencies") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dependencies") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareVersionInfo: Contains information about a specific Anthos on VMware version.
func (VmwareVersionInfo) MarshalJSON ¶
func (s VmwareVersionInfo) MarshalJSON() ([]byte, error)
type VmwareVipConfig ¶
type VmwareVipConfig struct { // ControlPlaneVip: The VIP which you previously set aside for the Kubernetes // API of this cluster. ControlPlaneVip string `json:"controlPlaneVip,omitempty"` // IngressVip: The VIP which you previously set aside for ingress traffic into // this cluster. IngressVip string `json:"ingressVip,omitempty"` // ForceSendFields is a list of field names (e.g. "ControlPlaneVip") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ControlPlaneVip") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareVipConfig: Specifies the VIP config for the VMware user cluster load balancer.
func (VmwareVipConfig) MarshalJSON ¶
func (s VmwareVipConfig) MarshalJSON() ([]byte, error)
type VmwareVsphereConfig ¶
type VmwareVsphereConfig struct { // Datastore: The name of the vCenter datastore. Inherited from the user // cluster. Datastore string `json:"datastore,omitempty"` // HostGroups: Vsphere host groups to apply to all VMs in the node pool HostGroups []string `json:"hostGroups,omitempty"` // Tags: Tags to apply to VMs. Tags []*VmwareVsphereTag `json:"tags,omitempty"` // ForceSendFields is a list of field names (e.g. "Datastore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Datastore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareVsphereConfig: VmwareVsphereConfig represents configuration for the VMware VCenter for node pool.
func (VmwareVsphereConfig) MarshalJSON ¶
func (s VmwareVsphereConfig) MarshalJSON() ([]byte, error)
type VmwareVsphereTag ¶
type VmwareVsphereTag struct { // Category: The Vsphere tag category. Category string `json:"category,omitempty"` // Tag: The Vsphere tag name. Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Category") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Category") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
VmwareVsphereTag: VmwareVsphereTag describes a vSphere tag to be placed on VMs in the node pool. For more information, see https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vcenterhost.doc/GUID-E8E854DD-AA97-4E0C-8419-CE84F93C4058.html
func (VmwareVsphereTag) MarshalJSON ¶
func (s VmwareVsphereTag) MarshalJSON() ([]byte, error)