Move blkiodev package to types.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Upstream-commit: 0aab83d996f645a2e1e28b1e2c03b530c13a5fc1
Component: engine
This commit is contained in:
David Calavera
2015-12-22 13:31:46 -05:00
parent d6be4062df
commit 3b25d376dd
6 changed files with 6 additions and 8 deletions
@@ -1,8 +1,6 @@
package blkiodev
import (
"fmt"
)
import "fmt"
// WeightDevice is a structure that hold device:weight pair
type WeightDevice struct {
+1 -1
View File
@@ -12,12 +12,12 @@ import (
"syscall"
"github.com/Sirupsen/logrus"
pblkiodev "github.com/docker/docker/api/types/blkiodev"
"github.com/docker/docker/container"
"github.com/docker/docker/daemon/graphdriver"
derr "github.com/docker/docker/errors"
"github.com/docker/docker/image"
"github.com/docker/docker/layer"
pblkiodev "github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/pkg/idtools"
"github.com/docker/docker/pkg/parsers/kernel"
"github.com/docker/docker/pkg/sysinfo"
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
"github.com/docker/go-units"
)
+1 -1
View File
@@ -3,7 +3,7 @@ package opts
import (
"fmt"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
)
// ThrottledeviceOpt defines a map of ThrottleDevices
+1 -1
View File
@@ -3,7 +3,7 @@ package opts
import (
"fmt"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/api/types/blkiodev"
)
// WeightdeviceOpt defines a map of WeightDevices
+1 -1
View File
@@ -5,8 +5,8 @@ import (
"io"
"strings"
"github.com/docker/docker/api/types/blkiodev"
"github.com/docker/docker/api/types/strslice"
"github.com/docker/docker/pkg/blkiodev"
"github.com/docker/docker/pkg/nat"
"github.com/docker/docker/pkg/ulimit"
)