Rename: cow/cowman -> storage/oci-storage

Rename the library module and CLI wrapper.
Rename daemon/graphdriver to drivers.
Catch up vendoring to match modules we've pruned.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai 2016-07-15 13:46:15 -04:00
parent f191bf69ff
commit 2783450a92
39 changed files with 59 additions and 59 deletions

View file

@ -18,12 +18,12 @@ import (
"syscall"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/fileutils"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/ioutils"
"github.com/docker/docker/pkg/pools"
"github.com/docker/docker/pkg/promise"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/fileutils"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/ioutils"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/promise"
"github.com/containers/storage/pkg/system"
)
type (

View file

@ -7,7 +7,7 @@ import (
"strings"
"syscall"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter {

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"syscall"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
// fixVolumePathPrefix does platform specific processing to ensure that if

View file

@ -11,7 +11,7 @@ import (
"syscall"
"testing"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func TestCanonicalTarNameForPath(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"
"github.com/docker/docker/pkg/longpath"
"github.com/containers/storage/pkg/longpath"
)
// fixVolumePathPrefix does platform specific processing to ensure that if

View file

@ -14,9 +14,9 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/pools"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/system"
)
// ChangeType represents the change type.

View file

@ -9,7 +9,7 @@ import (
"syscall"
"unsafe"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
// walker is used to implement collectFileInfoForChanges on linux. Where this

View file

@ -9,7 +9,7 @@ import (
"runtime"
"strings"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func collectFileInfoForChanges(oldDir, newDir string) (*FileInfo, *FileInfo, error) {

View file

@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func max(x, y int) int {

View file

@ -6,7 +6,7 @@ import (
"os"
"syscall"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func statDifferent(oldStat *system.StatT, newStat *system.StatT) bool {

View file

@ -3,7 +3,7 @@ package archive
import (
"os"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func statDifferent(oldStat *system.StatT, newStat *system.StatT) bool {

View file

@ -10,7 +10,7 @@ import (
"strings"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
// Errors used or returned by this file.

View file

@ -11,9 +11,9 @@ import (
"strings"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/pools"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/system"
)
// UnpackLayer unpack `layer` to a `dest`. The stream `layer` can be

View file

@ -10,7 +10,7 @@ import (
"runtime"
"testing"
"github.com/docker/docker/pkg/ioutils"
"github.com/containers/storage/pkg/ioutils"
)
func TestApplyLayerInvalidFilenames(t *testing.T) {

View file

@ -14,7 +14,7 @@ import (
"path"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/archive"
"github.com/containers/storage/pkg/archive"
)
var (

View file

@ -7,8 +7,8 @@ import (
"os"
"path/filepath"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/idtools"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/idtools"
)
var chrootArchiver = &archive.Archiver{Untar: Untar}

View file

@ -13,9 +13,9 @@ import (
"testing"
"time"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/storage/pkg/system"
)
func init() {

View file

@ -12,8 +12,8 @@ import (
"os"
"runtime"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
)
// untar is the entry-point for docker-untar on re-exec. This is not used on

View file

@ -3,8 +3,8 @@ package chrootarchive
import (
"io"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/longpath"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/longpath"
)
// chroot is not supported by Windows

View file

@ -7,7 +7,7 @@ import (
"path/filepath"
"syscall"
"github.com/docker/docker/pkg/mount"
"github.com/containers/storage/pkg/mount"
)
// chroot on linux uses pivot_root instead of chroot

View file

@ -1,6 +1,6 @@
package chrootarchive
import "github.com/docker/docker/pkg/archive"
import "github.com/containers/storage/pkg/archive"
// ApplyLayer parses a diff in the standard layer format from `layer`,
// and applies it to the directory `dest`. The stream `layer` can only be

View file

@ -12,9 +12,9 @@ import (
"path/filepath"
"runtime"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/reexec"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/storage/pkg/system"
)
type applyLayerResponse struct {

View file

@ -6,8 +6,8 @@ import (
"os"
"path/filepath"
"github.com/docker/docker/pkg/archive"
"github.com/docker/docker/pkg/longpath"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/longpath"
)
// applyLayerHandler parses a diff in the standard layer format from `layer`, and

View file

@ -8,7 +8,7 @@ import (
"io/ioutil"
"os"
"github.com/docker/docker/pkg/reexec"
"github.com/containers/storage/pkg/reexec"
)
func init() {

View file

@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
func mkdirAs(path string, mode os.FileMode, ownerUID, ownerGID int, mkAll, chownExisting bool) error {

View file

@ -5,7 +5,7 @@ package idtools
import (
"os"
"github.com/docker/docker/pkg/system"
"github.com/containers/storage/pkg/system"
)
// Platforms such as Windows do not support the UID/GID concept. So make this

View file

@ -15,7 +15,7 @@ import (
"syscall"
"time"
"github.com/docker/docker/pkg/stringutils"
"github.com/containers/storage/pkg/stringutils"
)
// GetExitCode returns the ExitStatus of the specified error if its type is

View file

@ -5,7 +5,7 @@ package ioutils
import (
"io/ioutil"
"github.com/docker/docker/pkg/longpath"
"github.com/containers/storage/pkg/longpath"
)
// TempDir is the equivalent of ioutil.TempDir, except that the result is in Windows longpath format.

View file

@ -7,8 +7,8 @@ import (
"strings"
"time"
"github.com/docker/docker/pkg/jsonlog"
"github.com/docker/docker/pkg/term"
"github.com/containers/storage/pkg/jsonlog"
"github.com/containers/storage/pkg/term"
"github.com/docker/go-units"
)

View file

@ -7,8 +7,8 @@ import (
"testing"
"time"
"github.com/docker/docker/pkg/jsonlog"
"github.com/docker/docker/pkg/term"
"github.com/containers/storage/pkg/jsonlog"
"github.com/containers/storage/pkg/term"
)
func TestError(t *testing.T) {

View file

@ -3,7 +3,7 @@ package main
import (
"fmt"
flag "github.com/docker/docker/pkg/mflag"
flag "github.com/containers/storage/pkg/mflag"
)
var (

View file

@ -9,7 +9,7 @@
// Define flags using flag.String(), Bool(), Int(), etc.
//
// This declares an integer flag, -f or --flagname, stored in the pointer ip, with type *int.
// import "flag /github.com/docker/docker/pkg/mflag"
// import "flag /github.com/containers/storage/pkg/mflag"
// var ip = flag.Int([]string{"f", "-flagname"}, 1234, "help message for flagname")
// If you like, you can bind the flag to a variable using the Var() functions.
// var flagvar int
@ -92,7 +92,7 @@ import (
"text/tabwriter"
"time"
"github.com/docker/docker/pkg/homedir"
"github.com/containers/storage/pkg/homedir"
)
// ErrHelp is the error returned if the flag -help is invoked but no such flag is defined.

View file

@ -10,7 +10,7 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/pkg/plugins/transport"
"github.com/containers/storage/pkg/plugins/transport"
"github.com/docker/go-connections/sockets"
"github.com/docker/go-connections/tlsconfig"
)

View file

@ -9,7 +9,7 @@ import (
"testing"
"time"
"github.com/docker/docker/pkg/plugins/transport"
"github.com/containers/storage/pkg/plugins/transport"
"github.com/docker/go-connections/tlsconfig"
)

View file

@ -5,7 +5,7 @@ import (
aliasedio "io"
"github.com/docker/docker/pkg/plugins/pluginrpc-gen/fixtures/otherfixture"
"github.com/containers/storage/pkg/plugins/pluginrpc-gen/fixtures/otherfixture"
)
var (

View file

@ -14,7 +14,7 @@ import (
"io"
"sync"
"github.com/docker/docker/pkg/ioutils"
"github.com/containers/storage/pkg/ioutils"
)
var (

View file

@ -9,7 +9,7 @@ import (
"strconv"
"strings"
"github.com/docker/docker/pkg/random"
"github.com/containers/storage/pkg/random"
)
const shortLen = 12

View file

@ -6,7 +6,7 @@ import (
"math/rand"
"strings"
"github.com/docker/docker/pkg/random"
"github.com/containers/storage/pkg/random"
)
// GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.

View file

@ -1,6 +1,6 @@
package sysinfo
import "github.com/docker/docker/pkg/parsers"
import "github.com/containers/storage/pkg/parsers"
// SysInfo stores information about which features a kernel supports.
// TODO Windows: Factor out platform specific capabilities.