Documentation ¶
Index ¶
- func NewController(kubeClient client.Client, terminator *terminator.Terminator, ...) corecontroller.Controller
- type Controller
- func (c *Controller) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
- func (c *Controller) Finalize(ctx context.Context, node *v1.Node) (reconcile.Result, error)
- func (c *Controller) Name() string
- func (c *Controller) Reconcile(_ context.Context, _ *v1.Node) (reconcile.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(kubeClient client.Client, terminator *terminator.Terminator, recorder events.Recorder) corecontroller.Controller
NewController constructs a controller instance
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller for the resource
func (*Controller) Builder ¶
func (c *Controller) Builder(_ context.Context, m manager.Manager) corecontroller.Builder
func (*Controller) Name ¶
func (c *Controller) Name() string
Click to show internal directories.
Click to hide internal directories.