MCPcopy Create free account

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

Functions729 in github.com/fsouza/go-dockerclient

↓ 3 callersMethodnotify
(container *docker.Container)
testing/server.go:152
↓ 3 callersFunctionparsePort
(rawPort string)
container.go:240
↓ 2 callersMethodAddEventListenerWithOptions
AddEventListener adds a new listener to container events in the Docker API. See https://docs.docker.com/engine/api/v1.41/#operation/SystemEvents for m
event.go:136
↓ 2 callersMethodCustomHandler
CustomHandler registers a custom handler for a specific path. For example: server.CustomHandler("/containers/json", http.HandlerFunc(func(w http.Re
testing/server.go:281
↓ 2 callersMethodDefaultHandler
DefaultHandler returns default http.Handler mux, it allows customHandlers to call the default behavior if wanted.
testing/server.go:332
↓ 2 callersMethodDisconnectNetwork
DisconnectNetwork removes a container from a network or returns an error in case of failure. See https://goo.gl/6GugX3 for more details.
network.go:279
↓ 2 callersMethodError
()
container.go:577
↓ 2 callersMethodExists
Exists checks whether the given key is defined in the internal Env representation.
env.go:25
↓ 2 callersMethodGetInt64
GetInt64 returns the value of the provided key, converted to int64. It the value cannot be represented as an integer, it returns -1.
env.go:65
↓ 2 callersMethodGetList
GetList returns a list of strings matching the provided key. It handles the list as a JSON representation of a list of strings. If the given key matc
env.go:106
↓ 2 callersMethodGetPluginPrivilegesWithOptions
GetPluginPrivilegesWithOptions returns pluginPrivileges or an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:231
↓ 2 callersMethodInfo
Info returns system-wide information about the Docker server. See https://goo.gl/ElTHi2 for more details.
misc.go:180
↓ 2 callersMethodInspectImage
InspectImage returns an image by its name or ID. See https://goo.gl/ncLTG8 for more details.
image.go:204
↓ 2 callersMethodIsTerminal
()
client.go:666
↓ 2 callersMethodListFilteredPlugins
ListFilteredPlugins returns pluginDetails or an error. See https://goo.gl/rmdmWg for more details.
plugin.go:192
↓ 2 callersMethodMutateContainer
MutateContainer changes the state of a container, returning an error if the given id does not match to any container "running" in the server.
testing/server.go:289
↓ 2 callersFunctionNewAuthConfigurationsFromFile
NewAuthConfigurationsFromFile returns AuthConfigurations from a path containing JSON in the same format as the .dockercfg file.
auth.go:99
↓ 2 callersFunctionNewClientFromEnv
NewClientFromEnv returns a Client instance ready for communication created from Docker's default logic for the environment variables DOCKER_HOST, DOCK
client.go:268
↓ 2 callersFunctionNewTLSClient
NewTLSClient returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates . It will use the latest rem
client.go:174
↓ 2 callersFunctionNewVersionedTLSClientFromBytes
NewVersionedTLSClientFromBytes returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates (passed in
client.go:306
↓ 2 callersMethodPauseContainer
PauseContainer pauses the given container. See https://goo.gl/D1Yaii for more details.
container_pause.go:12
↓ 2 callersMethodPort
Port returns the number of the port.
container.go:65
↓ 2 callersMethodPortMappingAPI
PortMappingAPI translates the port mappings as contained in NetworkSettings into the format in which they would appear when returned by the API
container.go:215
↓ 2 callersMethodPrepareExec
PrepareExec adds a callback to a container exec in the fake server. This function will be called whenever the given exec id is started, and the given
testing/server.go:239
↓ 2 callersMethodPrepareFailure
PrepareFailure adds a new expected failure based on a URL regexp it receives an id for the failure.
testing/server.go:254
↓ 2 callersMethodPrepareStats
PrepareStats adds a callback that will be called for each container stats call. This callback function will be called multiple times if stream is set
testing/server.go:248
↓ 2 callersMethodProto
Proto returns the name of the protocol.
container.go:70
↓ 2 callersMethodRead
(data []byte)
client.go:678
↓ 2 callersMethodRemoveImage
RemoveImage removes an image by its name or ID. See https://goo.gl/Vd2Pck for more details.
image.go:160
↓ 2 callersMethodRemovePlugin
RemovePlugin returns a PluginDetail or an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:289
↓ 2 callersMethodRemoveVolumeWithOptions
RemoveVolumeWithOptions removes a volume by its name and takes extra parameters. See https://goo.gl/nvd6qj for more details.
volume.go:144
↓ 2 callersMethodRestartContainer
RestartContainer stops a container, killing it after the given timeout (in seconds), during the stop process. See https://goo.gl/MrAKQ5 for more deta
container_restart.go:52
↓ 2 callersMethodSetAuto
SetAuto will try to define the Set* method to call based on the given value.
env.go:145
↓ 2 callersMethodSetInt64
SetInt64 defines an integer (64-bit wide) value to the given key.
env.go:75
↓ 2 callersMethodStartContainerWithContext
StartContainerWithContext starts a container, returning an error in case of failure. The context can be used to cancel the outstanding start container
container_start.go:31
↓ 2 callersMethodStartExec
StartExec starts a previously set up exec instance id. If opts.Detach is true, it returns after starting the exec command. Otherwise, it sets up an in
exec.go:103
↓ 2 callersMethodStopContainerWithContext
StopContainerWithContext stops a container, killing it after the given timeout (in seconds). The context can be used to cancel the stop container requ
container_stop.go:23
↓ 2 callersMethodTagImage
TagImage adds a tag to the image identified by the given name. See https://goo.gl/prHrvo for more details.
image.go:645
↓ 2 callersMethodUnpauseContainer
UnpauseContainer unpauses the given container. See https://goo.gl/sZ2faO for more details.
container_unpause.go:12
↓ 2 callersMethodVersion
Version returns version information about the docker server. See https://goo.gl/mU7yje for more details.
misc.go:18
↓ 2 callersMethodWaitContainerWithContext
WaitContainerWithContext blocks until the given container stops, return the exit code of the container status. The context object can be used to cance
container_wait.go:23
↓ 2 callersMethodaddMuxerRoutes
(m *mux.Router)
testing/server.go:165
↓ 2 callersFunctionbuildDockerServer
(listener net.Listener, containerChan chan<- *docker.Container, hook func(*http.Request))
testing/server.go:88
↓ 2 callersMethodbuildImage
(w http.ResponseWriter, r *http.Request)
testing/server.go:957
↓ 2 callersMethodcreateImage
(opts any, headers map[string]string, in io.Reader, w io.Writer, rawJSONStream bool, timeout time.Duration, co
image.go:333
↓ 2 callersFunctiondefaultClient
defaultClient returns a new http.Client with similar default values to http.Client, but with a non-shared Transport, idle connections disabled, and ke
client.go:1150
↓ 2 callersFunctiondefaultTransport
defaultTransport returns a new http.Transport with similar default values to http.DefaultTransport, but with idle connections and keepalives disabled.
client.go:1120
↓ 2 callersMethodeventHijack
(opts EventsOptions, startTime int64, eventChan chan *APIEvents, errChan chan error)
event.go:353
↓ 2 callersMethodfindImage
(id string)
testing/server.go:440
↓ 2 callersMethodfindVolume
(name string)
testing/server.go:1451
↓ 2 callersMethodgetFakeNativeURL
getFakeNativeURL returns the URL needed to make an HTTP request over a UNIX domain socket to the given path.
client.go:900
↓ 2 callersFunctiongetHelperProviderFromDockerCfg
(pathsToTry []string, registry string)
auth.go:329
↓ 2 callersMethodisEnabled
()
event.go:319
↓ 2 callersFunctionlistenerExists
(a chan<- *APIEvents, list *[]chan<- *APIEvents)
event.go:200
↓ 2 callersMethodmerge
merge updates the configuration. If a key is defined in both maps, the one in c.Configs takes precedence.
auth.go:65
↓ 2 callersFunctionnewCertificate
(parentDir string, kind string, cert *x509.Certificate, key *ecdsa.PrivateKey)
internal/testutils/tls.go:22
↓ 2 callersMethodnoListeners
()
event.go:313
↓ 2 callersFunctionparseCredsDockerConfig
(config []byte, registry string)
auth.go:348
↓ 2 callersMethodpathVersionCheck
(basepath, queryStr string, requiredAPIVersion APIVersion)
client.go:880
↓ 2 callersMethodstartContainer
(id string, hostConfig *HostConfig, opts doOptions)
container_start.go:35
↓ 2 callersMethodstopContainer
(id string, timeout uint, opts doOptions)
container_stop.go:27
↓ 2 callersFunctiontestEventListeners
(testName string, t *testing.T, buildServer func(http.Handler) *httptest.Server, buildClient func(string) (*Cl
event_test.go:58
↓ 2 callersFunctiontlsDialWithDialer
(dialer *net.Dialer, network, addr string, config *tls.Config)
tls.go:34
↓ 2 callersMethodwaitContainer
(id string, opts doOptions)
container_wait.go:27
↓ 1 callersFunctionAlwaysRestart
AlwaysRestart returns a restart policy that tells the Docker daemon to always restart the container.
container_restart.go:26
↓ 1 callersMethodAttachToContainerNonBlocking
AttachToContainerNonBlocking attaches to a container, using the given options. This function does not block. See https://goo.gl/NKpkFk for more detai
container_attach.go:62
↓ 1 callersMethodAuthCheckWithContext
AuthCheckWithContext validates the given credentials. It returns nil if successful. The context object can be used to cancel the request. For Docker
auth.go:275
↓ 1 callersMethodClose
()
image_test.go:50
↓ 1 callersMethodCloseWrite
()
tls.go:23
↓ 1 callersMethodConfigurePlugin
ConfigurePlugin configures plugin that opts point or returns an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:433
↓ 1 callersMethodCreateNetwork
CreateNetwork creates a new network, returning the network instance, or an error in case of failure. See https://goo.gl/6GugX3 for more details.
network.go:162
↓ 1 callersMethodCreatePlugin
CreatePlugin creates plugin that opts point or returns an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:379
↓ 1 callersMethodCreateVolume
CreateVolume creates a volume on the server. See https://goo.gl/qEhmEC for more details.
volume.go:87
↓ 1 callersMethodDisablePlugin
DisablePlugin disables plugin that opts point or returns an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:354
↓ 1 callersMethodDiskUsage
DiskUsage returns a *DiskUsage describing what docker is using disk on. More Info Here https://dockr.ly/2PNzQyO
system.go:60
↓ 1 callersMethodDownloadFromContainer
DownloadFromContainer downloads a tar archive of files or folders in a container. See https://goo.gl/W49jxK for more details.
container_archive.go:49
↓ 1 callersMethodEnablePlugin
EnablePlugin enables plugin that opts point or returns an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:331
↓ 1 callersMethodEndpoint
Endpoint returns the current endpoint. It's useful for getting the endpoint when using functions that get this data from the environment (like NewClie
client.go:381
↓ 1 callersMethodExportImage
ExportImage exports an image (as a tar file) into the stream. See https://goo.gl/AuySaA for more details.
image.go:383
↓ 1 callersMethodFD
()
client.go:665
↓ 1 callersMethodFilteredListNetworks
FilteredListNetworks returns all networks with the filters applied See goo.gl/zd2mx4 for more details.
network.go:70
↓ 1 callersMethodGetBool
GetBool returns a boolean representation of the given key. The key is false whenever its value if 0, no, false, none or an empty string. Any other val
env.go:33
↓ 1 callersMethodGetInt
GetInt returns the value of the provided key, converted to int. It the value cannot be represented as an integer, it returns -1.
env.go:53
↓ 1 callersMethodGetPluginPrivileges
GetPluginPrivileges returns pluginPrivileges or an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:211
↓ 1 callersMethodImageHistory
ImageHistory returns the history of the image by its name or ID. See https://goo.gl/fYtxQa for more details.
image.go:140
↓ 1 callersMethodInspectContainerWithContext
InspectContainerWithContext returns information about a container by its ID. The context object can be used to cancel the inspect request. Deprecated
container_inspect.go:21
↓ 1 callersMethodInspectDistribution
InspectDistribution returns image digest and platform information by contacting the registry
distribution.go:15
↓ 1 callersMethodInspectPlugins
InspectPlugins returns a pluginDetail or an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:256
↓ 1 callersMethodInspectVolume
InspectVolume returns a volume by its name. See https://goo.gl/GMjsMc for more details.
volume.go:106
↓ 1 callersMethodInstallPlugins
InstallPlugins installs a plugin or returns an error in case of failure. See https://goo.gl/C4t7Tz for more details.
plugin.go:38
↓ 1 callersMethodLessThanOrEqualTo
LessThanOrEqualTo is a function for comparing APIVersion structs.
client.go:101
↓ 1 callersMethodListNetworks
ListNetworks returns all networks. See https://goo.gl/6GugX3 for more details.
network.go:50
↓ 1 callersMethodListPlugins
ListPlugins returns pluginDetails or an error. See https://goo.gl/C4t7Tz for more details.
plugin.go:166
↓ 1 callersMethodListVolumes
ListVolumes returns a list of available volumes in the server. See https://goo.gl/3wgTsd for more details.
volume.go:46
↓ 1 callersMethodLoadImage
LoadImage imports a tarball docker image See https://goo.gl/rEsBV3 for more details.
image.go:361
↓ 1 callersMethodNetworkInfo
NetworkInfo returns information about a network by its ID. See https://goo.gl/6GugX3 for more details.
network.go:93
↓ 1 callersFunctionNeverRestart
NeverRestart returns a restart policy that tells the Docker daemon to never restart the container on failures.
container_restart.go:44
↓ 1 callersFunctionNewTLSClientFromBytes
NewTLSClientFromBytes returns a Client instance ready for TLS communications with the givens server endpoint, key and certificates (passed inline to t
client.go:186
↓ 1 callersFunctionNewTLSServer
NewTLSServer creates and starts a TLS-enabled testing server.
testing/server.go:126
↓ 1 callersFunctionParseRepositoryTag
ParseRepositoryTag gets the name of the repository and returns it splitted in two parts: the repository and the tag. It ignores the digest when it is
misc.go:202
← previousnext →101–200 of 729, ranked by callers