Bump deps

This commit is contained in:
Jeff Mitchell
2018-02-10 19:29:52 -05:00
parent 3ea4038700
commit 1bb6bf2559
332 changed files with 44323 additions and 38351 deletions

View File

@@ -1,4 +1,4 @@
package types
package types // import "github.com/docker/docker/api/types"
// AuthConfig contains authorization information for connecting to a Registry
type AuthConfig struct {

View File

@@ -1,4 +1,4 @@
package blkiodev
package blkiodev // import "github.com/docker/docker/api/types/blkiodev"
import "fmt"

View File

@@ -1,4 +1,4 @@
package types
package types // import "github.com/docker/docker/api/types"
import (
"bufio"

View File

@@ -1,4 +1,4 @@
package types
package types // import "github.com/docker/docker/api/types"
import (
"github.com/docker/docker/api/types/container"
@@ -25,19 +25,6 @@ type ContainerRmConfig struct {
ForceRemove, RemoveVolume, RemoveLink bool
}
// ContainerCommitConfig contains build configs for commit operation,
// and is used when making a commit with the current state of the container.
type ContainerCommitConfig struct {
Pause bool
Repo string
Tag string
Author string
Comment string
// merge container config into commit config before commit
MergeConfigs bool
Config *container.Config
}
// ExecConfig is a small subset of the Config struct that holds the configuration
// for the exec feature of docker.
type ExecConfig struct {

View File

@@ -1,4 +1,4 @@
package container
package container // import "github.com/docker/docker/api/types/container"
import (
"time"

View File

@@ -1,4 +1,4 @@
package container
package container // import "github.com/docker/docker/api/types/container"
import (
"strings"

View File

@@ -1,6 +1,6 @@
// +build !windows
package container
package container // import "github.com/docker/docker/api/types/container"
// IsValid indicates if an isolation technology is valid
func (i Isolation) IsValid() bool {

View File

@@ -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
// in windows it is given the name NAT

View File

@@ -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
// to wait.

View File

@@ -1,7 +1,7 @@
/*Package filters provides tools for encoding a mapping of keys to a set of
multiple values.
*/
package filters
package filters // import "github.com/docker/docker/api/types/filters"
import (
"encoding/json"

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/api/types/mount"
import (
"os"

View File

@@ -1,4 +1,4 @@
package network
package network // import "github.com/docker/docker/api/types/network"
// Address represents an IP address
type Address struct {

View File

@@ -1,4 +1,4 @@
package types
package types // import "github.com/docker/docker/api/types"
import (
"encoding/json"

View File

@@ -1,4 +1,4 @@
package registry
package registry // import "github.com/docker/docker/api/types/registry"
// ----------------------------------------------------------------------------
// DO NOT EDIT THIS FILE

View File

@@ -1,4 +1,4 @@
package registry
package registry // import "github.com/docker/docker/api/types/registry"
import (
"encoding/json"

View File

@@ -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.
type Seccomp struct {

View File

@@ -1,6 +1,6 @@
// Package types is used for API stability in the types and response to the
// consumers of the API stats endpoint.
package types
package types // import "github.com/docker/docker/api/types"
import "time"

View File

@@ -1,4 +1,4 @@
package strslice
package strslice // import "github.com/docker/docker/api/types/strslice"
import "encoding/json"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import "time"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import "os"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import (
"time"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import (
"github.com/docker/docker/api/types/network"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
// Node represents a node.
type Node struct {

View File

@@ -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
type RuntimeType string

View File

@@ -1,3 +1,3 @@
//go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto
package runtime
package runtime // import "github.com/docker/docker/api/types/swarm/runtime"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import "os"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import "time"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import "time"

View File

@@ -1,4 +1,4 @@
package swarm
package swarm // import "github.com/docker/docker/api/types/swarm"
import (
"time"
@@ -36,6 +36,10 @@ const (
TaskStateFailed TaskState = "failed"
// TaskStateRejected REJECTED
TaskStateRejected TaskState = "rejected"
// TaskStateRemove REMOVE
TaskStateRemove TaskState = "remove"
// TaskStateOrphaned ORPHANED
TaskStateOrphaned TaskState = "orphaned"
)
// Task represents a task.
@@ -162,19 +166,19 @@ const (
// TaskStatus represents the status of a task.
type TaskStatus struct {
Timestamp time.Time `json:",omitempty"`
State TaskState `json:",omitempty"`
Message string `json:",omitempty"`
Err string `json:",omitempty"`
ContainerStatus ContainerStatus `json:",omitempty"`
PortStatus PortStatus `json:",omitempty"`
Timestamp time.Time `json:",omitempty"`
State TaskState `json:",omitempty"`
Message string `json:",omitempty"`
Err string `json:",omitempty"`
ContainerStatus *ContainerStatus `json:",omitempty"`
PortStatus PortStatus `json:",omitempty"`
}
// ContainerStatus represents the status of a container.
type ContainerStatus struct {
ContainerID string `json:",omitempty"`
PID int `json:",omitempty"`
ExitCode int `json:",omitempty"`
ContainerID string
PID int
ExitCode int
}
// PortStatus represents the port status of a task's host ports whose

View File

@@ -1,4 +1,4 @@
package types
package types // import "github.com/docker/docker/api/types"
import (
"errors"

View File

@@ -1,4 +1,4 @@
package versions
package versions // import "github.com/docker/docker/api/types/versions"
import (
"strconv"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,6 +1,6 @@
// +build !windows
package opts
package opts // import "github.com/docker/docker/opts"
import "fmt"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
// DefaultHost constant defines the default host string used by docker on Windows
var DefaultHost = "npipe://" + DefaultNamedPipe

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,6 +1,6 @@
// +build !windows
package opts
package opts // import "github.com/docker/docker/opts"
// DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080
const DefaultHTTPHost = "localhost"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
// TODO Windows. Identify bug in GOLang 1.5.1+ and/or Windows Server 2016 TP5.
// @jhowardmsft, @swernli.

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
// QuotedString is a string that may have extra quotes around the value. The
// quotes are stripped from the value.

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package opts
package opts // import "github.com/docker/docker/opts"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,6 +1,6 @@
// +build !linux
package archive
package archive // import "github.com/docker/docker/pkg/archive"
func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter {
return nil

View File

@@ -1,6 +1,6 @@
// +build !windows
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"bytes"

View File

@@ -1,6 +1,6 @@
// +build !linux
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"fmt"

View File

@@ -1,6 +1,6 @@
// +build !windows
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"os"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"os"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,6 +1,6 @@
// +build !windows
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"path/filepath"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"path/filepath"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"syscall"

View File

@@ -1,6 +1,6 @@
// +build !linux
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"syscall"

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
// Whiteouts are files with a special meaning for the layered filesystem.
// Docker uses AUFS whiteout files inside exported archives. In other

View File

@@ -1,4 +1,4 @@
package archive
package archive // import "github.com/docker/docker/pkg/archive"
import (
"archive/tar"

View File

@@ -1,4 +1,4 @@
package fileutils
package fileutils // import "github.com/docker/docker/pkg/fileutils"
import (
"errors"

View File

@@ -1,4 +1,4 @@
package fileutils
package fileutils // import "github.com/docker/docker/pkg/fileutils"
import (
"os"

View File

@@ -1,6 +1,6 @@
// +build linux freebsd
package fileutils
package fileutils // import "github.com/docker/docker/pkg/fileutils"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package fileutils
package fileutils // import "github.com/docker/docker/pkg/fileutils"
// GetTotalUsedFds Returns the number of used File Descriptors. Not supported
// on Windows.

View File

@@ -1,4 +1,4 @@
package homedir
package homedir // import "github.com/docker/docker/pkg/homedir"
import (
"os"

View File

@@ -1,6 +1,6 @@
// +build !linux
package homedir
package homedir // import "github.com/docker/docker/pkg/homedir"
import (
"errors"

View File

@@ -1,6 +1,6 @@
// +build !windows
package homedir
package homedir // import "github.com/docker/docker/pkg/homedir"
import (
"os"

View File

@@ -1,4 +1,4 @@
package homedir
package homedir // import "github.com/docker/docker/pkg/homedir"
import (
"os"

View File

@@ -1,4 +1,4 @@
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import (
"bufio"

View File

@@ -1,6 +1,6 @@
// +build !windows
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import (
"bytes"

View File

@@ -1,4 +1,4 @@
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import (
"os"

View File

@@ -1,4 +1,4 @@
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import (
"fmt"

View File

@@ -1,6 +1,6 @@
// +build !linux
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import "fmt"

View File

@@ -1,6 +1,6 @@
// +build !windows
package idtools
package idtools // import "github.com/docker/docker/pkg/idtools"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"errors"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"errors"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"io"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"crypto/sha256"

View File

@@ -1,6 +1,6 @@
// +build !windows
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import "io/ioutil"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"io/ioutil"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import (
"io"

View File

@@ -1,4 +1,4 @@
package ioutils
package ioutils // import "github.com/docker/docker/pkg/ioutils"
import "io"

View File

@@ -1,4 +1,4 @@
package jsonmessage
package jsonmessage // import "github.com/docker/docker/pkg/jsonmessage"
import (
"encoding/json"

View File

@@ -2,7 +2,7 @@
// in Windows, which are expected to be prepended with `\\?\` and followed by either
// a drive letter, a UNC server\share, or a volume identifier.
package longpath
package longpath // import "github.com/docker/docker/pkg/longpath"
import (
"strings"

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"fmt"

View File

@@ -1,6 +1,6 @@
// +build freebsd,cgo
package mount
package mount // import "github.com/docker/docker/pkg/mount"
/*
#include <sys/mount.h>

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"golang.org/x/sys/unix"

View File

@@ -1,6 +1,6 @@
// +build !linux,!freebsd freebsd,!cgo
package mount
package mount // import "github.com/docker/docker/pkg/mount"
// These flags are unsupported.
const (

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"sort"

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
/*
#include <errno.h>

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"golang.org/x/sys/unix"

View File

@@ -1,6 +1,6 @@
// +build !linux,!freebsd freebsd,!cgo
package mount
package mount // import "github.com/docker/docker/pkg/mount"
func mount(device, target, mType string, flag uintptr, data string) error {
panic("Not implemented")

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
// Info reveals information about a particular mounted filesystem. This
// struct is populated from the content in the /proc/<pid>/mountinfo file.

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
/*
#include <sys/param.h>

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"bufio"

View File

@@ -1,6 +1,6 @@
// +build !windows,!linux,!freebsd freebsd,!cgo
package mount
package mount // import "github.com/docker/docker/pkg/mount"
import (
"fmt"

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
func parseMountTable() ([]*Info, error) {
// Do NOT return an error!

View File

@@ -1,4 +1,4 @@
package mount
package mount // import "github.com/docker/docker/pkg/mount"
// MakeShared ensures a mounted filesystem has the SHARED mount option enabled.
// See the supported options in flags.go for further reference.

View File

@@ -7,7 +7,7 @@
//
// Utility functions which operate on pools should be added to this
// package to allow them to be reused.
package pools
package pools // import "github.com/docker/docker/pkg/pools"
import (
"bufio"

View File

@@ -1,4 +1,4 @@
package stdcopy
package stdcopy // import "github.com/docker/docker/pkg/stdcopy"
import (
"bytes"

Some files were not shown because too many files have changed in this diff Show More