Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/go-plugins-helpers
/ functions
Functions
134 in github.com/docker/go-plugins-helpers
⨍
Functions
134
◇
Types & classes
73
↓ 31 callers
Method
HandleFunc
HandleFunc registers a function to handle a request path with.
sdk/handler.go:86
↓ 15 callers
Function
NewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
network/api.go:204
↓ 13 callers
Method
Get
(*GetRequest)
volume/api.go:109
↓ 8 callers
Function
pluginRequest
(client *http.Client, method string, req interface{})
volume/api_test.go:114
↓ 7 callers
Function
NewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
volume/api.go:101
↓ 6 callers
Function
NewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
ipam/api.go:87
↓ 6 callers
Method
Serve
Serve sets up the handler to serve requests on the passed in listener
sdk/handler.go:32
↓ 5 callers
Method
Join
(*JoinRequest)
network/api.go:42
↓ 5 callers
Method
Remove
(*RemoveRequest)
volume/api.go:110
↓ 4 callers
Method
Path
(*PathRequest)
volume/api.go:111
↓ 3 callers
Method
ServeTCP
ServeTCP makes the handler to listen for request in a given TCP address. It also writes the spec file in the right directory for docker to read. Due t
sdk/handler.go:45
↓ 3 callers
Function
pluginRequest
(client *http.Client, method string, req Request)
secrets/api_test.go:58
↓ 2 callers
Method
Create
(*CreateRequest)
volume/api.go:107
↓ 2 callers
Method
List
()
volume/api.go:108
↓ 2 callers
Method
Mount
(*MountRequest)
volume/api.go:112
↓ 2 callers
Method
Name
()
volume/shim/shim_test.go:16
↓ 2 callers
Function
NewHandler
NewHandler initializes the request handler with a driver implementation.
network/api.go:215
↓ 2 callers
Function
PluginSpecDir
PluginSpecDir returns plugin spec dir in relation to daemon root directory.
sdk/spec_file_generator.go:17
↓ 2 callers
Method
Unmount
(*UnmountRequest)
volume/api.go:113
↓ 2 callers
Function
callURL
(url string)
network/api_test.go:100
↓ 2 callers
Function
createPluginSpecDirWindows
(name, address, daemonRoot string)
sdk/spec_file_generator.go:26
↓ 2 callers
Method
handle
(name string, actionCall actionHandler)
authorization/api.go:128
↓ 2 callers
Function
writeSpecFile
(name, address, pluginSpecDir string, proto protocol)
sdk/spec_file_generator.go:48
↓ 1 callers
Method
AllocateNetwork
(*AllocateNetworkRequest)
network/api.go:36
↓ 1 callers
Method
AuthZReq
(Request)
authorization/api.go:99
↓ 1 callers
Method
AuthZRes
(Request)
authorization/api.go:100
↓ 1 callers
Method
Capabilities
()
volume/api.go:114
↓ 1 callers
Method
CreateEndpoint
(*CreateEndpointRequest)
network/api.go:39
↓ 1 callers
Method
CreateNetwork
(*CreateNetworkRequest)
network/api.go:35
↓ 1 callers
Method
DeleteEndpoint
(*DeleteEndpointRequest)
network/api.go:40
↓ 1 callers
Method
DeleteNetwork
(*DeleteNetworkRequest)
network/api.go:37
↓ 1 callers
Method
DiscoverDelete
(*DiscoveryNotification)
network/api.go:45
↓ 1 callers
Method
DiscoverNew
(*DiscoveryNotification)
network/api.go:44
↓ 1 callers
Method
EndpointInfo
(*InfoRequest)
network/api.go:41
↓ 1 callers
Method
FreeNetwork
(*FreeNetworkRequest)
network/api.go:38
↓ 1 callers
Method
GetCapabilities
()
network/api.go:34
↓ 1 callers
Method
GetCapabilities
()
ipam/api.go:22
↓ 1 callers
Method
GetDefaultAddressSpaces
()
ipam/api.go:23
↓ 1 callers
Method
Leave
(*LeaveRequest)
network/api.go:43
↓ 1 callers
Method
MarshalJSON
MarshalJSON returns the JSON encoded pem bytes of a PeerCertificate.
authorization/api.go:32
↓ 1 callers
Function
NewHandler
NewHandler initializes the request handler with a driver implementation.
secrets/api.go:70
↓ 1 callers
Function
NewHandler
NewHandler initializes the request handler with a plugin implementation.
authorization/api.go:110
↓ 1 callers
Function
NewHandler
NewHandler initializes the request handler with a driver implementation.
volume/api.go:124
↓ 1 callers
Function
NewHandlerFromVolumeDriver
NewHandlerFromVolumeDriver creates a plugin handler from an existing volume driver. This could be used, for instance, by the `local` volume driver bui
volume/shim/shim.go:17
↓ 1 callers
Method
ProgramExternalConnectivity
(*ProgramExternalConnectivityRequest)
network/api.go:46
↓ 1 callers
Method
ReleaseAddress
(*ReleaseAddressRequest)
ipam/api.go:27
↓ 1 callers
Method
ReleasePool
(*ReleasePoolRequest)
ipam/api.go:25
↓ 1 callers
Method
RequestAddress
(*RequestAddressRequest)
ipam/api.go:26
↓ 1 callers
Method
RequestPool
(*RequestPoolRequest)
ipam/api.go:24
↓ 1 callers
Method
RevokeExternalConnectivity
(*RevokeExternalConnectivityRequest)
network/api.go:47
↓ 1 callers
Method
Scope
()
volume/shim/shim_test.go:21
↓ 1 callers
Method
UnmarshalJSON
UnmarshalJSON populates a new PeerCertificate struct from JSON data.
authorization/api.go:38
↓ 1 callers
Function
callURL
(url string)
authorization/api_test.go:193
↓ 1 callers
Function
copyBuf
copyBuf uses a shared buffer pool with io.CopyBuffer
sdk/pool.go:13
↓ 1 callers
Function
createPluginSpecDirUnix
(name, address string)
sdk/spec_file_generator.go:40
↓ 1 callers
Function
fullSocketAddress
(address string)
sdk/unix_listener.go:27
↓ 1 callers
Method
initMux
()
secrets/api.go:76
↓ 1 callers
Method
initMux
()
network/api.go:221
↓ 1 callers
Method
initMux
()
authorization/api.go:116
↓ 1 callers
Method
initMux
()
volume/api.go:130
↓ 1 callers
Method
initMux
()
ipam/api.go:104
↓ 1 callers
Function
isRunningSystemd
isRunningSystemd checks whether the host was booted with systemd as its init system. This functions similarly to systemd's `sd_booted(3)`: internally,
sdk/unix_listener_systemd.go:19
↓ 1 callers
Function
newTCPListener
(address, pluginName, daemonDir string, tlsConfig *tls.Config)
sdk/tcp_listener.go:11
↓ 1 callers
Function
newUnixListener
(pluginName string, gid int)
sdk/unix_listener.go:15
↓ 1 callers
Function
newWindowsListener
(address, pluginName, daemonRoot string, pipeConfig *WindowsPipeConfig)
sdk/windows_listener.go:24
↓ 1 callers
Function
pluginRequest
(client *http.Client, method string, req *volumeplugin.CreateRequest)
volume/shim/shim_test.go:43
↓ 1 callers
Function
windowsCreateDirectoryWithACL
(name string)
sdk/windows_listener.go:48
Method
AuthZReq
(r Request)
authorization/api_test.go:27
Method
AuthZRes
(r Request)
authorization/api_test.go:35
Method
Capabilities
()
volume/api_test.go:208
Method
Capabilities
()
volume/shim/shim.go:105
Method
Create
(req *CreateRequest)
volume/api_test.go:142
Method
Create
(string, map[string]string)
volume/shim/shim_test.go:17
Method
Create
(req *volumeplugin.CreateRequest)
volume/shim/shim.go:21
Method
CreateEndpoint
(r *CreateEndpointRequest)
network/api_test.go:32
Method
CreateEndpoint
(r *CreateEndpointRequest)
network/api_test.go:84
Method
CreateNetwork
(r *CreateNetworkRequest)
network/api_test.go:24
Method
CreateNetwork
(r *CreateNetworkRequest)
network/api_test.go:76
Function
DecodeRequest
DecodeRequest decodes an http request into a given structure.
sdk/encoder.go:14
Method
DeleteEndpoint
(r *DeleteEndpointRequest)
network/api_test.go:36
Method
DeleteEndpoint
(r *DeleteEndpointRequest)
network/api_test.go:88
Method
DeleteNetwork
(r *DeleteNetworkRequest)
network/api_test.go:28
Method
DeleteNetwork
(r *DeleteNetworkRequest)
network/api_test.go:80
Function
EncodeResponse
EncodeResponse encodes the given structure into an http response.
sdk/encoder.go:22
Method
Get
Get gets a secret from a remote secret store
secrets/api.go:60
Method
Get
(req Request)
secrets/api_test.go:82
Method
Get
(req *GetRequest)
volume/api_test.go:148
Method
Get
(name string)
volume/shim/shim_test.go:20
Method
Get
(req *volumeplugin.GetRequest)
volume/shim/shim.go:45
Method
GetCapabilities
()
network/api_test.go:20
Method
GetCapabilities
()
network/api_test.go:72
Method
Join
(r *JoinRequest)
network/api_test.go:40
Method
Join
(r *JoinRequest)
network/api_test.go:92
Method
Leave
(r *LeaveRequest)
network/api_test.go:44
Method
Leave
(r *LeaveRequest)
network/api_test.go:96
Method
List
()
volume/api_test.go:158
Method
List
()
volume/shim/shim_test.go:19
Method
List
()
volume/shim/shim.go:26
Method
Mount
(req *MountRequest)
volume/api_test.go:188
Method
Mount
(req *volumeplugin.MountRequest)
volume/shim/shim.go:80
next →
1–100 of 134, ranked by callers