Documentation
¶
Overview ¶
Package discovery adds relevant library functions for working with workloads discovered via the discover-workload library. https://github.com/opdev/discover-workload.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDuplicateComponentName = errors.New("duplicate component name") ErrNoImagesDiscovered = errors.New("no images found in discovery manifest") ErrCountingContainerNameOccurrences = errors.New("failed counting container names") ErrNoContainers = errors.New("no containers in entry for image") )
Functions ¶
func ComponentsFromDiscoveryManifest ¶
ComponentsFromDiscoveryManifest converts discovered workloads into Component declarations. DiscoveredImages are treated as container components. The specifics of the container component declaration are assumed, and left to the user to change before use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.