v1

package
v1.4.0-dev-20240819 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVirtualMachineGeneratingHandler

func RegisterVirtualMachineGeneratingHandler(ctx context.Context, controller VirtualMachineController, apply apply.Apply,
	condition condition.Cond, name string, handler VirtualMachineGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVirtualMachineGeneratingHandler configures a VirtualMachineController to execute a VirtualMachineGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVirtualMachineInstanceGeneratingHandler

func RegisterVirtualMachineInstanceGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceController, apply apply.Apply,
	condition condition.Cond, name string, handler VirtualMachineInstanceGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVirtualMachineInstanceGeneratingHandler configures a VirtualMachineInstanceController to execute a VirtualMachineInstanceGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVirtualMachineInstanceMigrationGeneratingHandler

func RegisterVirtualMachineInstanceMigrationGeneratingHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, apply apply.Apply,
	condition condition.Cond, name string, handler VirtualMachineInstanceMigrationGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVirtualMachineInstanceMigrationGeneratingHandler configures a VirtualMachineInstanceMigrationController to execute a VirtualMachineInstanceMigrationGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVirtualMachineInstanceMigrationStatusHandler

func RegisterVirtualMachineInstanceMigrationStatusHandler(ctx context.Context, controller VirtualMachineInstanceMigrationController, condition condition.Cond, name string, handler VirtualMachineInstanceMigrationStatusHandler)

RegisterVirtualMachineInstanceMigrationStatusHandler configures a VirtualMachineInstanceMigrationController to execute a VirtualMachineInstanceMigrationStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVirtualMachineInstanceStatusHandler

func RegisterVirtualMachineInstanceStatusHandler(ctx context.Context, controller VirtualMachineInstanceController, condition condition.Cond, name string, handler VirtualMachineInstanceStatusHandler)

RegisterVirtualMachineInstanceStatusHandler configures a VirtualMachineInstanceController to execute a VirtualMachineInstanceStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVirtualMachineStatusHandler

func RegisterVirtualMachineStatusHandler(ctx context.Context, controller VirtualMachineController, condition condition.Cond, name string, handler VirtualMachineStatusHandler)

RegisterVirtualMachineStatusHandler configures a VirtualMachineController to execute a VirtualMachineStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type Interface

type Interface interface {
	VirtualMachine() VirtualMachineController
	VirtualMachineInstance() VirtualMachineInstanceController
	VirtualMachineInstanceMigration() VirtualMachineInstanceMigrationController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type VirtualMachineCache

type VirtualMachineCache interface {
	generic.CacheInterface[*v1.VirtualMachine]
}

VirtualMachineCache interface for retrieving VirtualMachine resources in memory.

type VirtualMachineClient

type VirtualMachineClient interface {
	generic.ClientInterface[*v1.VirtualMachine, *v1.VirtualMachineList]
}

VirtualMachineClient interface for managing VirtualMachine resources in Kubernetes.

type VirtualMachineController

type VirtualMachineController interface {
	generic.ControllerInterface[*v1.VirtualMachine, *v1.VirtualMachineList]
}

VirtualMachineController interface for managing VirtualMachine resources.

type VirtualMachineGeneratingHandler

type VirtualMachineGeneratingHandler func(obj *v1.VirtualMachine, status v1.VirtualMachineStatus) ([]runtime.Object, v1.VirtualMachineStatus, error)

VirtualMachineGeneratingHandler is the top-level handler that is executed for every VirtualMachine event. It extends VirtualMachineStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type VirtualMachineInstanceCache

type VirtualMachineInstanceCache interface {
	generic.CacheInterface[*v1.VirtualMachineInstance]
}

VirtualMachineInstanceCache interface for retrieving VirtualMachineInstance resources in memory.

type VirtualMachineInstanceClient

type VirtualMachineInstanceClient interface {
	generic.ClientInterface[*v1.VirtualMachineInstance, *v1.VirtualMachineInstanceList]
}

VirtualMachineInstanceClient interface for managing VirtualMachineInstance resources in Kubernetes.

type VirtualMachineInstanceController

type VirtualMachineInstanceController interface {
	generic.ControllerInterface[*v1.VirtualMachineInstance, *v1.VirtualMachineInstanceList]
}

VirtualMachineInstanceController interface for managing VirtualMachineInstance resources.

type VirtualMachineInstanceGeneratingHandler

type VirtualMachineInstanceGeneratingHandler func(obj *v1.VirtualMachineInstance, status v1.VirtualMachineInstanceStatus) ([]runtime.Object, v1.VirtualMachineInstanceStatus, error)

VirtualMachineInstanceGeneratingHandler is the top-level handler that is executed for every VirtualMachineInstance event. It extends VirtualMachineInstanceStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type VirtualMachineInstanceMigrationCache

type VirtualMachineInstanceMigrationCache interface {
	generic.CacheInterface[*v1.VirtualMachineInstanceMigration]
}

VirtualMachineInstanceMigrationCache interface for retrieving VirtualMachineInstanceMigration resources in memory.

type VirtualMachineInstanceMigrationClient

type VirtualMachineInstanceMigrationClient interface {
	generic.ClientInterface[*v1.VirtualMachineInstanceMigration, *v1.VirtualMachineInstanceMigrationList]
}

VirtualMachineInstanceMigrationClient interface for managing VirtualMachineInstanceMigration resources in Kubernetes.

type VirtualMachineInstanceMigrationController

type VirtualMachineInstanceMigrationController interface {
	generic.ControllerInterface[*v1.VirtualMachineInstanceMigration, *v1.VirtualMachineInstanceMigrationList]
}

VirtualMachineInstanceMigrationController interface for managing VirtualMachineInstanceMigration resources.

type VirtualMachineInstanceMigrationGeneratingHandler

type VirtualMachineInstanceMigrationGeneratingHandler func(obj *v1.VirtualMachineInstanceMigration, status v1.VirtualMachineInstanceMigrationStatus) ([]runtime.Object, v1.VirtualMachineInstanceMigrationStatus, error)

VirtualMachineInstanceMigrationGeneratingHandler is the top-level handler that is executed for every VirtualMachineInstanceMigration event. It extends VirtualMachineInstanceMigrationStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type VirtualMachineInstanceMigrationStatusHandler

type VirtualMachineInstanceMigrationStatusHandler func(obj *v1.VirtualMachineInstanceMigration, status v1.VirtualMachineInstanceMigrationStatus) (v1.VirtualMachineInstanceMigrationStatus, error)

VirtualMachineInstanceMigrationStatusHandler is executed for every added or modified VirtualMachineInstanceMigration. Should return the new status to be updated

type VirtualMachineInstanceStatusHandler

type VirtualMachineInstanceStatusHandler func(obj *v1.VirtualMachineInstance, status v1.VirtualMachineInstanceStatus) (v1.VirtualMachineInstanceStatus, error)

VirtualMachineInstanceStatusHandler is executed for every added or modified VirtualMachineInstance. Should return the new status to be updated

type VirtualMachineStatusHandler

type VirtualMachineStatusHandler func(obj *v1.VirtualMachine, status v1.VirtualMachineStatus) (v1.VirtualMachineStatus, error)

VirtualMachineStatusHandler is executed for every added or modified VirtualMachine. Should return the new status to be updated

Jump to

Keyboard shortcuts

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