Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImageRBDIDPrefix = "img_" SnapshotRBDIDPrefix = "snap_" ImageSnapshotVersion = "v1" )
View Source
const ( LimitMetadataPrefix = "conf_" WWNKey = "wwn" )
View Source
const (
ImageFinalizer = "image"
)
View Source
const (
SnapshotFinalizer = "snapshot"
)
Variables ¶
This section is empty.
Functions ¶
func ImageIDToRBDID ¶
func SnapshotIDToRBDID ¶
Types ¶
type ImageReconciler ¶
type ImageReconciler struct { eventrecorder.EventRecorder // contains filtered or unexported fields }
func NewImageReconciler ¶
func NewImageReconciler( log logr.Logger, conn *rados.Conn, registry image.Source, images store.Store[*providerapi.Image], snapshots store.Store[*providerapi.Snapshot], eventRecorder eventrecorder.EventRecorder, imageEvents event.Source[*providerapi.Image], snapshotEvents event.Source[*providerapi.Snapshot], keyEncryption encryption.Encryptor, opts ImageReconcilerOptions, ) (*ImageReconciler, error)
type ImageReconcilerOptions ¶
type SnapshotReconciler ¶
type SnapshotReconciler struct {
// contains filtered or unexported fields
}
func NewSnapshotReconciler ¶
func NewSnapshotReconciler( log logr.Logger, conn *rados.Conn, registry image.Source, store store.Store[*providerapi.Snapshot], events event.Source[*providerapi.Snapshot], opts SnapshotReconcilerOptions, ) (*SnapshotReconciler, error)
Click to show internal directories.
Click to hide internal directories.