gkebackup

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const GKEBackupBackupPlanAssetType string = "gkebackup.googleapis.com/BackupPlan"
View Source
const GKEBackupBackupPlanIAMAssetType string = "gkebackup.googleapis.com/BackupPlan"

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 GKEBackupRestorePlanAssetType string = "gkebackup.googleapis.com/RestorePlan"
View Source
const GKEBackupRestorePlanIAMAssetType string = "gkebackup.googleapis.com/RestorePlan"

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 GKEBackupBackupPlanIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}
View Source
var GKEBackupRestorePlanIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func FetchGKEBackupBackupPlanIamPolicy

func FetchGKEBackupBackupPlanIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func FetchGKEBackupRestorePlanIamPolicy

func FetchGKEBackupRestorePlanIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GKEBackupBackupPlanIdParseFunc

func GKEBackupBackupPlanIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func GKEBackupRestorePlanIdParseFunc

func GKEBackupRestorePlanIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func GetGKEBackupBackupPlanApiObject

func GetGKEBackupBackupPlanApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetGKEBackupBackupPlanCaiObject

func GetGKEBackupBackupPlanCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupBackupPlanIamBindingCaiObject

func GetGKEBackupBackupPlanIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupBackupPlanIamMemberCaiObject

func GetGKEBackupBackupPlanIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupBackupPlanIamPolicyCaiObject

func GetGKEBackupBackupPlanIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupRestorePlanApiObject

func GetGKEBackupRestorePlanApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetGKEBackupRestorePlanCaiObject

func GetGKEBackupRestorePlanCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupRestorePlanIamBindingCaiObject

func GetGKEBackupRestorePlanIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupRestorePlanIamMemberCaiObject

func GetGKEBackupRestorePlanIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetGKEBackupRestorePlanIamPolicyCaiObject

func GetGKEBackupRestorePlanIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeGKEBackupBackupPlanIamBinding

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

func MergeGKEBackupBackupPlanIamBindingDelete

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

func MergeGKEBackupBackupPlanIamMember

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

func MergeGKEBackupBackupPlanIamMemberDelete

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

func MergeGKEBackupBackupPlanIamPolicy

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

func MergeGKEBackupRestorePlanIamBinding

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

func MergeGKEBackupRestorePlanIamBindingDelete

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

func MergeGKEBackupRestorePlanIamMember

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

func MergeGKEBackupRestorePlanIamMemberDelete

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

func MergeGKEBackupRestorePlanIamPolicy

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

func ResourceConverterGKEBackupBackupPlan

func ResourceConverterGKEBackupBackupPlan() cai.ResourceConverter

func ResourceConverterGKEBackupBackupPlanIamBinding

func ResourceConverterGKEBackupBackupPlanIamBinding() cai.ResourceConverter

func ResourceConverterGKEBackupBackupPlanIamMember

func ResourceConverterGKEBackupBackupPlanIamMember() cai.ResourceConverter

func ResourceConverterGKEBackupBackupPlanIamPolicy

func ResourceConverterGKEBackupBackupPlanIamPolicy() cai.ResourceConverter

func ResourceConverterGKEBackupRestorePlan

func ResourceConverterGKEBackupRestorePlan() cai.ResourceConverter

func ResourceConverterGKEBackupRestorePlanIamBinding

func ResourceConverterGKEBackupRestorePlanIamBinding() cai.ResourceConverter

func ResourceConverterGKEBackupRestorePlanIamMember

func ResourceConverterGKEBackupRestorePlanIamMember() cai.ResourceConverter

func ResourceConverterGKEBackupRestorePlanIamPolicy

func ResourceConverterGKEBackupRestorePlanIamPolicy() cai.ResourceConverter

Types

type GKEBackupBackupPlanIamUpdater

type GKEBackupBackupPlanIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*GKEBackupBackupPlanIamUpdater) DescribeResource

func (u *GKEBackupBackupPlanIamUpdater) DescribeResource() string

func (*GKEBackupBackupPlanIamUpdater) GetMutexKey

func (u *GKEBackupBackupPlanIamUpdater) GetMutexKey() string

func (*GKEBackupBackupPlanIamUpdater) GetResourceIamPolicy

func (u *GKEBackupBackupPlanIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*GKEBackupBackupPlanIamUpdater) GetResourceId

func (u *GKEBackupBackupPlanIamUpdater) GetResourceId() string

func (*GKEBackupBackupPlanIamUpdater) SetResourceIamPolicy

func (u *GKEBackupBackupPlanIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type GKEBackupRestorePlanIamUpdater

type GKEBackupRestorePlanIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*GKEBackupRestorePlanIamUpdater) DescribeResource

func (u *GKEBackupRestorePlanIamUpdater) DescribeResource() string

func (*GKEBackupRestorePlanIamUpdater) GetMutexKey

func (u *GKEBackupRestorePlanIamUpdater) GetMutexKey() string

func (*GKEBackupRestorePlanIamUpdater) GetResourceIamPolicy

func (u *GKEBackupRestorePlanIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*GKEBackupRestorePlanIamUpdater) GetResourceId

func (u *GKEBackupRestorePlanIamUpdater) GetResourceId() string

func (*GKEBackupRestorePlanIamUpdater) SetResourceIamPolicy

func (u *GKEBackupRestorePlanIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

Jump to

Keyboard shortcuts

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