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 containers matches with containers in the runtime environment. It removes any containers 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.