gkehub

package
v1.76.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

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 DeleteFeatureMembership(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

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 ListFeatureMembership(ctx context.Context, config *dcl.Config, project string, location string, feature string) ([]*unstructured.Resource, error)

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 (*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 (*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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL