Signed-off-by: Daniel Nephin <dnephin@docker.com>
| ... | ... |
@@ -17,7 +17,7 @@ |
| 17 | 17 |
// before and after each step, such as creating an image ID and removing temporary |
| 18 | 18 |
// containers and images. Note that ONBUILD creates a kinda-sorta "sub run" which |
| 19 | 19 |
// includes its own set of steps (usually only one of them). |
| 20 |
-package dockerfile |
|
| 20 |
+package dockerfile // import "github.com/docker/docker/builder/dockerfile" |
|
| 21 | 21 |
|
| 22 | 22 |
import ( |
| 23 | 23 |
"reflect" |
| ... | ... |
@@ -10,7 +10,7 @@ |
| 10 | 10 |
// |
| 11 | 11 |
// Each container log message generates an ETW event that also contains: |
| 12 | 12 |
// the container name and ID, the timestamp, and the stream type. |
| 13 |
-package etwlogs |
|
| 13 |
+package etwlogs // import "github.com/docker/docker/daemon/logger/etwlogs" |
|
| 14 | 14 |
|
| 15 | 15 |
import ( |
| 16 | 16 |
"errors" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package jsonfilelog provides the default Logger implementation for |
| 2 | 2 |
// Docker logging. This logger logs to files on the host server in the |
| 3 | 3 |
// JSON format. |
| 4 |
-package jsonfilelog |
|
| 4 |
+package jsonfilelog // import "github.com/docker/docker/daemon/logger/jsonfilelog" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"bytes" |
| ... | ... |
@@ -5,7 +5,7 @@ |
| 5 | 5 |
// factory, which holds the contextual instance information that |
| 6 | 6 |
// allows multiple loggers of the same type to perform different |
| 7 | 7 |
// actions, such as logging to different locations. |
| 8 |
-package logger |
|
| 8 |
+package logger // import "github.com/docker/docker/daemon/logger" |
|
| 9 | 9 |
|
| 10 | 10 |
import ( |
| 11 | 11 |
"sync" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// +build !autogen |
| 2 | 2 |
|
| 3 | 3 |
// Package dockerversion is auto-generated at build-time |
| 4 |
-package dockerversion |
|
| 4 |
+package dockerversion // import "github.com/docker/docker/dockerversion" |
|
| 5 | 5 |
|
| 6 | 6 |
// Default build-time variable for library-import. |
| 7 | 7 |
// This file is overridden on build with build-time informations. |
| ... | ... |
@@ -5,4 +5,4 @@ |
| 5 | 5 |
// To check if a particular error implements one of these interfaces, there are helper |
| 6 | 6 |
// functions provided (e.g. `Is<SomeError>`) which can be used rather than asserting the interfaces directly. |
| 7 | 7 |
// If you must assert on these interfaces, be sure to check the causal chain (`err.Cause()`). |
| 8 |
-package errdefs |
|
| 8 |
+package errdefs // import "github.com/docker/docker/errdefs" |
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
// +build linux,cgo,libdm_no_deferred_remove |
| 2 | 2 |
|
| 3 |
-package devicemapper |
|
| 3 |
+package devicemapper // import "github.com/docker/docker/pkg/devicemapper" |
|
| 4 | 4 |
|
| 5 | 5 |
// LibraryDeferredRemovalSupport tells if the feature is enabled in the build |
| 6 | 6 |
const LibraryDeferredRemovalSupport = false |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package filenotify provides a mechanism for watching file(s) for changes. |
| 2 | 2 |
// Generally leans on fsnotify, but provides a poll-based notifier which fsnotify does not support. |
| 3 | 3 |
// These are wrapped up in a common interface so that either can be used interchangeably in your code. |
| 4 |
-package filenotify |
|
| 4 |
+package filenotify // import "github.com/docker/docker/pkg/filenotify" |
|
| 5 | 5 |
|
| 6 | 6 |
import "github.com/fsnotify/fsnotify" |
| 7 | 7 |
|
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
// in Windows, which are expected to be prepended with `\\?\` and followed by either |
| 3 | 3 |
// a drive letter, a UNC server\share, or a volume identifier. |
| 4 | 4 |
|
| 5 |
-package longpath |
|
| 5 |
+package longpath // import "github.com/docker/docker/pkg/longpath" |
|
| 6 | 6 |
|
| 7 | 7 |
import ( |
| 8 | 8 |
"strings" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package parsers provides helper functions to parse and validate different type |
| 2 | 2 |
// of string. It can be hosts, unix addresses, tcp addresses, filters, kernel |
| 3 | 3 |
// operating system versions. |
| 4 |
-package parsers |
|
| 4 |
+package parsers // import "github.com/docker/docker/pkg/parsers" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"fmt" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package pidfile provides structure and helper functions to create and remove |
| 2 | 2 |
// PID file. A PID file is usually a file used to store the process ID of a |
| 3 | 3 |
// running process. |
| 4 |
-package pidfile |
|
| 4 |
+package pidfile // import "github.com/docker/docker/pkg/pidfile" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"fmt" |
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
// +build !windows |
| 2 | 2 |
|
| 3 |
-package plugins |
|
| 3 |
+package plugins // import "github.com/docker/docker/pkg/plugins" |
|
| 4 | 4 |
|
| 5 | 5 |
// BasePath returns the path to which all paths returned by the plugin are relative to. |
| 6 | 6 |
// For v1 plugins, this always returns the host's root directory. |
| ... | ... |
@@ -1,4 +1,4 @@ |
| 1 |
-package plugins |
|
| 1 |
+package plugins // import "github.com/docker/docker/pkg/plugins" |
|
| 2 | 2 |
|
| 3 | 3 |
// BasePath returns the path to which all paths returned by the plugin are relative to. |
| 4 | 4 |
// For Windows v1 plugins, this returns an empty string, since the plugin is already aware |
| ... | ... |
@@ -15,7 +15,7 @@ |
| 15 | 15 |
// constraining the ordering or manipulation of the files during the creation or |
| 16 | 16 |
// unpacking of the archive, nor include additional metadata state about the file |
| 17 | 17 |
// system attributes. |
| 18 |
-package tarsum |
|
| 18 |
+package tarsum // import "github.com/docker/docker/pkg/tarsum" |
|
| 19 | 19 |
|
| 20 | 20 |
import ( |
| 21 | 21 |
"archive/tar" |
| ... | ... |
@@ -2,7 +2,7 @@ |
| 2 | 2 |
// When asked for the set of standard streams (e.g., stdin, stdout, stderr), the code will create |
| 3 | 3 |
// and return pseudo-streams that convert ANSI sequences to / from Windows Console API calls. |
| 4 | 4 |
|
| 5 |
-package windowsconsole |
|
| 5 |
+package windowsconsole // import "github.com/docker/docker/pkg/term/windows" |
|
| 6 | 6 |
|
| 7 | 7 |
import ( |
| 8 | 8 |
"io/ioutil" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package truncindex provides a general 'index tree', used by Docker |
| 2 | 2 |
// in order to be able to reference containers by only a few unambiguous |
| 3 | 3 |
// characters of their id. |
| 4 |
-package truncindex |
|
| 4 |
+package truncindex // import "github.com/docker/docker/pkg/truncindex" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"errors" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package local provides the default implementation for volumes. It |
| 2 | 2 |
// is used to mount data volume containers and directories local to |
| 3 | 3 |
// the host server. |
| 4 |
-package local |
|
| 4 |
+package local // import "github.com/docker/docker/volume/local" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"encoding/json" |
| ... | ... |
@@ -3,7 +3,7 @@ |
| 3 | 3 |
// Package local provides the default implementation for volumes. It |
| 4 | 4 |
// is used to mount data volume containers and directories local to |
| 5 | 5 |
// the host server. |
| 6 |
-package local |
|
| 6 |
+package local // import "github.com/docker/docker/volume/local" |
|
| 7 | 7 |
|
| 8 | 8 |
import ( |
| 9 | 9 |
"fmt" |
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
// Package local provides the default implementation for volumes. It |
| 2 | 2 |
// is used to mount data volume containers and directories local to |
| 3 | 3 |
// the host server. |
| 4 |
-package local |
|
| 4 |
+package local // import "github.com/docker/docker/volume/local" |
|
| 5 | 5 |
|
| 6 | 6 |
import ( |
| 7 | 7 |
"fmt" |