Documentation ¶
Overview ¶
Copyright 2023 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 ApplyFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func FeatureMembershipHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func FeatureMembershipID(u *unstructured.Resource) (string, error)
- func FeatureMembershipToUnstructured(r *dclService.FeatureMembership) *unstructured.Resource
- func GetFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListFeatureMembership(ctx context.Context, config *dcl.Config, project string, location string, ...) ([]*unstructured.Resource, error)
- func UnstructuredToFeatureMembership(u *unstructured.Resource) (*dclService.FeatureMembership, error)
- type FeatureMembership
- func (r *FeatureMembership) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *FeatureMembership) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *FeatureMembership) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *FeatureMembership) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *FeatureMembership) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *FeatureMembership) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *FeatureMembership) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *FeatureMembership) ID(resource *unstructured.Resource) (string, error)
- func (r *FeatureMembership) STV() unstructured.ServiceTypeVersion
- func (r *FeatureMembership) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *FeatureMembership) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *FeatureMembership) 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 ApplyFeatureMembership ¶ added in v1.50.0
func ApplyFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteFeatureMembership ¶ added in v1.50.0
func FeatureMembershipHasDiff ¶ added in v1.50.0
func FeatureMembershipHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func FeatureMembershipID ¶ added in v1.50.0
func FeatureMembershipID(u *unstructured.Resource) (string, error)
func FeatureMembershipToUnstructured ¶ added in v1.50.0
func FeatureMembershipToUnstructured(r *dclService.FeatureMembership) *unstructured.Resource
func GetFeatureMembership ¶ added in v1.50.0
func GetFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListFeatureMembership ¶ added in v1.50.0
func UnstructuredToFeatureMembership ¶ added in v1.50.0
func UnstructuredToFeatureMembership(u *unstructured.Resource) (*dclService.FeatureMembership, error)
Types ¶
type FeatureMembership ¶ added in v1.50.0
type FeatureMembership struct{}
func (*FeatureMembership) Apply ¶ added in v1.50.0
func (r *FeatureMembership) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*FeatureMembership) Delete ¶ added in v1.50.0
func (r *FeatureMembership) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*FeatureMembership) DeletePolicyMember ¶ added in v1.50.0
func (r *FeatureMembership) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*FeatureMembership) Get ¶ added in v1.50.0
func (r *FeatureMembership) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*FeatureMembership) GetPolicy ¶ added in v1.50.0
func (r *FeatureMembership) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*FeatureMembership) GetPolicyMember ¶ added in v1.50.0
func (r *FeatureMembership) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*FeatureMembership) HasDiff ¶ added in v1.50.0
func (r *FeatureMembership) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*FeatureMembership) ID ¶ added in v1.50.0
func (r *FeatureMembership) ID(resource *unstructured.Resource) (string, error)
func (*FeatureMembership) STV ¶ added in v1.50.0
func (r *FeatureMembership) STV() unstructured.ServiceTypeVersion
func (*FeatureMembership) SetPolicy ¶ added in v1.50.0
func (r *FeatureMembership) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*FeatureMembership) SetPolicyMember ¶ added in v1.50.0
func (r *FeatureMembership) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*FeatureMembership) SetPolicyWithEtag ¶ added in v1.50.0
func (r *FeatureMembership) 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.