cloudrun

package
v0.0.0-...-7c00c02 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: MPL-2.0 Imports: 20 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

Index

Constants

This section is empty.

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 DataSourceGoogleCloudRunLocations

func DataSourceGoogleCloudRunLocations() *schema.Resource

func DataSourceGoogleCloudRunService

func DataSourceGoogleCloudRunService() *schema.Resource

func DomainMappingLabelDiffSuppress

func DomainMappingLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool

func PollCheckKnativeStatusFunc

func PollCheckKnativeStatusFunc(knativeRestResponse map[string]interface{}) func(resp map[string]interface{}, respErr error) transport_tpg.PollResult

func ResourceCloudRunDomainMapping

func ResourceCloudRunDomainMapping() *schema.Resource

func ResourceCloudRunDomainMappingUpgradeV0

func ResourceCloudRunDomainMappingUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

func ResourceCloudRunService

func ResourceCloudRunService() *schema.Resource

func ResourceCloudRunServiceUpgradeV1

func ResourceCloudRunServiceUpgradeV1(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)

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

type Condition

type Condition struct {
	Type    string
	Status  string
	Reason  string
	Message string
}

type KnativeStatus

type KnativeStatus struct {
	Metadata struct {
		Name      string
		Namespace string
		SelfLink  string
	}
	Status struct {
		Conditions         []Condition
		ObservedGeneration float64
	}
}

KnativeStatus is a struct that can contain a Knative style resource's Status block. It is not intended to be used for anything other than polling for the success of the given resource.

Jump to

Keyboard shortcuts

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