Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BackupJobTemplate *template.Template
Functions ¶
This section is empty.
Types ¶
type BackBaseBackupJob ¶
type BackBaseBackupJob struct { Name string PvcName string CCPImagePrefix string CCPImageTag string BackupHost string BackupUser string BackupPass string BackupPort string SecurityContext SecurityContext Secret string Namespace string // contains filtered or unexported fields }
func (BackBaseBackupJob) Run ¶
func (b BackBaseBackupJob) Run()
type BackRestBackupJob ¶
type BackRestBackupJob struct {
// contains filtered or unexported fields
}
func (BackRestBackupJob) Run ¶
func (b BackRestBackupJob) Run()
type Cron ¶
func (*Cron) DeleteJobs ¶
type PGBackRest ¶
type PGBaseBackup ¶
type PGBaseBackup struct { BackupHost string `json:"backupHost"` BackupPass string `json:"backupPass"` BackupPort string `json:"backupPort"` BackupUser string `json:"backupUser"` BackupVolume string `json:"backupVolume"` ImagePrefix string `json:"imagePrefix"` ImageTag string `json:"imageTag"` Secret string `json:"secret"` SecurityContext `json:"securityContext"` }
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"` PGBackRest `json:"pgbackrest,omitempty"` PGBaseBackup `json:"pgbasebackup,omitempty"` }
func (*ScheduleTemplate) NewBackBaseBackupSchedule ¶
func (s *ScheduleTemplate) NewBackBaseBackupSchedule(client *kubeapi.KubeAPI) BackBaseBackupJob
func (*ScheduleTemplate) NewBackRestSchedule ¶
func (s *ScheduleTemplate) NewBackRestSchedule(stanza string, client *kubeapi.KubeAPI) BackRestBackupJob
type SecurityContext ¶
Click to show internal directories.
Click to hide internal directories.