Documentation ¶
Index ¶
Constants ¶
View Source
const (
UpstreamFallback = "1.1.1.1:53"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNS ¶
type DNS struct {
// contains filtered or unexported fields
}
func NewDNS ¶
func NewDNS(conn net.PacketConn, handler DNSHandler, upstream string) (*DNS, error)
func (*DNS) ListenAndServe ¶
type DNSHandler ¶
type Ingress ¶
type Ingress struct {
// contains filtered or unexported fields
}
func NewIngress ¶
func NewIngress(kc *kubernetes.Clientset) (*Ingress, error)
func (*Ingress) HostExists ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(kc *kubernetes.Clientset) (*Service, error)
Click to show internal directories.
Click to hide internal directories.