cmd_tree

package
v0.39.1-geaaru Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Overview

Copyright © 2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Copyright © 2022-2023 Macaroni OS Linux See AUTHORS and LICENSE for the license details and contributors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTreeBumpCommand

func NewTreeBumpCommand() *cobra.Command

func NewTreeGenIdx

func NewTreeGenIdx(config *cfg.LuetConfig) *cobra.Command

func NewTreeImageCommand

func NewTreeImageCommand() *cobra.Command

func NewTreePkglistCommand

func NewTreePkglistCommand(config *cfg.LuetConfig) *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