Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler allows to reconcile a Cilium CNI.
func New ¶
func New(templater Templater) *Reconciler
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, logger logr.Logger, client client.Client, spec *cluster.Spec) (controller.Result, error)
Reconcile takes the Cilium CNI in a cluster to the desired state defined in a cluster Spec It uses a controller.Result to indicate when requeues are needed Intended to be used in a kubernetes controller.
Click to show internal directories.
Click to hide internal directories.