inplaceupdate

package
v0.7.0-rc.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateVMPatch added in v0.7.0

func CalculateVMPatch(
	options *options.Options,

	currentVM *armcompute.VirtualMachine,
) *armcompute.VirtualMachineUpdate

func HashFromNodeClaim

func HashFromNodeClaim(options *options.Options, _ *karpv1.NodeClaim) (string, error)

HashFromNodeClaim calculates an inplace update hash from the specified machine and options

func HashFromVM

func HashFromVM(vm *armcompute.VirtualMachine) (string, error)

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(
	kubeClient client.Client,
	instanceProvider instance.Provider,
) *Controller

func (*Controller) Reconcile

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

func (*Controller) Register added in v0.7.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