cloudfunctions

package
v0.0.0-...-7000f67 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Copyright (c) HashiCorp, Inc. SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

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 CloudFunctionsOperationWait

func CloudFunctionsOperationWait(config *transport_tpg.Config, op *cloudfunctions.Operation, activity, userAgent string, timeout time.Duration) error

func DataSourceGoogleCloudFunctionsFunction

func DataSourceGoogleCloudFunctionsFunction() *schema.Resource

func IsCloudFunctionsSourceCodeError

func IsCloudFunctionsSourceCodeError(err error) (bool, string)

func ResourceCloudFunctionsFunction

func ResourceCloudFunctionsFunction() *schema.Resource

Types

type CloudFunctionId

type CloudFunctionId struct {
	Project string
	Region  string
	Name    string
}

func (*CloudFunctionId) CloudFunctionId

func (s *CloudFunctionId) CloudFunctionId() string

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

type CloudFunctionsOperationWaiter

type CloudFunctionsOperationWaiter struct {
	Service *cloudfunctions.Service
	tpgresource.CommonOperationWaiter
}

func (*CloudFunctionsOperationWaiter) QueryOp

func (w *CloudFunctionsOperationWaiter) QueryOp() (interface{}, error)

Jump to

Keyboard shortcuts

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