thinruntime

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(scheme *runtime.Scheme) cache.NewCacheFunc

Types

type ThinRuntimeReconciler

type ThinRuntimeReconciler struct {
	Scheme *runtime.Scheme

	*controllers.RuntimeReconciler
	// contains filtered or unexported fields
}

ThinRuntimeReconciler reconciles a ThinRuntime object

func NewRuntimeReconciler

func NewRuntimeReconciler(client client.Client,
	log logr.Logger,
	scheme *runtime.Scheme,
	recorder record.EventRecorder) *ThinRuntimeReconciler

NewRuntimeReconciler create controller for watching runtime custom resources created

func (*ThinRuntimeReconciler) ControllerName

func (r *ThinRuntimeReconciler) ControllerName() string

func (*ThinRuntimeReconciler) GetOrCreateEngine

func (r *ThinRuntimeReconciler) GetOrCreateEngine(ctx cruntime.ReconcileRequestContext) (engine base.Engine, err error)

func (*ThinRuntimeReconciler) ManagedResource

func (r *ThinRuntimeReconciler) ManagedResource() client.Object

func (*ThinRuntimeReconciler) Reconcile

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

func (*ThinRuntimeReconciler) RemoveEngine

func (*ThinRuntimeReconciler) SetupWithManager

func (r *ThinRuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options, eventDriven bool) 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