Documentation ¶
Index ¶
- func CreateSchedule(request *msgs.CreateScheduleRequest, ns string) msgs.CreateScheduleResponse
- func CreateScheduleHandler(w http.ResponseWriter, r *http.Request)
- func DeleteSchedule(request *msgs.DeleteScheduleRequest, ns string) msgs.DeleteScheduleResponse
- func DeleteScheduleHandler(w http.ResponseWriter, r *http.Request)
- func ShowSchedule(request *msgs.ShowScheduleRequest, ns string) msgs.ShowScheduleResponse
- func ShowScheduleHandler(w http.ResponseWriter, r *http.Request)
- type Options
- type PGBackRest
- type PGBaseBackup
- type PgScheduleSpec
- type Policy
- type SecurityContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSchedule ¶
func CreateSchedule(request *msgs.CreateScheduleRequest, ns string) msgs.CreateScheduleResponse
CreateSchedule
func CreateScheduleHandler ¶
func CreateScheduleHandler(w http.ResponseWriter, r *http.Request)
CreateScheduleHandler ...
func DeleteSchedule ¶
func DeleteSchedule(request *msgs.DeleteScheduleRequest, ns string) msgs.DeleteScheduleResponse
DeleteSchedule ...
func DeleteScheduleHandler ¶
func DeleteScheduleHandler(w http.ResponseWriter, r *http.Request)
func ShowSchedule ¶
func ShowSchedule(request *msgs.ShowScheduleRequest, ns string) msgs.ShowScheduleResponse
ShowSchedule ...
func ShowScheduleHandler ¶
func ShowScheduleHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type PGBackRest ¶
type PGBaseBackup ¶
type PGBaseBackup struct { BackupHost string `json:"backupHost,omitempty"` BackupPass string `json:"backupPass,omitempty"` BackupPort string `json:"backupPort,omitempty"` BackupUser string `json:"backupUser,omitempty"` BackupVolume string `json:"backupVolume,omitempty"` ImagePrefix string `json:"imagePrefix,omitempty"` ImageTag string `json:"imageTag,omitempty"` Secret string `json:"secret,omitempty"` SecurityContext `json:"securityContext,omitempty"` }
type PgScheduleSpec ¶
type PgScheduleSpec struct { Version string `json:"version"` Name string `json:"name"` Cluster string `json:"cluster"` Created string `json:"created"` Schedule string `json:"schedule"` Namespace string `json:"namespace"` Type string `json:"type"` PGBackRest `json:"pgbackrest,omitempty"` PGBaseBackup `json:"pgbasebackup,omitempty"` Policy `json:"policy,omitempty"` }
type SecurityContext ¶
Click to show internal directories.
Click to hide internal directories.