v1alpha1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterIPPoolGeneratingHandler

func RegisterIPPoolGeneratingHandler(ctx context.Context, controller IPPoolController, apply apply.Apply,
	condition condition.Cond, name string, handler IPPoolGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterIPPoolGeneratingHandler configures a IPPoolController to execute a IPPoolGeneratingHandler 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 RegisterIPPoolStatusHandler

func RegisterIPPoolStatusHandler(ctx context.Context, controller IPPoolController, condition condition.Cond, name string, handler IPPoolStatusHandler)

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

func RegisterVirtualMachineNetworkConfigGeneratingHandler

func RegisterVirtualMachineNetworkConfigGeneratingHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, apply apply.Apply,
	condition condition.Cond, name string, handler VirtualMachineNetworkConfigGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVirtualMachineNetworkConfigGeneratingHandler configures a VirtualMachineNetworkConfigController to execute a VirtualMachineNetworkConfigGeneratingHandler 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 RegisterVirtualMachineNetworkConfigStatusHandler

func RegisterVirtualMachineNetworkConfigStatusHandler(ctx context.Context, controller VirtualMachineNetworkConfigController, condition condition.Cond, name string, handler VirtualMachineNetworkConfigStatusHandler)

RegisterVirtualMachineNetworkConfigStatusHandler configures a VirtualMachineNetworkConfigController to execute a VirtualMachineNetworkConfigStatusHandler 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 IPPoolCache

type IPPoolCache interface {
	generic.CacheInterface[*v1alpha1.IPPool]
}

IPPoolCache interface for retrieving IPPool resources in memory.

type IPPoolClient

type IPPoolClient interface {
	generic.ClientInterface[*v1alpha1.IPPool, *v1alpha1.IPPoolList]
}

IPPoolClient interface for managing IPPool resources in Kubernetes.

type IPPoolController

type IPPoolController interface {
	generic.ControllerInterface[*v1alpha1.IPPool, *v1alpha1.IPPoolList]
}

IPPoolController interface for managing IPPool resources.

type IPPoolGeneratingHandler

type IPPoolGeneratingHandler func(obj *v1alpha1.IPPool, status v1alpha1.IPPoolStatus) ([]runtime.Object, v1alpha1.IPPoolStatus, error)

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

type IPPoolStatusHandler

type IPPoolStatusHandler func(obj *v1alpha1.IPPool, status v1alpha1.IPPoolStatus) (v1alpha1.IPPoolStatus, error)

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

type Interface

type Interface interface {
	IPPool() IPPoolController
	VirtualMachineNetworkConfig() VirtualMachineNetworkConfigController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type VirtualMachineNetworkConfigCache

type VirtualMachineNetworkConfigCache interface {
	generic.CacheInterface[*v1alpha1.VirtualMachineNetworkConfig]
}

VirtualMachineNetworkConfigCache interface for retrieving VirtualMachineNetworkConfig resources in memory.

type VirtualMachineNetworkConfigClient

type VirtualMachineNetworkConfigClient interface {
	generic.ClientInterface[*v1alpha1.VirtualMachineNetworkConfig, *v1alpha1.VirtualMachineNetworkConfigList]
}

VirtualMachineNetworkConfigClient interface for managing VirtualMachineNetworkConfig resources in Kubernetes.

type VirtualMachineNetworkConfigController

type VirtualMachineNetworkConfigController interface {
	generic.ControllerInterface[*v1alpha1.VirtualMachineNetworkConfig, *v1alpha1.VirtualMachineNetworkConfigList]
}

VirtualMachineNetworkConfigController interface for managing VirtualMachineNetworkConfig resources.

type VirtualMachineNetworkConfigGeneratingHandler

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

type VirtualMachineNetworkConfigStatusHandler

VirtualMachineNetworkConfigStatusHandler is executed for every added or modified VirtualMachineNetworkConfig. 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