2015-10-12 22:19:25 +00:00
|
|
|
package libnetwork
|
|
|
|
|
2016-11-04 20:26:50 +00:00
|
|
|
import (
|
2021-04-06 00:24:47 +00:00
|
|
|
windriver "github.com/docker/docker/libnetwork/drivers/windows"
|
|
|
|
"github.com/docker/docker/libnetwork/options"
|
|
|
|
"github.com/docker/docker/libnetwork/types"
|
2016-11-04 20:26:50 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
const libnGWNetwork = "nat"
|
|
|
|
|
|
|
|
func getPlatformOption() EndpointOption {
|
|
|
|
epOption := options.Generic{
|
|
|
|
windriver.DisableICC: true,
|
|
|
|
windriver.DisableDNS: true,
|
|
|
|
}
|
|
|
|
return EndpointOptionGeneric(epOption)
|
|
|
|
}
|
2015-10-12 22:19:25 +00:00
|
|
|
|
2023-07-21 22:38:57 +00:00
|
|
|
func (c *Controller) createGWNetwork() (*Network, error) {
|
2015-10-12 22:19:25 +00:00
|
|
|
return nil, types.NotImplementedErrorf("default gateway functionality is not implemented in windows")
|
|
|
|
}
|