github.com/rish1988/moby@v25.0.2+incompatible/libnetwork/ipams/builtin/builtin_windows.go (about) 1 //go:build windows 2 3 package builtin 4 5 import ( 6 "github.com/docker/docker/libnetwork/ipamapi" 7 "github.com/docker/docker/libnetwork/ipams/windowsipam" 8 ) 9 10 // Register registers the built-in ipam services with libnetwork. 11 func Register(r ipamapi.Registerer) error { 12 if err := registerBuiltin(r); err != nil { 13 return err 14 } 15 16 return windowsipam.Register(windowsipam.DefaultIPAM, r) 17 }