controllers

package
v0.0.0-...-c27b85c Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenErrorStatus

func GenErrorStatus(err error) *metav1.Status

GenErrorStatus makes metav1.Status from error.

Types

type EventEmitter

type EventEmitter struct {
	Recorder record.EventRecorder
}

func (*EventEmitter) EmitError

func (r *EventEmitter) EmitError(obj runtime.Object, err error)

EmitError creates new warning Event to indicate Error.

func (*EventEmitter) EmitInfo

func (r *EventEmitter) EmitInfo(obj runtime.Object, reason, message string)

EmitInfo creates new normal Event to indicate info message.

type RetryablePipelineRunReconciler

type RetryablePipelineRunReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	EventEmitter
}

RetryablePipelineRunReconciler reconciles a RetryablePipelineRun object

func (*RetryablePipelineRunReconciler) Reconcile

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*RetryablePipelineRunReconciler) SetupWithManager

func (r *RetryablePipelineRunReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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