identity

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocatedUnstructured

type LocatedUnstructured struct {
	Locator
	*unstructured.Unstructured
}

type Locator

type Locator struct {
	NamespacedGroupVersionResource
	Name string
	// Path in instance
	Path []string
}

Locator is used to track objects that have been synced, and therefore have a known GVR, Name, and Namespace

func (Locator) EventHandler

EventHandler returns an event handler for this locator that adds a locator to the incoming object and adds to queue

func (Locator) FilterFunc

func (l Locator) FilterFunc() func(o interface{}) bool

FilterFunc returns a function that can filter events to only react to objects identified by the locator

type NamespacedGroupVersionResource

type NamespacedGroupVersionResource struct {
	schema.GroupVersionResource
	Namespace string
}

NamespacedGroupVersionResource is used to look up informers for resolved objects from the instance

Jump to

Keyboard shortcuts

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