Created
January 24, 2017 09:45
-
-
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 .
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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