cmd_tree

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTreeBumpCommand

func NewTreeBumpCommand() *cobra.Command

func NewTreeImageCommand

func NewTreeImageCommand() *cobra.Command

func NewTreePkglistCommand

func NewTreePkglistCommand() *cobra.Command

func NewTreeValidateCommand

func NewTreeValidateCommand() *cobra.Command

Types

type TreePackageResult

type TreePackageResult struct {
	Name     string `json:"name"`
	Category string `json:"category"`
	Version  string `json:"version"`
	Path     string `json:"path"`
	Image    string `json:"image"`
}

type TreeResults

type TreeResults struct {
	Packages []TreePackageResult `json:"packages"`
}

type ValidateOpts

type ValidateOpts struct {
	WithSolver    bool
	OnlyRuntime   bool
	OnlyBuildtime bool
	RegExcludes   []*regexp.Regexp
	RegMatches    []*regexp.Regexp
	Excludes      []string
	Matches       []string

	// Runtime validate stuff
	RuntimeCacheDeps *pkg.InMemoryDatabase
	RuntimeReciper   *tree.InstallerRecipe

	// Buildtime validate stuff
	BuildtimeCacheDeps *pkg.InMemoryDatabase
	BuildtimeReciper   *tree.CompilerRecipe

	Mutex      sync.Mutex
	BrokenPkgs int
	BrokenDeps int

	Errors []error
}

func (*ValidateOpts) AddError

func (o *ValidateOpts) AddError(err error)

func (*ValidateOpts) IncrBrokenDeps

func (o *ValidateOpts) IncrBrokenDeps()

func (*ValidateOpts) IncrBrokenPkgs

func (o *ValidateOpts) IncrBrokenPkgs()

Jump to

Keyboard shortcuts

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