options

package
v0.0.0-...-c07804e Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {

	// Log is the shared logger for yazbu.
	Log logr.Logger

	// Config is the parsed and validated config.
	Config *config.Config

	// Manager is the configured manager which are used to perform operations.
	Manager *manager.Manager
	// contains filtered or unexported fields
}

Options are global options used to configure backups.

func New

func New(ctx context.Context, io util.IO, cmd *cobra.Command) *Options

New constructs a new shared Options.

Jump to

Keyboard shortcuts

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