Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fsouza/go-dockerclient
/ functions
Functions
729 in github.com/fsouza/go-dockerclient
⨍
Functions
729
◇
Types & classes
188
↓ 1 callers
Method
PingWithContext
PingWithContext pings the docker server The context object can be used to cancel the ping request. See https://goo.gl/wYfgY1 for more details.
client.go:396
↓ 1 callers
Method
PruneContainers
PruneContainers deletes containers which are stopped. See https://goo.gl/wnkgDT for more details.
container_prune.go:28
↓ 1 callers
Method
PruneImages
PruneImages deletes images which are unused. See https://goo.gl/qfZlbZ for more details.
image.go:762
↓ 1 callers
Method
PruneNetworks
PruneNetworks deletes networks which are unused. See https://goo.gl/kX0S9h for more details.
network.go:310
↓ 1 callers
Method
PruneVolumes
PruneVolumes deletes volumes which are unused. See https://goo.gl/f9XDem for more details.
volume.go:182
↓ 1 callers
Method
PushPlugin
PushPlugin pushes plugin that opts point or returns an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:409
↓ 1 callers
Method
RemoveImageExtended
RemoveImageExtended removes an image by its name or ID. Extra params can be passed, see RemoveImageOptions See https://goo.gl/Vd2Pck for more details
image.go:187
↓ 1 callers
Method
RemoveNetwork
RemoveNetwork removes a network or returns an error in case of failure. See https://goo.gl/6GugX3 for more details.
network.go:197
↓ 1 callers
Method
RenameContainer
RenameContainer updates and existing containers name See https://goo.gl/46inai for more details.
container_rename.go:24
↓ 1 callers
Method
ResetFailure
ResetFailure removes an expected failure identified by the given id.
testing/server.go:265
↓ 1 callers
Method
ResetMultiFailures
ResetMultiFailures removes all enqueued failures.
testing/server.go:270
↓ 1 callers
Method
ResizeContainerTTY
ResizeContainerTTY resizes the terminal to the given height and width. See https://goo.gl/FImjeq for more details.
container_resize.go:12
↓ 1 callers
Method
ResizeExecTTY
ResizeExecTTY resizes the tty session used by the exec command id. This API is valid only if Tty was specified as part of creating and starting the ex
exec.go:154
↓ 1 callers
Function
RestartOnFailure
RestartOnFailure returns a restart policy that tells the Docker daemon to restart the container on failures, trying at most maxRetry times.
container_restart.go:32
↓ 1 callers
Function
RestartUnlessStopped
RestartUnlessStopped returns a restart policy that tells the Docker daemon to always restart the container except when user has manually stopped the c
container_restart.go:38
↓ 1 callers
Method
SearchImages
SearchImages search the docker hub with a specific given term. See https://goo.gl/KLO9IZ for more details.
image.go:704
↓ 1 callers
Method
SearchImagesEx
SearchImagesEx search the docker hub with a specific given term and authentication. See https://goo.gl/KLO9IZ for more details.
image.go:720
↓ 1 callers
Method
SetBool
SetBool defines a boolean value to the given key.
env.go:42
↓ 1 callers
Method
SetHook
SetHook changes the hook function used by the server. The hook function is a function called on every request.
testing/server.go:215
↓ 1 callers
Method
SetInt
SetInt defines an integer value to the given key.
env.go:58
↓ 1 callers
Method
SetList
SetList stores the given list in the provided key, after serializing it to JSON format.
env.go:120
↓ 1 callers
Method
SetTimeout
SetTimeout takes a timeout and applies it to the HTTPClient. It should not be called concurrently with any other Client methods.
client.go:355
↓ 1 callers
Method
StartExecNonBlocking
StartExecNonBlocking starts a previously set up exec instance id. If opts.Detach is true, it returns after starting the exec command. Otherwise, it se
exec.go:119
↓ 1 callers
Method
UpdateContainer
UpdateContainer updates the container at ID with the options See https://goo.gl/Y6fXUy for more details.
container_update.go:33
↓ 1 callers
Method
UploadToContainer
UploadToContainer uploads a tar archive to be extracted to a path in the filesystem of the container. See https://goo.gl/g25o7u for more details.
container_archive.go:26
↓ 1 callers
Method
VersionWithContext
VersionWithContext returns version information about the docker server.
misc.go:23
↓ 1 callers
Method
Write
(buf []byte)
testing/server_test.go:2241
↓ 1 callers
Method
Write
(p []byte)
testing/stdcopy.go:29
↓ 1 callers
Method
addListener
(listener chan<- *APIEvents)
event.go:159
↓ 1 callers
Function
addQueryStringValue
(items url.Values, key string, v reflect.Value)
client.go:958
↓ 1 callers
Function
authConfigs
authConfigs converts a dockerConfigs map to a AuthConfigurations object.
auth.go:206
↓ 1 callers
Method
callCount
()
client.go:674
↓ 1 callers
Method
closeListeners
()
event.go:186
↓ 1 callers
Method
connectWithRetry
(c *Client, opts EventsOptions)
event.go:291
↓ 1 callers
Function
copyTLSConfig
this exists to silent an error message in go vet
tls.go:98
↓ 1 callers
Function
createTarStream
(srcPath, dockerfilePath string)
tar.go:20
↓ 1 callers
Function
defaultPooledTransport
defaultPooledTransport returns a new http.Transport with similar default values to http.DefaultTransport. Do not use this for transient transports as
client.go:1131
↓ 1 callers
Method
enableEventMonitoring
(c *Client, opts EventsOptions)
event.go:204
↓ 1 callers
Function
generateCA
()
internal/testutils/tls.go:99
↓ 1 callers
Method
generateEvent
()
testing/server.go:1134
↓ 1 callers
Function
getCredentialsFromHelper
Run and parse the found credential helper
auth.go:366
↓ 1 callers
Function
getDockerEnv
()
client.go:1089
↓ 1 callers
Function
getLines
(buf *bytes.Buffer)
integration_test.go:64
↓ 1 callers
Method
getServerAPIVersionString
()
client.go:409
↓ 1 callers
Function
handleInactivityTimeout
(reader io.ReadCloser, timeout time.Duration, cancelRequest func(), canceled *uint32)
client.go:683
↓ 1 callers
Function
handleStreamResponse
(resp *http.Response, streamOptions *streamOptions)
client.go:639
↓ 1 callers
Method
headerKey
()
registry_auth.go:9
↓ 1 callers
Function
integrationCreateContainerOpts
(imageName string, hostConfig *HostConfig)
integration_unix_test.go:11
↓ 1 callers
Method
isEmpty
()
registry_auth.go:8
↓ 1 callers
Function
isValidName
isValidName validates configuration objects supported by libnetwork
testing/server.go:1298
↓ 1 callers
Method
listernersCount
()
event.go:194
↓ 1 callers
Method
monitorEvents
(c *Client, opts EventsOptions)
event.go:237
↓ 1 callers
Function
newStdWriter
newStdWriter creates a new stdWriter that writes to w with the given stream type prefix.
testing/stdcopy.go:22
↓ 1 callers
Function
parseDockerConfig
(r io.Reader)
auth.go:184
↓ 1 callers
Function
parseDockerignore
(root string)
tar.go:113
↓ 1 callers
Method
pingDocker
(w http.ResponseWriter, r *http.Request)
testing/server.go:1130
↓ 1 callers
Function
pullImage
(t *testing.T)
integration_test.go:75
↓ 1 callers
Method
removeListener
(listener chan<- *APIEvents)
event.go:170
↓ 1 callers
Function
runDockerCredentialsHelper
(provider string, registry string)
auth.go:381
↓ 1 callers
Function
runStreamConnServer
(t *testing.T, network, laddr string, listening chan<- string, done chan<- int, containerID string)
container_unix_test.go:111
↓ 1 callers
Method
sendEvent
(event *APIEvents)
event.go:325
↓ 1 callers
Function
tempfile
(filename string)
container_unix_test.go:140
↓ 1 callers
Function
transformEvent
transformEvent takes an event and determines what version it is from then populates both versions of the event
event.go:427
↓ 1 callers
Function
unpackBodyTarball
(req io.Reader)
build_test.go:153
↓ 1 callers
Method
updateLastSeen
(e *APIEvents)
event.go:345
↓ 1 callers
Function
validateContextDirectory
validateContextDirectory checks if all the contents of the directory can be read and returns an error if some files can't be read. Symlinks which poin
tar.go:72
↓ 1 callers
Method
versionedAuthConfigs
(authConfigs AuthConfigurations)
image.go:622
Method
Close
()
image_test.go:42
Method
Dial
(network, address string)
client_windows.go:25
Method
Error
()
exec.go:222
Method
Error
()
plugin.go:456
Method
Error
()
container.go:590
Method
Error
()
container.go:600
Method
Error
()
network.go:329
Method
Error
()
network.go:340
Function
ExampleClient_AddEventListener
()
example_test.go:71
Function
ExampleClient_AttachToContainer
()
example_test.go:17
Function
ExampleClient_BuildImage
()
example_test.go:49
Function
ExampleEnv_GetJSON
()
example_test.go:123
Function
ExampleEnv_Map
()
example_test.go:102
Function
ExampleEnv_SetJSON
()
example_test.go:110
Method
FD
()
client_test.go:739
Method
IsTerminal
()
client_test.go:743
Method
MarshalJSON
()
env_test.go:423
Method
MarshalJSON
MarshalJSON returns the JSON representation of the IPNet.
misc.go:151
Function
NewAuthConfigurationsFromCredsHelpers
NewAuthConfigurationsFromCredsHelpers returns AuthConfigurations from installed credentials helpers
auth.go:306
Function
NewAuthConfigurationsFromDockerCfg
NewAuthConfigurationsFromDockerCfg returns AuthConfigurations from system config files. The following files are checked in the order listed: If the e
auth.go:138
Function
NewVersionnedTLSClient
NewVersionnedTLSClient is like NewVersionedClient, but with ann extra n. Deprecated: Use NewVersionedTLSClient instead.
client.go:230
Method
RoundTrip
(r *http.Request)
container_test.go:73
Method
RoundTrip
(r *http.Request)
client_test.go:893
Method
String
String returns a human-readable description of the state
container.go:111
Function
TestAPIVersions
(t *testing.T)
client_test.go:411
Function
TestAlwaysRestart
(t *testing.T)
container_restart_test.go:35
Function
TestAttachContainer
(t *testing.T)
testing/server_test.go:1133
Function
TestAttachContainerNotFound
(t *testing.T)
testing/server_test.go:1154
Function
TestAttachContainerWithStreamBlocks
(t *testing.T)
testing/server_test.go:1167
Function
TestAttachContainerWithStreamBlocksOnCreatedContainers
(t *testing.T)
testing/server_test.go:1206
Function
TestAttachToContainer
(t *testing.T)
container_attach_test.go:59
Function
TestAttachToContainerLogs
(t *testing.T)
container_attach_test.go:14
Function
TestAttachToContainerNilStderr
(t *testing.T)
container_attach_test.go:161
← previous
next →
201–300 of 729, ranked by callers