github.com/tonistiigi/docker@v0.10.1-0.20240229224939-974013b0dc6a/libnetwork/sandbox_dns_windows.go (about)

     1  //go:build windows
     2  
     3  package libnetwork
     4  
     5  import (
     6  	"github.com/docker/docker/libnetwork/etchosts"
     7  )
     8  
     9  // Stub implementations for DNS related functions
    10  
    11  func (sb *Sandbox) setupResolutionFiles() error {
    12  	return nil
    13  }
    14  
    15  func (sb *Sandbox) restoreHostsPath() {}
    16  
    17  func (sb *Sandbox) restoreResolvConfPath() {}
    18  
    19  func (sb *Sandbox) updateHostsFile(ifaceIP []string) error {
    20  	return nil
    21  }
    22  
    23  func (sb *Sandbox) deleteHostsEntries(recs []etchosts.Record) {}
    24  
    25  func (sb *Sandbox) updateDNS(ipv6Enabled bool) error {
    26  	return nil
    27  }