Documentation
¶
Index ¶
- Variables
- func DefaultSucceedingCandidates() ([]types.MetaBundle, error)
- func GetReferenceAddonStage() (*singleton, error)
- func GetStringLiteralRef(s string) *string
- func NewBundle(name string, yamlFilePaths ...string) (registry.Bundle, error)
- func RemoveDir(downloadDir string)
- func YamlToDynamicObj(yamlPath string) (unstructured.Unstructured, error)
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() ([]types.MetaBundle, error)
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, error)
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 YamlToDynamicObj ¶ added in v0.7.0
func YamlToDynamicObj(yamlPath string) (unstructured.Unstructured, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.