create

package
v0.1.1-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// FullMetadataError should be returned when past runs exist in metadata.
	ErrFullMetadata = errors.New("prior run metadata found, please run 'create diff' instead")

	// FullMetadataError should be returned when no past runs exist in metadata.
	ErrDiffMetadata = errors.New("no prior run metadata found, please run 'create full' instead")
)

Functions

This section is empty.

Types

type Options

type Options struct {
	*cli.RootOptions

	OutputDir    string
	ConfigPath   string
	SkipImagePin bool
}

func (*Options) BindFlags

func (o *Options) BindFlags(fs *pflag.FlagSet)

func (*Options) RunDiff

func (o *Options) RunDiff(ctx context.Context, flags *pflag.FlagSet) error

RunDiff performs all tasks in creating differential imagesets

func (*Options) RunFull

func (o *Options) RunFull(ctx context.Context, flags *pflag.FlagSet) error

RunFull performs all tasks in creating full imagesets

func (*Options) ValidatePaths

func (o *Options) ValidatePaths() error

ValidatePaths validate the existence of paths from user flags

Jump to

Keyboard shortcuts

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