Documentation ¶
Index ¶
- Constants
- Variables
- func DataprocAutoscalingPolicyIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func DataprocAutoscalingPolicyIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func FetchDataprocAutoscalingPolicyIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetDataprocAutoscalingPolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetDataprocAutoscalingPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetDataprocAutoscalingPolicyIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetDataprocAutoscalingPolicyIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetDataprocAutoscalingPolicyIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeDataprocAutoscalingPolicyIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeDataprocAutoscalingPolicyIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeDataprocAutoscalingPolicyIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeDataprocAutoscalingPolicyIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeDataprocAutoscalingPolicyIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterDataprocAutoscalingPolicy() cai.ResourceConverter
- func ResourceConverterDataprocAutoscalingPolicyIamBinding() cai.ResourceConverter
- func ResourceConverterDataprocAutoscalingPolicyIamMember() cai.ResourceConverter
- func ResourceConverterDataprocAutoscalingPolicyIamPolicy() cai.ResourceConverter
- type DataprocAutoscalingPolicyIamUpdater
- func (u *DataprocAutoscalingPolicyIamUpdater) DescribeResource() string
- func (u *DataprocAutoscalingPolicyIamUpdater) GetMutexKey() string
- func (u *DataprocAutoscalingPolicyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *DataprocAutoscalingPolicyIamUpdater) GetResourceId() string
- func (u *DataprocAutoscalingPolicyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const DataprocAutoscalingPolicyAssetType string = "dataproc.googleapis.com/AutoscalingPolicy"
View Source
const DataprocAutoscalingPolicyIAMAssetType string = "dataproc.googleapis.com/AutoscalingPolicy"
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 DataprocAutoscalingPolicyIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "policy_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func DataprocAutoscalingPolicyIamUpdaterProducer ¶
func DataprocAutoscalingPolicyIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func DataprocAutoscalingPolicyIdParseFunc ¶
func DataprocAutoscalingPolicyIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func FetchDataprocAutoscalingPolicyIamPolicy ¶
func FetchDataprocAutoscalingPolicyIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetDataprocAutoscalingPolicyApiObject ¶
func GetDataprocAutoscalingPolicyApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetDataprocAutoscalingPolicyCaiObject ¶
func GetDataprocAutoscalingPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetDataprocAutoscalingPolicyIamBindingCaiObject ¶
func GetDataprocAutoscalingPolicyIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetDataprocAutoscalingPolicyIamMemberCaiObject ¶
func GetDataprocAutoscalingPolicyIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetDataprocAutoscalingPolicyIamPolicyCaiObject ¶
func GetDataprocAutoscalingPolicyIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func ResourceConverterDataprocAutoscalingPolicy ¶
func ResourceConverterDataprocAutoscalingPolicy() cai.ResourceConverter
func ResourceConverterDataprocAutoscalingPolicyIamBinding ¶
func ResourceConverterDataprocAutoscalingPolicyIamBinding() cai.ResourceConverter
func ResourceConverterDataprocAutoscalingPolicyIamMember ¶
func ResourceConverterDataprocAutoscalingPolicyIamMember() cai.ResourceConverter
func ResourceConverterDataprocAutoscalingPolicyIamPolicy ¶
func ResourceConverterDataprocAutoscalingPolicyIamPolicy() cai.ResourceConverter
Types ¶
type DataprocAutoscalingPolicyIamUpdater ¶
type DataprocAutoscalingPolicyIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*DataprocAutoscalingPolicyIamUpdater) DescribeResource ¶
func (u *DataprocAutoscalingPolicyIamUpdater) DescribeResource() string
func (*DataprocAutoscalingPolicyIamUpdater) GetMutexKey ¶
func (u *DataprocAutoscalingPolicyIamUpdater) GetMutexKey() string
func (*DataprocAutoscalingPolicyIamUpdater) GetResourceIamPolicy ¶
func (u *DataprocAutoscalingPolicyIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*DataprocAutoscalingPolicyIamUpdater) GetResourceId ¶
func (u *DataprocAutoscalingPolicyIamUpdater) GetResourceId() string
func (*DataprocAutoscalingPolicyIamUpdater) SetResourceIamPolicy ¶
func (u *DataprocAutoscalingPolicyIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.