cloudrun

package
v5.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CloudRunDomainMappingAssetType string = "run.googleapis.com/DomainMapping"
View Source
const CloudRunServiceAssetType string = "run.googleapis.com/Service"
View Source
const CloudRunServiceIAMAssetType string = "run.googleapis.com/Service"

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

Functions

func CloudRunServiceIdParseFunc

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

func FetchCloudRunServiceIamPolicy

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

func GetCloudRunDomainMappingApiObject

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

func GetCloudRunDomainMappingCaiObject

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

func GetCloudRunServiceApiObject

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

func GetCloudRunServiceCaiObject

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

func GetCloudRunServiceIamBindingCaiObject

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

func GetCloudRunServiceIamMemberCaiObject

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

func GetCloudRunServiceIamPolicyCaiObject

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

func MergeCloudRunServiceIamBinding

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

func MergeCloudRunServiceIamBindingDelete

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

func MergeCloudRunServiceIamMember

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

func MergeCloudRunServiceIamMemberDelete

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

func MergeCloudRunServiceIamPolicy

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

func ResourceConverterCloudRunDomainMapping

func ResourceConverterCloudRunDomainMapping() cai.ResourceConverter

func ResourceConverterCloudRunService

func ResourceConverterCloudRunService() cai.ResourceConverter

func ResourceConverterCloudRunServiceIamBinding

func ResourceConverterCloudRunServiceIamBinding() cai.ResourceConverter

func ResourceConverterCloudRunServiceIamMember

func ResourceConverterCloudRunServiceIamMember() cai.ResourceConverter

func ResourceConverterCloudRunServiceIamPolicy

func ResourceConverterCloudRunServiceIamPolicy() cai.ResourceConverter

Types

type CloudRunServiceIamUpdater

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

func (*CloudRunServiceIamUpdater) DescribeResource

func (u *CloudRunServiceIamUpdater) DescribeResource() string

func (*CloudRunServiceIamUpdater) GetMutexKey

func (u *CloudRunServiceIamUpdater) GetMutexKey() string

func (*CloudRunServiceIamUpdater) GetResourceIamPolicy

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

func (*CloudRunServiceIamUpdater) GetResourceId

func (u *CloudRunServiceIamUpdater) GetResourceId() string

func (*CloudRunServiceIamUpdater) SetResourceIamPolicy

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

Jump to

Keyboard shortcuts

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