virtualmachinegroup

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToManager

func AddToManager(ctx *pkgctx.ControllerManagerContext, mgr manager.Manager) error

AddToManager adds this package's controller to the provided manager.

Types

type Reconciler

type Reconciler struct {
	client.Client
	APIReader  client.Reader
	Context    context.Context
	Logger     logr.Logger
	Recorder   record.Recorder
	VMProvider providers.VirtualMachineProviderInterface
}

Reconciler reconciles a VirtualMachineGroup object.

func NewReconciler

func NewReconciler(
	ctx context.Context,
	client client.Client,
	apiReader client.Reader,
	logger logr.Logger,
	recorder record.Recorder,
	vmProvider providers.VirtualMachineProviderInterface) *Reconciler

NewReconciler returns a new reconciler for VirtualMachineGroup objects.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, reterr error)

Reconcile reconciles a VirtualMachineGroup object.

func (*Reconciler) ReconcileDelete

func (r *Reconciler) ReconcileDelete(
	ctx *pkgctx.VirtualMachineGroupContext) (ctrl.Result, error)

func (*Reconciler) ReconcileNormal

func (r *Reconciler) ReconcileNormal(
	ctx *pkgctx.VirtualMachineGroupContext) (reterr error)

Jump to

Keyboard shortcuts

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