Documentation ¶
Index ¶
- type FooBarReconciler
- func (r *FooBarReconciler) CheckSetup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error
- func (FooBarReconciler) Name() string
- func (r *FooBarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
- func (r *FooBarReconciler) Setup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error
- func (r *FooBarReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FooBarReconciler ¶
type FooBarReconciler struct { Client client.Client // to avoid race conditions with the cache, listing matching webhook items // needs to use a direct client DirectClient client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme EventRecorder record.EventRecorder }
func (*FooBarReconciler) CheckSetup ¶
func (r *FooBarReconciler) CheckSetup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error
func (*FooBarReconciler) Reconcile ¶
func (r *FooBarReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)
Reconcile for Trigger should be implemented in each plugin
func (*FooBarReconciler) Setup ¶
func (r *FooBarReconciler) Setup(ctx context.Context, mgr ctrl.Manager, logger *zap.SugaredLogger) error
Setup will setup webhook and controller
func (*FooBarReconciler) SetupWithManager ¶
func (r *FooBarReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupTrigger sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.