MCPcopy Create free account
hub / github.com/docker/go-plugins-helpers / Driver

Interface Driver

volume/api.go:106–115  ·  view source on GitHub ↗

Driver represent the interface a driver must fulfill.

Source from the content-addressed store, hash-verified

104
105// Driver represent the interface a driver must fulfill.
106type 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.
118type Handler struct {

Callers 26

initMuxMethod · 0.65
CreateMethod · 0.65
initMuxMethod · 0.65
ListMethod · 0.65
initMuxMethod · 0.65
callURLFunction · 0.65
TestActivateFunction · 0.65
TestCapabilitiesExchangeFunction · 0.65
TestActivateFunction · 0.65
callURLFunction · 0.65
initMuxMethod · 0.65
GetMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…