k8s

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestSuite

type TestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

TestSuite is a suite for e2e testing on k8s clusters.

func (*TestSuite) AfterTest

func (s *TestSuite) AfterTest(_, _ string)

AfterTest exports logs after each test.

func (*TestSuite) BeforeTest

func (s *TestSuite) BeforeTest(_, testName string)

BeforeTest creates the test namespace before each test, and removes the previous test namespace.

func (*TestSuite) RunOnAllDataplaneTypes

func (s *TestSuite) RunOnAllDataplaneTypes(test func(cfg *util.PeerConfig))

RunOnAllDataplaneTypes runs the given test function on all dataplane types (envoy / go).

func (*TestSuite) RunSubTest

func (s *TestSuite) RunSubTest(subTestName string, subtest func()) bool

RunSubTest creates the test namespace before each subtest, runs the subtest, and finally export logs.

func (*TestSuite) SetupSuite

func (s *TestSuite) SetupSuite()

SetupSuite creates the k8s kind clusters and the clusterlink certificates.

func (*TestSuite) TearDownSuite

func (s *TestSuite) TearDownSuite()

TearDownSuite deletes the k8s kind clusters.

func (*TestSuite) TestConnectivity

func (s *TestSuite) TestConnectivity()

func (*TestSuite) TestConnectivityCRD

func (s *TestSuite) TestConnectivityCRD()

func (*TestSuite) TestControlplaneCRUD

func (s *TestSuite) TestControlplaneCRUD()

func (*TestSuite) TestOperator

func (s *TestSuite) TestOperator()

TestOperator test the operator functionality.

func (*TestSuite) TestPerformance

func (s *TestSuite) TestPerformance()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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