Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPReconciler ¶
type CPReconciler struct { reconcilers.ClientHelper // contains filtered or unexported fields }
CPReconciler reconciles the current console plugin state with the desired configuration
func NewReconciler ¶
func NewReconciler(cl reconcilers.ClientHelper, ns, prevNS string) CPReconciler
func (*CPReconciler) InitStaticResources ¶
func (r *CPReconciler) InitStaticResources(ctx context.Context) error
InitStaticResources inits some "static" / one-shot resources, usually not subject to reconciliation
func (*CPReconciler) PrepareNamespaceChange ¶
func (r *CPReconciler) PrepareNamespaceChange(ctx context.Context) error
PrepareNamespaceChange cleans up old namespace and restore the relevant "static" resources
func (*CPReconciler) Reconcile ¶
func (r *CPReconciler) Reconcile(ctx context.Context, desired *flowsv1alpha1.FlowCollectorSpec) error
Reconcile is the reconciler entry point to reconcile the current plugin state with the desired configuration
Click to show internal directories.
Click to hide internal directories.