event

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder interface {
	NewInstance(group, version, kind string) RecorderInstance
	// contains filtered or unexported methods
}

Recorder event factory for kubernetes

func NewEventRecorder

func NewEventRecorder(name string, kubeClientSet kubernetes.Interface) Recorder

NewEventRecorder creates new event recorder

type RecorderInstance

type RecorderInstance interface {
	Event(object meta.Object, eventType, reason, format string, a ...interface{})

	Warning(object meta.Object, reason, format string, a ...interface{})
	Normal(object meta.Object, reason, format string, a ...interface{})
}

RecorderInstance represents instance of event recorder for specific kubernetes type

Jump to

Keyboard shortcuts

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