k8s

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 27 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) TestControlplaneCRUD

func (s *TestSuite) TestControlplaneCRUD()

func (*TestSuite) TestExportHost added in v0.1.0

func (s *TestSuite) TestExportHost()

func (*TestSuite) TestExportServiceNotExist added in v0.1.0

func (s *TestSuite) TestExportServiceNotExist()

func (*TestSuite) TestImportConflictingService added in v0.1.0

func (s *TestSuite) TestImportConflictingService()

func (*TestSuite) TestImportConflictingTargetPort added in v0.1.0

func (s *TestSuite) TestImportConflictingTargetPort()

func (*TestSuite) TestImportDelete added in v0.1.0

func (s *TestSuite) TestImportDelete()

func (*TestSuite) TestImportUnprivilegedNamespace added in v0.1.0

func (s *TestSuite) TestImportUnprivilegedNamespace()

func (*TestSuite) TestOperator

func (s *TestSuite) TestOperator()

TestOperator test the operator functionality.

func (*TestSuite) TestPeerMultipleGateways added in v0.1.0

func (s *TestSuite) TestPeerMultipleGateways()

func (*TestSuite) TestPeerStatus added in v0.1.0

func (s *TestSuite) TestPeerStatus()

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