builtin_unix.go 358 B

12345678910111213
  1. //go:build linux || freebsd || darwin
  2. package builtin
  3. import (
  4. "github.com/docker/docker/libnetwork/ipamapi"
  5. "github.com/docker/docker/libnetwork/ipamutils"
  6. )
  7. // Register registers the built-in ipam service with libnetwork.
  8. func Register(r ipamapi.Registerer, addressPools []*ipamutils.NetworkToSplit) error {
  9. return registerBuiltin(r, addressPools)
  10. }