github.com/rawahars/moby@v24.0.4+incompatible/libnetwork/default_gateway_windows.go (about) 1 package libnetwork 2 3 import ( 4 windriver "github.com/docker/docker/libnetwork/drivers/windows" 5 "github.com/docker/docker/libnetwork/options" 6 "github.com/docker/docker/libnetwork/types" 7 ) 8 9 const libnGWNetwork = "nat" 10 11 func getPlatformOption() EndpointOption { 12 13 epOption := options.Generic{ 14 windriver.DisableICC: true, 15 windriver.DisableDNS: true, 16 } 17 return EndpointOptionGeneric(epOption) 18 } 19 20 func (c *Controller) createGWNetwork() (Network, error) { 21 return nil, types.NotImplementedErrorf("default gateway functionality is not implemented in windows") 22 }