backupschedulemodels

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sIoApimachineryPkgApisMetaV1LabelSelector

type K8sIoApimachineryPkgApisMetaV1LabelSelector struct {

	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional.
	MatchExpressions []*policymodels.K8sIoApimachineryPkgApisMetaV1LabelSelectorRequirement `json:"matchExpressions"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels.
	// map is equivalent to an element of matchExpressions, whose key field is "key", the.
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional.
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

K8sIoApimachineryPkgApisMetaV1LabelSelector A label selector is a label query over a set of resources. The result of matchLabels and. matchExpressions are ANDed. An empty label selector matches all objects. A null, label selector matches no objects.

swagger:model k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector.

func (*K8sIoApimachineryPkgApisMetaV1LabelSelector) MarshalBinary

func (m *K8sIoApimachineryPkgApisMetaV1LabelSelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*K8sIoApimachineryPkgApisMetaV1LabelSelector) UnmarshalBinary

func (m *K8sIoApimachineryPkgApisMetaV1LabelSelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type ListBackupSchedulesRequest

type ListBackupSchedulesRequest struct {
	// Scope can be provider or cluster.
	SearchScope *ListBackupSchedulesSearchScope `json:"searchScope"`

	// Sort results by.
	SortBy string `json:"sortBy,omitempty"`

	// Query to run against the API.
	Query string `json:"query,omitempty"`

	// Include Total.
	IncludeTotalCount bool `json:"includeTotal"`
}

func (*ListBackupSchedulesRequest) MarshalBinary

func (m *ListBackupSchedulesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*ListBackupSchedulesRequest) UnmarshalBinary

func (m *ListBackupSchedulesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type ListBackupSchedulesSearchScope

type ListBackupSchedulesSearchScope struct {
	ClusterName string `json:"clusterName,omitempty"`

	ManagementClusterName string `json:"managementClusterName,omitempty"`

	ProvisionerName string `json:"provisionerName,omitempty"`

	Name string `json:"name,omitempty"`
}

func (*ListBackupSchedulesSearchScope) MarshalBinary

func (m *ListBackupSchedulesSearchScope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation.

func (*ListBackupSchedulesSearchScope) UnmarshalBinary

func (m *ListBackupSchedulesSearchScope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks struct {

	// Resources are hooks that should be executed when backing up individual instances of a resource.
	Resources []*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec `json:"resources"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks BackupHooks contains custom actions that should be executed at different phases of the backup.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.BackupHooks.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks) UnmarshalBinary

