inplaceupdate

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0, Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHash added in v1.6.6

func CalculateHash(data any) (string, error)

CalculateHash computes a hash for any JSON-marshalable struct

func CalculateVMPatch added in v0.7.0

func CalculateVMPatch(
	options *options.Options,
	nodeClaim *karpv1.NodeClaim,
	nodeClass *v1beta1.AKSNodeClass,
	currentVM *armcompute.VirtualMachine,
) *armcompute.VirtualMachineUpdate

func HashFromNodeClaim

func HashFromNodeClaim(options *options.Options, nodeClaim *karpv1.NodeClaim, nodeClass *v1beta1.AKSNodeClass) (string, error)

HashFromNodeClaim calculates an inplace update hash from the specified options, nodeClaim, and nodeClass

Types

type Controller

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

func NewController

func NewController(
	kubeClient client.Client,
	vmInstanceProvider instance.VMProvider,
) *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