The current POC uses fuse only. Docker has a volume plugin system. This boils down to implementing the Driver interface.
For a message queue this translates into something closer to:
type MQ interface {
Mount(config map[string]string) error
Unmount() error
List(path string) ([]string, error)
Open() error
Get() (header, body []byte, error)
Put(header, body []byte) error
}
type KV interface {
Mount(config map[string]string) error
Unmount() error
List(path string) ([]string, error)
Get(path string) ([]byte, error)
Put(path string, body []byte) error
}
The current POC uses fuse only. Docker has a volume plugin system. This boils down to implementing the Driver interface. For a message queue this translates into something closer to:
As well there needs to be a Register function ex: