github.com/rumpl/bof@v23.0.0-rc.2+incompatible/libnetwork/sandbox_dns_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package libnetwork
     5  
     6  import (
     7  	"github.com/docker/docker/libnetwork/etchosts"
     8  )
     9  
    10  // Stub implementations for DNS related functions
    11  
    12  func (sb *sandbox) startResolver(bool) {
    13  }
    14  
    15  func (sb *sandbox) setupResolutionFiles() error {
    16  	return nil
    17  }
    18  
    19  func (sb *sandbox) restorePath() {
    20  }
    21  
    22  func (sb *sandbox) updateHostsFile(ifaceIP []string) error {
    23  	return nil
    24  }
    25  
    26  func (sb *sandbox) addHostsEntries(recs []etchosts.Record) {
    27  
    28  }
    29  
    30  func (sb *sandbox) deleteHostsEntries(recs []etchosts.Record) {
    31  
    32  }
    33  
    34  func (sb *sandbox) updateDNS(ipv6Enabled bool) error {
    35  	return nil
    36  }
    37  
    38  func (sb *sandbox) setupDNS() error {
    39  	return nil
    40  }
    41  
    42  func (sb *sandbox) rebuildDNS() error {
    43  	return nil
    44  }