Documentation ¶
Index ¶
- func RegisterBlockDeviceGeneratingHandler(ctx context.Context, controller BlockDeviceController, apply apply.Apply, ...)
- func RegisterBlockDeviceStatusHandler(ctx context.Context, controller BlockDeviceController, ...)
- type BlockDeviceCache
- type BlockDeviceClient
- type BlockDeviceController
- type BlockDeviceGeneratingHandler
- type BlockDeviceStatusHandler
- type Interface
- type LVMVolumeGroupCache
- type LVMVolumeGroupClient
- type LVMVolumeGroupController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBlockDeviceGeneratingHandler ¶
func RegisterBlockDeviceGeneratingHandler(ctx context.Context, controller BlockDeviceController, apply apply.Apply, condition condition.Cond, name string, handler BlockDeviceGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterBlockDeviceGeneratingHandler configures a BlockDeviceController to execute a BlockDeviceGeneratingHandler 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 RegisterBlockDeviceStatusHandler ¶
func RegisterBlockDeviceStatusHandler(ctx context.Context, controller BlockDeviceController, condition condition.Cond, name string, handler BlockDeviceStatusHandler)
RegisterBlockDeviceStatusHandler configures a BlockDeviceController to execute a BlockDeviceStatusHandler 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 BlockDeviceCache ¶
type BlockDeviceCache interface { generic.CacheInterface[*v1beta1.BlockDevice] }
BlockDeviceCache interface for retrieving BlockDevice resources in memory.
type BlockDeviceClient ¶
type BlockDeviceClient interface { generic.ClientInterface[*v1beta1.BlockDevice, *v1beta1.BlockDeviceList] }
BlockDeviceClient interface for managing BlockDevice resources in Kubernetes.
type BlockDeviceController ¶
type BlockDeviceController interface { generic.ControllerInterface[*v1beta1.BlockDevice, *v1beta1.BlockDeviceList] }
BlockDeviceController interface for managing BlockDevice resources.
type BlockDeviceGeneratingHandler ¶
type BlockDeviceGeneratingHandler func(obj *v1beta1.BlockDevice, status v1beta1.BlockDeviceStatus) ([]runtime.Object, v1beta1.BlockDeviceStatus, error)
BlockDeviceGeneratingHandler is the top-level handler that is executed for every BlockDevice event. It extends BlockDeviceStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type BlockDeviceStatusHandler ¶
type BlockDeviceStatusHandler func(obj *v1beta1.BlockDevice, status v1beta1.BlockDeviceStatus) (v1beta1.BlockDeviceStatus, error)
BlockDeviceStatusHandler is executed for every added or modified BlockDevice. Should return the new status to be updated
type Interface ¶
type Interface interface { BlockDevice() BlockDeviceController LVMVolumeGroup() LVMVolumeGroupController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type LVMVolumeGroupCache ¶ added in v0.7.2
type LVMVolumeGroupCache interface { generic.CacheInterface[*v1beta1.LVMVolumeGroup] }
LVMVolumeGroupCache interface for retrieving LVMVolumeGroup resources in memory.
type LVMVolumeGroupClient ¶ added in v0.7.2
type LVMVolumeGroupClient interface { generic.ClientInterface[*v1beta1.LVMVolumeGroup, *v1beta1.LVMVolumeGroupList] }
LVMVolumeGroupClient interface for managing LVMVolumeGroup resources in Kubernetes.
type LVMVolumeGroupController ¶ added in v0.7.2
type LVMVolumeGroupController interface { generic.ControllerInterface[*v1beta1.LVMVolumeGroup, *v1beta1.LVMVolumeGroupList] }
LVMVolumeGroupController interface for managing LVMVolumeGroup resources.