factory

package
v1.9.76 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationLoggerStderr = readwriter.NewPausableWriter(os.Stderr)
View Source
var ApplicationLoggerStdout = readwriter.NewPausableWriter(os.Stdout)

Functions

func BuildBoshClient added in v1.2.8

func BuildBoshClient(targetUrl, username, password, caCertPathOrValue, bbrVersion string, logger boshlog.Logger) (bosh.Client, error)

func BuildBoshLogger

func BuildBoshLogger(debug bool) boshlog.Logger

func BuildBoshLoggerWithCustomBuffer added in v1.3.0

func BuildBoshLoggerWithCustomBuffer(debug bool) (boshlog.Logger, *bytes.Buffer)

func BuildBoshLoggerWithCustomWriter added in v1.3.2

func BuildBoshLoggerWithCustomWriter(w io.Writer, debug bool) boshlog.Logger

func BuildDeploymentBackupChecker

func BuildDeploymentBackupChecker(boshClient bosh.Client,
	logger bosh.Logger,
	withManifest bool) *orchestrator.BackupChecker

func BuildDeploymentBackupCleanuper

func BuildDeploymentBackupCleanuper(
	target,
	username,
	password,
	caCert,
	bbrVersion string,
	logger logger.Logger,
) (*orchestrator.BackupCleaner, error)

func BuildDeploymentBackuper

func BuildDeploymentBackuper(
	target,
	username,
	password,
	caCert string,
	withManifest bool,
	unsafeLockFree bool,
	bbrVersion string,
	logger boshlog.Logger,
	timestamp string,
) (*orchestrator.Backuper, error)

func BuildDeploymentRestoreCleanuper

func BuildDeploymentRestoreCleanuper(target,
	usename,
	password,
	caCert,
	bbrVersion string,
	withManifest,
	isDebug bool) (*orchestrator.RestoreCleaner, error)

func BuildDeploymentRestorer

func BuildDeploymentRestorer(target, username, password, caCert, bbrVersion string, debug bool) (*orchestrator.Restorer, error)

func BuildDirectorBackupChecker

func BuildDirectorBackupChecker(host, username, privateKeyPath, bbrVersion string, hasDebug bool) *orchestrator.BackupChecker

func BuildDirectorBackupCleaner

func BuildDirectorBackupCleaner(host,
	username,
	privateKeyPath,
	bbrVersion string,
	hasDebug bool) *orchestrator.BackupCleaner

func BuildDirectorBackuper

func BuildDirectorBackuper(host, username, privateKeyPath, bbrVersion string, hasDebug bool, timeStamp string) *orchestrator.Backuper

func BuildDirectorRestoreCleaner

func BuildDirectorRestoreCleaner(host,
	username,
	privateKeyPath,
	bbrVersion string,
	hasDebug bool) *orchestrator.RestoreCleaner

func BuildDirectorRestorer

func BuildDirectorRestorer(host, username, privateKeyPath, bbrVersion string, hasDebug bool) *orchestrator.Restorer

func BuildLogger

func BuildLogger(debug bool) boshlog.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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