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) TestDynamicPeerCertificates()
- func (s *TestSuite) TestExportHost()
- func (s *TestSuite) TestExportServiceNotExist()
- func (s *TestSuite) TestImportConflictingService()
- func (s *TestSuite) TestImportConflictingTargetPort()
- func (s *TestSuite) TestImportDelete()
- func (s *TestSuite) TestImportInvalidName()
- func (s *TestSuite) TestImportMerge()
- func (s *TestSuite) TestImportUnprivilegedNamespace()
- func (s *TestSuite) TestLoadBalancingRandom()
- func (s *TestSuite) TestLoadBalancingRoundRobin()
- func (s *TestSuite) TestLoadBalancingStatic()
- func (s *TestSuite) TestOperator()
- func (s *TestSuite) TestPeerMultipleGateways()
- func (s *TestSuite) TestPeerStatus()
- func (s *TestSuite) TestPerformance()
- func (s *TestSuite) TestPodAttributes()
- func (s *TestSuite) TestPolicyLabels()
- func (s *TestSuite) TestPrivilegedPolicies()
- func (s *TestSuite) TestRedundancy()
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) TestDynamicPeerCertificates ¶ added in v0.3.0
func (s *TestSuite) TestDynamicPeerCertificates()
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) TestImportInvalidName ¶ added in v0.2.0
func (s *TestSuite) TestImportInvalidName()
this test requires K8s 1.29+, as it relies on x-kubernetes-validations.
func (*TestSuite) TestImportMerge ¶ added in v0.2.0
func (s *TestSuite) TestImportMerge()
func (*TestSuite) TestImportUnprivilegedNamespace ¶ added in v0.1.0
func (s *TestSuite) TestImportUnprivilegedNamespace()
func (*TestSuite) TestLoadBalancingRandom ¶ added in v0.2.1
func (s *TestSuite) TestLoadBalancingRandom()
func (*TestSuite) TestLoadBalancingRoundRobin ¶ added in v0.2.1
func (s *TestSuite) TestLoadBalancingRoundRobin()
func (*TestSuite) TestLoadBalancingStatic ¶ added in v0.2.1
func (s *TestSuite) TestLoadBalancingStatic()
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()
func (*TestSuite) TestPodAttributes ¶ added in v0.4.0
func (s *TestSuite) TestPodAttributes()
func (*TestSuite) TestPolicyLabels ¶ added in v0.2.0
func (s *TestSuite) TestPolicyLabels()
func (*TestSuite) TestPrivilegedPolicies ¶ added in v0.2.0
func (s *TestSuite) TestPrivilegedPolicies()
func (*TestSuite) TestRedundancy ¶ added in v0.4.0
func (s *TestSuite) TestRedundancy()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.