refactor: move longhorn into volumes/longhorn subpackage, add StorageClassProvider interface #2

Merged
litelotus merged 1 commit from feat/ingress-statefulset-volume-providers into main 2026-05-28 10:09:51 +00:00
Owner
  • volumes/pvc.go: StorageClass field now accepts any StorageClassProvider
    (interface with StorageClassName() method) instead of concrete Longhorn type
  • volumes/longhorn/: moved storage_class.go and recurring_job.go here,
    CreatedToolkitLonghornStorageClass satisfies StorageClassProvider
  • volumes/seaweed/, volumes/s3/, volumes/nfs/: placeholder packages for
    future storage providers
- volumes/pvc.go: StorageClass field now accepts any StorageClassProvider (interface with StorageClassName() method) instead of concrete Longhorn type - volumes/longhorn/: moved storage_class.go and recurring_job.go here, CreatedToolkitLonghornStorageClass satisfies StorageClassProvider - volumes/seaweed/, volumes/s3/, volumes/nfs/: placeholder packages for future storage providers
- volumes/pvc.go: StorageClass field now accepts any StorageClassProvider
  (interface with StorageClassName() method) instead of concrete Longhorn type
- volumes/longhorn/: moved storage_class.go and recurring_job.go here,
  CreatedToolkitLonghornStorageClass satisfies StorageClassProvider
- volumes/seaweed/, volumes/s3/, volumes/nfs/: placeholder packages for
  future storage providers
litelotus deleted branch feat/ingress-statefulset-volume-providers 2026-05-28 10:09:54 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
homelab/kubernetes-toolkit!2
No description provided.