Documentation ¶
Index ¶
- Constants
- Variables
- func FetchSecretManagerSecretIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetSecretManagerSecretApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecretManagerSecretCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecretManagerSecretIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecretManagerSecretIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecretManagerSecretIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetSecretManagerSecretVersionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetSecretManagerSecretVersionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeSecretManagerSecretIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeSecretManagerSecretIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSecretManagerSecretIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeSecretManagerSecretIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeSecretManagerSecretIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterSecretManagerSecret() cai.ResourceConverter
- func ResourceConverterSecretManagerSecretIamBinding() cai.ResourceConverter
- func ResourceConverterSecretManagerSecretIamMember() cai.ResourceConverter
- func ResourceConverterSecretManagerSecretIamPolicy() cai.ResourceConverter
- func ResourceConverterSecretManagerSecretVersion() cai.ResourceConverter
- func SecretManagerSecretIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func SecretManagerSecretIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- type SecretManagerSecretIamUpdater
- func (u *SecretManagerSecretIamUpdater) DescribeResource() string
- func (u *SecretManagerSecretIamUpdater) GetMutexKey() string
- func (u *SecretManagerSecretIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *SecretManagerSecretIamUpdater) GetResourceId() string
- func (u *SecretManagerSecretIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const SecretManagerSecretAssetType string = "secretmanager.googleapis.com/Secret"
View Source
const SecretManagerSecretIAMAssetType string = "secretmanager.googleapis.com/Secret"
Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files
View Source
const SecretManagerSecretVersionAssetType string = "secretmanager.googleapis.com/SecretVersion"
Variables ¶
View Source
var SecretManagerSecretIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "secret_id": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
Functions ¶
func FetchSecretManagerSecretIamPolicy ¶
func FetchSecretManagerSecretIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetSecretManagerSecretApiObject ¶
func GetSecretManagerSecretApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecretManagerSecretCaiObject ¶
func GetSecretManagerSecretCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecretManagerSecretIamBindingCaiObject ¶
func GetSecretManagerSecretIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecretManagerSecretIamMemberCaiObject ¶
func GetSecretManagerSecretIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecretManagerSecretIamPolicyCaiObject ¶
func GetSecretManagerSecretIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetSecretManagerSecretVersionApiObject ¶
func GetSecretManagerSecretVersionApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetSecretManagerSecretVersionCaiObject ¶
func GetSecretManagerSecretVersionCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func ResourceConverterSecretManagerSecret ¶
func ResourceConverterSecretManagerSecret() cai.ResourceConverter
func ResourceConverterSecretManagerSecretIamBinding ¶
func ResourceConverterSecretManagerSecretIamBinding() cai.ResourceConverter
func ResourceConverterSecretManagerSecretIamMember ¶
func ResourceConverterSecretManagerSecretIamMember() cai.ResourceConverter
func ResourceConverterSecretManagerSecretIamPolicy ¶
func ResourceConverterSecretManagerSecretIamPolicy() cai.ResourceConverter
func ResourceConverterSecretManagerSecretVersion ¶
func ResourceConverterSecretManagerSecretVersion() cai.ResourceConverter
func SecretManagerSecretIamUpdaterProducer ¶
func SecretManagerSecretIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func SecretManagerSecretIdParseFunc ¶
func SecretManagerSecretIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
Types ¶
type SecretManagerSecretIamUpdater ¶
type SecretManagerSecretIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*SecretManagerSecretIamUpdater) DescribeResource ¶
func (u *SecretManagerSecretIamUpdater) DescribeResource() string
func (*SecretManagerSecretIamUpdater) GetMutexKey ¶
func (u *SecretManagerSecretIamUpdater) GetMutexKey() string
func (*SecretManagerSecretIamUpdater) GetResourceIamPolicy ¶
func (u *SecretManagerSecretIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*SecretManagerSecretIamUpdater) GetResourceId ¶
func (u *SecretManagerSecretIamUpdater) GetResourceId() string
func (*SecretManagerSecretIamUpdater) SetResourceIamPolicy ¶
func (u *SecretManagerSecretIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.