testUtils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

func NewTestCluster

func NewTestCluster(crdPath []string) (Cluster, manager.Manager, error)

func (*Cluster) GetAdvClient

func (c *Cluster) GetAdvClient() *crdClient.CRDClient

func (*Cluster) GetCfg

func (c *Cluster) GetCfg() *rest.Config

func (*Cluster) GetClient

func (c *Cluster) GetClient() *crdClient.CRDClient

func (*Cluster) GetEnv

func (c *Cluster) GetEnv() *envtest.Environment

func (*Cluster) GetNetClient

func (c *Cluster) GetNetClient() *crdClient.CRDClient

type DnsServer

type DnsServer struct {
	// contains filtered or unexported fields
}

func (*DnsServer) GetAddr

func (s *DnsServer) GetAddr() string

func (*DnsServer) GetName

func (s *DnsServer) GetName() string

func (*DnsServer) Serve

func (s *DnsServer) Serve()

func (*DnsServer) ServeDNS

func (s *DnsServer) ServeDNS(w dns.ResponseWriter, r *dns.Msg)

func (*DnsServer) Shutdown

func (s *DnsServer) Shutdown()

Jump to

Keyboard shortcuts

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