Versions in this module Expand all Collapse all v0 v0.3.0 Aug 19, 2016 Changes in this version + func Activate(w http.ResponseWriter, r *http.Request) + func Capabilities(w http.ResponseWriter, r *http.Request) + func Deactivate(w http.ResponseWriter, r *http.Request) + func NewVolplugin() api.Volplugin + type Response struct + Err string + Mountpoint string + type Volplugin struct + func (v *Volplugin) HTTPError(w http.ResponseWriter, err error) + func (v *Volplugin) ReadCreate(r *http.Request) (*config.VolumeRequest, error) + func (v *Volplugin) ReadGet(r *http.Request) (string, error) + func (v *Volplugin) ReadMount(r *http.Request) (*api.Volume, error) + func (v *Volplugin) ReadPath(r *http.Request) (string, error) + func (v *Volplugin) Router(a *api.API) *mux.Router + func (v *Volplugin) WriteCreate(volConfig *config.Volume, w http.ResponseWriter) error + func (v *Volplugin) WriteGet(name, mountpoint string, w http.ResponseWriter) error + func (v *Volplugin) WriteList(volumes []string, w http.ResponseWriter) error + func (v *Volplugin) WriteMount(mountPoint string, w http.ResponseWriter) error + func (v *Volplugin) WritePath(mountpoint string, w http.ResponseWriter) error + type Volume struct + Mountpoint string + Name string + type VolumeCreateRequest struct + Name string + Opts map[string]string + type VolumeGetRequest struct + Name string + type VolumeGetResponse struct + Err string + Volume Volume + type VolumeList struct + Err string + Volumes []Volume