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

package event

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

Package event provides Registry interface and it's REST implementation for storing Event api objects.


Package Files

doc.go strategy.go


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

Strategy is the default logic that applies when creating and updating Event objects via the REST API.

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) storage.SelectionPredicate

Matcher returns a selection predicate for a given label and field selector.

func ToSelectableFields Uses

func ToSelectableFields(event *api.Event) fields.Set

ToSelectableFields returns a field set that represents the object.



Package event imports 13 packages (graph) and is imported by 1 packages. Updated 2019-08-22. Refresh now. Tools for package owners.