Versions in this module Expand all Collapse all v1 v1.0.0 Apr 8, 2026 Changes in this version + const StateAttached + const StateAttaching + const StateAttachingFailed + const StateAvailable + const StateCreating + const StateCreatingFailed + const StateDeleted + const StateDeleting + const StateDeletingFailed + const StateDetaching + const StateDetachingFailed + const StateError + const StatePending + type Volume struct + Backend string + CreatedAt time.Time + ID string + Name string + NodeID string + SizeMB int + State string + UpdatedAt time.Time + type VolumeBackend interface + AttachVolume func(ctx context.Context, name string, nodeID string) error + BackendName func() string + Close func(context.Context) error + CreateVolume func(ctx context.Context, name string, sizeMB int) (*Volume, error) + DeleteVolume func(ctx context.Context, name string) error + DetachVolume func(ctx context.Context, name string) error + GetVolume func(ctx context.Context, name string) (*Volume, error) + HealthCheck func(ctx context.Context) error + ListVolumes func(ctx context.Context) ([]*Volume, error)