Documentation
¶
Overview ¶
Package nodecontroller implemenets controller and provides logic for multiplexing node management
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
}
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(ctx context.Context) error
Reconcile ensures that desired tasks matches with tasks in the runtime environment. It removes any tasks that are not desired (missing from the server) and adds those missing from runtime. It is preferrably run early during startup of the controller.
type NewOption ¶
type NewOption func(c *Controller)
func WithConfig ¶
func WithLogger ¶
func WithVolumeAttacher ¶
Click to show internal directories.
Click to hide internal directories.