resolver

package
v0.0.0-...-bec6c07 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LatestImageResolver

type LatestImageResolver struct {
	// contains filtered or unexported fields
}

URIResolver resolves Destinations and ObjectReferences into a URI.

func NewLatestImageResolver

func NewLatestImageResolver(ctx context.Context, callback func(types.NamespacedName)) *LatestImageResolver

NewLatestImageResolver constructs a LatestImageResolver with context and a callback for a given imageableType (Imageable) passed to the LatestImageResolver's tracker.

func (*LatestImageResolver) LatestImageFromObjectReference

func (r *LatestImageResolver) LatestImageFromObjectReference(ref *tracker.Reference, parent interface{}) (string, error)

Jump to

Keyboard shortcuts

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