Skip to content

Instantly share code, notes, and snippets.

@hackintoshrao
Created January 24, 2017 09:45
Show Gist options
  • Select an option

  • Save hackintoshrao/caf2764eacb50a45080939cf364ebd12 to your computer and use it in GitHub Desktop.

Select an option

Save hackintoshrao/caf2764eacb50a45080939cf364ebd12 to your computer and use it in GitHub Desktop.
Plugin Driver interface from the plugin helper functions at https://github.com/docker/go-plugins-helpers/blob/master/volume/api.go#L64 .
// Driver represent the interface a driver must fulfill.
type Driver interface {
Create(Request) Response
List(Request) Response
Get(Request) Response
Remove(Request) Response
Path(Request) Response
Mount(MountRequest) Response
Unmount(UnmountRequest) Response
Capabilities(Request) Response
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment