2021-08-23 09:14:53 -04:00
|
|
|
//go:build windows
|
2016-01-29 20:08:11 -05:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package libnetwork
|
|
|
|
|
|
|
|
import (
|
2021-04-05 20:24:47 -04:00
|
|
|
"github.com/docker/docker/libnetwork/etchosts"
|
2016-01-29 20:08:11 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
// Stub implementations for DNS related functions
|
|
|
|
|
2016-06-09 19:05:11 -04:00
|
|
|
func (sb *sandbox) startResolver(bool) {
|
2016-01-29 20:08:11 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) setupResolutionFiles() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-10 20:32:19 -04:00
|
|
|
func (sb *sandbox) restorePath() {
|
|
|
|
}
|
|
|
|
|
2019-08-30 17:22:46 -04:00
|
|
|
func (sb *sandbox) updateHostsFile(ifaceIP []string) error {
|
2016-01-29 20:08:11 -05:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) addHostsEntries(recs []etchosts.Record) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) deleteHostsEntries(recs []etchosts.Record) {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) updateDNS(ipv6Enabled bool) error {
|
|
|
|
return nil
|
|
|
|
}
|
2021-05-28 14:53:49 -04:00
|
|
|
|
|
|
|
func (sb *sandbox) setupDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) rebuildDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|