options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenericControllerOptions

func NewGenericControllerOptions() *controllerManagerOptions

func NewKahuClientOptions

func NewKahuClientOptions() *kahuClientOptions

func NewOptionsManager

func NewOptionsManager() (*optionsManager, error)

Types

type BackupControllerFlags

type BackupControllerFlags struct {
	*backup.Config
}

func NewBackupControllerFlags

func NewBackupControllerFlags() *BackupControllerFlags

func (*BackupControllerFlags) AddFlags

func (opt *BackupControllerFlags) AddFlags(fs *pflag.FlagSet)

AddFlags exposes available command line options

func (*BackupControllerFlags) ApplyTo

func (opt *BackupControllerFlags) ApplyTo(cfg *backup.Config) error

ApplyTo checks validity of available command line options

Jump to

Keyboard shortcuts

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