Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( clabernetes clabernetesmanagertypes.Clabernetes, ) clabernetescontrollers.Controller
NewController returns a new Controller.
Types ¶
type Controller ¶
type Controller struct { *clabernetescontrollers.BaseController // the *uncached* (non ctrl-runtime client) so we can do watches KubeClient *kubernetes.Clientset }
Controller is the Containerlab topology controller object.
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile( ctx context.Context, req ctrlruntime.Request, ) (ctrlruntime.Result, error)
Reconcile handles reconciliation for this controller.
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrlruntime.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.