Documentation ¶
Index ¶
- Constants
- Variables
- func CloudRunServiceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func CloudRunServiceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func FetchCloudRunServiceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetCloudRunDomainMappingApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetCloudRunDomainMappingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudRunServiceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetCloudRunServiceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudRunServiceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudRunServiceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetCloudRunServiceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeCloudRunServiceIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeCloudRunServiceIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeCloudRunServiceIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeCloudRunServiceIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeCloudRunServiceIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterCloudRunDomainMapping() cai.ResourceConverter
- func ResourceConverterCloudRunService() cai.ResourceConverter
- func ResourceConverterCloudRunServiceIamBinding() cai.ResourceConverter
- func ResourceConverterCloudRunServiceIamMember() cai.ResourceConverter
- func ResourceConverterCloudRunServiceIamPolicy() cai.ResourceConverter
- 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
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 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 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 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
Click to show internal directories.
Click to hide internal directories.