github.com/rawahars/moby@v24.0.4+incompatible/libnetwork/sandbox_dns_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package libnetwork 5 6 import ( 7 "github.com/docker/docker/libnetwork/etchosts" 8 ) 9 10 // Stub implementations for DNS related functions 11 12 func (sb *Sandbox) startResolver(bool) {} 13 14 func (sb *Sandbox) setupResolutionFiles() error { 15 return nil 16 } 17 18 func (sb *Sandbox) restorePath() {} 19 20 func (sb *Sandbox) updateHostsFile(ifaceIP []string) error { 21 return nil 22 } 23 24 func (sb *Sandbox) addHostsEntries(recs []etchosts.Record) {} 25 26 func (sb *Sandbox) deleteHostsEntries(recs []etchosts.Record) {} 27 28 func (sb *Sandbox) updateDNS(ipv6Enabled bool) error { 29 return nil 30 } 31 32 func (sb *Sandbox) setupDNS() error { 33 return nil 34 } 35 36 func (sb *Sandbox) rebuildDNS() error { 37 return nil 38 }