mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Add canonical import comment
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
		
							parent
							
								
									090c5bf25a
								
							
						
					
					
						commit
						4f0d95fa6e
					
				
					 1360 changed files with 1360 additions and 1360 deletions
				
			
		| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package api
 | 
					package api // import "github.com/docker/docker/api"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Common constants for daemon and client.
 | 
					// Common constants for daemon and client.
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
// +build !windows
 | 
					// +build !windows
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package api
 | 
					package api // import "github.com/docker/docker/api"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// MinVersion represents Minimum REST API version supported
 | 
					// MinVersion represents Minimum REST API version supported
 | 
				
			||||||
const MinVersion string = "1.12"
 | 
					const MinVersion string = "1.12"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package api
 | 
					package api // import "github.com/docker/docker/api"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// MinVersion represents Minimum REST API version supported
 | 
					// MinVersion represents Minimum REST API version supported
 | 
				
			||||||
// Technically the first daemon API version released on Windows is v1.25 in
 | 
					// Technically the first daemon API version released on Windows is v1.25 in
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package build
 | 
					package build // import "github.com/docker/docker/api/server/backend/build"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package build
 | 
					package build // import "github.com/docker/docker/api/server/backend/build"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "testing"
 | 
					import "testing"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package httputils
 | 
					package httputils // import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package server
 | 
					package server // import "github.com/docker/docker/api/server"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/httputils"
 | 
						"github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"bufio"
 | 
						"bufio"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"testing"
 | 
						"testing"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package middleware
 | 
					package middleware // import "github.com/docker/docker/api/server/middleware"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package build
 | 
					package build // import "github.com/docker/docker/api/server/router/build"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/types"
 | 
						"github.com/docker/docker/api/types"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package build
 | 
					package build // import "github.com/docker/docker/api/server/router/build"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package build
 | 
					package build // import "github.com/docker/docker/api/server/router/build"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"bytes"
 | 
						"bytes"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package checkpoint
 | 
					package checkpoint // import "github.com/docker/docker/api/server/router/checkpoint"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/types"
 | 
					import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package checkpoint
 | 
					package checkpoint // import "github.com/docker/docker/api/server/router/checkpoint"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/httputils"
 | 
						"github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package checkpoint
 | 
					package checkpoint // import "github.com/docker/docker/api/server/router/checkpoint"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/httputils"
 | 
						"github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/base64"
 | 
						"encoding/base64"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/server/router/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package debug
 | 
					package debug // import "github.com/docker/docker/api/server/router/debug"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"expvar"
 | 
						"expvar"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package debug
 | 
					package debug // import "github.com/docker/docker/api/server/router/debug"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package distribution
 | 
					package distribution // import "github.com/docker/docker/api/server/router/distribution"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/distribution"
 | 
						"github.com/docker/distribution"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package distribution
 | 
					package distribution // import "github.com/docker/docker/api/server/router/distribution"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package distribution
 | 
					package distribution // import "github.com/docker/docker/api/server/router/distribution"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/base64"
 | 
						"encoding/base64"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package router
 | 
					package router // import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package image
 | 
					package image // import "github.com/docker/docker/api/server/router/image"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package image
 | 
					package image // import "github.com/docker/docker/api/server/router/image"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/httputils"
 | 
						"github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package image
 | 
					package image // import "github.com/docker/docker/api/server/router/image"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/base64"
 | 
						"encoding/base64"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package router
 | 
					package router // import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/server/router/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"golang.org/x/net/context"
 | 
						"golang.org/x/net/context"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/server/router/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/types"
 | 
						"github.com/docker/docker/api/types"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
// +build !windows
 | 
					// +build !windows
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/server/router/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/server/router/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/router"
 | 
						"github.com/docker/docker/api/server/router"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/server/router/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package plugin
 | 
					package plugin // import "github.com/docker/docker/api/server/router/plugin"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package plugin
 | 
					package plugin // import "github.com/docker/docker/api/server/router/plugin"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package plugin
 | 
					package plugin // import "github.com/docker/docker/api/server/router/plugin"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/base64"
 | 
						"encoding/base64"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package router
 | 
					package router // import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/httputils"
 | 
					import "github.com/docker/docker/api/server/httputils"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package session
 | 
					package session // import "github.com/docker/docker/api/server/router/session"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package session
 | 
					package session // import "github.com/docker/docker/api/server/router/session"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package session
 | 
					package session // import "github.com/docker/docker/api/server/router/session"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/server/router/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	basictypes "github.com/docker/docker/api/types"
 | 
						basictypes "github.com/docker/docker/api/types"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/server/router/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/server/router/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/server/router/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"fmt"
 | 
						"fmt"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package system
 | 
					package system // import "github.com/docker/docker/api/server/router/system"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package system
 | 
					package system // import "github.com/docker/docker/api/server/router/system"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/server/router"
 | 
						"github.com/docker/docker/api/server/router"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package system
 | 
					package system // import "github.com/docker/docker/api/server/router/system"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package volume
 | 
					package volume // import "github.com/docker/docker/api/server/router/volume"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"golang.org/x/net/context"
 | 
						"golang.org/x/net/context"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package volume
 | 
					package volume // import "github.com/docker/docker/api/server/router/volume"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "github.com/docker/docker/api/server/router"
 | 
					import "github.com/docker/docker/api/server/router"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package volume
 | 
					package volume // import "github.com/docker/docker/api/server/router/volume"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package server
 | 
					package server // import "github.com/docker/docker/api/server"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package server
 | 
					package server // import "github.com/docker/docker/api/server"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"crypto/tls"
 | 
						"crypto/tls"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package server
 | 
					package server // import "github.com/docker/docker/api/server"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// AuthConfig contains authorization information for connecting to a Registry
 | 
					// AuthConfig contains authorization information for connecting to a Registry
 | 
				
			||||||
