termination

package
v0.32.10 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMachineController

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

func NewNodeClaimController

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

type MachineController struct {
	*Controller
}

func (*MachineController) Builder

func (*MachineController) Finalize

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

func (*MachineController) Name

func (*MachineController) Name() string

func (*MachineController) Reconcile

type NodeClaimController

type NodeClaimController struct {
	*Controller
}

func (*NodeClaimController) Builder

func (*NodeClaimController) Finalize

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

func (*NodeClaimController) Name

func (*NodeClaimController) Name() string

func (*NodeClaimController) Reconcile

Jump to

Keyboard shortcuts

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