Documentation ¶
Overview ¶
Package resolve defines logic for resolving K8s yaml inputs to ko.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageReferences ¶
func ImageReferences(ctx context.Context, docs []*yaml.Node, builder build.Interface, publisher publish.Interface) error
ImageReferences resolves supported references to images within the input yaml to published image digests.
If a reference can be built and pushed, its yaml.Node will be mutated.
func MatchesSelector ¶
MatchesSelector returns true if the Kubernetes object (represented as a yaml.Node) matches the selector. An error is returned if the yaml.Node is not an K8s object or list.
If the document is a list, the yaml.Node will be mutated to only include items that match the selector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.