v1alpha1

package
v0.0.0-...-aea6f21 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group backup resources of the nine provider. +kubebuilder:object:generate=true +groupName=backup.nine.ch +versionName=v1alpha1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VeleroSchedule

type VeleroSchedule struct {
	// Name of the backup schedule
	Name string `json:"name"`
	// CronExpression is a POSIX cron expression defining when to run the
	// backup. For example every night at 3 am UTC: "0 3 * * *". Note that it
	// does not allow to configure a backup to run every minute, meaning the
	// first term of the expression (minute) has to be a number.
	// +kubebuilder:validation:Pattern:=`^(\d+)(\d+)?(\s+(\d+|\*)(\d+)?){4}$`
	CronExpression string `json:"cronExpression"`
	// Spec defines what to back up and how long to retain it
	Spec velerov1.BackupSpec `json:"spec"`
}

VeleroSchedule defines a Velero backup schedule. +kubebuilder:object:generate=true

func (*VeleroSchedule) DeepCopy

func (in *VeleroSchedule) DeepCopy() *VeleroSchedule

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VeleroSchedule.

func (*VeleroSchedule) DeepCopyInto

func (in *VeleroSchedule) DeepCopyInto(out *VeleroSchedule)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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