# Functions
IsNil returns true if the given value is nil using reflect.
MapToNamespacedName translates the given object meta into NamespacedName object.
No description provided by the author
# Constants
AnnotationK8upHostname is an annotation one can set on RWO PVCs to try to back up them on the specified node.
The job types that k8up deals with.
The job types that k8up deals with.
The job types that k8up deals with.
ConditionCompleted is given when the resource has completed its main function.
ConditionPreBackupPodReady is True if Deployments for all Container definitions were created and are ready.
ConditionProgressing is given when the resource is in the process of doing its main function.
ConditionReady is given when all preconditions are met.
ConditionScrubbed is given when the resource has done its housework to clean up similar but outdated resources.
LabelK8upOwnedBy is a label used to indicated which resource owns this resource to make it easy to fetch owned resources.
LabelK8upType is the label key that identifies the job type.
LabelManagedBy identifies the tool being used to manage the operation of a resource.
LabelRepositoryHash is the label key that identifies the Restic repository.
Deprecated: LegacyLabelK8upType is the former label key that identified the job type.
Deprecated: Migrate to ScheduleFinalizerName.
The job types that k8up deals with.
ReasonCreationFailed indicates that a dependent resource could not be created.
ReasonDeletionFailed indicates that a dependent resource could not be deleted.
ReasonFailed indicates there was a general failure not further categorized.
ReasonFinished indicates the resource has finished the work without specifying its success.
ReasonNoPreBackupPodsFound is given when no PreBackupPods are found in the same namespace.
ReasonReady indicates the condition is ready for work.
ReasonRetrievalFailed indicates that dependent resource(s) could not be retrieved for further processing.
ReasonStarted indicates the resource has started progressing.
ReasonSucceeded indicates the condition is succeeded.
ReasonUpdateFailed indicates that a dependent resource could not be created.
ReasonWaiting is given when PreBackupPods are waiting to be started.
The job types that k8up deals with.
ScheduleFinalizerName is a Finalizer added to resources that need cleanup cron schedules before deleting them.
The job types that k8up deals with.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
No description provided by the author
No description provided by the author
No description provided by the author
GroupVersion is group version used to register these objects.
No description provided by the author
No description provided by the author
SchemeBuilder is used to add go types to the GroupVersionKind scheme.
# Structs
Archive is the Schema for the archives API.
ArchiveList contains a list of Archive.
ArchiveSchedule manages schedules for the archival service.
ArchiveSpec defines the desired state of Archive.
No description provided by the author
No description provided by the author
No description provided by the author
Backup is the Schema for the backups API.
BackupList contains a list of Backup.
BackupSchedule manages schedules for the backup service.
BackupSpec defines a single backup.
No description provided by the author
Check is the Schema for the checks API.
CheckList contains a list of Check.
CheckSchedule manages the schedules for the checks.
CheckSpec defines the desired state of Check.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pod is a dummy struct to fix some code generation issues.
PodConfig is the Schema for the PodConcig API Any annotations and labels set on this object will also be set on the final pod.
SnapshotList contains a list of Snapshot.
PodConfigSpec contains the podTemplate definition.
PodConfigStatus defines the observed state of Snapshot.
PreBackupPod is the Schema for the prebackuppods API.
PreBackupPodList contains a list of PreBackupPod.
PreBackupPodSpec define pods that will be launched during the backup.
Prune is the Schema for the prunes API.
PruneList contains a list of Prune.
PruneSchedule manages the schedules for the prunes.
PruneSpec needs to contain the repository information as well as the desired retention policies.
Restore is the Schema for the restores API.
RestoreList contains a list of Restore.
RestoreMethod contains how and where the restore should happen all the settings are mutual exclusive.
RestoreSchedule manages schedules for the restore service.
RestoreSpec can either contain an S3 restore point or a local one.
No description provided by the author
No description provided by the author
RunnableSpec defines the fields that are necessary on the specs of all actions that are translated to k8s jobs eventually.
No description provided by the author
No description provided by the author
Schedule is the Schema for the schedules API.
ScheduleCommon contains fields every schedule needs.
ScheduleList contains a list of Schedule.
ScheduleSpec defines the schedules for the various job types.
ScheduleStatus defines the observed state of Schedule.
Snapshot is the Schema for the snapshots API.
SnapshotList contains a list of Snapshot.
SnapshotSpec contains all information needed about a restic snapshot so it can be restored.
SnapshotStatus defines the observed state of Snapshot.
Status defines the observed state of a generic K8up job.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
JobObject is an interface that must be implemented by all CRDs that implement a job.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
JobObjectList is a sortable list of job objects.
No description provided by the author
ScheduleDefinition is the actual cron-type expression that defines the interval of the actions.