2017-06-12 17:27:11 +00:00
|
|
|
package cnmallocator
|
2016-10-20 18:26:04 +00:00
|
|
|
|
|
|
|
import (
|
2023-07-07 18:48:12 +00:00
|
|
|
"github.com/docker/docker/libnetwork/driverapi"
|
2021-04-27 20:02:34 +00:00
|
|
|
"github.com/docker/docker/libnetwork/drivers/overlay/ovmanager"
|
2022-04-21 21:33:07 +00:00
|
|
|
"github.com/moby/swarmkit/v2/manager/allocator/networkallocator"
|
2016-10-20 18:26:04 +00:00
|
|
|
)
|
|
|
|
|
2023-07-07 18:48:12 +00:00
|
|
|
var initializers = map[string]func(driverapi.Registerer) error{
|
|
|
|
"overlay": ovmanager.Register,
|
2017-05-16 22:10:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// PredefinedNetworks returns the list of predefined network structures
|
2024-02-23 23:16:11 +00:00
|
|
|
func (*Provider) PredefinedNetworks() []networkallocator.PredefinedNetworkData {
|
2017-05-16 22:10:53 +00:00
|
|
|
return nil
|
2016-10-20 18:26:04 +00:00
|
|
|
}
|