Documentation
¶
Index ¶
- func RegisterCephClusterGeneratingHandler(ctx context.Context, controller CephClusterController, apply apply.Apply, ...)
- func RegisterCephClusterStatusHandler(ctx context.Context, controller CephClusterController, ...)
- type CephBlockPoolCache
- type CephBlockPoolClient
- type CephBlockPoolController
- type CephClusterCache
- type CephClusterClient
- type CephClusterController
- type CephClusterGeneratingHandler
- type CephClusterStatusHandler
- type CephFilesystemCache
- type CephFilesystemClient
- type CephFilesystemController
- type CephFilesystemSubVolumeGroupCache
- type CephFilesystemSubVolumeGroupClient
- type CephFilesystemSubVolumeGroupController
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCephClusterGeneratingHandler ¶
func RegisterCephClusterGeneratingHandler(ctx context.Context, controller CephClusterController, apply apply.Apply, condition condition.Cond, name string, handler CephClusterGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterCephClusterGeneratingHandler configures a CephClusterController to execute a CephClusterGeneratingHandler 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 RegisterCephClusterStatusHandler ¶
func RegisterCephClusterStatusHandler(ctx context.Context, controller CephClusterController, condition condition.Cond, name string, handler CephClusterStatusHandler)
RegisterCephClusterStatusHandler configures a CephClusterController to execute a CephClusterStatusHandler 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 CephBlockPoolCache ¶
type CephBlockPoolCache interface { generic.CacheInterface[*v1.CephBlockPool] }
CephBlockPoolCache interface for retrieving CephBlockPool resources in memory.
type CephBlockPoolClient ¶
type CephBlockPoolClient interface { generic.ClientInterface[*v1.CephBlockPool, *v1.CephBlockPoolList] }
CephBlockPoolClient interface for managing CephBlockPool resources in Kubernetes.
type CephBlockPoolController ¶
type CephBlockPoolController interface { generic.ControllerInterface[*v1.CephBlockPool, *v1.CephBlockPoolList] }
CephBlockPoolController interface for managing CephBlockPool resources.
type CephClusterCache ¶
type CephClusterCache interface { generic.CacheInterface[*v1.CephCluster] }
CephClusterCache interface for retrieving CephCluster resources in memory.
type CephClusterClient ¶
type CephClusterClient interface { generic.ClientInterface[*v1.CephCluster, *v1.CephClusterList] }
CephClusterClient interface for managing CephCluster resources in Kubernetes.
type CephClusterController ¶
type CephClusterController interface { generic.ControllerInterface[*v1.CephCluster, *v1.CephClusterList] }
CephClusterController interface for managing CephCluster resources.
type CephClusterGeneratingHandler ¶
type CephClusterGeneratingHandler func(obj *v1.CephCluster, status v1.ClusterStatus) ([]runtime.Object, v1.ClusterStatus, error)
CephClusterGeneratingHandler is the top-level handler that is executed for every CephCluster event. It extends CephClusterStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type CephClusterStatusHandler ¶
type CephClusterStatusHandler func(obj *v1.CephCluster, status v1.ClusterStatus) (v1.ClusterStatus, error)
CephClusterStatusHandler is executed for every added or modified CephCluster. Should return the new status to be updated
type CephFilesystemCache ¶
type CephFilesystemCache interface { generic.CacheInterface[*v1.CephFilesystem] }
CephFilesystemCache interface for retrieving CephFilesystem resources in memory.
type CephFilesystemClient ¶
type CephFilesystemClient interface { generic.ClientInterface[*v1.CephFilesystem, *v1.CephFilesystemList] }
CephFilesystemClient interface for managing CephFilesystem resources in Kubernetes.
type CephFilesystemController ¶
type CephFilesystemController interface { generic.ControllerInterface[*v1.CephFilesystem, *v1.CephFilesystemList] }
CephFilesystemController interface for managing CephFilesystem resources.
type CephFilesystemSubVolumeGroupCache ¶
type CephFilesystemSubVolumeGroupCache interface { generic.CacheInterface[*v1.CephFilesystemSubVolumeGroup] }
CephFilesystemSubVolumeGroupCache interface for retrieving CephFilesystemSubVolumeGroup resources in memory.
type CephFilesystemSubVolumeGroupClient ¶
type CephFilesystemSubVolumeGroupClient interface { generic.ClientInterface[*v1.CephFilesystemSubVolumeGroup, *v1.CephFilesystemSubVolumeGroupList] }
CephFilesystemSubVolumeGroupClient interface for managing CephFilesystemSubVolumeGroup resources in Kubernetes.
type CephFilesystemSubVolumeGroupController ¶
type CephFilesystemSubVolumeGroupController interface { generic.ControllerInterface[*v1.CephFilesystemSubVolumeGroup, *v1.CephFilesystemSubVolumeGroupList] }
CephFilesystemSubVolumeGroupController interface for managing CephFilesystemSubVolumeGroup resources.
type Interface ¶
type Interface interface { CephBlockPool() CephBlockPoolController CephCluster() CephClusterController CephFilesystem() CephFilesystemController CephFilesystemSubVolumeGroup() CephFilesystemSubVolumeGroupController }
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface