Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Docker pkg split proposal
github.com/docker/docker/pkg/aaparser
Move to ./profiles/apparmor/aaparser
github.com/docker/docker/pkg/archive
Move to github.com/moby/go-archive
github.com/docker/docker/pkg/authorization
Move to github.com/docker/plugins
github.com/docker/docker/pkg/broadcaster
Move to ./container/stream/broadcaster
github.com/docker/docker/pkg/chrootarchive
Move to github.com/moby/go-archive
github.com/docker/docker/pkg/devicemapper
Move to ./daemon/graphdriver/devmapper
github.com/docker/docker/pkg/directory
Move to github.com/moby/go-fsutils
github.com/docker/docker/pkg/discovery
Move to github.com/docker/libkv
github.com/docker/docker/pkg/filenotify
Move to ./daemon/logger/jsonfilelog/notify (or github.com/moby/go-fsutils)
github.com/docker/docker/pkg/fileutils
Move to github.com/moby/go-fsutils
github.com/docker/docker/pkg/fsutils
Move to ./daemon/graphdriver/overlay-utils
github.com/docker/docker/pkg/gitutils
Move to ./builder/gitutils
github.com/docker/docker/pkg/homedir
Move to github.com/moby/go-system
github.com/docker/docker/pkg/httputils
Split this into two packages:
The parts used by builder/ move to builder/
Duplicate the remaining Download() function as necessary
github.com/docker/docker/pkg/idtools
Split into:
github.com/moby/go-fsutils
github.com/moby/go-system
github.com/docker/docker/pkg/ioutils
Split into:
./daemon/logger/jsonfilelog/multireader (mutlireader.go)
Move the rest into github.com/moby/go-ioutils
github.com/docker/docker/pkg/jsonlog
Remove/Duplicate jsonlog.RFC3339NanoFixed
Move to ./daemon/logger/jsonfilelog
github.com/docker/docker/pkg/jsonmessage
Move to github.com/moby/go-http-utils
github.com/docker/docker/pkg/listeners
Move to ./daemon/listeners
github.com/docker/docker/pkg/locker
Move to github.com/moby/go-sync
github.com/docker/docker/pkg/longpath
Move to github.com/moby/go-fsutils
github.com/docker/docker/pkg/loopback
Move to ./daemon/graphdriver/devmapper/loopback
github.com/docker/docker/pkg/mount
Move to github.com/containerd/containerd/mount (see https://github.com/moby/moby/issues/32989#issuecomment-300515807)
github.com/docker/docker/pkg/namesgenerator
Move to ./daemon/namesgenerator (or github.com/moby/go-random)
github.com/docker/docker/pkg/parsers
Move to github.com/moby/go-system
github.com/docker/docker/pkg/pidfile
Move to ./daemon/pidfile
github.com/docker/docker/pkg/platform
Move to ./daemon/platform
github.com/docker/docker/pkg/plugingetter
Move to github.com/docker/plugins
github.com/docker/docker/pkg/plugins
Move to github.com/docker/plugins
github.com/docker/docker/pkg/pools
Move to github.com/moby/go-ioutils
github.com/docker/docker/pkg/progress
Move to github.com/moby/go-http-utils
github.com/docker/docker/pkg/promise
Duplicate it on split, it's a single 3 line function
github.com/docker/docker/pkg/pubsub
Move to ./daemon/pubsub
github.com/docker/docker/pkg/random
Move to github.com/moby/go-random
github.com/docker/docker/pkg/reexec
Move to github.com/moby/go-system (reexec.go could move to ./daemon/reexec)
github.com/docker/docker/pkg/registrar
Move to ./daemon/registrar
github.com/docker/docker/pkg/signal
Move to github.com/moby/go-system
github.com/docker/docker/pkg/stdcopy
Move to github.com/moby/go-http-utils
github.com/docker/docker/pkg/streamformatter
Move to github.com/moby/go-http-utils
github.com/docker/docker/pkg/stringid
Move to github.com/moby/go-random
github.com/docker/docker/pkg/stringutils
Duplicate the few methods that are used in:
github.com/docker/cli
./daemon/stringutils/
github.com/docker/docker/pkg/symlink
Move to github.com/moby/go-fsutils (but maybe github.com/moby/go-system)
github.com/docker/docker/pkg/sysinfo
Move to github.com/moby/go-system
github.com/docker/docker/pkg/system
Move to github.com/moby/go-system
github.com/docker/docker/pkg/tailfile
Move to ./daemon/logger/jsonfilelog/tailfile
github.com/docker/docker/pkg/tarsum
Move to github.com/moby/go-fsutils
github.com/docker/docker/pkg/templates
Duplicate:
github.com/docker/cli/templates
./daemon/logger/loggerutils/templates/ (probably doesn't need the whole copy)
github.com/docker/docker/pkg/term
Split this package:
(StdStreams()) Move to github.com/moby/go-system
(ascii.go) Move to daemon/ascii/
Move the rest to github.com/docker/cli/term
github.com/docker/docker/pkg/testutil
Move to github.com/moby/go-testutil
github.com/docker/docker/pkg/tlsconfig
Move to ./client/tlsconfig
github.com/docker/docker/pkg/truncindex
Move to ./daemon/truncindex
github.com/docker/docker/pkg/urlutil
Move to github.com/moby/go-http-utils (or possibly github.com/docker/go-connections)
github.com/docker/docker/pkg/useragent
Move to github.com/moby/go-http-utils
#!/bin/bash
set -e
for p in $(ls ./pkg | grep -v README); do
package="github.com/docker/docker/pkg/$p"
echo $package
echo " Deps"
go list -f '{{ join .Deps "\n" }}' $package/... | \
grep github.com/docker/docker | \
sed -e 's/^/ /'
echo " Used"
git grep -l '"'$package'"' | \
sort | \
sed -e 's/^/ /'
echo
echo
done
# Generated from list-pkg-deps.sh
# Deps - the direct and indrect imports of a package
# Used - the files where a package is imported
github.com/docker/docker/pkg/aaparser
Deps
Used
contrib/apparmor/main.go
profiles/apparmor/apparmor.go
github.com/docker/docker/pkg/archive
Deps
github.com/docker/docker/pkg/fileutils
github.com/docker/docker/pkg/idtools
github.com/docker/docker/pkg/ioutils
github.com/docker/docker/pkg/pools
github.com/docker/docker/pkg/promise
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/system
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
github.com/docker/docker/vendor/golang.org/x/net/context
Used
api/server/router/container/backend.go
builder/dockerfile/evaluator_test.go
builder/dockerfile/internals_test.go
builder/remotecontext/filehash.go
builder/remotecontext/git.go
builder/remotecontext/remote_test.go
builder/remotecontext/tarsum.go
builder/remotecontext/tarsum_test.go
cli/command/container/cp.go
cli/command/formatter/diff.go
cli/command/formatter/diff_test.go
cli/command/image/build.go
cli/command/image/build/context.go
cli/command/image/build/context_test.go
cli/command/plugin/create.go
container/archive.go
daemon/archive.go
daemon/archive_tarcopyoptions.go
daemon/archive_tarcopyoptions_unix.go
daemon/archive_tarcopyoptions_windows.go
daemon/changes.go
daemon/export.go
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/aufs/aufs_test.go
daemon/graphdriver/driver.go
daemon/graphdriver/fsdiff.go
daemon/graphdriver/graphtest/testutil.go
daemon/graphdriver/overlay/overlay.go
daemon/graphdriver/overlay/overlay_test.go
daemon/graphdriver/overlay2/overlay.go
daemon/graphdriver/overlay2/overlay_test.go
daemon/graphdriver/proxy.go
daemon/graphdriver/windows/windows.go
daemon/import.go
distribution/registry_unit_test.go
distribution/xfer/download.go
image/tarexport/load.go
image/tarexport/save.go
integration-cli/docker_cli_build_test.go
integration-cli/docker_cli_cp_utils_test.go
integration-cli/docker_cli_external_graphdriver_unix_test.go
layer/layer.go
layer/layer_test.go
layer/migration_test.go
layer/mount_test.go
layer/mounted_layer.go
pkg/archive/example_changes.go
pkg/chrootarchive/archive.go
pkg/chrootarchive/archive_test.go
pkg/chrootarchive/archive_unix.go
pkg/chrootarchive/archive_windows.go
pkg/chrootarchive/diff.go
pkg/chrootarchive/diff_unix.go
pkg/chrootarchive/diff_windows.go
plugin/blobstore.go
github.com/docker/docker/pkg/authorization
Deps
github.com/docker/docker/pkg/ioutils
github.com/docker/docker/pkg/plugingetter
github.com/docker/docker/pkg/plugins
github.com/docker/docker/pkg/plugins/transport
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-connections/sockets
github.com/docker/docker/vendor/github.com/docker/go-connections/tlsconfig
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/vendor/golang.org/x/net/context
github.com/docker/docker/vendor/golang.org/x/net/proxy
Used
cmd/dockerd/daemon.go
daemon/config/config.go
integration-cli/docker_cli_authz_unix_test.go
plugin/backend_linux.go
plugin/manager.go
github.com/docker/docker/pkg/broadcaster
Deps
Used
container/stream/streams.go
github.com/docker/docker/pkg/chrootarchive
Deps
github.com/docker/docker/pkg/archive
github.com/docker/docker/pkg/fileutils
github.com/docker/docker/pkg/idtools
github.com/docker/docker/pkg/ioutils
github.com/docker/docker/pkg/mount
github.com/docker/docker/pkg/pools
github.com/docker/docker/pkg/promise
github.com/docker/docker/pkg/reexec
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/system
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
github.com/docker/docker/vendor/golang.org/x/net/context
Used
builder/remotecontext/tarsum.go
container/container_unix.go
daemon/archive.go
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/fsdiff.go
daemon/graphdriver/overlay2/overlay.go
daemon/graphdriver/vfs/driver.go
image/tarexport/load.go
plugin/backend_linux.go
github.com/docker/docker/pkg/devicemapper
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
contrib/docker-device-tool/device_tool.go
daemon/graphdriver/devmapper/deviceset.go
daemon/graphdriver/devmapper/driver.go
github.com/docker/docker/pkg/directory
Deps
Used
daemon/disk_usage.go
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/overlay2/overlay.go
daemon/prune.go
github.com/docker/docker/pkg/discovery
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/pkg/discovery
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/pkg/discovery
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/coreos/etcd/client
github.com/docker/docker/vendor/github.com/coreos/etcd/pkg/pathutil
github.com/docker/docker/vendor/github.com/coreos/etcd/pkg/types
github.com/docker/docker/vendor/github.com/docker/go-connections/tlsconfig
github.com/docker/docker/vendor/github.com/docker/libkv
github.com/docker/docker/vendor/github.com/docker/libkv/store
github.com/docker/docker/vendor/github.com/docker/libkv/store/consul
github.com/docker/docker/vendor/github.com/docker/libkv/store/etcd
github.com/docker/docker/vendor/github.com/docker/libkv/store/zookeeper
github.com/docker/docker/vendor/github.com/hashicorp/consul/api
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/vendor/github.com/samuel/go-zookeeper/zk
github.com/docker/docker/vendor/github.com/ugorji/go/codec
github.com/docker/docker/vendor/golang.org/x/net/context
github.com/docker/docker/pkg/discovery
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/pkg/discovery
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
daemon/config/config.go
daemon/discovery/discovery.go
daemon/reload_test.go
pkg/discovery/file/file.go
pkg/discovery/file/file_test.go
pkg/discovery/kv/kv.go
pkg/discovery/kv/kv_test.go
pkg/discovery/memory/memory.go
pkg/discovery/memory/memory_test.go
pkg/discovery/nodes/nodes.go
pkg/discovery/nodes/nodes_test.go
vendor/github.com/docker/libnetwork/config/config.go
vendor/github.com/docker/libnetwork/controller.go
vendor/github.com/docker/libnetwork/hostdiscovery/hostdiscovery.go
github.com/docker/docker/pkg/filenotify
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/fsnotify/fsnotify
Used
daemon/logger/jsonfilelog/read.go
github.com/docker/docker/pkg/fileutils
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
builder/remotecontext/detect.go
cli/command/image/build.go
cli/command/image/build/context.go
daemon/daemon.go
daemon/info.go
daemon/volumes_unix.go
pkg/archive/archive.go
github.com/docker/docker/pkg/fsutils
Deps
Used
daemon/graphdriver/overlay/overlay.go
daemon/graphdriver/overlay2/overlay.go
github.com/docker/docker/pkg/gitutils
Deps
github.com/docker/docker/pkg/symlink
github.com/docker/docker/pkg/system
github.com/docker/docker/pkg/urlutil
github.com/docker/docker/vendor/github.com/docker/go-units
Used
builder/remotecontext/git.go
cli/command/image/build/context.go
github.com/docker/docker/pkg/homedir
Deps
github.com/docker/docker/pkg/idtools
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
Used
cli/config/config.go
cli/config/config_test.go
daemon/logger/gcplogs/gcplogging_linux.go
integration-cli/docker_cli_config_test.go
integration-cli/docker_cli_help_test.go
integration-cli/docker_cli_run_unix_test.go
github.com/docker/docker/pkg/httputils
Deps
github.com/docker/docker/pkg/jsonlog
github.com/docker/docker/pkg/jsonmessage
github.com/docker/docker/pkg/term
github.com/docker/docker/vendor/github.com/Nvveen/Gotty
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-units
Used
builder/dockerfile/internals.go
builder/remotecontext/detect.go
builder/remotecontext/remote.go
builder/remotecontext/remote_test.go
cli/command/image/build/context.go
daemon/import.go
registry/session.go
github.com/docker/docker/pkg/idtools
Deps
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
Used
container/container.go
daemon/archive.go
daemon/archive_tarcopyoptions_unix.go
daemon/container_operations_unix.go
daemon/create.go
daemon/daemon.go
daemon/daemon_solaris.go
daemon/daemon_unix.go
daemon/daemon_windows.go
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/btrfs/btrfs.go
daemon/graphdriver/devmapper/deviceset.go
daemon/graphdriver/devmapper/driver.go
daemon/graphdriver/driver.go
daemon/graphdriver/fsdiff.go
daemon/graphdriver/overlay/overlay.go
daemon/graphdriver/overlay2/overlay.go
daemon/graphdriver/proxy.go
daemon/graphdriver/vfs/driver.go
daemon/graphdriver/windows/windows.go
daemon/graphdriver/zfs/zfs.go
daemon/initlayer/setup_unix.go
daemon/oci_linux.go
layer/layer_store.go
layer/layer_test.go
libcontainerd/client_unix.go
pkg/archive/archive.go
pkg/archive/changes.go
pkg/archive/diff.go
pkg/chrootarchive/archive.go
pkg/homedir/homedir_linux.go
volume/local/local.go
volume/volume.go
github.com/docker/docker/pkg/ioutils
Deps
github.com/docker/docker/vendor/golang.org/x/net/context
Used
api/common.go
api/server/httputils/write_log_stream.go
api/server/middleware/debug.go
api/server/router/build/build_routes.go
api/server/router/container/container_routes.go
api/server/router/image/image_routes.go
api/server/router/plugin/plugin_routes.go
api/server/router/system/system_routes.go
builder/dockerfile/internals.go
builder/remotecontext/tarsum.go
cli/command/image/build/context.go
cli/command/system/info.go
container/container.go
container/stream/streams.go
daemon/archive.go
daemon/cluster/utils.go
daemon/commit.go
daemon/export.go
daemon/graphdriver/fsdiff.go
daemon/graphdriver/windows/windows.go
daemon/logger/jsonfilelog/read.go
daemon/stats.go
distribution/metadata/metadata.go
distribution/pull_v1.go
distribution/pull_v2.go
distribution/push_v1.go
distribution/push_v2.go
distribution/xfer/download.go
image/fs.go
integration-cli/daemon/daemon.go
integration-cli/docker_api_containers_test.go
integration-cli/request/request.go
layer/filestore.go
libcontainerd/client_linux.go
libcontainerd/container_unix.go
libcontainerd/process_windows.go
migrate/v1/migratev1.go
pkg/archive/archive.go
pkg/archive/diff_test.go
pkg/authorization/authz.go
pkg/pools/pools.go
plugin/manager.go
reference/store.go
registry/session.go
vendor/github.com/docker/libnetwork/resolvconf/resolvconf.go
github.com/docker/docker/pkg/jsonlog
Deps
Used
api/server/httputils/write_log_stream.go
cli/command/system/events.go
cmd/dockerd/daemon.go
daemon/logger/jsonfilelog/jsonfilelog.go
daemon/logger/jsonfilelog/jsonfilelog_test.go
daemon/logger/jsonfilelog/read.go
daemon/logger/logger.go
integration-cli/docker_cli_logs_test.go
pkg/jsonmessage/jsonmessage.go
pkg/jsonmessage/jsonmessage_test.go
github.com/docker/docker/pkg/jsonmessage
Deps
github.com/docker/docker/pkg/jsonlog
github.com/docker/docker/pkg/term
github.com/docker/docker/vendor/github.com/Nvveen/Gotty
github.com/docker/docker/vendor/github.com/docker/go-units
Used
builder/dockerfile/internals.go
cli/command/container/create.go
cli/command/image/build.go
cli/command/image/import.go
cli/command/image/load.go
cli/command/image/push.go
cli/command/image/trust.go
cli/command/plugin/install.go
cli/command/plugin/push.go
cli/command/plugin/upgrade.go
cli/command/service/helpers.go
integration-cli/docker_api_events_test.go
pkg/httputils/httputils.go
pkg/streamformatter/streamformatter.go
pkg/streamformatter/streamformatter_test.go
pkg/streamformatter/streamwriter.go
github.com/docker/docker/pkg/listeners
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/coreos/go-systemd/activation
github.com/docker/docker/vendor/github.com/docker/go-connections/sockets
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/user
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/vendor/golang.org/x/net/proxy
Used
cmd/dockerd/daemon.go
github.com/docker/docker/pkg/locker
Deps
Used
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/devmapper/driver.go
daemon/graphdriver/overlay/overlay.go
daemon/graphdriver/overlay2/overlay.go
libcontainerd/client.go
libcontainerd/remote_unix.go
libcontainerd/remote_windows.go
pkg/locker/README.md
vendor/github.com/docker/libnetwork/controller.go
volume/drivers/extpoint.go
volume/store/store.go
github.com/docker/docker/pkg/longpath
Deps
Used
cli/command/image/build/context_windows.go
daemon/graphdriver/windows/windows.go
pkg/archive/archive_windows.go
pkg/chrootarchive/archive_windows.go
pkg/chrootarchive/diff_windows.go
pkg/ioutils/temp_windows.go
pkg/symlink/fs_windows.go
github.com/docker/docker/pkg/loopback
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
daemon/graphdriver/devmapper/deviceset.go
github.com/docker/docker/pkg/mount
Deps
Used
daemon/container_operations_unix.go
daemon/daemon_linux.go
daemon/graphdriver/aufs/aufs.go
daemon/graphdriver/btrfs/btrfs.go
daemon/graphdriver/devmapper/deviceset.go
daemon/graphdriver/devmapper/driver.go
daemon/graphdriver/driver_linux.go
daemon/graphdriver/driver_solaris.go
daemon/graphdriver/overlay/overlay.go
daemon/graphdriver/overlay2/overlay.go
daemon/graphdriver/zfs/zfs.go
daemon/oci_linux.go
daemon/volumes_unix.go
integration-cli/docker_api_containers_test.go
integration-cli/docker_cli_daemon_plugins_test.go
integration-cli/docker_cli_daemon_test.go
integration-cli/docker_cli_run_test.go
integration-cli/docker_cli_run_unix_test.go
libcontainerd/client_linux.go
pkg/chrootarchive/chroot_linux.go
plugin/backend_linux.go
plugin/manager.go
plugin/manager_linux.go
volume/local/local.go
volume/local/local_test.go
volume/local/local_unix.go
github.com/docker/docker/pkg/namesgenerator
Deps
github.com/docker/docker/pkg/random
github.com/docker/docker/pkg/namesgenerator
github.com/docker/docker/pkg/random
Used
daemon/cluster/convert/service.go
daemon/names.go
pkg/namesgenerator/cmd/names-generator/main.go
github.com/docker/docker/pkg/parsers
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/mattn/go-shellwords
Used
daemon/daemon_unix.go
daemon/daemon_windows.go
daemon/graphdriver/btrfs/btrfs.go
daemon/graphdriver/devmapper/deviceset.go
daemon/graphdriver/overlay2/overlay.go
daemon/graphdriver/zfs/zfs.go
integration-cli/docker_cli_run_unix_test.go
pkg/sysinfo/sysinfo.go
github.com/docker/docker/pkg/pidfile
Deps
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/docker/go-units
Used
cmd/dockerd/daemon.go
github.com/docker/docker/pkg/platform
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
daemon/daemon_windows.go
daemon/info.go
github.com/docker/docker/pkg/plugingetter
Deps
github.com/docker/docker/pkg/plugins
github.com/docker/docker/pkg/plugins/transport
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-connections/sockets
github.com/docker/docker/vendor/github.com/docker/go-connections/tlsconfig
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/vendor/golang.org/x/net/proxy
Used
cmd/dockerd/daemon.go
daemon/daemon.go
daemon/graphdriver/driver.go
daemon/graphdriver/plugin.go
daemon/graphdriver/proxy.go
daemon/logger/adapter.go
daemon/logger/factory.go
daemon/logger/plugin.go
daemon/network.go
layer/layer_store.go
pkg/authorization/middleware.go
pkg/authorization/plugin.go
plugin/store.go
plugin/v2/plugin.go
vendor/github.com/docker/libnetwork/config/config.go
vendor/github.com/docker/libnetwork/controller.go
vendor/github.com/docker/libnetwork/driverapi/driverapi.go
vendor/github.com/docker/libnetwork/drvregistry/drvregistry.go
vendor/github.com/docker/libnetwork/ipamapi/contract.go
vendor/github.com/docker/swarmkit/manager/allocator/allocator.go
vendor/github.com/docker/swarmkit/manager/allocator/networkallocator/networkallocator.go
vendor/github.com/docker/swarmkit/manager/controlapi/common.go
vendor/github.com/docker/swarmkit/manager/controlapi/network.go
vendor/github.com/docker/swarmkit/manager/controlapi/server.go
vendor/github.com/docker/swarmkit/manager/manager.go
vendor/github.com/docker/swarmkit/node/node.go
volume/drivers/extpoint.go
github.com/docker/docker/pkg/plugins
Deps
github.com/docker/docker/pkg/plugins/transport
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-connections/sockets
github.com/docker/docker/vendor/github.com/docker/go-connections/tlsconfig
github.com/docker/docker/vendor/github.com/pkg/errors
github.com/docker/docker/vendor/golang.org/x/net/proxy
github.com/docker/docker/pkg/plugins/pluginrpc-gen/fixtures/otherfixture
Used
daemon/graphdriver/proxy.go
integration-cli/docker_cli_authz_unix_test.go
integration-cli/docker_cli_external_graphdriver_unix_test.go
pkg/authorization/authz_unix_test.go
pkg/authorization/plugin.go
pkg/plugingetter/getter.go
plugin/defs.go
plugin/manager_linux.go
plugin/store.go
plugin/v2/plugin.go
vendor/github.com/docker/libnetwork/controller.go
vendor/github.com/docker/libnetwork/drivers/remote/driver.go
vendor/github.com/docker/libnetwork/ipams/remote/remote.go
volume/drivers/proxy_test.go
github.com/docker/docker/pkg/pools
Deps
github.com/docker/docker/pkg/ioutils
github.com/docker/docker/vendor/golang.org/x/net/context
Used
builder/remotecontext/lazycontext.go
container/stream/streams.go
daemon/exec.go
daemon/graphdriver/overlay/copy.go
pkg/archive/archive.go
pkg/archive/changes.go
pkg/archive/diff.go
plugin/backend_linux.go
github.com/docker/docker/pkg/progress
Deps
github.com/docker/docker/vendor/golang.org/x/net/context
github.com/docker/docker/vendor/golang.org/x/time/rate
Used
api/server/router/build/build_routes.go
builder/dockerfile/internals.go
cli/command/image/build.go
cli/command/image/build/context.go
cli/command/service/progress/progress.go
daemon/image_pull.go
daemon/image_push.go
daemon/import.go
distribution/config.go
distribution/pull.go
distribution/pull_v1.go
distribution/pull_v2.go
distribution/push.go
distribution/push_v1.go
distribution/push_v2.go
distribution/push_v2_test.go
distribution/utils/progress.go
distribution/xfer/download.go
distribution/xfer/download_test.go
distribution/xfer/transfer.go
distribution/xfer/transfer_test.go
distribution/xfer/upload.go
distribution/xfer/upload_test.go
image/tarexport/load.go
pkg/streamformatter/streamformatter.go
plugin/backend_linux.go
plugin/blobstore.go
github.com/docker/docker/pkg/promise
Deps
Used
cli/command/container/exec.go
cli/command/container/run.go
cli/command/container/start.go
container/stream/attach.go
pkg/archive/archive.go
github.com/docker/docker/pkg/pubsub
Deps
Used
daemon/events/events.go
daemon/logger/loggerutils/rotatefilewriter.go
daemon/stats/collector.go
daemon/stats/types.go
github.com/docker/docker/pkg/random
Deps
Used
pkg/namesgenerator/names-generator.go
pkg/stringid/stringid.go
pkg/stringutils/stringutils.go
github.com/docker/docker/pkg/reexec
Deps
Used
builder/dockerfile/evaluator_test.go
builder/remotecontext/tarsum_test.go
cmd/dockerd/docker.go
daemon/graphdriver/aufs/aufs_test.go
daemon/graphdriver/overlay2/mount.go
daemon/graphdriver/overlay2/overlay_test.go
daemon/graphdriver/vfs/vfs_test.go
daemon/graphdriver/windows/windows.go
integration-cli/check_test.go
pkg/chrootarchive/archive_test.go
pkg/chrootarchive/archive_unix.go
pkg/chrootarchive/diff_unix.go
pkg/chrootarchive/init_unix.go
vendor/github.com/docker/libnetwork/osl/namespace_linux.go
vendor/github.com/docker/libnetwork/resolver_unix.go
vendor/github.com/docker/libnetwork/sandbox_externalkey.go
vendor/github.com/docker/libnetwork/service_linux.go
github.com/docker/docker/pkg/registrar
Deps
Used
daemon/daemon.go
daemon/daemon_test.go
daemon/names.go
github.com/docker/docker/pkg/signal
Deps
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/pkg/errors
Used
api/server/router/container/container_routes.go
builder/dockerfile/dispatchers.go
cli/command/container/attach.go
cli/command/container/opts.go
cli/command/container/run.go
cli/command/container/start.go
cli/command/container/tty.go
cmd/dockerd/daemon.go
container/container.go
container/container_unit_test.go
daemon/cluster/cluster.go
daemon/cluster/swarm.go
daemon/container.go
daemon/daemon.go
daemon/debugtrap_unix.go
daemon/debugtrap_windows.go
daemon/exec.go
daemon/kill.go
vendor/github.com/docker/swarmkit/manager/state/raft/raft.go
github.com/docker/docker/pkg/stdcopy
Deps
Used
api/server/httputils/write_log_stream.go
api/server/router/container/exec.go
cli/command/container/hijack.go
cli/command/container/logs.go
cli/command/service/logs.go
daemon/attach.go
hack/integration-cli-on-swarm/agent/worker/executor.go
hack/integration-cli-on-swarm/host/host.go
integration-cli/docker_api_attach_test.go
github.com/docker/docker/pkg/streamformatter
Deps
github.com/docker/docker/pkg/jsonlog
github.com/docker/docker/pkg/jsonmessage
github.com/docker/docker/pkg/progress
github.com/docker/docker/pkg/term
github.com/docker/docker/vendor/github.com/Nvveen/Gotty
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/golang.org/x/net/context
github.com/docker/docker/vendor/golang.org/x/time/rate
Used
api/server/router/build/build_routes.go
api/server/router/image/image_routes.go
api/server/router/plugin/plugin_routes.go
builder/dockerfile/internals.go
cli/command/image/build.go
cli/command/image/build/context.go
cli/command/service/progress/progress.go
daemon/import.go
distribution/utils/progress.go
image/tarexport/load.go
github.com/docker/docker/pkg/stringid
Deps
github.com/docker/docker/pkg/random
Used
api/server/backend/build/backend.go
builder/dockerfile/builder.go
builder/dockerfile/internals.go
cli/command/formatter/container.go
cli/command/formatter/container_test.go
cli/command/formatter/history.go
cli/command/formatter/history_test.go
cli/command/formatter/image.go
cli/command/formatter/image_test.go
cli/command/formatter/network.go
cli/command/formatter/network_test.go
cli/command/formatter/node_test.go
cli/command/formatter/plugin.go
cli/command/formatter/plugin_test.go
cli/command/formatter/service.go
cli/command/formatter/stats_test.go
cli/command/formatter/task.go
cli/command/formatter/volume_test.go
cli/command/image/build.go
cli/command/service/logs.go
cli/command/service/progress/progress.go
container/container_unix.go
daemon/archive.go
daemon/cluster/executor/container/validate_test.go
daemon/container_operations.go
daemon/container_operations_unix.go
daemon/create.go
daemon/create_unix.go
daemon/create_windows.go
daemon/exec/exec.go
daemon/graphdriver/aufs/aufs_test.go
daemon/graphdriver/graphtest/graphbench_unix.go
daemon/graphdriver/graphtest/graphtest_unix.go
daemon/graphdriver/graphtest/testutil.go
daemon/image.go
daemon/image_delete.go
daemon/logger/plugin.go
daemon/names.go
distribution/pull_v1.go
distribution/pull_v2.go
distribution/push_v1.go
distribution/push_v2.go
distribution/registry_unit_test.go
image/tarexport/load.go
image/v1/imagev1.go
integration-cli/daemon/daemon.go
integration-cli/docker_api_containers_test.go
integration-cli/docker_cli_attach_unix_test.go
integration-cli/docker_cli_create_test.go
integration-cli/docker_cli_daemon_test.go
integration-cli/docker_cli_external_volume_driver_unix_test.go
integration-cli/docker_cli_images_test.go
integration-cli/docker_cli_network_unix_test.go
integration-cli/docker_cli_ps_test.go
integration-cli/docker_cli_rename_test.go
integration-cli/docker_cli_rmi_test.go
integration-cli/docker_cli_run_test.go
integration-cli/docker_cli_tag_test.go
integration-cli/docker_cli_userns_test.go
layer/layer_store.go
layer/layer_test.go
layer/layer_unix.go
layer/migration_test.go
pkg/truncindex/truncindex_test.go
plugin/manager_linux.go
registry/session.go
vendor/github.com/docker/libnetwork/agent.go
vendor/github.com/docker/libnetwork/controller.go
vendor/github.com/docker/libnetwork/drivers/ipvlan/ipvlan_network.go
vendor/github.com/docker/libnetwork/drivers/macvlan/macvlan_network.go
vendor/github.com/docker/libnetwork/network.go
volume/volume.go
github.com/docker/docker/pkg/stringutils
Deps
github.com/docker/docker/pkg/random
Used
cli/command/formatter/container.go
cli/command/formatter/history.go
cli/command/formatter/history_test.go
cli/command/formatter/plugin.go
cli/command/registry/search.go
daemon/caps/utils_unix.go
daemon/oci_linux.go
integration-cli/cli/build/fakestorage/storage.go
integration-cli/docker_api_inspect_test.go
integration-cli/docker_cli_build_test.go
integration-cli/docker_cli_by_digest_test.go
integration-cli/docker_cli_run_test.go
integration-cli/docker_cli_tag_test.go
pkg/testutil/utils.go
profiles/seccomp/seccomp.go
github.com/docker/docker/pkg/symlink
Deps
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/docker/go-units
Used
builder/remotecontext/detect.go
builder/remotecontext/tarsum.go
container/container.go
container/container_unix.go
daemon/archive.go
daemon/oci_linux.go
image/tarexport/load.go
pkg/gitutils/gitutils.go
github.com/docker/docker/pkg/sysinfo
Deps
github.com/docker/docker/pkg/parsers
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/cgroups
github.com/docker/docker/vendor/github.com/opencontainers/runc/libcontainer/configs
Used
daemon/daemon.go
daemon/daemon_solaris.go
daemon/daemon_unix.go
daemon/daemon_windows.go
daemon/info.go
daemon/info_unix.go
daemon/info_windows.go
daemon/oci_windows.go
integration-cli/docker_cli_run_unix_test.go
integration-cli/requirements_unix_test.go
libcontainerd/client_windows.go
runconfig/config.go
runconfig/hostconfig_solaris.go
runconfig/hostconfig_test.go
runconfig/hostconfig_unix.go
runconfig/hostconfig_windows.go
github.com/docker/docker/pkg/system
Deps
github.com/docker/docker/vendor/github.com/docker/go-units
Used
api/common.go
builder/dockerfile/dispatchers_windows.go
builder/dockerfile/internals.go
builder/dockerfile/internals_unix.go
builder/dockerfile/internals_windows.go
cli/command/container/cp.go
cli/command/image/load.go
cli/command/secret/create.go
cli/command/utils.go
cmd/dockerd/daemon.go
cmd/dockerd/daemon_solaris.go
cmd/dockerd/daemon_unix.go
cmd/dockerd/daemon_windows.go
cmd/dockerd/service_windows.go
container/archive.go
container/container_unix.go
daemon/archive.go
daemon/container.go
daemon/daemon.go
daemon/daemon_windows.go
daemon/debugtrap_windows.go
daemon/graphdriver/overlay/copy.go
daemon/graphdriver/overlay2/check.go
daemon/graphdriver/windows/windows.go
daemon/info.go
daemon/start_windows.go
daemon/stats_collector.go
image/tarexport/load.go
image/tarexport/save.go
integration-cli/docker_cli_cp_to_container_unix_test.go
integration-cli/docker_cli_userns_test.go
libcontainerd/remote_unix.go
pkg/archive/archive.go
pkg/archive/archive_linux.go
pkg/archive/archive_linux_test.go
pkg/archive/archive_unix.go
pkg/archive/archive_unix_test.go
pkg/archive/changes.go
pkg/archive/changes_linux.go
pkg/archive/changes_other.go
pkg/archive/changes_test.go
pkg/archive/changes_unix.go
pkg/archive/changes_windows.go
pkg/archive/copy.go
pkg/archive/diff.go
pkg/chrootarchive/archive_test.go
pkg/chrootarchive/diff_unix.go
pkg/idtools/idtools_unix.go
pkg/idtools/idtools_windows.go
pkg/pidfile/pidfile.go
pkg/symlink/fs.go
pkg/testutil/cmd/command.go
pkg/testutil/utils.go
plugin/v2/plugin_linux.go
github.com/docker/docker/pkg/tailfile
Deps
Used
daemon/logger/jsonfilelog/read.go
github.com/docker/docker/pkg/tarsum
Deps
Used
builder/remotecontext/filehash.go
builder/remotecontext/tarsum.go
registry/session.go
github.com/docker/docker/pkg/templates
Deps
Used
cli/command/container/list.go
cli/command/formatter/formatter.go
cli/command/inspect/inspector.go
cli/command/inspect/inspector_test.go
cli/command/system/events.go
cli/command/system/info.go
cli/command/system/version.go
daemon/logger/awslogs/cloudwatchlogs.go
daemon/logger/loggerutils/log_tag.go
profiles/apparmor/apparmor.go
github.com/docker/docker/pkg/term
Deps
github.com/docker/docker/vendor/github.com/Azure/go-ansiterm
github.com/docker/docker/vendor/github.com/Sirupsen/logrus
Used
cli/cobra.go
cli/command/in.go
cli/command/out.go
cli/command/registry.go
cli/command/stream.go
cmd/docker/docker.go
cmd/dockerd/docker.go
daemon/attach.go
daemon/exec.go
docs/yaml/generate.go
man/generate.go
pkg/jsonmessage/jsonmessage.go
pkg/jsonmessage/jsonmessage_test.go
vendor/github.com/docker/notary/passphrase/passphrase.go
github.com/docker/docker/pkg/testutil
Deps
github.com/docker/docker/pkg/random
github.com/docker/docker/pkg/stringutils
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/davecgh/go-spew/spew
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/pmezard/go-difflib/difflib
github.com/docker/docker/vendor/github.com/stretchr/testify/assert
github.com/docker/docker/vendor/github.com/stretchr/testify/require
github.com/docker/docker/pkg/system
github.com/docker/docker/vendor/github.com/docker/go-units
github.com/docker/docker/vendor/github.com/go-check/check
github.com/docker/docker/vendor/github.com/davecgh/go-spew/spew
github.com/docker/docker/vendor/github.com/pmezard/go-difflib/difflib
github.com/docker/docker/vendor/github.com/stretchr/testify/assert
github.com/docker/docker/vendor/github.com/stretchr/testify/require
Used
builder/dockerfile/dispatchers_test.go
cli/command/container/opts_test.go
cli/command/image/history_test.go
cli/command/image/import_test.go
cli/command/image/inspect_test.go
cli/command/image/list_test.go
cli/command/image/load_test.go
cli/command/image/prune_test.go
cli/command/image/pull_test.go
cli/command/image/push_test.go
cli/command/image/remove_test.go
cli/command/image/save_test.go
cli/command/image/tag_test.go
cli/command/node/demote_test.go
cli/command/node/inspect_test.go
cli/command/node/promote_test.go
cli/command/node/ps_test.go
cli/command/node/remove_test.go
cli/command/node/update_test.go
cli/command/secret/create_test.go
cli/command/secret/inspect_test.go
cli/command/secret/ls_test.go
cli/command/secret/remove_test.go
cli/command/swarm/init_test.go
cli/command/swarm/join_test.go
cli/command/swarm/join_token_test.go
cli/command/swarm/leave_test.go
cli/command/swarm/unlock_key_test.go
cli/command/swarm/unlock_test.go
cli/command/swarm/update_test.go
cli/command/volume/create_test.go
cli/command/volume/inspect_test.go
cli/command/volume/list_test.go
cli/command/volume/prune_test.go
cli/command/volume/remove_test.go
cli/compose/loader/volume_test.go
cmd/dockerd/daemon_test.go
daemon/config/config_test.go
daemon/delete_test.go
image/fs_test.go
image/store_test.go
integration-cli/daemon/daemon.go
integration-cli/docker_api_attach_test.go
integration-cli/docker_api_build_test.go
integration-cli/docker_api_containers_test.go
integration-cli/docker_api_exec_test.go
integration-cli/docker_api_test.go
integration-cli/docker_cli_build_test.go
integration-cli/docker_cli_build_unix_test.go
integration-cli/docker_cli_cp_test.go
integration-cli/docker_cli_daemon_test.go
integration-cli/docker_cli_events_test.go
integration-cli/docker_cli_import_test.go
integration-cli/docker_cli_links_test.go
integration-cli/docker_cli_logs_test.go
integration-cli/docker_cli_run_test.go
integration-cli/docker_cli_save_load_test.go
integration-cli/docker_cli_swarm_test.go
integration-cli/docker_cli_userns_test.go
integration-cli/docker_deprecated_api_v124_test.go
integration-cli/request/request.go
opts/mount_test.go
opts/port_test.go
github.com/docker/docker/pkg/tlsconfig
Deps
Used
client/hijack.go
github.com/docker/docker/pkg/truncindex
Deps
github.com/docker/docker/vendor/github.com/tchap/go-patricia/patricia
Used
daemon/container.go
daemon/daemon.go
daemon/daemon_test.go
github.com/docker/docker/pkg/urlutil
Deps
Used
builder/dockerfile/internals.go
builder/remotecontext/detect.go
cli/command/image/build.go
cli/command/image/import.go
daemon/logger/fluentd/fluentd.go
daemon/logger/gelf/gelf.go
daemon/logger/splunk/splunk.go
daemon/logger/syslog/syslog.go
pkg/gitutils/gitutils.go
github.com/docker/docker/pkg/useragent
Deps
Used
dockerversion/useragent.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment