backupschedule

package
v1.4.6-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Root Directive Keys.
	SortByKey            = "sort_by"
	QueryKey             = "query"
	IncludeTotalCountKey = "include_total_count"
	SchedulesKey         = "schedules"
	TotalCountKey        = "total_count"
	ScopeKey             = "scope"
	ClusterScopeKey      = "cluster"
	ClusterGroupScopeKey = "cluster_group"
	ClusterGroupNameKey  = "cluster_group_name"
)
View Source
const (
	ResourceName = "tanzu-mission-control_backup_schedule"

	// Root Keys.
	NameKey                  = "name"
	ClusterNameKey           = "cluster_name"
	SpecKey                  = "spec"
	SelectorKey              = "selector"
	ProvisionerNameKey       = "provisioner_name"
	ManagementClusterNameKey = "management_cluster_name"
	BackupScopeKey           = "backup_scope"

	// Selector Directive Keys.
	NamesKey         = "names"
	ExcludedNamesKey = "excluded_names"

	// Spec Directive Keys.
	PausedKey   = "paused"
	ScheduleKey = "schedule"
	TemplateKey = "template"

	// Schedule Directive Keys.
	RateKey = "rate"

	// Template Directive Keys.
	BackupTTLKey                        = "backup_ttl"
	SystemExcludedNamespacesKey         = "sys_excluded_namespaces"
	ExcludedNamespacesKey               = "excluded_namespaces"
	IncludedNamespacesKey               = "included_namespaces"
	ExcludedResourcesKey                = "excluded_resources"
	IncludedResourcesKey                = "included_resources"
	IncludeClusterResourcesKey          = "include_cluster_resources"
	DefaultVolumesToResticKey           = "default_volumes_to_restic"
	SnapshotVolumesKey                  = "snapshot_volumes"
	CsiSnapshotTimeoutKey               = "csi_snapshot_timeout"
	IncludedClusterScopedResourcesKey   = "included_cluster_scoped_resources"
	ExcludedClusterScopedResourcesKey   = "excluded_cluster_scoped_resources"
	SnapshotMoveDataKey                 = "snapshot_move_data"
	IncludedNamespaceScopedResourcesKey = "included_namespace_scoped_resources"
	ExcludedNamespaceScopedResourcesKey = "excluded_namespace_scoped_resources"
	DefaultVolumesToFsBackupKey         = "default_volumes_to_fs_backup"
	StorageLocationKey                  = "storage_location"
	VolumeSnapshotLocationsKey          = "volume_snapshot_locations"
	OrderedResourcesKey                 = "ordered_resources"
	HooksKey                            = "hooks"
	LabelSelectorKey                    = "label_selector"
	OrLabelSelectorKey                  = "or_label_selector"

	// Hooks Directive Keys.
	ResourceKey = "resource"

	// Resource Directive Keys.
	PreHookKey  = "pre_hook"
	PostHookKey = "post_hook"

	// Pre/Post Hook Directive Keys.
	ExecKey = "exec"

	// Exec Directive Keys.
	CommandKey   = "command"
	ContainerKey = "container"
	OnErrorKey   = "on_error"
	TimeoutKey   = "timeout"

	// (Or)Label Selector Directive Keys.
	MatchLabelsKey     = "match_labels"
	MatchExrpessionKey = "match_expression"

	// Match Expressions Directive Keys.
	MeKey         = "key"
	MeOperatorKey = "operator"
	MeValuesKey   = "values"
)

Variables

Functions

func DataSourceBackupSchedule

func DataSourceBackupSchedule() *schema.Resource

func ResourceBackupSchedule

func ResourceBackupSchedule() *schema.Resource

Types

type BackupScope

type BackupScope string
const (
	FullClusterBackupScope   BackupScope = "FULL_CLUSTER"
	NamespacesBackupScope    BackupScope = "SET_NAMESPACES"
	LabelSelectorBackupScope BackupScope = "LABEL_SELECTOR"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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