mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: basic volume plugin commands
This commit is contained in:
22
internal/driver/type.go
Normal file
22
internal/driver/type.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user