Documentation ¶
Index ¶
- func NewCacheOption() cache.Options
- type JuiceFSRuntimeReconciler
- func (r *JuiceFSRuntimeReconciler) ControllerName() string
- func (r *JuiceFSRuntimeReconciler) GetOrCreateEngine(ctx cruntime.ReconcileRequestContext) (engine base.Engine, err error)
- func (r *JuiceFSRuntimeReconciler) ManagedResource() client.Object
- func (r *JuiceFSRuntimeReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *JuiceFSRuntimeReconciler) RemoveEngine(ctx cruntime.ReconcileRequestContext)
- func (r *JuiceFSRuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options, eventDriven bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheOption ¶ added in v1.0.2
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) RemoveEngine ¶
func (r *JuiceFSRuntimeReconciler) RemoveEngine(ctx cruntime.ReconcileRequestContext)
func (*JuiceFSRuntimeReconciler) SetupWithManager ¶
func (r *JuiceFSRuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options, eventDriven bool) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.