type AuthConfig struct {
 | 
					type AuthConfig struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
// Package backend includes types to send information to server backends.
 | 
					// Package backend includes types to send information to server backends.
 | 
				
			||||||
package backend
 | 
					package backend // import "github.com/docker/docker/api/types/backend"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package backend
 | 
					package backend // import "github.com/docker/docker/api/types/backend"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"io"
 | 
						"io"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package blkiodev
 | 
					package blkiodev // import "github.com/docker/docker/api/types/blkiodev"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "fmt"
 | 
					import "fmt"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"bufio"
 | 
						"bufio"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/types/container"
 | 
						"github.com/docker/docker/api/types/container"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/types/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/types/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"strings"
 | 
						"strings"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
// +build !windows
 | 
					// +build !windows
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/types/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// IsValid indicates if an isolation technology is valid
 | 
					// IsValid indicates if an isolation technology is valid
 | 
				
			||||||
func (i Isolation) IsValid() bool {
 | 
					func (i Isolation) IsValid() bool {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/types/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// IsBridge indicates whether container uses the bridge network stack
 | 
					// IsBridge indicates whether container uses the bridge network stack
 | 
				
			||||||
// in windows it is given the name NAT
 | 
					// in windows it is given the name NAT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package container
 | 
					package container // import "github.com/docker/docker/api/types/container"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// WaitCondition is a type used to specify a container state for which
 | 
					// WaitCondition is a type used to specify a container state for which
 | 
				
			||||||
// to wait.
 | 
					// to wait.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package events
 | 
					package events // import "github.com/docker/docker/api/types/events"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const (
 | 
					const (
 | 
				
			||||||
	// ContainerEventType is the event type that containers generate
 | 
						// ContainerEventType is the event type that containers generate
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package filters
 | 
					package filters // import "github.com/docker/docker/api/types/filters"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func ExampleArgs_MatchKVList() {
 | 
					func ExampleArgs_MatchKVList() {
 | 
				
			||||||
	args := NewArgs(
 | 
						args := NewArgs(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
/*Package filters provides tools for encoding a mapping of keys to a set of
 | 
					/*Package filters provides tools for encoding a mapping of keys to a set of
 | 
				
			||||||
multiple values.
 | 
					multiple values.
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
package filters
 | 
					package filters // import "github.com/docker/docker/api/types/filters"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package filters
 | 
					package filters // import "github.com/docker/docker/api/types/filters"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"errors"
 | 
						"errors"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package mount
 | 
					package mount // import "github.com/docker/docker/api/types/mount"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"os"
 | 
						"os"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package network
 | 
					package network // import "github.com/docker/docker/api/types/network"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Address represents an IP address
 | 
					// Address represents an IP address
 | 
				
			||||||
type Address struct {
 | 
					type Address struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,3 @@
 | 
				
			||||||
//go:generate protoc --gogofast_out=import_path=github.com/docker/docker/api/types/plugins/logdriver:. entry.proto
 | 
					//go:generate protoc --gogofast_out=import_path=github.com/docker/docker/api/types/plugins/logdriver:. entry.proto
 | 
				
			||||||
 | 
					
 | 
				
			||||||
package logdriver
 | 
					package logdriver // import "github.com/docker/docker/api/types/plugins/logdriver"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package logdriver
 | 
					package logdriver // import "github.com/docker/docker/api/types/plugins/logdriver"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/binary"
 | 
						"encoding/binary"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package registry
 | 
					package registry // import "github.com/docker/docker/api/types/registry"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ----------------------------------------------------------------------------
 | 
					// ----------------------------------------------------------------------------
 | 
				
			||||||
// DO NOT EDIT THIS FILE
 | 
					// DO NOT EDIT THIS FILE
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package registry
 | 
					package registry // import "github.com/docker/docker/api/types/registry"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Seccomp represents the config for a seccomp profile for syscall restriction.
 | 
					// Seccomp represents the config for a seccomp profile for syscall restriction.
 | 
				
			||||||
type Seccomp struct {
 | 
					type Seccomp struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,6 @@
 | 
				
			||||||
// Package types is used for API stability in the types and response to the
 | 
					// Package types is used for API stability in the types and response to the
 | 
				
			||||||
// consumers of the API stats endpoint.
 | 
					// consumers of the API stats endpoint.
 | 
				
			||||||
package types
 | 
					package types // import "github.com/docker/docker/api/types"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "time"
 | 
					import "time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package strslice
 | 
					package strslice // import "github.com/docker/docker/api/types/strslice"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "encoding/json"
 | 
					import "encoding/json"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package strslice
 | 
					package strslice // import "github.com/docker/docker/api/types/strslice"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"encoding/json"
 | 
						"encoding/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "time"
 | 
					import "time"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import "os"
 | 
					import "os"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"time"
 | 
						"time"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import (
 | 
					import (
 | 
				
			||||||
	"github.com/docker/docker/api/types/network"
 | 
						"github.com/docker/docker/api/types/network"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Node represents a node.
 | 
					// Node represents a node.
 | 
				
			||||||
type Node struct {
 | 
					type Node struct {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
package swarm
 | 
					package swarm // import "github.com/docker/docker/api/types/swarm"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// RuntimeType is the type of runtime used for the TaskSpec
 | 
					// RuntimeType is the type of runtime used for the TaskSpec
 | 
				
			||||||
type RuntimeType string
 | 
					type RuntimeType string
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show more
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue