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 ¶
NewGeneric creates a new GenericEvent from the given metav1.Object and runtime.Object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.