factory

package
v0.0.0-...-3f71fce Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: BSD-2-Clause Imports: 11 Imported by: ? 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 CreateBackupAction

func CreateBackupAction(
	sentryClient libsentry.Client,
	backupExectuor pkg.BackupExectuor,
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
) run.Runnable

func CreateBackupActionHandler

func CreateBackupActionHandler(
	ctx context.Context,
	sentryClient libsentry.Client,
	backupExectuor pkg.BackupExectuor,
	backupClientset pkg.BackupClientset,
	apiextensionClientset libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
) http.Handler

func CreateBackupCleaner

func CreateBackupCleaner(
	currentTimeGetter libtime.CurrentTimeGetter,
	backupRootDirectory pkg.Path,
	backupKeepAmount int,
	backupCleanEnabled bool,
) pkg.BackupCleaner

func CreateBackupCron

func CreateBackupCron(
	sentryClient libsentry.Client,
	backupExectuor pkg.BackupExectuor,
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	cronExpression libcron.Expression,
) run.Func

func CreateBackupExectuor

func CreateBackupExectuor(
	currentTimeGetter libtime.CurrentTimeGetter,
	backupRootDirectory pkg.Path,
	sshPrivateKey pkg.SSHPrivateKey,
) pkg.BackupExectuor

func CreateBackupHandler

func CreateBackupHandler(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	backupExectuor pkg.BackupExectuor,
) http.Handler

func CreateCleanAction

func CreateCleanAction(
	sentryClient libsentry.Client,
	backupCleaner pkg.BackupCleaner,
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
) run.Runnable

func CreateCleanActionHandler

func CreateCleanActionHandler(
	ctx context.Context,
	sentryClient libsentry.Client,
	backupCleaner pkg.BackupCleaner,
	backupClientset pkg.BackupClientset,
	apiextensionClientset libk8s.ApiextensionsInterface,
	namespace libk8s.Namespace,
) http.Handler

func CreateCleanupCron

func CreateCleanupCron(
	sentryClient libsentry.Client,
	backupCleaner pkg.BackupCleaner,
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	cronExpression libcron.Expression,
) run.Func

func CreateCleanupHandler

func CreateCleanupHandler(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	backupCleaner pkg.BackupCleaner,
) http.Handler

func CreateListHandler

func CreateListHandler(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace) http.Handler

func CreateSetupResourceDefinition

func CreateSetupResourceDefinition(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	trigger run.Fire,
) func(ctx context.Context) error

func CreateStatusHandler

func CreateStatusHandler(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
	backupRootDir pkg.Path,
) http.Handler

func CreateTargetFinder

func CreateTargetFinder(
	backupClientset pkg.BackupClientset,
	apiextensionsInterface libk8s.ApiextensionsInterface,
	namespace k8s.Namespace,
) pkg.TargetFinder

Types

This section is empty.

Jump to

Keyboard shortcuts

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