recorder

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecordDateFormat   = "2006-01-02T15:04:05.000"
	YamlDocSeparator   = "---"
	InformerSyncMarker = "# informer synced"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRecord

type EventRecord struct {
	Date   string                 `json:"date,omitempty"`
	Delete bool                   `json:"delete,omitempty"`
	Object map[string]interface{} `json:"object,omitempty"`
}

type Recorder

type Recorder interface {
	RecordInformerSync() error
	RecordEvent(*unstructured.Unstructured, bool) error
	Stop()
}

func NewRecorder

func NewRecorder(fileName string) (Recorder, error)

Jump to

Keyboard shortcuts

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