Driver represent the interface a driver must fulfill.
| 104 | |
| 105 | // Driver represent the interface a driver must fulfill. |
| 106 | type Driver interface { |
| 107 | Create(*CreateRequest) error |
| 108 | List() (*ListResponse, error) |
| 109 | Get(*GetRequest) (*GetResponse, error) |
| 110 | Remove(*RemoveRequest) error |
| 111 | Path(*PathRequest) (*PathResponse, error) |
| 112 | Mount(*MountRequest) (*MountResponse, error) |
| 113 | Unmount(*UnmountRequest) error |
| 114 | Capabilities() *CapabilitiesResponse |
| 115 | } |
| 116 | |
| 117 | // Handler forwards requests and responses between the docker daemon and the plugin. |
| 118 | type Handler struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…