Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discoverer ¶
type InfoResponse ¶
type InfoResponse struct {
Name string `json:"name"`
}
type ListDriversResponse ¶
type ListDriversResponse struct {
Drivers []InfoResponse `json:"drivers"`
}
type Manager ¶
type Manager interface { ListDrivers(logger lager.Logger) (ListDriversResponse, error) Mount(logger lager.Logger, driverId string, volumeId string, containerId string, config map[string]interface{}) (MountResponse, error) Unmount(logger lager.Logger, driverId string, volumeId string, containerId string) error }
type MountRequest ¶
type MountResponse ¶
type MountResponse struct {
Path string `json:"path"`
}
type Plugin ¶
type Plugin interface { ListVolumes(logger lager.Logger) ([]string, error) Mount(logger lager.Logger, volumeId string, config map[string]interface{}) (MountResponse, error) Unmount(logger lager.Logger, volumeId string) error Matches(lager.Logger, PluginSpec) bool GetPluginSpec() PluginSpec }
type PluginRegistry ¶
type PluginSpec ¶
type UnmountRequest ¶
Click to show internal directories.
Click to hide internal directories.