api

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: GPL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownloadHandler added in v1.0.0

func NewDownloadHandler(oplog *oplog.OpLog) http.Handler

Types

type AuthenticationHandler added in v0.11.0

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

func NewAuthenticationHandler added in v0.11.0

func NewAuthenticationHandler(authenticator *auth.Authenticator) *AuthenticationHandler

func (*AuthenticationHandler) HashPassword added in v0.11.0

func (*AuthenticationHandler) Login added in v0.11.0

type BackrestHandler added in v0.11.0

type BackrestHandler struct {
	v1connect.UnimplementedBackrestHandler
	// contains filtered or unexported fields
}

func NewBackrestHandler added in v0.11.0

func NewBackrestHandler(config config.ConfigStore, orchestrator *orchestrator.Orchestrator, oplog *oplog.OpLog, logStore *rotatinglog.RotatingLog) *BackrestHandler

func (*BackrestHandler) AddRepo added in v0.11.0

AddRepo implements POST /v1/config/repo, it includes validation that the repo can be initialized.

func (*BackrestHandler) Backup added in v0.11.0

func (*BackrestHandler) Cancel added in v0.11.0

func (*BackrestHandler) ClearHistory added in v0.11.0

func (BackrestHandler) DoRepoTask added in v1.1.0

func (*BackrestHandler) Forget added in v0.11.0

func (*BackrestHandler) GetConfig added in v0.11.0

GetConfig implements GET /v1/config

func (*BackrestHandler) GetDownloadURL added in v1.0.0

func (*BackrestHandler) GetLogs added in v0.11.0

func (*BackrestHandler) GetOperationEvents added in v0.11.0

GetOperationEvents implements GET /v1/events/operations

func (*BackrestHandler) GetOperations added in v0.11.0

func (*BackrestHandler) IndexSnapshots added in v0.11.0

func (*BackrestHandler) ListSnapshotFiles added in v0.11.0

func (*BackrestHandler) ListSnapshots added in v0.11.0

ListSnapshots implements POST /v1/snapshots

func (*BackrestHandler) PathAutocomplete added in v0.11.0

func (*BackrestHandler) Restore added in v0.11.0

func (*BackrestHandler) RunCommand added in v1.0.0

func (*BackrestHandler) SetConfig added in v0.11.0

SetConfig implements POST /v1/config

Jump to

Keyboard shortcuts

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