1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Tobias Klauser 6d068bc25b Simplify Utsname string conversion
Update golang.org/x/sys to 95c6576299259db960f6c5b9b69ea52422860fce in
order to get the unix.Utsname with byte array instead of int8/uint8
members.

This allows to use simple byte slice to string conversions instead of
using charsToString or its open-coded version.

Also see golang/go#20753 for details.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-10-31 10:59:32 +01:00
..
aaparser apparmor: make pkg/aaparser work on read-only root 2017-05-18 00:05:13 +10:00
archive Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
authorization Add gosimple linter 2017-09-12 12:09:59 -04:00
broadcaster
chrootarchive LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
containerfs pkg/package: remove promise package 2017-09-21 17:56:45 -07:00
devicemapper devmapper gd: disable for static build 2017-09-17 22:04:31 -07:00
directory Add unconvert linter 2017-08-24 15:08:31 -04:00
discovery Add gosimple linter 2017-09-12 12:09:59 -04:00
dmesg devmapper: show dmesg if mount fails 2017-09-17 22:04:31 -07:00
filenotify Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
fileutils Add goimports to linters. 2017-08-21 18:15:08 -04:00
fsutils [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
homedir Split homedir files by operating system 2017-07-10 14:10:43 +01:00
idtools Increase Coverage of pkg/idtools 2017-09-27 12:55:04 +05:00
ioutils Fix golint errors. 2017-08-18 14:23:44 -04:00
jsonmessage Move RFC3339NanoFixed to a more appropriate package. 2017-09-25 16:07:24 -04:00
locker pkg/locker: add benchmarks 2017-10-02 11:20:21 -07:00
longpath
loopback Add gosimple linter 2017-09-12 12:09:59 -04:00
mount Fix TestMount under a selinux system 2017-09-25 11:54:30 +02:00
namesgenerator pkg: remove random package 2017-05-08 17:02:02 -07:00
parsers Simplify Utsname string conversion 2017-10-31 10:59:32 +01:00
pidfile [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
platform Simplify Utsname string conversion 2017-10-31 10:59:32 +01:00
plugingetter plugingetter: Avoid all caps for constant declarations 2017-01-04 10:19:04 -08:00
plugins Add ineffassign linter 2017-09-08 18:23:21 -04:00
pools Add gosimple linter 2017-09-12 12:09:59 -04:00
progress Update the stream formatter to display custom unit numbers. 2017-05-11 11:13:11 -07:00
pubsub Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
reexec [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
signal Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
stdcopy Spelling fixes 2017-07-03 13:13:09 -07:00
streamformatter Add goimports to linters. 2017-08-21 18:15:08 -04:00
stringid pkg: remove random package 2017-05-08 17:02:02 -07:00
stringutils pkg: remove random package 2017-05-08 17:02:02 -07:00
symlink [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
sysinfo Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
system Use Mkdev, Major and Minor functions from golang.org/x/sys/unix 2017-10-19 08:28:38 +02:00
tailfile Change reading order of tailfile 2016-11-13 20:08:51 -08:00
tarsum Add ineffassign linter 2017-09-08 18:23:21 -04:00
term Use all console mode constants from go-ansiterm 2017-10-02 09:49:20 +02:00
testutil Merge pull request #34615 from dnephin/remove-pkg-testutil-assert 2017-08-26 19:09:27 -07:00
truncindex Fix non thread-safe Iteration around go-patricia 2017-01-09 17:06:50 +00:00
urlutil Move IsGitTransport() to gitutils 2017-06-26 10:07:04 -07:00
useragent
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!