gkehub2

package
v5.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GKEHub2FeatureAssetType string = "gkehub.googleapis.com/Feature"
View Source
const GKEHub2FeatureIAMAssetType string = "gkehub.googleapis.com/Feature"

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

View Source
const GKEHub2FleetAssetType string = "gkehub.googleapis.com/Fleet"
View Source
const GKEHub2MembershipBindingAssetType string = "gkehub.googleapis.com/MembershipBinding"
View Source
const GKEHub2MembershipRBACRoleBindingAssetType string = "gkehub.googleapis.com/MembershipRBACRoleBinding"
View Source
const GKEHub2NamespaceAssetType string = "gkehub.googleapis.com/Namespace"
View Source
const GKEHub2ScopeAssetType string = "gkehub.googleapis.com/Scope"
View Source
const GKEHub2ScopeIAMAssetType string = "gkehub.googleapis.com/Scope"

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

View Source
const GKEHub2ScopeRBACRoleBindingAssetType string = "gkehub.googleapis.com/ScopeRBACRoleBinding"

Variables

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

Functions

func FetchGKEHub2FeatureIamPolicy

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

func FetchGKEHub2ScopeIamPolicy

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

func GKEHub2FeatureIdParseFunc

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

func GKEHub2ScopeIdParseFunc

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

func GetGKEHub2FeatureApiObject

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

func GetGKEHub2FeatureCaiObject

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

func GetGKEHub2FeatureIamBindingCaiObject

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

func GetGKEHub2FeatureIamMemberCaiObject

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

func GetGKEHub2FeatureIamPolicyCaiObject

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

func GetGKEHub2FleetApiObject

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

func GetGKEHub2FleetCaiObject

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

func GetGKEHub2MembershipBindingApiObject

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

func GetGKEHub2MembershipBindingCaiObject

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

func GetGKEHub2MembershipRBACRoleBindingApiObject

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

func GetGKEHub2MembershipRBACRoleBindingCaiObject

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

func GetGKEHub2NamespaceApiObject

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

func GetGKEHub2NamespaceCaiObject

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

func GetGKEHub2ScopeApiObject

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

func GetGKEHub2ScopeCaiObject

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

func GetGKEHub2ScopeIamBindingCaiObject

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

func GetGKEHub2ScopeIamMemberCaiObject

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

func GetGKEHub2ScopeIamPolicyCaiObject

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

func GetGKEHub2ScopeRBACRoleBindingApiObject

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

func GetGKEHub2ScopeRBACRoleBindingCaiObject

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

func MergeGKEHub2FeatureIamBinding

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

func MergeGKEHub2FeatureIamBindingDelete

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

func MergeGKEHub2FeatureIamMember

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

func MergeGKEHub2FeatureIamMemberDelete

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

func MergeGKEHub2FeatureIamPolicy

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

func MergeGKEHub2ScopeIamBinding

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

func MergeGKEHub2ScopeIamBindingDelete

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

func MergeGKEHub2ScopeIamMember

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

func MergeGKEHub2ScopeIamMemberDelete

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

func MergeGKEHub2ScopeIamPolicy

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

func ResourceConverterGKEHub2Feature

func ResourceConverterGKEHub2Feature() cai.ResourceConverter

func ResourceConverterGKEHub2FeatureIamBinding

func ResourceConverterGKEHub2FeatureIamBinding() cai.ResourceConverter

func ResourceConverterGKEHub2FeatureIamMember

func ResourceConverterGKEHub2FeatureIamMember() cai.ResourceConverter

func ResourceConverterGKEHub2FeatureIamPolicy

func ResourceConverterGKEHub2FeatureIamPolicy() cai.ResourceConverter

func ResourceConverterGKEHub2Fleet

func ResourceConverterGKEHub2Fleet() cai.ResourceConverter

func ResourceConverterGKEHub2MembershipBinding

func ResourceConverterGKEHub2MembershipBinding() cai.ResourceConverter

func ResourceConverterGKEHub2MembershipRBACRoleBinding

func ResourceConverterGKEHub2MembershipRBACRoleBinding() cai.ResourceConverter

func ResourceConverterGKEHub2Namespace

func ResourceConverterGKEHub2Namespace() cai.ResourceConverter

func ResourceConverterGKEHub2Scope

func ResourceConverterGKEHub2Scope() cai.ResourceConverter

func ResourceConverterGKEHub2ScopeIamBinding

func ResourceConverterGKEHub2ScopeIamBinding() cai.ResourceConverter

func ResourceConverterGKEHub2ScopeIamMember

func ResourceConverterGKEHub2ScopeIamMember() cai.ResourceConverter

func ResourceConverterGKEHub2ScopeIamPolicy

func ResourceConverterGKEHub2ScopeIamPolicy() cai.ResourceConverter

func ResourceConverterGKEHub2ScopeRBACRoleBinding

func ResourceConverterGKEHub2ScopeRBACRoleBinding() cai.ResourceConverter

Types

type GKEHub2FeatureIamUpdater

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

func (*GKEHub2FeatureIamUpdater) DescribeResource

func (u *GKEHub2FeatureIamUpdater) DescribeResource() string

func (*GKEHub2FeatureIamUpdater) GetMutexKey

func (u *GKEHub2FeatureIamUpdater) GetMutexKey() string

func (*GKEHub2FeatureIamUpdater) GetResourceIamPolicy

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

func (*GKEHub2FeatureIamUpdater) GetResourceId

func (u *GKEHub2FeatureIamUpdater) GetResourceId() string

func (*GKEHub2FeatureIamUpdater) SetResourceIamPolicy

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

type GKEHub2ScopeIamUpdater

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

func (*GKEHub2ScopeIamUpdater) DescribeResource

func (u *GKEHub2ScopeIamUpdater) DescribeResource() string

func (*GKEHub2ScopeIamUpdater) GetMutexKey

func (u *GKEHub2ScopeIamUpdater) GetMutexKey() string

func (*GKEHub2ScopeIamUpdater) GetResourceIamPolicy

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

func (*GKEHub2ScopeIamUpdater) GetResourceId

func (u *GKEHub2ScopeIamUpdater) GetResourceId() string

func (*GKEHub2ScopeIamUpdater) SetResourceIamPolicy

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

Jump to

Keyboard shortcuts

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