Documentation ¶
Index ¶
- type CertManagerReconciler
- func (r *CertManagerReconciler) CheckReady(req *workload.Request) (bool, error)
- func (r *CertManagerReconciler) GetController() controller.Controller
- func (r *CertManagerReconciler) GetEventRecorder() record.EventRecorder
- func (r *CertManagerReconciler) GetFieldManager() string
- func (r *CertManagerReconciler) GetLogger() logr.Logger
- func (r *CertManagerReconciler) GetManager() manager.Manager
- func (r *CertManagerReconciler) GetName() string
- func (r *CertManagerReconciler) GetResources(req *workload.Request) ([]client.Object, error)
- func (r *CertManagerReconciler) GetWatches() []client.Object
- func (r *CertManagerReconciler) InitializePhases()
- func (r *CertManagerReconciler) Mutate(req *workload.Request, object client.Object) ([]client.Object, bool, error)
- func (r *CertManagerReconciler) NewRequest(ctx context.Context, request ctrl.Request) (*workload.Request, error)
- func (r *CertManagerReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *CertManagerReconciler) SetWatch(watch client.Object)
- func (r *CertManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
- type TrustManagerReconciler
- func (r *TrustManagerReconciler) CheckReady(req *workload.Request) (bool, error)
- func (r *TrustManagerReconciler) GetController() controller.Controller
- func (r *TrustManagerReconciler) GetEventRecorder() record.EventRecorder
- func (r *TrustManagerReconciler) GetFieldManager() string
- func (r *TrustManagerReconciler) GetLogger() logr.Logger
- func (r *TrustManagerReconciler) GetManager() manager.Manager
- func (r *TrustManagerReconciler) GetName() string
- func (r *TrustManagerReconciler) GetResources(req *workload.Request) ([]client.Object, error)
- func (r *TrustManagerReconciler) GetWatches() []client.Object
- func (r *TrustManagerReconciler) InitializePhases()
- func (r *TrustManagerReconciler) Mutate(req *workload.Request, object client.Object) ([]client.Object, bool, error)
- func (r *TrustManagerReconciler) NewRequest(ctx context.Context, request ctrl.Request) (*workload.Request, error)
- func (r *TrustManagerReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *TrustManagerReconciler) SetWatch(watch client.Object)
- func (r *TrustManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertManagerReconciler ¶
type CertManagerReconciler struct { client.Client Name string Log logr.Logger Controller controller.Controller Events record.EventRecorder FieldManager string Watches []client.Object Phases *phases.Registry Manager manager.Manager }
CertManagerReconciler reconciles a CertManager object.
func NewCertManagerReconciler ¶
func NewCertManagerReconciler(mgr ctrl.Manager) *CertManagerReconciler
func (*CertManagerReconciler) CheckReady ¶
func (r *CertManagerReconciler) CheckReady(req *workload.Request) (bool, error)
CheckReady will return whether a component is ready.
func (*CertManagerReconciler) GetController ¶
func (r *CertManagerReconciler) GetController() controller.Controller
GetController returns the controller object associated with the reconciler.
func (*CertManagerReconciler) GetEventRecorder ¶
func (r *CertManagerReconciler) GetEventRecorder() record.EventRecorder
GetEventRecorder returns the event recorder for writing kubernetes events.
func (*CertManagerReconciler) GetFieldManager ¶
func (r *CertManagerReconciler) GetFieldManager() string
GetFieldManager returns the name of the field manager for the controller.
func (*CertManagerReconciler) GetLogger ¶
func (r *CertManagerReconciler) GetLogger() logr.Logger
GetLogger returns the logger from the reconciler.
func (*CertManagerReconciler) GetManager ¶
func (r *CertManagerReconciler) GetManager() manager.Manager
GetManager returns the manager object assocated with the reconciler.
func (*CertManagerReconciler) GetName ¶
func (r *CertManagerReconciler) GetName() string
GetName returns the name of the reconciler.
func (*CertManagerReconciler) GetResources ¶
GetResources resources runs the methods to properly construct the resources in memory.
func (*CertManagerReconciler) GetWatches ¶
func (r *CertManagerReconciler) GetWatches() []client.Object
GetWatches returns the objects which are current being watched by the reconciler.
func (*CertManagerReconciler) InitializePhases ¶
func (r *CertManagerReconciler) InitializePhases()
InitializePhases defines what phases should be run for each event loop. phases are executed in the order they are listed.
func (*CertManagerReconciler) Mutate ¶
func (r *CertManagerReconciler) Mutate( req *workload.Request, object client.Object, ) ([]client.Object, bool, error)
Mutate will run the mutate function for the workload. WARN: this will be deprecated in the future. See apis/group/version/kind/mutate*
func (*CertManagerReconciler) NewRequest ¶
func (*CertManagerReconciler) Reconcile ¶
func (r *CertManagerReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*CertManagerReconciler) SetWatch ¶
func (r *CertManagerReconciler) SetWatch(watch client.Object)
SetWatch appends a watch to the list of currently watched objects.
func (*CertManagerReconciler) SetupWithManager ¶
func (r *CertManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
type TrustManagerReconciler ¶
type TrustManagerReconciler struct { client.Client Name string Log logr.Logger Controller controller.Controller Events record.EventRecorder FieldManager string Watches []client.Object Phases *phases.Registry Manager manager.Manager }
TrustManagerReconciler reconciles a TrustManager object.
func NewTrustManagerReconciler ¶
func NewTrustManagerReconciler(mgr ctrl.Manager) *TrustManagerReconciler
func (*TrustManagerReconciler) CheckReady ¶
func (r *TrustManagerReconciler) CheckReady(req *workload.Request) (bool, error)
CheckReady will return whether a component is ready.
func (*TrustManagerReconciler) GetController ¶
func (r *TrustManagerReconciler) GetController() controller.Controller
GetController returns the controller object associated with the reconciler.
func (*TrustManagerReconciler) GetEventRecorder ¶
func (r *TrustManagerReconciler) GetEventRecorder() record.EventRecorder
GetEventRecorder returns the event recorder for writing kubernetes events.
func (*TrustManagerReconciler) GetFieldManager ¶
func (r *TrustManagerReconciler) GetFieldManager() string
GetFieldManager returns the name of the field manager for the controller.
func (*TrustManagerReconciler) GetLogger ¶
func (r *TrustManagerReconciler) GetLogger() logr.Logger
GetLogger returns the logger from the reconciler.
func (*TrustManagerReconciler) GetManager ¶
func (r *TrustManagerReconciler) GetManager() manager.Manager
GetManager returns the manager object assocated with the reconciler.
func (*TrustManagerReconciler) GetName ¶
func (r *TrustManagerReconciler) GetName() string
GetName returns the name of the reconciler.
func (*TrustManagerReconciler) GetResources ¶
GetResources resources runs the methods to properly construct the resources in memory.
func (*TrustManagerReconciler) GetWatches ¶
func (r *TrustManagerReconciler) GetWatches() []client.Object
GetWatches returns the objects which are current being watched by the reconciler.
func (*TrustManagerReconciler) InitializePhases ¶
func (r *TrustManagerReconciler) InitializePhases()
InitializePhases defines what phases should be run for each event loop. phases are executed in the order they are listed.
func (*TrustManagerReconciler) Mutate ¶
func (r *TrustManagerReconciler) Mutate( req *workload.Request, object client.Object, ) ([]client.Object, bool, error)
Mutate will run the mutate function for the workload. WARN: this will be deprecated in the future. See apis/group/version/kind/mutate*
func (*TrustManagerReconciler) NewRequest ¶
func (*TrustManagerReconciler) Reconcile ¶
func (r *TrustManagerReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.7.2/pkg/reconcile
func (*TrustManagerReconciler) SetWatch ¶
func (r *TrustManagerReconciler) SetWatch(watch client.Object)
SetWatch appends a watch to the list of currently watched objects.
func (*TrustManagerReconciler) SetupWithManager ¶
func (r *TrustManagerReconciler) SetupWithManager(mgr ctrl.Manager) error