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 ¶
- Variables
- func CloudRunServiceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func DataSourceGoogleCloudRunLocations() *schema.Resource
- func DataSourceGoogleCloudRunService() *schema.Resource
- func DomainMappingLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func PollCheckKnativeStatusFunc(knativeRestResponse map[string]interface{}) func(resp map[string]interface{}, respErr error) transport_tpg.PollResult
- func ResourceCloudRunDomainMapping() *schema.Resource
- func ResourceCloudRunDomainMappingUpgradeV0(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- func ResourceCloudRunService() *schema.Resource
- func ResourceCloudRunServiceUpgradeV1(_ context.Context, rawState map[string]interface{}, meta interface{}) (map[string]interface{}, error)
- type CloudRunServiceIamUpdater
- func (u *CloudRunServiceIamUpdater) DescribeResource() string
- func (u *CloudRunServiceIamUpdater) GetMutexKey() string
- func (u *CloudRunServiceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *CloudRunServiceIamUpdater) GetResourceId() string
- func (u *CloudRunServiceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
- type Condition
- type KnativeStatus
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 CloudRunServiceIamUpdaterProducer ¶
func CloudRunServiceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func CloudRunServiceIdParseFunc ¶
func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
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 ResourceCloudRunService ¶
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 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.
Click to show internal directories.
Click to hide internal directories.