Go handler to create external volume extensions for Docker.
This library is designed to be integrated in your program.
- Implement the
dkvolume.Driverinterface. - Initialize a
dkvolume.Handerwith your implementation. - Call either
ServeTCPorServeUnixfrom thedkvolume.Handler.
d := MyVolumeDriver{}
h := dkvolume.NewHandler(d)
h.ServeTCP("test_volume", ":8080") d := MyVolumeDriver{}
h := dkvolume.NewHandler(d)
h.ServeUnix("root", "test_volume")- https://github.com/calavera/docker-volume-glusterfs
- https://github.com/calavera/docker-volume-keywhiz
MIT