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 pplies when creating and updating Event objects via the REST API.

func EventToSelectableFields Uses

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

EventToSelectableFields returns a field set that represents the object

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 MatchEvent Uses

func MatchEvent(label labels.Selector, field fields.Selector) storage.SelectionPredicate



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