cloudfunctions

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: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CloudFunctionsCloudFunctionIAMAssetType string = "cloudfunctions.googleapis.com/CloudFunction"

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 CloudFunctionsCloudFunctionIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"region": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"cloud_function": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func CloudFunctionsCloudFunctionIdParseFunc

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

func FetchCloudFunctionsCloudFunctionIamPolicy

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

func GetCloudFunctionsCloudFunctionIamBindingCaiObject

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

func GetCloudFunctionsCloudFunctionIamMemberCaiObject

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

func GetCloudFunctionsCloudFunctionIamPolicyCaiObject

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

func MergeCloudFunctionsCloudFunctionIamBinding

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

func MergeCloudFunctionsCloudFunctionIamBindingDelete

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

func MergeCloudFunctionsCloudFunctionIamMember

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

func MergeCloudFunctionsCloudFunctionIamMemberDelete

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

func MergeCloudFunctionsCloudFunctionIamPolicy

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

func ResourceConverterCloudFunctionsCloudFunctionIamBinding

func ResourceConverterCloudFunctionsCloudFunctionIamBinding() cai.ResourceConverter

func ResourceConverterCloudFunctionsCloudFunctionIamMember

func ResourceConverterCloudFunctionsCloudFunctionIamMember() cai.ResourceConverter

func ResourceConverterCloudFunctionsCloudFunctionIamPolicy

func ResourceConverterCloudFunctionsCloudFunctionIamPolicy() cai.ResourceConverter

Types

type CloudFunctionsCloudFunctionIamUpdater

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

func (*CloudFunctionsCloudFunctionIamUpdater) DescribeResource

func (u *CloudFunctionsCloudFunctionIamUpdater) DescribeResource() string

func (*CloudFunctionsCloudFunctionIamUpdater) GetMutexKey

func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceIamPolicy

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

func (*CloudFunctionsCloudFunctionIamUpdater) GetResourceId

func (u *CloudFunctionsCloudFunctionIamUpdater) GetResourceId() string

func (*CloudFunctionsCloudFunctionIamUpdater) SetResourceIamPolicy

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

Jump to

Keyboard shortcuts

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