resolver

package
Version: v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 14 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 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