event

package
v0.0.0-...-d68cec5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: Apache-2.0, MIT 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