feat: basic volume plugin commands

This commit is contained in:
Nicolas Meienberger
2025-08-09 12:36:16 +02:00
parent 8d86f56b87
commit e7463d34ef
13 changed files with 222 additions and 9 deletions

22
internal/driver/type.go Normal file
View File

@@ -0,0 +1,22 @@
package driver
// CreateRequest is the JSON request for Create
type CreateRequest struct {
Name string
}
// RemoveRequest is the JSON request for Remove
type RemoveRequest struct {
Name string
}
// MountRequest is the JSON request for Mount
type MountRequest struct {
Name string
ID string
}
// PathRequest is the JSON request for Path
type PathRequest struct {
Name string
}