event

package
v1.10.3-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

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

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

Functions

func EventToSelectableFields

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

EventToSelectableFields returns a field set that represents the object

func GetAttrs added in v1.6.0

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

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

func MatchEvent

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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