recorders

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationRecorder

type OperationRecorder interface {
	// Record records an object for given operation.
	Record(operation string, obj runtime.Object) error

	// RecordedObjects returns a slice of objects recorded for given operation.
	RecordedObjects(operation string) []runtime.Object
}

Operation recorder records operations on objects.

func NewOperationRecorder

func NewOperationRecorder() OperationRecorder

NewOperationRecorder creates a generic OperationRecorder.

Jump to

Keyboard shortcuts

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