Documentation
¶
Index ¶
- Constants
- type K8sConfigReloadTestSuite
- type K8sNamespaceTestSuite
- type K8sTestSuiteBase
- func (s *K8sTestSuiteBase) Collector() *collector.K8sCollectorManager
- func (s *K8sTestSuiteBase) Executor() *executor.K8sExecutor
- func (k *K8sTestSuiteBase) Namespace() string
- func (s *K8sTestSuiteBase) Sensor() *mock_sensor.MockSensor
- func (s *K8sTestSuiteBase) StartCollector(opts *collector.StartupOptions)
- func (s *K8sTestSuiteBase) StopCollector()
- func (k *K8sTestSuiteBase) TestNamespace() string
- type NamespaceTest
Constants ¶
View Source
const ( EXT_IP_ENABLE = ` networking: externalIps: enable: true ` EXT_IP_DISABLE = ` networking: externalIps: enable: false ` CONFIG_MAP_NAME = "collector-config" )
View Source
const (
NAMESPACE = "target-namespace"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sConfigReloadTestSuite ¶
type K8sConfigReloadTestSuite struct {
K8sTestSuiteBase
}
func (*K8sConfigReloadTestSuite) AfterTest ¶
func (k *K8sConfigReloadTestSuite) AfterTest(suiteName, testName string)
func (*K8sConfigReloadTestSuite) SetupSuite ¶
func (k *K8sConfigReloadTestSuite) SetupSuite()
func (*K8sConfigReloadTestSuite) TestConfigurationReload ¶
func (k *K8sConfigReloadTestSuite) TestConfigurationReload()
func (*K8sConfigReloadTestSuite) TestCreateConfigurationAfterStart ¶
func (k *K8sConfigReloadTestSuite) TestCreateConfigurationAfterStart()
type K8sNamespaceTestSuite ¶
type K8sNamespaceTestSuite struct { K8sTestSuiteBase // contains filtered or unexported fields }
func (*K8sNamespaceTestSuite) SetupSuite ¶
func (k *K8sNamespaceTestSuite) SetupSuite()
func (*K8sNamespaceTestSuite) TestK8sNamespace ¶
func (k *K8sNamespaceTestSuite) TestK8sNamespace()
type K8sTestSuiteBase ¶
func (*K8sTestSuiteBase) Collector ¶
func (s *K8sTestSuiteBase) Collector() *collector.K8sCollectorManager
func (*K8sTestSuiteBase) Executor ¶
func (s *K8sTestSuiteBase) Executor() *executor.K8sExecutor
func (*K8sTestSuiteBase) Namespace ¶
func (k *K8sTestSuiteBase) Namespace() string
func (*K8sTestSuiteBase) Sensor ¶
func (s *K8sTestSuiteBase) Sensor() *mock_sensor.MockSensor
Sensor returns the current mock sensor object, or initializes a new one if it is nil.
func (*K8sTestSuiteBase) StartCollector ¶
func (s *K8sTestSuiteBase) StartCollector(opts *collector.StartupOptions)
StartCollector will start the collector pod
func (*K8sTestSuiteBase) StopCollector ¶
func (s *K8sTestSuiteBase) StopCollector()
func (*K8sTestSuiteBase) TestNamespace ¶
func (k *K8sTestSuiteBase) TestNamespace() string
type NamespaceTest ¶
type NamespaceTest struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.