Documentation ¶
Index ¶
- type TestSuite
- func (s *TestSuite) AfterTest(_, _ string)
- func (s *TestSuite) BeforeTest(_, testName string)
- func (s *TestSuite) RunOnAllDataplaneTypes(test func(cfg *util.PeerConfig))
- func (s *TestSuite) RunSubTest(subTestName string, subtest func()) bool
- func (s *TestSuite) SetupSuite()
- func (s *TestSuite) TearDownSuite()
- func (s *TestSuite) TestConnectivity()
- func (s *TestSuite) TestControlplaneCRUD()
- func (s *TestSuite) TestExportHost()
- func (s *TestSuite) TestExportServiceNotExist()
- func (s *TestSuite) TestImportConflictingService()
- func (s *TestSuite) TestImportConflictingTargetPort()
- func (s *TestSuite) TestImportDelete()
- func (s *TestSuite) TestImportUnprivilegedNamespace()
- func (s *TestSuite) TestOperator()
- func (s *TestSuite) TestPeerMultipleGateways()
- func (s *TestSuite) TestPeerStatus()
- func (s *TestSuite) TestPerformance()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuite ¶
TestSuite is a suite for e2e testing on k8s clusters.
func (*TestSuite) BeforeTest ¶
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 ¶
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()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.