event

package
v1.18.18-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 33

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

Functions

func GetAttrs added in v1.6.0

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

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

func Matcher added in v1.16.0

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

func ToSelectableFields added in v1.16.0

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

ToSelectableFields returns a field set that represents the object.

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