testutils

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReferenceAddonImageSetDir   = path.Join(AddonsImagesetDir, "reference-addon")
	ReferenceAddonIndexImageDir = path.Join(AddonsIndexImageDir, "reference-addon")
)
View Source
var (
	RootDir             string = getRootDir()
	TestdataDir         string = path.Join(RootDir, "internal", "testdata")
	AddonsImagesetDir   string = path.Join(TestdataDir, "addons-imageset")
	AddonsIndexImageDir string = path.Join(TestdataDir, "addons-indeximage")
)

Functions

func DefaultSucceedingCandidates added in v0.6.0

func DefaultSucceedingCandidates() []utils.MetaBundle

DefaultSucceedingCandidates - returns a slice of valid metaBundles that are supposed to pass all validators successfully. If it is not the case, please make the required adjustments.

func GetReferenceAddonStage added in v0.6.0

func GetReferenceAddonStage() *singleton

GetReferenceAddonStage - uses singleton pattern to avoid loading yaml manifests over and over currently supports: - (DEPRECATED) static indexImage reference-addon - imageSet reference-addon

func GetStringLiteralRef added in v0.6.0

func GetStringLiteralRef(s string) *string

func RemoveDir added in v0.6.0

func RemoveDir(downloadDir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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