v1

package
v1.4.0-dev-20240802 Latest Latest
Warning

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

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

Documentation

Index

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

Jump to

Keyboard shortcuts

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