termination

package
v0.0.0-...-d7985ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 (*Controller) Finalize

func (c *Controller) Finalize(ctx context.Context, node *v1.Node) (reconcile.Result, error)

func (*Controller) Name

func (c *Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(_ context.Context, _ *v1.Node) (reconcile.Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL