Documentation ¶
Index ¶
Constants ¶
View Source
const RequeueDriveTime = time.Second * 30
RequeueDriveTime is time between drives reconciliation
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller reconciles drive custom resource
func NewCapacityController ¶
func NewCapacityController(client *k8s.KubeClient, k8sCache k8s.CRReader, log *logrus.Logger) *Controller
NewCapacityController creates new instance of Controller structure Receives an instance of base.KubeClient and logrus logger Returns an instance of Controller
func (*Controller) SetupWithManager ¶
func (d *Controller) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers Controller to ControllerManager
Click to show internal directories.
Click to hide internal directories.