juicefs

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache added in v0.8.0

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

Types

type JuiceFSRuntimeReconciler

type JuiceFSRuntimeReconciler struct {
	Scheme *runtime.Scheme

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

JuiceFSRuntimeReconciler reconciles a JuiceFSRuntime object

func NewRuntimeReconciler

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

NewRuntimeReconciler create controller for watching runtime custom resources created

func (*JuiceFSRuntimeReconciler) ControllerName added in v0.8.0

func (r *JuiceFSRuntimeReconciler) ControllerName() string

func (*JuiceFSRuntimeReconciler) GetOrCreateEngine

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

func (*JuiceFSRuntimeReconciler) ManagedResource added in v0.8.0

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

func (*JuiceFSRuntimeReconciler) Reconcile

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

func (*JuiceFSRuntimeReconciler) RemoveEngine

func (*JuiceFSRuntimeReconciler) SetupWithManager

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