mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9871032e4d
Signed-off-by: msabansal <sabansal@microsoft.com>
16 lines
352 B
Go
16 lines
352 B
Go
// +build windows
|
|
|
|
package builtin
|
|
|
|
import (
|
|
"github.com/docker/libnetwork/ipamapi"
|
|
|
|
windowsipam "github.com/docker/libnetwork/ipams/windowsipam"
|
|
)
|
|
|
|
// Init registers the built-in ipam service with libnetwork
|
|
func Init(ic ipamapi.Callback, l, g interface{}) error {
|
|
initFunc := windowsipam.GetInit(ipamapi.DefaultIPAM)
|
|
|
|
return initFunc(ic, l, g)
|
|
}
|