Documentation ¶
Index ¶
- Constants
- Variables
- func GetHAProxyMapCount(mapName string) (count int, err error)
- func ProxyProtoConn() (result []byte, err error)
- type Client
- type GlobalHAProxyInfo
- type TearDownFunc
- type Test
- func (t *Test) AddTearDown(teardown TearDownFunc)
- func (t *Test) Apply(path string, namespace string, tmplData interface{}) error
- func (t *Test) Delete(path string) error
- func (t Test) GetIngressControllerFile(path string) (string, error)
- func (t *Test) GetK8sVersion() (major, minor int, err error)
- func (t *Test) GetNS() string
- func (t *Test) TearDown() error
Constants ¶
View Source
const ( HTTP_PORT = 30080 HTTPS_PORT = 30443 STATS_PORT = 31024 )
Variables ¶
View Source
var ( WaitDuration = 60 * time.Second TickDuration = 2 * time.Second )
Functions ¶
func GetHAProxyMapCount ¶ added in v1.8.0
func ProxyProtoConn ¶ added in v1.7.3
Types ¶
type Client ¶
type GlobalHAProxyInfo ¶ added in v1.6.0
func GetGlobalHAProxyInfo ¶ added in v1.6.0
func GetGlobalHAProxyInfo() (info GlobalHAProxyInfo, err error)
type TearDownFunc ¶
type TearDownFunc func() error
type Test ¶
type Test struct {
// contains filtered or unexported fields
}
func (*Test) AddTearDown ¶
func (t *Test) AddTearDown(teardown TearDownFunc)
func (Test) GetIngressControllerFile ¶ added in v1.11.0
func (*Test) GetK8sVersion ¶
Click to show internal directories.
Click to hide internal directories.