Documentation ¶
Index ¶
- type RuntimeReconciler
- func (r *RuntimeReconciler) ControllerName() string
- func (r *RuntimeReconciler) GetOrCreateEngine(ctx cruntime.ReconcileRequestContext) (engine base.Engine, err error)
- func (r *RuntimeReconciler) Reconcile(context context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *RuntimeReconciler) RemoveEngine(ctx cruntime.ReconcileRequestContext)
- func (r *RuntimeReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
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 VineyardRuntime 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 ¶
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) 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
Click to show internal directories.
Click to hide internal directories.