Documentation
¶
Overview ¶
Package loader provides functions to load providers and module releases from CUE module directories. These are the entry points for embedding the OPM engine in other tools.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadModulePackage ¶
LoadModulePackage loads a module CUE package from a directory and returns the raw cue.Value. Used by opm module vet to load a module for validation.
func LoadProvider ¶
LoadProvider selects and wraps a provider from the pre-loaded config providers map.
providers is the map of provider CUE values loaded from config (GlobalConfig.Providers). providerName selects which provider to use. If empty, defaults to "kubernetes". If the named provider is not found, an error listing available names is returned.
Types ¶
This section is empty.