termination

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMachineController added in v0.30.0

func NewMachineController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller

func NewNodeClaimController added in v0.30.0

func NewNodeClaimController(kubeClient client.Client, cloudProvider cloudprovider.CloudProvider) corecontroller.Controller

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) Finalize

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

func (*Controller) Name

func (*Controller) Name() string

func (*Controller) Reconcile

type MachineController added in v0.30.0

type MachineController struct {
	*Controller
}

func (*MachineController) Builder added in v0.30.0

func (*MachineController) Finalize added in v0.30.0

func (c *MachineController) Finalize(ctx context.Context, machine *v1alpha5.Machine) (reconcile.Result, error)

func (*MachineController) Name added in v0.30.0

func (*MachineController) Name() string

func (*MachineController) Reconcile added in v0.30.0

type NodeClaimController added in v0.30.0

type NodeClaimController struct {
	*Controller
}

func (*NodeClaimController) Builder added in v0.30.0

func (*NodeClaimController) Finalize added in v0.30.0

func (c *NodeClaimController) Finalize(ctx context.Context, nodeClaim *v1beta1.NodeClaim) (reconcile.Result, error)

func (*NodeClaimController) Name added in v0.30.0

func (*NodeClaimController) Name() string

func (*NodeClaimController) Reconcile added in v0.30.0

Jump to

Keyboard shortcuts

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