scheduleservice

package
v4.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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 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"`
}

type SecurityContext

type SecurityContext struct {
	FSGroup            string `json:"fsgroup,omitempty"`
	SupplementalGroups string `json:"supplementalGroups,omitempty"`
}

Jump to

Keyboard shortcuts

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