MCPcopy Create free account

hub / github.com/fsouza/go-dockerclient / functions

Functions729 in github.com/fsouza/go-dockerclient

↓ 204 callersMethodError
()
client.go:1037
↓ 160 callersFunctionnewTestClient
(rt http.RoundTripper)
image_test.go:23
↓ 130 callersMethodClose
()
client.go:728
↓ 119 callersMethodServeHTTP
ServeHTTP handles HTTP requests sent to the server.
testing/server.go:315
↓ 109 callersMethodbuildMuxer
()
testing/server.go:158
↓ 106 callersFunctionbaseDockerServer
()
testing/server.go:74
↓ 97 callersMethodString
()
change.go:32
↓ 75 callersMethodDecode
Decode decodes `src` as a json dictionary, and adds each decoded key-value pair to the environment. If `src` cannot be decoded as a json dictionary,
env.go:133
↓ 67 callersMethoddo
(method, path string, doOptions doOptions)
client.go:435
↓ 64 callersFunctiongetContainer
(server *DockerServer)
testing/server_test.go:345
↓ 60 callersMethodGet
Get returns the string value of the given key.
env.go:19
↓ 53 callersMethodgetURL
(path string)
client.go:864
↓ 48 callersMethodSet
Set defines the value of a key to the given string.
env.go:125
↓ 47 callersFunctionaddContainers
(server *DockerServer, n int)
testing/server_test.go:1584
↓ 43 callersMethodhandlerWrapper
(f http.HandlerFunc)
testing/server.go:336
↓ 37 callersMethodWrite
(b []byte)
client_test.go:884
↓ 35 callersFunctionNewClient
NewClient returns a Client instance ready for communication with the given server endpoint. It will use the latest remote API version available in the
client.go:162
↓ 29 callersFunctionqueryString
(opts any)
client.go:953
↓ 17 callersMethodstream
(method, path string, streamOptions streamOptions)
client.go:519
↓ 16 callersFunctionNewAPIVersion
NewAPIVersion returns an instance of APIVersion for the given string. The given string must be in the form <major>.<minor>.<patch>, where <major>, <m
client.go:70
↓ 16 callersFunctionNewServer
NewServer returns a new instance of the fake server, in standalone mode. Use the method URL to get the URL of the server. It receives the bind addres
testing/server.go:108
↓ 16 callersFunctionexpectNoSuchContainer
(t *testing.T, id string, err error)
helpers_test.go:12
↓ 16 callersMethodfindContainer
(idOrName string)
testing/server.go:908
↓ 15 callersMethodStop
Stop stops the server.
testing/server.go:300
↓ 10 callersMethodAttachToContainer
AttachToContainer attaches to a container, using the given options. See https://goo.gl/JF10Zk for more details.
container_attach.go:50
↓ 10 callersMethodBuildImage
BuildImage builds an image from a tarball's url or a Dockerfile in the input stream. See https://goo.gl/4nYHwV for more details.
image.go:541
↓ 9 callersMethodDial
(network, address string)
client.go:156
↓ 9 callersMethodPullImage
PullImage pulls an image from a remote registry, logging progress to opts.OutputStream. See https://goo.gl/qkoSsn for more details.
image.go:316
↓ 8 callersMethodCreateContainer
CreateContainer creates a new container, returning the container instance, or an error in case of failure. The returned container instance contains o
container_create.go:34
↓ 8 callersFunctionNewAuthConfigurations
NewAuthConfigurations returns AuthConfigurations from a JSON encoded string in the same format as the .dockercfg file.
auth.go:171
↓ 8 callersMethodaddContainer
(container *docker.Container)
testing/server.go:536
↓ 8 callersMethodcheckAPIVersion
()
client.go:361
↓ 7 callersMethodLogs
Logs gets stdout and stderr logs from the specified container. When LogsOptions.RawTerminal is set to false, go-dockerclient will multiplex the strea
container_logs.go:43
↓ 7 callersFunctionNewVersionedTLSClient
NewVersionedTLSClient returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates, using a specific r
client.go:236
↓ 7 callersMethodURL
URL returns the HTTP URL of the server.
testing/server.go:307
↓ 7 callersMethodgenerateID
()
testing/server.go:543
↓ 6 callersMethodGreaterThanOrEqualTo
GreaterThanOrEqualTo is a function for comparing APIVersion structs.
client.go:111
↓ 6 callersMethodInspectContainer
InspectContainer returns information about a container by its ID. Deprecated: Use InspectContainerWithOptions instead.
container_inspect.go:13
↓ 6 callersMethodStartContainer
StartContainer starts a container, returning an error in case of failure. Passing the HostConfig to this method has been deprecated in Docker API 1.2
container_start.go:17
↓ 6 callersMethodWait
()
client.go:719
↓ 6 callersFunctionaddImages
(server *DockerServer, n int, repo bool)
testing/server_test.go:1634
↓ 6 callersFunctionheadersWithAuth
(auths ...registryAuth)
image.go:673
↓ 6 callersFunctionparseEndpoint
(endpoint string, tls bool)
client.go:1041
↓ 5 callersMethodCreateExec
CreateExec sets up an exec instance in a running container `id`, returning the exec instance, or an error in case of failure. See https://goo.gl/60Te
exec.go:46
↓ 5 callersFunctionGenCertificate
(t *testing.T)
internal/testutils/tls.go:54
↓ 5 callersMethodGetJSON
GetJSON unmarshals the value of the provided key in the provided iface. iface is a value that can be provided to the json.Unmarshal function.
env.go:82
↓ 5 callersMethodGreaterThan
GreaterThan is a function for comparing APIVersion structs.
client.go:106
↓ 5 callersMethodImportImage
ImportImage imports an image from a url, a file or stdin See https://goo.gl/qkoSsn for more details.
image.go:458
↓ 5 callersMethodPing
Ping pings the docker server See https://goo.gl/wYfgY1 for more details.
client.go:388
↓ 5 callersMethodPushImage
PushImage pushes an image to a remote registry, logging progress to w. An empty instance of AuthConfiguration may be used for unauthenticated pushes.
image.go:270
↓ 5 callersMethodString
()
client.go:87
↓ 5 callersFunctionchooseError
(ctx context.Context, err error)
client.go:510
↓ 5 callersMethodcompare
(other APIVersion)
client.go:115
↓ 5 callersMethoddisableEventMonitoring
()
event.go:217
↓ 4 callersMethodCommitContainer
CommitContainer creates a new image from a container's changes. See https://goo.gl/CzIguf for more details.
container_commit.go:27
↓ 4 callersMethodHijack
()
testing/server_test.go:1091
↓ 4 callersMethodKillContainer
KillContainer sends a signal to a container, returning an error in case of failure. See https://goo.gl/JnTxXZ for more details.
container_kill.go:27
↓ 4 callersMethodLessThan
LessThan is a function for comparing APIVersion structs.
client.go:96
↓ 4 callersMethodListImages
ListImages returns the list of available images in the server. See https://goo.gl/BVzauZ for more details.
image.go:112
↓ 4 callersMethodMap
Map returns the map representation of the env.
env.go:158
↓ 4 callersFunctionNewVersionedClient
NewVersionedClient returns a Client instance ready for communication with the given server endpoint, using a specific remote API version.
client.go:197
↓ 4 callersMethodPrepareMultiFailures
PrepareMultiFailures enqueues a new expected failure based on a URL regexp it receives an id for the failure.
testing/server.go:260
↓ 4 callersMethodRemoveVolume
RemoveVolume removes a volume by its name. Deprecated: Use RemoveVolumeWithOptions instead.
volume.go:126
↓ 4 callersMethodSetJSON
SetJSON marshals the given value to JSON format and stores it using the provided key.
env.go:92
↓ 4 callersMethodStats
Stats sends container statistics for the given container to the given channel. This function is blocking, similar to a streaming call for logs, and s
container_stats.go:174
↓ 4 callersMethodfindContainerWithLock
(idOrName string, shouldLock bool)
testing/server.go:912
↓ 4 callersMethodfindNetwork
(idOrName string)
testing/server.go:1262
↓ 4 callersFunctionnewError
(resp *http.Response)
client.go:1020
↓ 4 callersFunctionnewNativeServer
(handler http.Handler)
client_unix_test.go:57
↓ 4 callersFunctionqueryStringVersion
(opts any)
client.go:914
↓ 4 callersMethodstreamURL
(method, url string, streamOptions streamOptions)
client.go:532
↓ 4 callersFunctionwaitExec
(url, execID string, running bool)
testing/server_test.go:2188
↓ 3 callersMethodAddEventListener
AddEventListener adds a new listener to container events in the Docker API. The parameter is a channel through which events will be sent.
event.go:128
↓ 3 callersMethodAuthCheck
AuthCheck validates the given credentials. It returns nil if successful. For Docker API versions >= 1.23, the AuthStatus struct will be populated, ot
auth.go:265
↓ 3 callersMethodConnectNetwork
ConnectNetwork adds a container to a network or returns an error in case of failure. See https://goo.gl/6GugX3 for more details.
network.go:259
↓ 3 callersMethodContainerChanges
ContainerChanges returns changes in the filesystem of the given container. See https://goo.gl/15KKzh for more details.
container_changes.go:12
↓ 3 callersMethodCopyFromContainer
CopyFromContainer copies files from a container. Deprecated: Use DownloadFromContainer and DownloadFromContainer instead.
container_copy.go:25
↓ 3 callersMethodExportContainer
ExportContainer export the contents of container id as tar archive and prints the exported contents to stdout. See https://goo.gl/yGJCIh for more det
container_export.go:26
↓ 3 callersMethodExportImages
ExportImages exports one or more images (as a tar file) into the stream See https://goo.gl/N9XlDn for more details.
image.go:405
↓ 3 callersMethodHijackBuffer
()
testing/server_test.go:1101
↓ 3 callersMethodInspectContainerWithOptions
InspectContainerWithOptions returns information about a container by its ID. See https://goo.gl/FaI5JT for more details.
container_inspect.go:28
↓ 3 callersMethodInspectExec
InspectExec returns low-level information about the exec command id. See https://goo.gl/ctMUiW for more details
exec.go:199
↓ 3 callersMethodListContainers
ListContainers returns a slice of containers matching the given criteria. See https://goo.gl/kaOHGw for more details.
container_list.go:25
↓ 3 callersFunctionNewVersionedClientFromEnv
NewVersionedClientFromEnv returns a Client instance ready for TLS communications created from Docker's default logic for the environment variables DOC
client.go:284
↓ 3 callersMethodRemoveContainer
RemoveContainer removes a container, returning an error in case of failure. See https://goo.gl/hL5IPC for more details.
container_remove.go:29
↓ 3 callersMethodRemoveEventListener
RemoveEventListener removes a listener from the monitor.
event.go:148
↓ 3 callersMethodReset
()
client_test.go:907
↓ 3 callersMethodStateString
StateString returns a single string to describe state
container.go:143
↓ 3 callersMethodStopContainer
StopContainer stops a container, killing it after the given timeout (in seconds). See https://goo.gl/R9dZcV for more details.
container_stop.go:14
↓ 3 callersMethodTopContainer
TopContainer returns processes running inside a container See https://goo.gl/FLwpPl for more details.
container_top.go:22
↓ 3 callersMethodWaitContainer
WaitContainer blocks until the given container stops, return the exit code of the container status. See https://goo.gl/4AGweZ for more details.
container_wait.go:14
↓ 3 callersFunctionaddNetworks
(server *DockerServer, n int)
testing/server_test.go:2290
↓ 3 callersFunctioncfgPaths
(dockerConfigEnv string, homeEnv string)
auth.go:107
↓ 3 callersMethodgetExec
(id string, copy bool)
testing/server.go:1247
↓ 3 callersMethodgetPath
(basepath string, opts any)
client.go:875
↓ 3 callersMethodhijack
(method, path string, hijackOptions hijackOptions)
client.go:730
↓ 3 callersMethodinitializeNativeClient
initializeNativeClient initializes the native Unix domain socket client on Unix-style operating systems
client_unix.go:19
↓ 3 callersFunctionisURL
(u string)
image.go:665
↓ 3 callersFunctionnewAuthConfigurationsFromDockerCfg
(pathsToTry []string)
auth.go:146
↓ 3 callersFunctionnewTLSClient
(endpoint string)
client_test.go:55
next →1–100 of 729, ranked by callers