Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = eventStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating Pod Preset objects.
Functions ¶
func GetAttrs ¶
func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, bool, error)
GetAttrs returns labels and fields of a given object for filtering purposes.
func Matcher ¶
func Matcher(label labels.Selector, field fields.Selector) apistorage.SelectionPredicate
Matcher is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.
func SelectableFields ¶
func SelectableFields(pip *api.Event) fields.Set
SelectableFields returns a field set that represents the object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.