2021-08-23 13:14:53 +00:00
|
|
|
//go:build windows
|
2016-01-30 01:08:11 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package libnetwork
|
|
|
|
|
|
|
|
import (
|
2021-04-06 00:24:47 +00:00
|
|
|
"github.com/docker/docker/libnetwork/etchosts"
|
2016-01-30 01:08:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Stub implementations for DNS related functions
|
|
|
|
|
2016-06-09 23:05:11 +00:00
|
|
|
func (sb *sandbox) startResolver(bool) {
|
2016-01-30 01:08:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) setupResolutionFiles() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2016-06-11 00:32:19 +00:00
|
|
|
func (sb *sandbox) restorePath() {
|
|
|
|
}
|
|
|
|
|
2019-08-30 21:22:46 +00:00
|
|
|
func (sb *sandbox) updateHostsFile(ifaceIP []string) error {
|
2016-01-30 01:08:11 +00: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 18:53:49 +00:00
|
|
|
|
|
|
|
func (sb *sandbox) setupDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (sb *sandbox) rebuildDNS() error {
|
|
|
|
return nil
|
|
|
|
}
|