v1

package
v0.0.0-...-50659db Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 1 Imported by: 0

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