github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/controller/internal/enforcer/dnsproxy/dns_darwin.go (about) 1 package dnsproxy 2 3 import ( 4 "go.aporeto.io/trireme-lib/collector" 5 "go.aporeto.io/trireme-lib/controller/pkg/flowtracking" 6 "go.aporeto.io/trireme-lib/controller/pkg/ipsetmanager" 7 "go.aporeto.io/trireme-lib/utils/cache" 8 ) 9 10 // Proxy struct represents the object for dns proxy 11 type Proxy struct { 12 } 13 14 // New creates an instance of the dns proxy 15 func New(puFromID cache.DataStore, conntrack flowtracking.FlowClient, c collector.EventCollector, aclmanager ipsetmanager.ACLManager) *Proxy { 16 return &Proxy{} 17 } 18 19 // ShutdownDNS shuts down the dns server for contextID 20 func (p *Proxy) ShutdownDNS(contextID string) { 21 22 } 23 24 // StartDNSServer starts the dns server on the port provided for contextID 25 func (p *Proxy) StartDNSServer(contextID, port string) error { 26 return nil 27 }