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 to reconcile drive custom resource
func NewController ¶
func NewController(client *k8s.KubeClient, nodeID string, serviceClient api.DriveServiceClient, eventRecorder *events.Recorder, log *logrus.Logger) *Controller
NewController creates new instance of Controller structure Receives an instance of base.KubeClient, node ID and logrus logger Returns an instance of Controller
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers Controller to ControllerManager
Click to show internal directories.
Click to hide internal directories.