MCPcopy Create free account

hub / github.com/docker/go-plugins-helpers / functions

Functions134 in github.com/docker/go-plugins-helpers

↓ 31 callersMethodHandleFunc
HandleFunc registers a function to handle a request path with.
sdk/handler.go:86
↓ 15 callersFunctionNewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
network/api.go:204
↓ 13 callersMethodGet
(*GetRequest)
volume/api.go:109
↓ 8 callersFunctionpluginRequest
(client *http.Client, method string, req interface{})
volume/api_test.go:114
↓ 7 callersFunctionNewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
volume/api.go:101
↓ 6 callersFunctionNewErrorResponse
NewErrorResponse creates an ErrorResponse with the provided message
ipam/api.go:87
↓ 6 callersMethodServe
Serve sets up the handler to serve requests on the passed in listener
sdk/handler.go:32
↓ 5 callersMethodJoin
(*JoinRequest)
network/api.go:42
↓ 5 callersMethodRemove
(*RemoveRequest)
volume/api.go:110
↓ 4 callersMethodPath
(*PathRequest)
volume/api.go:111
↓ 3 callersMethodServeTCP
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 callersFunctionpluginRequest
(client *http.Client, method string, req Request)
secrets/api_test.go:58
↓ 2 callersMethodCreate
(*CreateRequest)
volume/api.go:107
↓ 2 callersMethodList
()
volume/api.go:108
↓ 2 callersMethodMount
(*MountRequest)
volume/api.go:112
↓ 2 callersMethodName
()
volume/shim/shim_test.go:16
↓ 2 callersFunctionNewHandler
NewHandler initializes the request handler with a driver implementation.
network/api.go:215
↓ 2 callersFunctionPluginSpecDir
PluginSpecDir returns plugin spec dir in relation to daemon root directory.
sdk/spec_file_generator.go:17
↓ 2 callersMethodUnmount
(*UnmountRequest)
volume/api.go:113
↓ 2 callersFunctioncallURL
(url string)
network/api_test.go:100
↓ 2 callersFunctioncreatePluginSpecDirWindows
(name, address, daemonRoot string)
sdk/spec_file_generator.go:26
↓ 2 callersMethodhandle
(name string, actionCall actionHandler)
authorization/api.go:128
↓ 2 callersFunctionwriteSpecFile
(name, address, pluginSpecDir string, proto protocol)
sdk/spec_file_generator.go:48
↓ 1 callersMethodAllocateNetwork
(*AllocateNetworkRequest)
network/api.go:36
↓ 1 callersMethodAuthZReq
(Request)
authorization/api.go:99
↓ 1 callersMethodAuthZRes
(Request)
authorization/api.go:100
↓ 1 callersMethodCapabilities
()
volume/api.go:114
↓ 1 callersMethodCreateEndpoint
(*CreateEndpointRequest)
network/api.go:39
↓ 1 callersMethodCreateNetwork
(*CreateNetworkRequest)
network/api.go:35
↓ 1 callersMethodDeleteEndpoint
(*DeleteEndpointRequest)
network/api.go:40
↓ 1 callersMethodDeleteNetwork
(*DeleteNetworkRequest)
network/api.go:37
↓ 1 callersMethodDiscoverDelete
(*DiscoveryNotification)
network/api.go:45
↓ 1 callersMethodDiscoverNew
(*DiscoveryNotification)
network/api.go:44
↓ 1 callersMethodEndpointInfo
(*InfoRequest)
network/api.go:41
↓ 1 callersMethodFreeNetwork
(*FreeNetworkRequest)
network/api.go:38
↓ 1 callersMethodGetCapabilities
()
network/api.go:34
↓ 1 callersMethodGetCapabilities
()
ipam/api.go:22
↓ 1 callersMethodGetDefaultAddressSpaces
()
ipam/api.go:23
↓ 1 callersMethodLeave
(*LeaveRequest)
network/api.go:43
↓ 1 callersMethodMarshalJSON
MarshalJSON returns the JSON encoded pem bytes of a PeerCertificate.
authorization/api.go:32
↓ 1 callersFunctionNewHandler
NewHandler initializes the request handler with a driver implementation.
secrets/api.go:70
↓ 1 callersFunctionNewHandler
NewHandler initializes the request handler with a plugin implementation.
authorization/api.go:110
↓ 1 callersFunctionNewHandler
NewHandler initializes the request handler with a driver implementation.
volume/api.go:124
↓ 1 callersFunctionNewHandlerFromVolumeDriver
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 callersMethodProgramExternalConnectivity
(*ProgramExternalConnectivityRequest)
network/api.go:46
↓ 1 callersMethodReleaseAddress
(*ReleaseAddressRequest)
ipam/api.go:27
↓ 1 callersMethodReleasePool
(*ReleasePoolRequest)
ipam/api.go:25
↓ 1 callersMethodRequestAddress
(*RequestAddressRequest)
ipam/api.go:26
↓ 1 callersMethodRequestPool
(*RequestPoolRequest)
ipam/api.go:24
↓ 1 callersMethodRevokeExternalConnectivity
(*RevokeExternalConnectivityRequest)
network/api.go:47
↓ 1 callersMethodScope
()
volume/shim/shim_test.go:21
↓ 1 callersMethodUnmarshalJSON
UnmarshalJSON populates a new PeerCertificate struct from JSON data.
authorization/api.go:38
↓ 1 callersFunctioncallURL
(url string)
authorization/api_test.go:193
↓ 1 callersFunctioncopyBuf
copyBuf uses a shared buffer pool with io.CopyBuffer
sdk/pool.go:13
↓ 1 callersFunctioncreatePluginSpecDirUnix
(name, address string)
sdk/spec_file_generator.go:40
↓ 1 callersFunctionfullSocketAddress
(address string)
sdk/unix_listener.go:27
↓ 1 callersMethodinitMux
()
secrets/api.go:76
↓ 1 callersMethodinitMux
()
network/api.go:221
↓ 1 callersMethodinitMux
()
authorization/api.go:116
↓ 1 callersMethodinitMux
()
volume/api.go:130
↓ 1 callersMethodinitMux
()
ipam/api.go:104
↓ 1 callersFunctionisRunningSystemd
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 callersFunctionnewTCPListener
(address, pluginName, daemonDir string, tlsConfig *tls.Config)
sdk/tcp_listener.go:11
↓ 1 callersFunctionnewUnixListener
(pluginName string, gid int)
sdk/unix_listener.go:15
↓ 1 callersFunctionnewWindowsListener
(address, pluginName, daemonRoot string, pipeConfig *WindowsPipeConfig)
sdk/windows_listener.go:24
↓ 1 callersFunctionpluginRequest
(client *http.Client, method string, req *volumeplugin.CreateRequest)
volume/shim/shim_test.go:43
↓ 1 callersFunctionwindowsCreateDirectoryWithACL
(name string)
sdk/windows_listener.go:48
MethodAuthZReq
(r Request)
authorization/api_test.go:27
MethodAuthZRes
(r Request)
authorization/api_test.go:35
MethodCapabilities
()
volume/api_test.go:208
MethodCapabilities
()
volume/shim/shim.go:105
MethodCreate
(req *CreateRequest)
volume/api_test.go:142
MethodCreate
(string, map[string]string)
volume/shim/shim_test.go:17
MethodCreate
(req *volumeplugin.CreateRequest)
volume/shim/shim.go:21
MethodCreateEndpoint
(r *CreateEndpointRequest)
network/api_test.go:32
MethodCreateEndpoint
(r *CreateEndpointRequest)
network/api_test.go:84
MethodCreateNetwork
(r *CreateNetworkRequest)
network/api_test.go:24
MethodCreateNetwork
(r *CreateNetworkRequest)
network/api_test.go:76
FunctionDecodeRequest
DecodeRequest decodes an http request into a given structure.
sdk/encoder.go:14
MethodDeleteEndpoint
(r *DeleteEndpointRequest)
network/api_test.go:36
MethodDeleteEndpoint
(r *DeleteEndpointRequest)
network/api_test.go:88
MethodDeleteNetwork
(r *DeleteNetworkRequest)
network/api_test.go:28
MethodDeleteNetwork
(r *DeleteNetworkRequest)
network/api_test.go:80
FunctionEncodeResponse
EncodeResponse encodes the given structure into an http response.
sdk/encoder.go:22
MethodGet
Get gets a secret from a remote secret store
secrets/api.go:60
MethodGet
(req Request)
secrets/api_test.go:82
MethodGet
(req *GetRequest)
volume/api_test.go:148
MethodGet
(name string)
volume/shim/shim_test.go:20
MethodGet
(req *volumeplugin.GetRequest)
volume/shim/shim.go:45
MethodGetCapabilities
()
network/api_test.go:20
MethodGetCapabilities
()
network/api_test.go:72
MethodJoin
(r *JoinRequest)
network/api_test.go:40
MethodJoin
(r *JoinRequest)
network/api_test.go:92
MethodLeave
(r *LeaveRequest)
network/api_test.go:44
MethodLeave
(r *LeaveRequest)
network/api_test.go:96
MethodList
()
volume/api_test.go:158
MethodList
()
volume/shim/shim_test.go:19
MethodList
()
volume/shim/shim.go:26
MethodMount
(req *MountRequest)
volume/api_test.go:188
MethodMount
(req *volumeplugin.MountRequest)
volume/shim/shim.go:80
next →1–100 of 134, ranked by callers