Documentation ¶
Overview ¶
Copyright 2022 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 ApplyManagedService(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteManagedService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetManagedService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListManagedService(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ManagedServiceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ManagedServiceID(u *unstructured.Resource) (string, error)
- func ManagedServiceToUnstructured(r *dclService.ManagedService) *unstructured.Resource
- func UnstructuredToManagedService(u *unstructured.Resource) (*dclService.ManagedService, error)
- type ManagedService
- func (r *ManagedService) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ManagedService) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *ManagedService) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *ManagedService) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ManagedService) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *ManagedService) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ManagedService) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *ManagedService) ID(resource *unstructured.Resource) (string, error)
- func (r *ManagedService) STV() unstructured.ServiceTypeVersion
- func (r *ManagedService) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ManagedService) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *ManagedService) 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 ApplyManagedService ¶
func ApplyManagedService(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteManagedService ¶
func GetManagedService ¶
func GetManagedService(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListManagedService ¶
func ManagedServiceHasDiff ¶
func ManagedServiceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ManagedServiceID ¶
func ManagedServiceID(u *unstructured.Resource) (string, error)
func ManagedServiceToUnstructured ¶
func ManagedServiceToUnstructured(r *dclService.ManagedService) *unstructured.Resource
func UnstructuredToManagedService ¶
func UnstructuredToManagedService(u *unstructured.Resource) (*dclService.ManagedService, error)
Types ¶
type ManagedService ¶
type ManagedService struct{}
func (*ManagedService) Apply ¶
func (r *ManagedService) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*ManagedService) Delete ¶
func (r *ManagedService) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*ManagedService) DeletePolicyMember ¶ added in v1.1.0
func (r *ManagedService) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*ManagedService) Get ¶
func (r *ManagedService) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ManagedService) GetPolicy ¶
func (r *ManagedService) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*ManagedService) GetPolicyMember ¶
func (r *ManagedService) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*ManagedService) HasDiff ¶
func (r *ManagedService) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*ManagedService) ID ¶
func (r *ManagedService) ID(resource *unstructured.Resource) (string, error)
func (*ManagedService) STV ¶
func (r *ManagedService) STV() unstructured.ServiceTypeVersion
func (*ManagedService) SetPolicy ¶
func (r *ManagedService) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*ManagedService) SetPolicyMember ¶
func (r *ManagedService) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*ManagedService) SetPolicyWithEtag ¶ added in v1.1.0
func (r *ManagedService) 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.