Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback func() error
Callback function type is invoked post-setup but pre-test
type K8STestSetup ¶
type K8STestSetup struct { WaitForPods []string PortForwardServices map[string]int // ReadyCallback for custom setup after services are ready and before pre-test ReadyCallback Callback // contains filtered or unexported fields }
K8STestSetup is instantiated given the pods and services we must wait for
func (*K8STestSetup) GetServiceLocalPort ¶
func (s *K8STestSetup) GetServiceLocalPort(serviceName string) int
func (*K8STestSetup) TestMain ¶
func (s *K8STestSetup) TestMain(m *testing.M)
TestMain will execute the provided setup command, wait for configured pods and services to be ready, and then forwards service logs to test output. On completion, signals to the it_sidecar to teardown the test namespace
Click to show internal directories.
Click to hide internal directories.