eventrecorder

package
v1.12.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package event recorder is used to raise events on aws-node pods

Index

Constants

This section is empty.

Variables

View Source
var MyPodName = os.Getenv("MY_POD_NAME")

Functions

func InitEventRecorder

func InitEventRecorder(k8sClient client.Client) error

Types

type EventRecorder

type EventRecorder struct {
	// contains filtered or unexported fields
}

func Get

func Get() *EventRecorder

func (*EventRecorder) BroadcastEvent

func (e *EventRecorder) BroadcastEvent(eventType, reason, message string)

BroadcastEvent will raise event on aws-node with given type, reason, & message

Jump to

Keyboard shortcuts

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