1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Phil Estes 95fcf76cc6 Add SIGUSR1 handler for dumping stack/goroutine traces
Add handler for SIGUSR1 based on feedback regarding when to dump
goroutine stacks.  This will also dump goroutine stack traces on SIGQUIT
followed by a hard-exit from the daemon.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-05-12 10:09:23 +10:00
..
archive Merge pull request #13059 from burke/no-fsync-on-temp-archive 2015-05-07 16:16:52 -07:00
broadcastwriter pkg/broadcastwriter: reset after 4 KB w/o stream 2015-04-01 01:26:19 +03:00
chrootarchive Merge pull request #12360 from yestin/11601-supplement-tests-part-2 2015-04-14 21:00:12 -04: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
etchosts added documentation for functions 2015-04-15 19:28:01 -07:00
fileutils Add coverage on pkg/fileutils 2015-04-29 16:27:12 +02: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 Move WriteFlusher out of utils into ioutils 2015-05-08 12:33:33 -06:00
iptables Merge pull request #12318 from aarondav/best-effort-iptables-lock 2015-05-07 17:00:26 -07:00
jsonlog Small if err cleaning 2015-04-27 21:50:33 +02:00
jsonmessage Fixes hacks from progressreader refactor 2015-03-25 18:21:02 -07:00
listenbuffer Make API server datastructure 2015-04-20 08:13:39 -07:00
mflag Small if err cleaning 2015-04-27 21:50:33 +02:00
mount Add documentation for exported functions and types 2015-04-03 11:33:34 +02:00
namesgenerator Merge pull request #12214 from ahmetalpbalkan/namesgenerator/localrand 2015-04-14 13:10:26 -04:00
parsers Allow links to be specified with only the name if this matches the alias 2015-05-11 21:50:47 +02:00
pidfile Remove engine mechanism 2015-04-30 01:35:16 +02:00
pools Remove pools_nopool.go & build tag from pools.go 2015-04-10 02:32:55 +03:00
progressreader Fix progress reader output on close 2015-03-31 13:17:25 -07:00
promise Move Go() promise-like func from utils to pkg/promise 2014-09-29 23:16:27 -07:00
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
reexec Windows: reexec pkg supported 2015-05-08 14:15:53 -07:00
requestdecorator Removed go1.3.3 support 2015-04-20 23:09:08 +02:00
resolvconf Refactor utils/utils, fixes #11923 2015-04-14 01:37:36 +02:00
signal Add SIGUSR1 handler for dumping stack/goroutine traces 2015-05-12 10:09:23 +10:00
stdcopy Add some stdcopy_test (coverage) 2015-04-20 22:58:22 +02:00
streamformatter Add minor stylistic fixes 2015-04-16 21:22:32 +02:00
stringid Only use fallback to short IDs when obvious. 2015-04-10 13:20:44 -04:00
stringutils Refactor utils/utils, fixes #11923 2015-04-14 01:37:36 +02:00
symlink Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
sysinfo add cpu.cfs_period_us support 2015-05-09 10:02:46 +08:00
system Windows: mkdirall volume path aware 2015-04-30 11:59:42 -07:00
systemd Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
tailfile Implement tail for docker logs 2014-07-01 23:44:12 +04:00
tarsum Finally remove our copy of "archive/tar" now that Go 1.4 is the minimum! 2015-05-01 16:01:10 -06: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 Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08: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 Merge pull request #12888 from jmzwcn/patch-3 2015-05-03 11:09:25 -04:00
urlutil Use git url fragment to specify reference and dir context. 2015-05-04 09:28:06 -07: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!