Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSHandler ¶
type DNSHandler struct { Log logr.Logger TxtRecords map[string][][]string Zones []string // contains filtered or unexported fields }
DNSHandler ...
func (*DNSHandler) ServeDNS ¶
func (b *DNSHandler) ServeDNS(w dns.ResponseWriter, req *dns.Msg)
ServeDNS ... implements github.com/miekg/dns.Handler Imitates a DNS server
type Testclient ¶
type Testclient struct{}
Testclient ...
func (*Testclient) NewTestingHTTPClient ¶
func (c *Testclient) NewTestingHTTPClient(handler http.Handler) (*http.Client, func())
NewTestingHTTPClient - Create a new TestingHTTPClient
func (Testclient) TestingHTTPClient ¶
func (c Testclient) TestingHTTPClient(handler http.Handler) (*http.Client, func())
TestingHTTPClient ...
Click to show internal directories.
Click to hide internal directories.