libnet/ipams/builtin: move to libnet/ipams

Packages in libnet/ipams are drivers, except builtin -- it's used
to register drivers. Move files one level up and delete this pkg.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
Albin Kerouanton 2024-04-18 10:52:34 +02:00
parent cf516e17de
commit 53f80762b8
6 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ import (
"github.com/containerd/log"
"github.com/docker/docker/libnetwork/ipamapi"
builtinIpam "github.com/docker/docker/libnetwork/ipams/builtin"
builtinIpam "github.com/docker/docker/libnetwork/ipams"
nullIpam "github.com/docker/docker/libnetwork/ipams/null"
"github.com/docker/docker/libnetwork/ipamutils"
"github.com/moby/swarmkit/v2/manager/allocator/networkallocator"

View file

@ -2,7 +2,7 @@ package libnetwork
import (
"github.com/docker/docker/libnetwork/ipamapi"
builtinIpam "github.com/docker/docker/libnetwork/ipams/builtin"
builtinIpam "github.com/docker/docker/libnetwork/ipams"
nullIpam "github.com/docker/docker/libnetwork/ipams/null"
remoteIpam "github.com/docker/docker/libnetwork/ipams/remote"
"github.com/docker/docker/libnetwork/ipamutils"

View file

@ -6,7 +6,7 @@ import (
"testing"
"github.com/docker/docker/libnetwork/ipamapi"
builtinIpam "github.com/docker/docker/libnetwork/ipams/builtin"
builtinIpam "github.com/docker/docker/libnetwork/ipams"
nullIpam "github.com/docker/docker/libnetwork/ipams/null"
remoteIpam "github.com/docker/docker/libnetwork/ipams/remote"
"github.com/docker/docker/libnetwork/ipamutils"

View file

@ -1,4 +1,4 @@
package builtin
package ipams
import (
"github.com/docker/docker/libnetwork/ipamapi"

View file

@ -1,6 +1,6 @@
//go:build linux || freebsd || darwin
package builtin
package ipams
import (
"github.com/docker/docker/libnetwork/ipamapi"

View file

@ -1,6 +1,6 @@
//go:build windows
package builtin
package ipams
import (
"github.com/docker/docker/libnetwork/ipamapi"