UnmarshalBinary interface implementation..

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook struct {

	// Exec defines an exec hook.
	Exec *VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook `json:"exec,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook BackupResourceHook defines a hook for a resource.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.BackupResourceHook.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec struct {

	// ExcludedNamespaces specifies the namespaces to which this hook spec does not apply.
	ExcludedNamespaces []string `json:"excludedNamespaces"`

	// IncludedNamespaces specifies the namespaces to which this hook spec applies. If empty, it applies
	// to all namespaces.
	IncludedNamespaces []string `json:"includedNamespaces"`

	// LabelSelector, if specified, filters the resources to which this hook spec applies.
	LabelSelector *K8sIoApimachineryPkgApisMetaV1LabelSelector `json:"labelSelector,omitempty"`

	// Name is the name of this hook.
	Name string `json:"name,omitempty"`

	// PostHooks is a list of BackupResourceHooks to execute after storing the item in the backup.
	// These are executed after all "additional items" from item actions are processed.
	PostHooks []*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook `json:"postHooks"`

	// PreHooks is a list of BackupResourceHooks to execute prior to storing the item in the backup.
	// These are executed before any "additional items" from item actions are processed.
	PreHooks []*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHook `json:"preHooks"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec BackupResourceHookSpec defines one or more BackupResourceHooks that should be executed based on the rules defined for namespaces and labels.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.BackupResourceHookSpec.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupResourceHookSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook struct {

	// Command is the command and arguments to execute.
	Command []string `json:"command"`

	// Container is the container in the pod where the command should be executed. If not specified,
	// the pod's first container is used.
	Container string `json:"container,omitempty"`

	// OnError specifies how Velero should behave if it encounters an error executing this hook.
	OnError *VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode `json:"onError,omitempty"`

	// Timeout defines the maximum amount of time Velero should wait for the hook to complete before
	// considering the execution a failure.
	Timeout string `json:"timeout,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook ExecHook is a hook that uses the pod exec API to execute a command in a container in a pod.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.ExecHook.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupExecHook) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode string

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode Specifies how Velero should behave if it encounters an error executing this hook.

  • MODE_UNSPECIFIED: The default mode.
  • CONTINUE: Means that an error from a hook is acceptable, and the operation can proceed.
  • FAIL: Means that an error from a hook is problematic, and the operation should be in error.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.HookErrorMode.

const (

	// VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeMODEUNSPECIFIED captures enum value "MODE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeMODEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode = "MODE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeCONTINUE captures enum value "CONTINUE".
	VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeCONTINUE VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode = "CONTINUE"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeFAIL captures enum value "FAIL".
	VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorModeFAIL VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode = "FAIL"
)

func (VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ClusterDataprotectionBackupHookErrorMode.

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec

type VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec struct {

	// Specifies the time used to wait for CSI VolumeSnapshot status turns to ReadyToUse
	// during creation, before returning error as timeout. The default value is 10 minute.
	CsiSnapshotTimeout string `json:"csiSnapshotTimeout,omitempty"`

	// Specifies whether all pod volumes should be backed up via file system backup by default.
	DefaultVolumesToFsBackup bool `json:"defaultVolumesToFsBackup"`

	// Specifies whether restic should be used to take a backup of all pod volumes by default.
	// Deprecated - use default_volumes_to_fs_backup instead.
	DefaultVolumesToRestic bool `json:"defaultVolumesToRestic"`

	// The namespaces to be excluded in the backup.
	ExcludedNamespaces []string `json:"excludedNamespaces"`

	// The name list for the resources to be excluded in backup.
	ExcludedResources []string `json:"excludedResources"`

	// Hooks represent custom actions that should be executed at different phases of the backup.
	Hooks *VmwareTanzuManageV1alpha1ClusterDataprotectionBackupBackupHooks `json:"hooks,omitempty"`

	// A flag which specifies whether cluster-scoped resources should be included for consideration in the backup.
	// If set to true, all cluster-scoped resources will be backed up. If set to false, all cluster-scoped resources.
	// will be excluded from the backup. If unset, all cluster-scoped resources are included if and only if all.
	// namespaces are included and there are no excluded namespaces.
	// Otherwise, only cluster-scoped resources associated with namespace-scoped resources.
	// included in the backup spec are backed up. For example, if a PersistentVolumeClaim is included in the backup,
	// its associated PersistentVolume (which is cluster-scoped) would also be backed up.
	IncludeClusterResources bool `json:"includeClusterResources,omitempty"`

	// A slice of cluster-scoped resource type names to include in the backup.
	// If set to "*", all cluster-scoped resource types are included.
	// The default value is empty, which means only related cluster-scoped resources are included.
	IncludedClusterScopedResources []string `json:"includedClusterScopedResources"`

	// A slice of namespace-scoped resource type names to include in the backup.
	// The default value is "*".
	IncludedNamespaceScopedResources []string `json:"includedNamespaceScopedResources"`

	// A slice of cluster-scoped resource type names to exclude from the backup.
	// If set to "*", all cluster-scoped resource types are excluded.
	ExcludedClusterScopedResources []string `json:"excludedClusterScopedResources"`

	// A slice of namespace-scoped resource type names to exclude from the backup.
	// If set to "*", all namespace-scoped resource types are excluded.
	ExcludedNamespaceScopedResources []string `json:"excludedNamespaceScopedResources"`

	// Specifies whether snapshot data should be moved to the target location.
	SnapshotMoveData bool `json:"snapshotMoveData,omitempty"`

	// The namespace to be included for backup from. If empty, all namespaces are included.
	IncludedNamespaces []string `json:"includedNamespaces"`

	// The name list for the resources to be included into backup. If empty, all resources are included.
	IncludedResources []string `json:"includedResources"`

	// The label selector to selectively adding individual objects to the backup. If empty.
	// or nil, all objects are included. Optional.
	LabelSelector *K8sIoApimachineryPkgApisMetaV1LabelSelector `json:"labelSelector,omitempty"`

	// A list of metav1.LabelSelector to filter with when adding individual objects to the backup.
	// If multiple provided they will be joined by the OR operator. LabelSelector as well as
	// OrLabelSelectors cannot co-exist in backup request, only one of them can be used.
	OrLabelSelectors []*K8sIoApimachineryPkgApisMetaV1LabelSelector `json:"orLabelSelectors"`

	// Specifies the backup order of resources of specific Kind. The map key is the Kind name and.
	// value is a list of resource names separated by commas. Each resource name has format "namespace/resourcename".
	// For cluster resources, simply use "resourcename".
	OrderedResources map[string]string `json:"orderedResources,omitempty"`

	// A flag which specifies whether to take cloud snapshots of any PV's referenced in the set of objects.
	// included in the Backup. If set to true, snapshots will be taken. If set to false, snapshots will be skipped.
	// If left unset, snapshots will be attempted if volume snapshots are configured for the cluster.
	SnapshotVolumes bool `json:"snapshotVolumes"`

	// The name of a BackupStorageLocation where the backup should be stored.
	StorageLocation string `json:"storageLocation,omitempty"`

	// The backup retention period.
	TTL string `json:"ttl,omitempty"`

	// A list containing names of VolumeSnapshotLocations associated with this backup.
	VolumeSnapshotLocations []string `json:"volumeSnapshotLocations"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec The backup spec.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.backup.Spec.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleDeleteScheduleResponse

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleDeleteScheduleResponse struct {

	// Message regarding deletion.
	Message string `json:"message,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleDeleteScheduleResponse Response from deleting a Schedule.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.DeleteScheduleResponse.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleDeleteScheduleResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleDeleteScheduleResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName struct {

	// Name of Cluster.
	ClusterName string `json:"clusterName,omitempty"`

	// Name of management cluster.
	ManagementClusterName string `json:"managementClusterName,omitempty"`

	// Name of this Schedule.
	Name string `json:"name,omitempty"`

	// ID of Organization.
	OrgID string `json:"orgId,omitempty"`

	// Name of Provisioner.
	ProvisionerName string `json:"provisionerName,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName Full name of the namespace. This includes the object name along with any parents or further identifiers.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.FullName.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleListSchedulesResponse

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleListSchedulesResponse struct {

	// List of schedules.
	Schedules []*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule `json:"schedules"`

	// Total count.
	TotalCount string `json:"totalCount,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleListSchedulesResponse Response from listing Schedules.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.ListSchedulesResponse.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleListSchedulesResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleListSchedulesResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleRequest

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleRequest struct {

	// Schedule updated.
	Schedule *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule `json:"schedule,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleRequest VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleUpdateScheduleResponse Response from updating a Schedule.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.UpdateScheduleResponse.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleRequest) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleRequest) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleResponse

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleResponse struct {

	// Schedule updated.
	Schedule *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule `json:"schedule,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleResponse VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleUpdateScheduleResponse Response from updating a Schedule.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.UpdateScheduleResponse.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleResponse) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleResponse) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule struct {

	// Full name for the Schedule.
	FullName *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleFullName `json:"fullName,omitempty"`

	// Metadata for the schedule object.
	Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"`

	// Spec for the schedule.
	Spec *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec `json:"spec,omitempty"`

	// Status of the schedule.
	Status *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus `json:"status,omitempty"`

	// Metadata describing the type of the resource.
	Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule A pre-scheduled or periodic Backup that should be run.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.Schedule.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSchedule) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec struct {

	// Paused specifies whether the schedule is paused or not.
	Paused bool `json:"paused"`

	// Rate at which the backup is to be run.
	Schedule *VmwareTanzuManageV1alpha1CommonScheduleSchedule `json:"schedule,omitempty"`

	// The definition of the Backup to be run on the provided schedule.
	Template *VmwareTanzuManageV1alpha1ClusterDataprotectionBackupSpec `json:"template,omitempty"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec The schedule spec.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.Spec.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleSpec) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus struct {

	// A list of available phases for schedule object.
	AvailablePhases []*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase `json:"availablePhases"`

	// The conditions attached to this backup object.
	// The description of the conditions is as follows:
	// - "Scheduled" with status 'Unknown' indicates the schedule request has not been applied to the cluster yet.
	// - "Scheduled" with status 'False' indicates the request could not be forwarded to the cluster (e.g. intent generation failure).
	// - "Scheduled" with status 'True' and "Ready" with status 'Unknown' indicates the schedule create / delete intent has been applied / deleted but not yet acted upon.
	// - "Ready" with status 'True' indicates the the creation of schedule is complete.
	// - "Ready" with status 'False' indicates the the creation of schedule is in error state.
	Conditions map[string]statusmodel.VmwareTanzuCoreV1alpha1StatusCondition `json:"conditions,omitempty"`

	// The last time a Backup was run for this schedule.
	// Format: date-time
	LastBackup strfmt.DateTime `json:"lastBackup,omitempty"`

	// The resource generation the current status applies to.
	ObservedGeneration string `json:"observedGeneration,omitempty"`

	// The current phase of the Schedule.
	Phase *VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase `json:"phase,omitempty"`

	// Additional info about the phase.
	PhaseInfo string `json:"phaseInfo,omitempty"`

	// The list of all validation errors (if applicable).
	ValidationErrors []string `json:"validationErrors"`
}

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus Status of the schedule resource.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.Status.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatus) UnmarshalBinary

UnmarshalBinary interface implementation.

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase

type VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase string

VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase The lifecycle phase of a schedule backup.

  • PHASE_UNSPECIFIED: Phase_unspecified is the default phase.
  • PENDING: Pending phase is set when the schedule object is being processed by the service (TMC).
  • CREATING: Creating phase is set when schedule is being created on the cluster.
  • NEW: The schedule has been created but not yet processed by velero.
  • ENABLED: The schedule has been validated and will now be triggering backups according to the schedule spec.
  • FAILEDVALIDATION: The schedule has failed the velero controller's validations and therefore will not trigger backups.
  • PENDING_DELETE: Pending delete is set when the object deletion is being processed by the service.
  • DELETING: The phase when schedule is being deleted.
  • UPDATING: The phase when schedule is being updated.
  • PAUSED: The phase when schedule is being paused.

swagger:model vmware.tanzu.manage.v1alpha1.cluster.dataprotection.schedule.Status.Phase.

const (

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePHASEUNSPECIFIED captures enum value "PHASE_UNSPECIFIED".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePHASEUNSPECIFIED VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "PHASE_UNSPECIFIED"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePENDING captures enum value "PENDING".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePENDING VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "PENDING"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseCREATING captures enum value "CREATING".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseCREATING VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "CREATING"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseNEW captures enum value "NEW".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseNEW VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "NEW"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseENABLED captures enum value "ENABLED".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseENABLED VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "ENABLED"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseFAILEDVALIDATION captures enum value "FAILEDVALIDATION".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseFAILEDVALIDATION VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "FAILEDVALIDATION"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePENDINGDELETE captures enum value "PENDING_DELETE".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePENDINGDELETE VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "PENDING_DELETE"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseDELETING captures enum value "DELETING".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseDELETING VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "DELETING"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseUPDATING captures enum value "UPDATING".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhaseUPDATING VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "UPDATING"

	// VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePAUSED captures enum value "PAUSED".
	VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhasePAUSED VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase = "PAUSED"
)

func (VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase) Pointer

Pointer returns a pointer to a freshly-allocated VmwareTanzuManageV1alpha1ClusterDataprotectionScheduleStatusPhase.

type VmwareTanzuManageV1alpha1CommonScheduleSchedule

type VmwareTanzuManageV1alpha1CommonScheduleSchedule struct {

	// A Cron expression defining when to run a task.
	Rate string `json:"rate,omitempty"`
}

VmwareTanzuManageV1alpha1CommonScheduleSchedule Holds the schedule options for scheduling a task.

swagger:model vmware.tanzu.manage.v1alpha1.common.schedule.Schedule.

func (*VmwareTanzuManageV1alpha1CommonScheduleSchedule) MarshalBinary

MarshalBinary interface implementation.

func (*VmwareTanzuManageV1alpha1CommonScheduleSchedule) UnmarshalBinary

UnmarshalBinary interface implementation.

Jump to

Keyboard shortcuts

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