cmdutil

package
v0.88.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RNG_SEED_ENV_KEY = "OSBUILD_TESTING_RNG_SEED"

Variables

This section is empty.

Functions

func SeedArgFor added in v0.62.0

func SeedArgFor(bc *buildconfig.BuildConfig, imgTypeName, distributionName, archName string) (int64, error)

Types

type MultiValue added in v0.81.0

type MultiValue []string

MultiValue can be used as a flag.Var type to support comma-separated lists of values on the command line. The MultiValue.ResolveArgValues method can be used to validate the values and resolve globs.

func (MultiValue) ResolveArgValues added in v0.81.0

func (args MultiValue) ResolveArgValues(valueList []string) ([]string, []string)

ResolveArgValues returns a list of valid values from the MultiValue. Invalid values are returned separately. Globs are expanded. If the args are empty, the valueList is returned in full.

func (*MultiValue) Set added in v0.81.0

func (mv *MultiValue) Set(v string) error

func (*MultiValue) String added in v0.81.0

func (mv *MultiValue) String() string

Jump to

Keyboard shortcuts

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