secretmanager

package
v5.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 MergeSecretManagerSecretIamBinding

func MergeSecretManagerSecretIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeSecretManagerSecretIamBindingDelete

func MergeSecretManagerSecretIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeSecretManagerSecretIamMember

func MergeSecretManagerSecretIamMember(existing, incoming cai.Asset) cai.Asset

func MergeSecretManagerSecretIamMemberDelete

func MergeSecretManagerSecretIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeSecretManagerSecretIamPolicy

func MergeSecretManagerSecretIamPolicy(existing, incoming cai.Asset) cai.Asset

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 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

Jump to

Keyboard shortcuts

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