resolver

package
v0.39.6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigMapName = "config-kreference-mapping"
)

Variables

This section is empty.

Functions

func NewURIResolver

NewURIResolver constructs a new URIResolver with context and a callback for a given listableType (Listable) passed to the URIResolver's tracker.

Types

type KReferenceResolver added in v0.38.0

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

func NewKReferenceResolverFromTracker added in v0.38.0

func NewKReferenceResolverFromTracker(ctx context.Context, t tracker.Interface) *KReferenceResolver

func (*KReferenceResolver) Resolve added in v0.38.0

func (r *KReferenceResolver) Resolve(ctx context.Context, ref *v1.KReference, parent interface{}) (*v1.KReference, error)

type MappingResolver

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

func (*MappingResolver) MappingURIFromObjectReference

func (mr *MappingResolver) MappingURIFromObjectReference(ctx context.Context, ref *corev1.ObjectReference) (bool, *apis.URL, error)

type MappingResolverTemplateValues

type MappingResolverTemplateValues struct {
	Name            string
	Namespace       string
	SystemNamespace string
	UID             types.UID
}

Jump to

Keyboard shortcuts

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