Documentation ¶
Index ¶
Constants ¶
View Source
const RNG_SEED_ENV_KEY = "OSBUILD_TESTING_RNG_SEED"
Variables ¶
This section is empty.
Functions ¶
func MockOSTreeResolve ¶ added in v0.90.0
func MockOSTreeResolve(commitSource ostree.SourceSpec) ostree.CommitSpec
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
Click to show internal directories.
Click to hide internal directories.