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 Windows: Archive package changes for Windows daemon 2015-05-20 08:55:54 -07:00
broadcastwriter pkg/broadcastwriter: reset after 4 KB w/o stream 2015-04-01 01:26:19 +03:00
chrootarchive Merge pull request #13231 from Microsoft/10662-chrootarchive 2015-06-03 09:54:42 -07:00
devicemapper devicemapper: Create a method to get device info with deferred remove field 2015-04-21 18:14:59 -04:00
directory Makes directory pkg compilable on Windows. 2015-03-12 15:54:22 +01:00
fileutils Allow .dockerignore to ignore everything 2015-05-30 04:16:00 -07:00
graphdb trivial: typo cleanup 2015-04-27 13:35:08 -07:00
homedir If $HOME is not set, return homedir from /etc/passwd 2015-03-10 10:00:22 -04:00
httputils Refactor utils/utils, fixes #11923 2015-04-14 01:37:36 +02:00
ioutils no not print empty keys in docker info 2015-06-01 15:05:20 -07:00
jsonlog Make sure log pipes are closed 2015-05-12 13:50:51 -04:00
jsonmessage Add test coverage to pkg/jsonmessage 2015-06-02 21:19:38 +02:00
listenbuffer Make API server datastructure 2015-04-20 08:13:39 -07:00
mflag Carry #11858 2015-05-23 09:14:18 -07:00
mount Add documentation for exported functions and types 2015-04-03 11:33:34 +02:00
namesgenerator Proposing Bose, Raman and Ramanujan 2015-05-30 04:14:11 +05:30
parsers Merge pull request #13099 from Microsoft/10662-pkgparsers 2015-05-12 16:07:43 -07:00
pidfile Remove redundant log in pkg/pidfile/pidfile.go 2015-05-15 15:26:00 +08:00
plugins Don't forget to clenaup tmpdir in TestFileSpecPlugin() 2015-06-04 21:26:15 +08:00
pools Add tests for pkg/pools 2015-05-16 10:39:24 +02:00
progressreader Modified progress reader to close silently when read is complete. 2015-05-28 14:09:30 -03:00
promise
proxy Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
pubsub Remove publisher if no one is listening 2015-01-20 20:21:47 -08:00
random Use goroutine-safe version of rand.Source 2015-05-19 12:32:40 -07:00
reexec Windows: reexec pkg supported 2015-05-08 14:15:53 -07:00
signal Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
sockets Refactor TLS code with a new tlsconfig package 2015-06-05 12:38:38 -04:00
stdcopy Add some stdcopy_test (coverage) 2015-04-20 22:58:22 +02:00
streamformatter Refactor pkg/stremformatter with custom constructors instead of passing a boolean 2015-05-13 00:09:41 +02:00
stringid pkg/stringid: precompile regexp 2015-05-13 21:48:48 +03:00
stringutils Add test coverage for pkg/stringutils 2015-05-29 15:49:29 +02:00
symlink Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
sysinfo Windows: Refactor sysinfo for compilation 2015-05-14 09:44:51 -07:00
system Windows: Implement ReadMemInfo() 2015-06-01 12:40:33 -07:00
systemd Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
tailfile
tarsum Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
term trivial: typo cleanup 2015-04-27 13:35:08 -07:00
timeoutconn Small if err cleaning 2015-04-27 21:50:33 +02:00
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 Add transport package to support CancelRequest 2015-05-18 23:31:42 -04:00
truncindex Update go-patricia to 2.1.0 2015-05-02 23:25:57 -06:00
ulimit Fixes pointer error 2015-03-25 20:45:17 -07:00
units clean some redundant else clauses 2015-05-19 10:54:04 +08:00
urlutil Add syslog-address log-opt 2015-05-29 00:42:11 +02:00
useragent requestdecorator: repurpose the package and rename to useragent 2015-05-18 21:51:54 -04:00
version Fix minor typo 2015-03-25 00:46:22 +08:00
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!