Documentation ¶
Index ¶
- Constants
- Variables
- func FetchGKEHubMembershipIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GKEHubMembershipIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func GKEHubMembershipIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func GetGKEHubMembershipApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetGKEHubMembershipCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetGKEHubMembershipIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetGKEHubMembershipIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetGKEHubMembershipIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeGKEHubMembershipIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeGKEHubMembershipIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeGKEHubMembershipIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeGKEHubMembershipIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeGKEHubMembershipIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterGKEHubMembership() cai.ResourceConverter
- func ResourceConverterGKEHubMembershipIamBinding() cai.ResourceConverter
- func ResourceConverterGKEHubMembershipIamMember() cai.ResourceConverter
- func ResourceConverterGKEHubMembershipIamPolicy() cai.ResourceConverter
- type GKEHubMembershipIamUpdater
- func (u *GKEHubMembershipIamUpdater) DescribeResource() string
- func (u *GKEHubMembershipIamUpdater) GetMutexKey() string
- func (u *GKEHubMembershipIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *GKEHubMembershipIamUpdater) GetResourceId() string
- func (u *GKEHubMembershipIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
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 GKEHubMembershipIamUpdaterProducer ¶
func GKEHubMembershipIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, 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 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
Click to show internal directories.
Click to hide internal directories.