Documentation ¶
Overview ¶
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ApplyWorkerPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteWorkerPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetWorkerPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListWorkerPool(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func UnstructuredToWorkerPool(u *unstructured.Resource) (*dclService.WorkerPool, error)
- func WorkerPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WorkerPoolID(u *unstructured.Resource) (string, error)
- func WorkerPoolToUnstructured(r *dclService.WorkerPool) *unstructured.Resource
- type WorkerPool
- func (r *WorkerPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkerPool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WorkerPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WorkerPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkerPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WorkerPool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkerPool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WorkerPool) ID(resource *unstructured.Resource) (string, error)
- func (r *WorkerPool) STV() unstructured.ServiceTypeVersion
- func (r *WorkerPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkerPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WorkerPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyWorkerPool ¶
func ApplyWorkerPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteWorkerPool ¶
func GetWorkerPool ¶
func GetWorkerPool(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListWorkerPool ¶
func UnstructuredToWorkerPool ¶
func UnstructuredToWorkerPool(u *unstructured.Resource) (*dclService.WorkerPool, error)
func WorkerPoolHasDiff ¶
func WorkerPoolHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WorkerPoolID ¶
func WorkerPoolID(u *unstructured.Resource) (string, error)
func WorkerPoolToUnstructured ¶
func WorkerPoolToUnstructured(r *dclService.WorkerPool) *unstructured.Resource
Types ¶
type WorkerPool ¶
type WorkerPool struct{}
func (*WorkerPool) Apply ¶
func (r *WorkerPool) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WorkerPool) Delete ¶
func (r *WorkerPool) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*WorkerPool) DeletePolicyMember ¶ added in v1.1.0
func (r *WorkerPool) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WorkerPool) Get ¶
func (r *WorkerPool) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkerPool) GetPolicy ¶
func (r *WorkerPool) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkerPool) GetPolicyMember ¶
func (r *WorkerPool) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*WorkerPool) HasDiff ¶
func (r *WorkerPool) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*WorkerPool) ID ¶
func (r *WorkerPool) ID(resource *unstructured.Resource) (string, error)
func (*WorkerPool) STV ¶
func (r *WorkerPool) STV() unstructured.ServiceTypeVersion
func (*WorkerPool) SetPolicy ¶
func (r *WorkerPool) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkerPool) SetPolicyMember ¶
func (r *WorkerPool) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WorkerPool) SetPolicyWithEtag ¶ added in v1.1.0
func (r *WorkerPool) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
Click to show internal directories.
Click to hide internal directories.