scheduleservice

package
v4.5.5-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 PGBackRest struct {
	Deployment  string `json:"deployment,omitempty"`
	Label       string `json:"label,omitempty"`
	Container   string `json:"container,omitempty"`
	Type        string `json:"type,omitempty"`
	StorageType string `json:"storageType,omitempty"`
	Options     string `json:"options,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"`
	Policy     `json:"policy,omitempty"`
}

type Policy

type Policy struct {
	Name        string `json:"name,omitempty"`
	Database    string `json:"database,omitempty"`
	Secret      string `json:"secret,omitempty"`
	ImagePrefix string `json:"imagePrefix,omitempty"`
	ImageTag    string `json:"imageTag,omitempty"`
}

Jump to

Keyboard shortcuts

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