event

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromObject

func NewFromObject(obj runtime.Object) event.GenericEvent

NewFromObject creates a new GenericEvent from the given runtime.Object.

It tries to extract a metav1.Object from the given Object. If it fails, the Meta of the resulting GenericEvent will be `nil`.

func NewGeneric

func NewGeneric(meta metav1.Object, obj runtime.Object) event.GenericEvent

NewGeneric creates a new GenericEvent from the given metav1.Object and runtime.Object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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