resolver

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceableResolver

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

URIResolver resolves Destinations and ObjectReferences into a URI.

func NewServiceableResolver

func NewServiceableResolver(ctx context.Context, callback func(types.NamespacedName)) *ServiceableResolver

NewServiceableResolver constructs a ServiceableResolver with context and a callback for a given ServiceableType passed to the ServiceableResolver's tracker.

func (*ServiceableResolver) ServiceableFromObjectReference

func (r *ServiceableResolver) ServiceableFromObjectReference(ctx context.Context, ref *tracker.Reference, parent interface{}) (*corev1.LocalObjectReference, error)

Jump to

Keyboard shortcuts

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