Extract cgroups pkg.

Initial move before enhancing cgroups package.

Docker-DCO-1.1-Signed-off-by: Paul Nasrat <pnasrat@gmail.com> (github: pnasrat)
This commit is contained in:
Paul Nasrat 2014-01-20 14:15:44 -05:00
parent 0f0e582490
commit 2553029959
9 changed files with 6 additions and 6 deletions

View file

@ -5,9 +5,9 @@ import (
"errors"
"fmt"
"github.com/dotcloud/docker/archive"
"github.com/dotcloud/docker/cgroups"
"github.com/dotcloud/docker/execdriver"
"github.com/dotcloud/docker/graphdriver"
"github.com/dotcloud/docker/pkg/cgroups"
"github.com/dotcloud/docker/pkg/mount"
"github.com/dotcloud/docker/pkg/term"
"github.com/dotcloud/docker/utils"

View file

@ -2,7 +2,7 @@ package execdriver
import (
"errors"
"github.com/dotcloud/docker/cgroups"
"github.com/dotcloud/docker/pkg/cgroups"
"os/exec"
"syscall"
)

View file

@ -1,7 +1,7 @@
package lxc
import (
"github.com/dotcloud/docker/cgroups"
"github.com/dotcloud/docker/pkg/cgroups"
"strings"
"text/template"
)

View file

@ -3,8 +3,8 @@ package lxc
import (
"bufio"
"fmt"
"github.com/dotcloud/docker/cgroups"
"github.com/dotcloud/docker/execdriver"
"github.com/dotcloud/docker/pkg/cgroups"
"io/ioutil"
"math/rand"
"os"

View file

@ -1,7 +1,7 @@
package sysinfo
import (
"github.com/dotcloud/docker/cgroups" // FIXME: move cgroups in pkg
"github.com/dotcloud/docker/pkg/cgroups"
"io/ioutil"
"log"
"os"

View file

@ -6,8 +6,8 @@ import (
"fmt"
"github.com/dotcloud/docker/archive"
"github.com/dotcloud/docker/auth"
"github.com/dotcloud/docker/cgroups"
"github.com/dotcloud/docker/engine"
"github.com/dotcloud/docker/pkg/cgroups"
"github.com/dotcloud/docker/pkg/graphdb"
"github.com/dotcloud/docker/registry"
"github.com/dotcloud/docker/utils"