event

package
v1.16.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 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 applies when creating and updating Event objects via the REST API.

Functions

func GetAttrs

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

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

func Matcher

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

func ToSelectableFields

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