termination

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

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
}

Controller is a NodeClaim Termination controller that triggers deletion of the Node and the CloudProvider NodeClaim through its graceful termination mechanism

func NewController

func NewController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) *Controller

NewController is a constructor for the NodeClaim Controller

func (*Controller) Name

func (*Controller) Name() string

func (*Controller) Reconcile

func (c *Controller) Reconcile(ctx context.Context, n *v1beta1.NodeClaim) (reconcile.Result, error)

func (*Controller) Register added in v0.37.0

func (c *Controller) Register(_ context.Context, m manager.Manager) error

Jump to

Keyboard shortcuts

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