Update imports for new repository path

This commit is contained in:
Michael Crosby 2014-06-10 08:14:16 -07:00
parent c1bcd3829b
commit 6ab3ef56f4
42 changed files with 64 additions and 64 deletions

View File

@ -3,7 +3,7 @@ package cgroups
import (
"errors"
"github.com/dotcloud/docker/pkg/libcontainer/devices"
"github.com/docker/libcontainer/devices"
)
var (

View File

@ -7,7 +7,7 @@ import (
"path/filepath"
"strconv"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
var (

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type blkioGroup struct {

View File

@ -3,7 +3,7 @@ package fs
import (
"testing"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
const (

View File

@ -7,7 +7,7 @@ import (
"strconv"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type cpuGroup struct {

View File

@ -4,7 +4,7 @@ import (
"fmt"
"testing"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
func TestCpuStats(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -7,7 +7,7 @@ import (
"path/filepath"
"strconv"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type cpusetGroup struct {

View File

@ -1,6 +1,6 @@
package fs
import "github.com/dotcloud/docker/pkg/libcontainer/cgroups"
import "github.com/docker/libcontainer/cgroups"
type devicesGroup struct {
}

View File

@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type freezerGroup struct {

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"strconv"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type memoryGroup struct {

View File

@ -3,7 +3,7 @@ package fs
import (
"testing"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
const (

View File

@ -1,7 +1,7 @@
package fs
import (
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
type perfEventGroup struct {

View File

@ -5,7 +5,7 @@ import (
"log"
"testing"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
func blkioStatEntryEquals(expected, actual []cgroups.BlkioStatEntry) error {

View File

@ -5,7 +5,7 @@ package systemd
import (
"fmt"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
)
func UseSystemd() bool {

View File

@ -14,7 +14,7 @@ import (
"time"
systemd1 "github.com/coreos/go-systemd/dbus"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups"
"github.com/dotcloud/docker/pkg/systemd"
"github.com/godbus/dbus"
)

View File

@ -8,7 +8,7 @@ import (
"path/filepath"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer/label"
"github.com/docker/libcontainer/label"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -1,8 +1,8 @@
package libcontainer
import (
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/dotcloud/docker/pkg/libcontainer/devices"
"github.com/docker/libcontainer/cgroups"
"github.com/docker/libcontainer/devices"
)
// Context is a generic key value pair that allows arbatrary data to be sent

View File

@ -6,7 +6,7 @@ import (
"fmt"
"strings"
"github.com/dotcloud/docker/pkg/libcontainer/selinux"
"github.com/docker/libcontainer/selinux"
)
func GenLabels(options string) (string, string, error) {

View File

@ -8,9 +8,9 @@ import (
"path/filepath"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/label"
"github.com/dotcloud/docker/pkg/libcontainer/mount/nodes"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/label"
"github.com/docker/libcontainer/mount/nodes"
"github.com/dotcloud/docker/pkg/symlink"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -8,7 +8,7 @@ import (
"path/filepath"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer/devices"
"github.com/docker/libcontainer/devices"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -3,8 +3,8 @@
package nodes
import (
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/devices"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/devices"
)
func CreateDeviceNodes(rootfs string, nodesToCreate []*devices.Device) error {

View File

@ -4,7 +4,7 @@ package mount
import (
"fmt"
"github.com/dotcloud/docker/pkg/libcontainer/console"
"github.com/docker/libcontainer/console"
"os"
"path/filepath"
)

View File

@ -4,7 +4,7 @@ import (
"os"
"os/exec"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
type CreateCommand func(container *libcontainer.Container, console, rootfs, dataPath, init string, childPipe *os.File, args []string) *exec.Cmd

View File

@ -7,11 +7,11 @@ import (
"os/exec"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups/fs"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups/systemd"
"github.com/dotcloud/docker/pkg/libcontainer/network"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/cgroups"
"github.com/docker/libcontainer/cgroups/fs"
"github.com/docker/libcontainer/cgroups/systemd"
"github.com/docker/libcontainer/network"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -7,8 +7,8 @@ import (
"os"
"strconv"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/label"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/label"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -9,16 +9,16 @@ import (
"strings"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/apparmor"
"github.com/dotcloud/docker/pkg/libcontainer/console"
"github.com/dotcloud/docker/pkg/libcontainer/label"
"github.com/dotcloud/docker/pkg/libcontainer/mount"
"github.com/dotcloud/docker/pkg/libcontainer/netlink"
"github.com/dotcloud/docker/pkg/libcontainer/network"
"github.com/dotcloud/docker/pkg/libcontainer/security/capabilities"
"github.com/dotcloud/docker/pkg/libcontainer/security/restrict"
"github.com/dotcloud/docker/pkg/libcontainer/utils"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/apparmor"
"github.com/docker/libcontainer/console"
"github.com/docker/libcontainer/label"
"github.com/docker/libcontainer/mount"
"github.com/docker/libcontainer/netlink"
"github.com/docker/libcontainer/network"
"github.com/docker/libcontainer/security/capabilities"
"github.com/docker/libcontainer/security/restrict"
"github.com/docker/libcontainer/utils"
"github.com/dotcloud/docker/pkg/system"
"github.com/dotcloud/docker/pkg/user"
)

View File

@ -6,7 +6,7 @@ import (
"io/ioutil"
"os"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
// SyncPipe allows communication to and from the child processes

View File

@ -3,8 +3,8 @@
package namespaces
import (
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/cgroups"
)
func Exec(container *libcontainer.Container, term Terminal, rootfs, dataPath string, args []string, createCommand CreateCommand, startCallback func()) (int, error) {

View File

@ -2,7 +2,7 @@ package network
import (
"fmt"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
// Loopback is a network strategy that provides a basic loopback device

View File

@ -5,7 +5,7 @@ import (
"os"
"syscall"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
"github.com/dotcloud/docker/pkg/system"
)

View File

@ -1,7 +1,7 @@
package network
import (
"github.com/dotcloud/docker/pkg/libcontainer/netlink"
"github.com/docker/libcontainer/netlink"
"net"
)

View File

@ -3,7 +3,7 @@ package network
import (
"errors"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
var (

View File

@ -2,8 +2,8 @@ package network
import (
"fmt"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/utils"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/utils"
)
// Veth is a network strategy that uses a bridge and creates

View File

@ -8,8 +8,8 @@ import (
"os/signal"
"github.com/codegangsta/cli"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/namespaces"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/namespaces"
)
var execCommand = cli.Command{

View File

@ -6,7 +6,7 @@ import (
"strconv"
"github.com/codegangsta/cli"
"github.com/dotcloud/docker/pkg/libcontainer/namespaces"
"github.com/docker/libcontainer/namespaces"
)
var (

View File

@ -5,7 +5,7 @@ import (
"strconv"
"github.com/codegangsta/cli"
"github.com/dotcloud/docker/pkg/libcontainer/namespaces"
"github.com/docker/libcontainer/namespaces"
)
var nsenterCommand = cli.Command{

View File

@ -6,7 +6,7 @@ import (
"log"
"github.com/codegangsta/cli"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
var specCommand = cli.Command{

View File

@ -6,8 +6,8 @@ import (
"log"
"github.com/codegangsta/cli"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups/fs"
"github.com/docker/libcontainer"
"github.com/docker/libcontainer/cgroups/fs"
)
var statsCommand = cli.Command{

View File

@ -8,7 +8,7 @@ import (
"path/filepath"
"strconv"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
)
func loadContainer() (*libcontainer.Container, error) {

View File

@ -3,7 +3,7 @@ package capabilities
import (
"os"
"github.com/dotcloud/docker/pkg/libcontainer"
"github.com/docker/libcontainer"
"github.com/syndtr/gocapability/capability"
)

View File

@ -1,7 +1,7 @@
package selinux_test
import (
"github.com/dotcloud/docker/pkg/libcontainer/selinux"
"github.com/docker/libcontainer/selinux"
"os"
"testing"
)