handler

package
v0.0.0-...-9495c3d Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ErrorCodeBackupAlreadyRunning = "BACKUP_ALREADY_RUNNING"

ErrorCodeBackupAlreadyRunning is the stable, machine-readable error code returned when a backup trigger is refused because a backup for the same host is already in flight.

View Source
const ErrorCodeCleanupAlreadyRunning = "CLEANUP_ALREADY_RUNNING"

ErrorCodeCleanupAlreadyRunning is the stable, machine-readable error code returned when a cleanup trigger is refused because a cleanup for the same host is already in flight.

Variables

This section is empty.

Functions

func NewBackupHandler

func NewBackupHandler(
	targetFinder pkg.TargetFinder,
	backupExectuor pkg.BackupExectuor,
) libhttp.WithError

func NewCleanupHandler

func NewCleanupHandler(
	targetFinder pkg.TargetFinder,
	cleanupExectuor pkg.BackupCleaner,
) libhttp.WithError

func NewListHandler

func NewListHandler(k8sConnector pkg.K8sConnector) libhttp.WithError

func NewStatusHandler

func NewStatusHandler(
	k8sConnector pkg.K8sConnector,
	backupFinder pkg.BackupFinder,
) libhttp.WithError

Types

This section is empty.

Jump to

Keyboard shortcuts

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