 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func ValidateBackRestSchedule(scheduleType, deployment, label, backupType, storageType string) error
- func ValidateBaseBackupSchedule(scheduleType, pvcName string) error
- func ValidatePolicySchedule(scheduleType, policy, database string) error
- func ValidateSchedule(schedule string) error
- func ValidateScheduleType(schedule string) error
- type BackRestBackupJob
- type BaseBackupJob
- type PGBackRest
- type PGBaseBackup
- type Policy
- type PolicyJob
- type PolicyTemplate
- type ScheduleTemplate
- type Scheduler
- type SecurityContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidatePolicySchedule ¶
func ValidateSchedule ¶
ValidateSchedule validates that the cron syntax is valid We use the standard format here...
func ValidateScheduleType ¶
Types ¶
type BackRestBackupJob ¶
type BackRestBackupJob struct {
	// contains filtered or unexported fields
}
    func (BackRestBackupJob) Run ¶
func (b BackRestBackupJob) Run()
type BaseBackupJob ¶
type BaseBackupJob struct {
	// contains filtered or unexported fields
}
    func (BaseBackupJob) Run ¶
func (b BaseBackupJob) Run()
type PGBackRest ¶
type PGBaseBackup ¶
type PolicyTemplate ¶
type ScheduleTemplate ¶
type ScheduleTemplate struct {
	Version      string    `json:"version"`
	Name         string    `json:"name"`
	Created      time.Time `json:"created"`
	Schedule     string    `json:"schedule"`
	Namespace    string    `json:"namespace"`
	Type         string    `json:"type"`
	Cluster      string    `json:"cluster"`
	PGBackRest   `json:"pgbackrest,omitempty"`
	PGBaseBackup `json:"pgbasebackup,omitempty"`
	Policy       `json:"policy,omitempty"`
}
    func (*ScheduleTemplate) NewBackRestSchedule ¶
func (s *ScheduleTemplate) NewBackRestSchedule() BackRestBackupJob
func (*ScheduleTemplate) NewBaseBackupSchedule ¶
func (s *ScheduleTemplate) NewBaseBackupSchedule() BaseBackupJob
func (*ScheduleTemplate) NewPolicySchedule ¶
func (s *ScheduleTemplate) NewPolicySchedule() PolicyJob
type Scheduler ¶
func New ¶
func New(label, namespace string, nsList []string, client *kubernetes.Clientset) *Scheduler
func (*Scheduler) DeleteSchedule ¶
type SecurityContext ¶
 Click to show internal directories. 
   Click to hide internal directories.