create

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 18 Imported by: 1 module, 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

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