test

package
v0.0.0-...-20916ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

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 ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL