Documentation ¶
Index ¶
Constants ¶
View Source
const (
ConfigMapName = "config-kreference-mapping"
)
Variables ¶
This section is empty.
Functions ¶
func NewURIResolver ¶
func NewURIResolver(ctx context.Context, cmw configmap.Watcher, t tracker.Interface) *resolver.URIResolver
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 NewMappingResolver ¶
func (*MappingResolver) MappingURIFromObjectReference ¶
func (mr *MappingResolver) MappingURIFromObjectReference(ctx context.Context, ref *corev1.ObjectReference) (bool, *apis.URL, error)
Click to show internal directories.
Click to hide internal directories.