base

package
v0.0.0-...-45ed318 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyTester

type ProxyTester struct {
	HttpbinInside  bool
	HttpbinPodName string

	NginxInside         bool
	NginxDeploymentName string
	NginxReplica        int

	CurlPodName string
	// contains filtered or unexported fields
}

func NewBaseTester

func NewBaseTester(f *framework.Framework) *ProxyTester

func (*ProxyTester) Create

func (t *ProxyTester) Create(httpbinInside, nginxInside bool, unavailable ...bool)

func (*ProxyTester) DeleteAllNginxPods

func (t *ProxyTester) DeleteAllNginxPods()

func (*ProxyTester) DeletePartialNginxPods

func (t *ProxyTester) DeletePartialNginxPods()

func (*ProxyTester) MakeNginxAvailable

func (t *ProxyTester) MakeNginxAvailable()

func (*ProxyTester) MakeNginxInMesh

func (t *ProxyTester) MakeNginxInMesh()

func (*ProxyTester) MakeNginxOutsideMesh

func (t *ProxyTester) MakeNginxOutsideMesh()

func (*ProxyTester) MakeNginxUnavailable

func (t *ProxyTester) MakeNginxUnavailable()

func (*ProxyTester) ScaleNginx

func (t *ProxyTester) ScaleNginx(replica int)

func (*ProxyTester) ValidateNginxUpstreamNodesCount

func (t *ProxyTester) ValidateNginxUpstreamNodesCount(count int) []*apisix.Node

func (*ProxyTester) ValidateNotAccessible

func (t *ProxyTester) ValidateNotAccessible()

func (*ProxyTester) ValidateNotProxiedAndAccessible

func (t *ProxyTester) ValidateNotProxiedAndAccessible()

func (*ProxyTester) ValidateProxiedAndAccessible

func (t *ProxyTester) ValidateProxiedAndAccessible()

Jump to

Keyboard shortcuts

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