component

package
v0.0.0-...-3a2f251 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const RequeueAfter = time.Minute * 3

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager) error

Types

type ComponentHandler

type ComponentHandler struct {
	Component  *conurev1alpha1.Component
	Reconciler *ComponentReconciler
	Ctx        context.Context
	Logger     logr.Logger
	// contains filtered or unexported fields
}

func NewComponentHandler

func NewComponentHandler(ctx context.Context, component *conurev1alpha1.Component, reconciler *ComponentReconciler) *ComponentHandler

func (*ComponentHandler) GetConditionReady

func (c *ComponentHandler) GetConditionReady() *metav1.Condition

func (*ComponentHandler) ReconcileDeployedObjects

func (c *ComponentHandler) ReconcileDeployedObjects() error

func (*ComponentHandler) RenderComponent

func (c *ComponentHandler) RenderComponent() error

type ComponentReconciler

type ComponentReconciler struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*ComponentReconciler) Reconcile

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

func (*ComponentReconciler) SetupWithManager

func (r *ComponentReconciler) 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