api

package
v0.0.0-...-1b4be3e Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIncBackup

func CreateIncBackup(m *backup.Manager) echo.HandlerFunc

CreateIncBackup handles create inc backup requests

func GetBackup

func GetBackup(m *backup.Manager) echo.HandlerFunc

GetBackup renders the backup.html

func GetBackupStatus

func GetBackupStatus(m *backup.Manager) echo.HandlerFunc

GetBackupStatus handles backup status requests

func GetReadiness

func GetReadiness(m *backup.Manager) echo.HandlerFunc

GetReadiness handles readiness pod requests

func GetRestore

func GetRestore(m *backup.Manager) echo.HandlerFunc

GetRestore renders the restore.html

func GetRoot

func GetRoot(m *backup.Manager) echo.HandlerFunc

GetRoot renders the index.html

func HandleOAuth2Callback

func HandleOAuth2Callback(opts config.Options) echo.HandlerFunc

HandleOAuth2Callback handles oauth callbacks

func InitOAuth

func InitOAuth(m *backup.Manager, opts config.Options) (err error)

InitOAuth inits oauth config

func Oauth

func Oauth(cfg config.OAuth, opts config.Options) echo.MiddlewareFunc

Oauth middleware is used to start an OAuth2 flow with the dex server.

func PostRestore

func PostRestore(m *backup.Manager) echo.HandlerFunc

PostRestore handles backup restore requests

func PostRestoreDownload

func PostRestoreDownload(m *backup.Manager) echo.HandlerFunc

PostRestoreDownload handles restore download requests

func Restore

func Restore(m *backup.Manager) echo.MiddlewareFunc

Restore middleware is used to check if a database restore is in progress

func StartStopBackup

func StartStopBackup(m *backup.Manager) echo.HandlerFunc

StartStopBackup handles stop backup requests

Types

type TemplateRenderer

type TemplateRenderer struct {
	// contains filtered or unexported fields
}

TemplateRenderer is

Jump to

Keyboard shortcuts

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