Documentation ¶
Index ¶
- func RegisterVolumeAttachmentGeneratingHandler(ctx context.Context, controller VolumeAttachmentController, apply apply.Apply, ...)
- func RegisterVolumeAttachmentStatusHandler(ctx context.Context, controller VolumeAttachmentController, ...)
- type Interface
- type VolumeAttachmentCache
- type VolumeAttachmentClient
- type VolumeAttachmentController
- type VolumeAttachmentGeneratingHandler
- type VolumeAttachmentStatusHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterVolumeAttachmentGeneratingHandler ¶
func RegisterVolumeAttachmentGeneratingHandler(ctx context.Context, controller VolumeAttachmentController, apply apply.Apply, condition condition.Cond, name string, handler VolumeAttachmentGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterVolumeAttachmentGeneratingHandler configures a VolumeAttachmentController to execute a VolumeAttachmentGeneratingHandler 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 RegisterVolumeAttachmentStatusHandler ¶
func RegisterVolumeAttachmentStatusHandler(ctx context.Context, controller VolumeAttachmentController, condition condition.Cond, name string, handler VolumeAttachmentStatusHandler)
RegisterVolumeAttachmentStatusHandler configures a VolumeAttachmentController to execute a VolumeAttachmentStatusHandler 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 {
VolumeAttachment() VolumeAttachmentController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface
type VolumeAttachmentCache ¶
type VolumeAttachmentCache interface { generic.NonNamespacedCacheInterface[*v1.VolumeAttachment] }
VolumeAttachmentCache interface for retrieving VolumeAttachment resources in memory.
type VolumeAttachmentClient ¶
type VolumeAttachmentClient interface { generic.NonNamespacedClientInterface[*v1.VolumeAttachment, *v1.VolumeAttachmentList] }
VolumeAttachmentClient interface for managing VolumeAttachment resources in Kubernetes.
type VolumeAttachmentController ¶
type VolumeAttachmentController interface { generic.NonNamespacedControllerInterface[*v1.VolumeAttachment, *v1.VolumeAttachmentList] }
VolumeAttachmentController interface for managing VolumeAttachment resources.
type VolumeAttachmentGeneratingHandler ¶
type VolumeAttachmentGeneratingHandler func(obj *v1.VolumeAttachment, status v1.VolumeAttachmentStatus) ([]runtime.Object, v1.VolumeAttachmentStatus, error)
VolumeAttachmentGeneratingHandler is the top-level handler that is executed for every VolumeAttachment event. It extends VolumeAttachmentStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type VolumeAttachmentStatusHandler ¶
type VolumeAttachmentStatusHandler func(obj *v1.VolumeAttachment, status v1.VolumeAttachmentStatus) (v1.VolumeAttachmentStatus, error)
VolumeAttachmentStatusHandler is executed for every added or modified VolumeAttachment. Should return the new status to be updated