controller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpdateTime = 2 * time.Minute
)

Definitions to manage status conditions

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldForgeReconciler

type FieldForgeReconciler struct {
	client.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
}

FieldForgeReconciler reconciles a FieldForge object

func (*FieldForgeReconciler) Reconcile

func (r *FieldForgeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*FieldForgeReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UserError

type UserError struct {
	Type    string
	Reason  string
	Message string

	ShouldRequeue bool
	RequeueAfter  time.Duration
}

func (UserError) Error

func (u UserError) Error() string

Jump to

Keyboard shortcuts

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