Documentation
¶
Index ¶
- func NewControllerManager() (manager.Manager, error)
- type PodReconciler
- func (p *PodReconciler) Create(ev event.CreateEvent) bool
- func (p *PodReconciler) Delete(ev event.DeleteEvent) bool
- func (p *PodReconciler) Generic(ge event.GenericEvent) bool
- func (p *PodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (p *PodReconciler) Update(ev event.UpdateEvent) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerManager ¶
NewControllerManager creates the pod controller and returns its manager so that it could be started.
Types ¶
type PodReconciler ¶
func NewPodReconciler ¶
func (*PodReconciler) Create ¶
func (p *PodReconciler) Create(ev event.CreateEvent) bool
Create handles pod Create events.
func (*PodReconciler) Delete ¶
func (p *PodReconciler) Delete(ev event.DeleteEvent) bool
Delete handles pod Delete events.
func (*PodReconciler) Generic ¶
func (p *PodReconciler) Generic(ge event.GenericEvent) bool
Generic handles pod events that are neither Create, Update or Delete.
func (*PodReconciler) Update ¶
func (p *PodReconciler) Update(ev event.UpdateEvent) bool
Update handes Update events.
Click to show internal directories.
Click to hide internal directories.