juicefs

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCacheOption added in v1.0.2

func NewCacheOption() cache.Options

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