controllers

package
v0.0.0-...-afddf54 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupEnv

func SetupEnv()

Types

type DeviceReconciler

type DeviceReconciler struct {
	*OcDemoReconciler
}

DeviceReconciler reconciles a OcDemo object.

func (*DeviceReconciler) DoReconcile

func (r *DeviceReconciler) DoReconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*DeviceReconciler) Error

func (r *DeviceReconciler) Error(ctx context.Context, err error, msg string, kvs ...interface{})

type OcDemoReconciler

type OcDemoReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

OcDemoReconciler reconciles a OcDemo object.

func (*OcDemoReconciler) Reconcile

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

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 (*OcDemoReconciler) SetupReconciler

func (r *OcDemoReconciler) SetupReconciler()

func (*OcDemoReconciler) SetupWithManager

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