v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Overview

Package v1 contains an interface that a controller should use to define all the events take place when the controller reconciles.

Index

Constants

View Source
const (
	K8sEventTypeNormal  = "Normal"
	K8sEventTypeWarning = "Warning"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReconcilerEvent

type ReconcilerEvent interface {

	// Record this into an event recorder as a Kubernetes API event
	Record(recorder record.EventRecorder)
}

ReconcilerEvent represents the action of the controller having actually done anything. Any meaningful change should have an associated event.

Jump to

Keyboard shortcuts

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