cachelimiter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultSelector = func() cache.ObjectSelector {
		selector, _ := metav1.LabelSelectorAsSelector(&metav1.LabelSelector{
			MatchLabels: map[string]string{
				ctrlmesh.CtrlmeshWatchOnLimitLabel: "true",
			},
		})
		return cache.ObjectSelector{
			Label: selector,
		}
	}
)

Functions

func DefaultObjectSelector

func DefaultObjectSelector() cache.SelectorsByObject

func DefaultObjectSelectorWithObject

func DefaultObjectSelectorWithObject(objs ...client.Object) cache.SelectorsByObject

Types

This section is empty.

Jump to

Keyboard shortcuts

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