gkehub

package
v5.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const GKEHubMembershipAssetType string = "gkehub.googleapis.com/Membership"
View Source
const GKEHubMembershipIAMAssetType string = "gkehub.googleapis.com/Membership"

Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files

Variables

View Source
var GKEHubMembershipIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"membership_id": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func FetchGKEHubMembershipIamPolicy

func FetchGKEHubMembershipIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GKEHubMembershipIdParseFunc

func GKEHubMembershipIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func GetGKEHubMembershipApiObject

func GetGKEHubMembershipApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetGKEHubMembershipCaiObject

func GetGKEHubMembershipCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEHubMembershipIamBindingCaiObject

func GetGKEHubMembershipIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEHubMembershipIamMemberCaiObject

func GetGKEHubMembershipIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEHubMembershipIamPolicyCaiObject

func GetGKEHubMembershipIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeGKEHubMembershipIamBinding

func MergeGKEHubMembershipIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeGKEHubMembershipIamBindingDelete

func MergeGKEHubMembershipIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeGKEHubMembershipIamMember

func MergeGKEHubMembershipIamMember(existing, incoming cai.Asset) cai.Asset

func MergeGKEHubMembershipIamMemberDelete

func MergeGKEHubMembershipIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeGKEHubMembershipIamPolicy

func MergeGKEHubMembershipIamPolicy(existing, incoming cai.Asset) cai.Asset

func ResourceConverterGKEHubMembership

func ResourceConverterGKEHubMembership() cai.ResourceConverter

func ResourceConverterGKEHubMembershipIamBinding

func ResourceConverterGKEHubMembershipIamBinding() cai.ResourceConverter

func ResourceConverterGKEHubMembershipIamMember

func ResourceConverterGKEHubMembershipIamMember() cai.ResourceConverter

func ResourceConverterGKEHubMembershipIamPolicy

func ResourceConverterGKEHubMembershipIamPolicy() cai.ResourceConverter

Types

type GKEHubMembershipIamUpdater

type GKEHubMembershipIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*GKEHubMembershipIamUpdater) DescribeResource

func (u *GKEHubMembershipIamUpdater) DescribeResource() string

func (*GKEHubMembershipIamUpdater) GetMutexKey

func (u *GKEHubMembershipIamUpdater) GetMutexKey() string

func (*GKEHubMembershipIamUpdater) GetResourceIamPolicy

func (u *GKEHubMembershipIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*GKEHubMembershipIamUpdater) GetResourceId

func (u *GKEHubMembershipIamUpdater) GetResourceId() string

func (*GKEHubMembershipIamUpdater) SetResourceIamPolicy

func (u *GKEHubMembershipIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

Jump to

Keyboard shortcuts

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