kubernetes: k8s.io/kubernetes/pkg/registry/events/event Index | Files

package event

import "k8s.io/kubernetes/pkg/registry/events/event"

Index

Package Files

doc.go strategy.go

Variables

var Strategy = eventStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}

Strategy is the default logic that applies when creating and updating Pod Preset objects.

func GetAttrs Uses

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels and fields of a given object for filtering purposes.

func Matcher Uses

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 Uses

func SelectableFields(pip *api.Event) fields.Set

SelectableFields returns a field set that represents the object.

Package event imports 12 packages (graph). Updated 2019-02-04. Refresh now. Tools for package owners.