2021-08-23 13:14:53 +00:00
|
|
|
//go:build windows
|
2016-01-30 01:08:11 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) startResolver(bool) {}
|
2016-01-30 01:08:11 +00:00
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) setupResolutionFiles() error {
|
2016-01-30 01:08:11 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) restorePath() {}
|
2016-06-11 00:32:19 +00:00
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) updateHostsFile(ifaceIP []string) error {
|
2016-01-30 01:08:11 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) addHostsEntries(recs []etchosts.Record) {}
|
2016-01-30 01:08:11 +00:00
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) deleteHostsEntries(recs []etchosts.Record) {}
|
2016-01-30 01:08:11 +00:00
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) updateDNS(ipv6Enabled bool) error {
|
2016-01-30 01:08:11 +00:00
|
|
|
return nil
|
|
|
|
}
|
2021-05-28 18:53:49 +00:00
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) setupDNS() error {
|
2021-05-28 18:53:49 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-12 01:10:09 +00:00
|
|
|
func (sb *Sandbox) rebuildDNS() error {
|
2021-05-28 18:53:49 +00:00
|
|
|
return nil
|
|
|
|
}
|