cloudrunv2

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

Functions

func CloudRunV2JobIdParseFunc

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

func CloudRunV2OperationWaitTime

func CloudRunV2OperationWaitTime(config *transport_tpg.Config, op map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error

func CloudRunV2OperationWaitTimeWithResponse

func CloudRunV2OperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, response *map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error

nolint: deadcode,unused

func CloudRunV2ServiceIdParseFunc

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

func DataSourceGoogleCloudRunV2Job

func DataSourceGoogleCloudRunV2Job() *schema.Resource

func DataSourceGoogleCloudRunV2Service

func DataSourceGoogleCloudRunV2Service() *schema.Resource

func ResourceCloudRunV2Job

func ResourceCloudRunV2Job() *schema.Resource

func ResourceCloudRunV2Service

func ResourceCloudRunV2Service() *schema.Resource

func RunAdminV2OperationWaitTime

func RunAdminV2OperationWaitTime(config *transport_tpg.Config, op *run.GoogleLongrunningOperation, project, activity, userAgent string, timeout time.Duration) error

func RunAdminV2OperationWaitTimeWithResponse

func RunAdminV2OperationWaitTimeWithResponse(config *transport_tpg.Config, op *run.GoogleLongrunningOperation, response *map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error

Types

type CloudRunV2JobIamUpdater

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

func (*CloudRunV2JobIamUpdater) DescribeResource

func (u *CloudRunV2JobIamUpdater) DescribeResource() string

func (*CloudRunV2JobIamUpdater) GetMutexKey

func (u *CloudRunV2JobIamUpdater) GetMutexKey() string

func (*CloudRunV2JobIamUpdater) GetResourceIamPolicy

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

func (*CloudRunV2JobIamUpdater) GetResourceId

func (u *CloudRunV2JobIamUpdater) GetResourceId() string

func (*CloudRunV2JobIamUpdater) SetResourceIamPolicy

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

type CloudRunV2OperationWaiter

type CloudRunV2OperationWaiter struct {
	Config    *transport_tpg.Config
	UserAgent string
	Project   string
	tpgresource.CommonOperationWaiter
}

func (*CloudRunV2OperationWaiter) QueryOp

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

type CloudRunV2ServiceIamUpdater

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

func (*CloudRunV2ServiceIamUpdater) DescribeResource

func (u *CloudRunV2ServiceIamUpdater) DescribeResource() string

func (*CloudRunV2ServiceIamUpdater) GetMutexKey

func (u *CloudRunV2ServiceIamUpdater) GetMutexKey() string

func (*CloudRunV2ServiceIamUpdater) GetResourceIamPolicy

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

func (*CloudRunV2ServiceIamUpdater) GetResourceId

func (u *CloudRunV2ServiceIamUpdater) GetResourceId() string

func (*CloudRunV2ServiceIamUpdater) SetResourceIamPolicy

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

type RunAdminV2OperationWaiter

type RunAdminV2OperationWaiter struct {
	Config    *transport_tpg.Config
	UserAgent string
	Project   string
	tpgresource.CommonOperationWaiter
}

func (*RunAdminV2OperationWaiter) QueryOp

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

Jump to

Keyboard shortcuts

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