Documentation ¶
Index ¶
- Constants
- Variables
- func Cloudfunctions2functionIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func Cloudfunctions2functionIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func FetchCloudfunctions2functionIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetCloudfunctions2functionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetCloudfunctions2functionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudfunctions2functionIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudfunctions2functionIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudfunctions2functionIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeCloudfunctions2functionIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeCloudfunctions2functionIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeCloudfunctions2functionIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeCloudfunctions2functionIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeCloudfunctions2functionIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterCloudfunctions2function() cai.ResourceConverter
- func ResourceConverterCloudfunctions2functionIamBinding() cai.ResourceConverter
- func ResourceConverterCloudfunctions2functionIamMember() cai.ResourceConverter
- func ResourceConverterCloudfunctions2functionIamPolicy() cai.ResourceConverter
- type Cloudfunctions2functionIamUpdater
- func (u *Cloudfunctions2functionIamUpdater) DescribeResource() string
- func (u *Cloudfunctions2functionIamUpdater) GetMutexKey() string
- func (u *Cloudfunctions2functionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *Cloudfunctions2functionIamUpdater) GetResourceId() string
- func (u *Cloudfunctions2functionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const Cloudfunctions2functionAssetType string = "cloudfunctions.googleapis.com/function"
View Source
const Cloudfunctions2functionIAMAssetType string = "cloudfunctions.googleapis.com/function"
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 Cloudfunctions2functionIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "cloud_function": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func Cloudfunctions2functionIamUpdaterProducer ¶
func Cloudfunctions2functionIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func Cloudfunctions2functionIdParseFunc ¶
func Cloudfunctions2functionIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func FetchCloudfunctions2functionIamPolicy ¶
func FetchCloudfunctions2functionIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetCloudfunctions2functionApiObject ¶
func GetCloudfunctions2functionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetCloudfunctions2functionCaiObject ¶
func GetCloudfunctions2functionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetCloudfunctions2functionIamBindingCaiObject ¶
func GetCloudfunctions2functionIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetCloudfunctions2functionIamMemberCaiObject ¶
func GetCloudfunctions2functionIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetCloudfunctions2functionIamPolicyCaiObject ¶
func GetCloudfunctions2functionIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func ResourceConverterCloudfunctions2function ¶
func ResourceConverterCloudfunctions2function() cai.ResourceConverter
func ResourceConverterCloudfunctions2functionIamBinding ¶
func ResourceConverterCloudfunctions2functionIamBinding() cai.ResourceConverter
func ResourceConverterCloudfunctions2functionIamMember ¶
func ResourceConverterCloudfunctions2functionIamMember() cai.ResourceConverter
func ResourceConverterCloudfunctions2functionIamPolicy ¶
func ResourceConverterCloudfunctions2functionIamPolicy() cai.ResourceConverter
Types ¶
type Cloudfunctions2functionIamUpdater ¶
type Cloudfunctions2functionIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*Cloudfunctions2functionIamUpdater) DescribeResource ¶
func (u *Cloudfunctions2functionIamUpdater) DescribeResource() string
func (*Cloudfunctions2functionIamUpdater) GetMutexKey ¶
func (u *Cloudfunctions2functionIamUpdater) GetMutexKey() string
func (*Cloudfunctions2functionIamUpdater) GetResourceIamPolicy ¶
func (u *Cloudfunctions2functionIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*Cloudfunctions2functionIamUpdater) GetResourceId ¶
func (u *Cloudfunctions2functionIamUpdater) GetResourceId() string
func (*Cloudfunctions2functionIamUpdater) SetResourceIamPolicy ¶
func (u *Cloudfunctions2functionIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.