1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Tibor Vass bfed4b7cc3 Refactor TLS code with a new tlsconfig package
This patch creates a new `tlsconfig` package to handle creation of
secure-enough TLS configurations for clients and servers.

The package was created by refactoring TLS code in the client and the
daemon. After this patch, it is expected that all code creating TLS
configurations use this `tlsconfig` package for greater security,
consistency and readability.

On the server side, this fixes a bug where --tlsverify was not taken
into account. Now, if specified, it will require the client to
authenticate.

Signed-off-by: Tibor Vass <tibor@docker.com>
2015-06-05 12:38:38 -04:00
..
archive
broadcastwriter
chrootarchive Merge pull request #13231 from Microsoft/10662-chrootarchive 2015-06-03 09:54:42 -07:00
devicemapper
directory
fileutils Allow .dockerignore to ignore everything 2015-05-30 04:16:00 -07:00
graphdb
homedir
httputils
ioutils no not print empty keys in docker info 2015-06-01 15:05:20 -07:00
jsonlog
jsonmessage Add test coverage to pkg/jsonmessage 2015-06-02 21:19:38 +02:00
listenbuffer
mflag
mount
namesgenerator Proposing Bose, Raman and Ramanujan 2015-05-30 04:14:11 +05:30
parsers
pidfile
plugins Don't forget to clenaup tmpdir in TestFileSpecPlugin() 2015-06-04 21:26:15 +08:00
pools
progressreader
promise
proxy
pubsub
random
reexec
signal
sockets Refactor TLS code with a new tlsconfig package 2015-06-05 12:38:38 -04:00
stdcopy
streamformatter
stringid
stringutils Add test coverage for pkg/stringutils 2015-05-29 15:49:29 +02:00
symlink
sysinfo
system Windows: Implement ReadMemInfo() 2015-06-01 12:40:33 -07:00
systemd
tailfile
tarsum Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
term
timeoutconn
timeutils Merge pull request #13165 from ahmetalpbalkan/durations 2015-06-03 22:14:42 +02:00
tlsconfig Refactor TLS code with a new tlsconfig package 2015-06-05 12:38:38 -04:00
transport
truncindex
ulimit
units
urlutil Add syslog-address log-opt 2015-05-29 00:42:11 +02:00
useragent
version
README.md

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!