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
|
|
|
|
|
2022-10-01 16:37:26 -04:00
|
|
|
func (sb *sandbox) startResolver(bool) {}
|
2016-01-29 20:08:11 -05:00
|
|
|
|
|
|
|
func (sb *sandbox) setupResolutionFiles() error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2022-10-01 16:37:26 -04:00
|
|
|
func (sb *sandbox) restorePath() {}
|
2016-06-10 20:32:19 -04:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2022-10-01 16:37:26 -04:00
|
|
|
func (sb *sandbox) addHostsEntries(recs []etchosts.Record) {}
|
2016-01-29 20:08:11 -05:00
|
|
|
|
2022-10-01 16:37:26 -04:00
|
|
|
func (sb *sandbox) deleteHostsEntries(recs []etchosts.Record) {}
|
2016-01-29 20:08:11 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|