Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for Node CR
func NewController ¶
func NewController(nodeSelector string, useExternalAnnotaion bool, nodeAnnotaion string, k8sClient *k8s.KubeClient, logger *logrus.Logger) (*Controller, error)
NewController returns instance of Controller
func (*Controller) Reconcile ¶
Reconcile reconciles Node CR and k8s Node objects at first define for which object current Reconcile is triggered and then run corresponding reconciliation method
func (*Controller) SetupWithManager ¶
func (bmc *Controller) SetupWithManager(m ctrl.Manager) error
SetupWithManager registers Controller to k8s controller manager
Directories ¶
Path | Synopsis |
---|---|
Package common contains variables that are used in controller code and in other places too the reason of that package is to avoid conflict during initialization k8s client for e2e test
|
Package common contains variables that are used in controller code and in other places too the reason of that package is to avoid conflict during initialization k8s client for e2e test |
Click to show internal directories.
Click to hide internal directories.