sat

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VarTypePackage  = "Package"
	VarTypeResource = "Resource"
	VarTypeFile     = "File"
)

Variables

This section is empty.

Functions

func VarsString

func VarsString(vars []*Var) (desc []string)

Types

type ConversionVars

type ConversionVars struct {
	// contains filtered or unexported fields
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

func NewResolver

func NewResolver(nobest bool) *Resolver

func (*Resolver) ConstructRequirements

func (r *Resolver) ConstructRequirements(packages []string) error

func (*Resolver) LoadInvolvedPackages

func (r *Resolver) LoadInvolvedPackages(packages []*api.Package, ignoreRegex []string) error

LoadInvolvedPackages takes a list of all involved packages to install, as well as a list of regular expressions which denoe packages which should be taken into account for solving the problem, but they should then be ignored together with their requirements in the provided list of installed packages.

func (*Resolver) MUS

func (res *Resolver) MUS() (mus *explain.Problem, err error)

func (*Resolver) Resolve

func (res *Resolver) Resolve() (install []*api.Package, excluded []*api.Package, forceIgnoredWithDependencies []*api.Package, err error)

type Var

type Var struct {
	Context         VarContext
	Package         *api.Package
	ResourceVersion *api.Version
	// contains filtered or unexported fields
}

func (Var) String

func (v Var) String() string

type VarContext

type VarContext struct {
	Package  string
	Provides string
	Version  api.Version
}

VarContext contains all information to create a unique identifyable hash key which can be traced back to a package for every resource in a yum repo

type VarType

type VarType string

Jump to

Keyboard shortcuts

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