goosefs

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeReconciler

type RuntimeReconciler struct {
	Scheme *runtime.Scheme

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

RuntimeReconciler reconciles a GooseFSRuntime object

func NewRuntimeReconciler

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

NewRuntimeReconciler create controller for watching runtime custom resources created

func (*RuntimeReconciler) ControllerName added in v0.9.0

func (r *RuntimeReconciler) ControllerName() string

func (*RuntimeReconciler) GetOrCreateEngine

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

GetOrCreateEngine gets or creates engine

func (*RuntimeReconciler) Reconcile

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

func (*RuntimeReconciler) RemoveEngine

func (r *RuntimeReconciler) RemoveEngine(ctx cruntime.ReconcileRequestContext)

RemoveEngine removes the engine

func (*RuntimeReconciler) SetupWithManager

func (r *RuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

SetupWithManager setups the manager with RuntimeReconciler

Jump to

Keyboard shortcuts

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