Documentation
¶
Index ¶
- Constants
- func CreateKafkaTopic() string
- func DeleteKafkaTopic(topic string) string
- func Exec(name string, args ...string) (string, error)
- func ExpectKafkaTopicCount(topic string, total int, timeout time.Duration)
- func GetKafkaCount(topic string, count int) int
- func HTTPExpect(t require.TestingT, baseURL string) *httpexpect.Expect
- func InvokeE2EAPI(format string, args ...interface{}) string
- func InvokeE2EAPIPOST(format string, body string, args ...interface{}) string
- func PodPortForward(config *rest.Config, namespace, podName string, localPort, remotePort int, ...) error
- func PodsLogContains(ctx context.Context, kubeClient kubernetes.Interface, namespace, regex string, ...) bool
- func PumpKafkaTopic(topic string, n int, opts ...interface{})
- func SendMessage(topic string, key string, message string)
- func ValidateMessage(topic string, key string, position int)
- func VertexPodLogContains(ctx context.Context, kubeClient kubernetes.Interface, ...) (bool, error)
- func WaitForISBSvcReady(ctx context.Context, isbSvcClient flowpkg.InterStepBufferServiceInterface, ...) error
- func WaitForISBSvcStatefulSetReady(ctx context.Context, kubeClient kubernetes.Interface, ...) error
- func WaitForPipelineRunning(ctx context.Context, pipelineClient flowpkg.PipelineInterface, ...) error
- func WaitForVertexPodRunning(kubeClient kubernetes.Interface, namespace, pipelineName, vertexName string, ...) error
- type E2ESuite
- type Expect
- type Given
- type When
- func (w *When) And(block func()) *When
- func (w *When) CreateISBSvc() *When
- func (w *When) CreatePipelineAndWait() *When
- func (w *When) DeleteISBSvc() *When
- func (w *When) DeletePipelineAndWait() *When
- func (w *When) Exec(name string, args []string, block func(t *testing.T, output string, err error)) *When
- func (w *When) Expect() *Expect
- func (w *When) Given() *Given
- func (w *When) TerminateAllPodPortForwards() *When
- func (w *When) VertexPodPortForward(vertexName string, localPort, remotePort int) *When
- func (w *When) Wait(timeout time.Duration) *When
- func (w *When) WaitForISBSvcReady() *When
Constants ¶
View Source
const ( Namespace = "numaflow-system" Label = "numaflow-e2e" LabelValue = "true" ISBSvcName = "numaflow-e2e" )
Variables ¶
This section is empty.
Functions ¶
func CreateKafkaTopic ¶
func CreateKafkaTopic() string
func DeleteKafkaTopic ¶
func ExpectKafkaTopicCount ¶
func GetKafkaCount ¶
func HTTPExpect ¶
func InvokeE2EAPI ¶
func InvokeE2EAPIPOST ¶
func PodPortForward ¶
func PodsLogContains ¶
func PumpKafkaTopic ¶
func SendMessage ¶
func ValidateMessage ¶
func VertexPodLogContains ¶
func WaitForISBSvcReady ¶
func WaitForPipelineRunning ¶
func WaitForVertexPodRunning ¶
Types ¶
type E2ESuite ¶
func (*E2ESuite) CheckError ¶
func (*E2ESuite) SetupSuite ¶
func (s *E2ESuite) SetupSuite()
func (*E2ESuite) StartPortForward ¶
func (*E2ESuite) TearDownSuite ¶
func (s *E2ESuite) TearDownSuite()
type Expect ¶
type Expect struct {
// contains filtered or unexported fields
}
func (*Expect) VertexPodLogContains ¶
func (*Expect) VertexPodsRunning ¶
type Given ¶
type Given struct {
// contains filtered or unexported fields
}
func (*Given) ISBSvc ¶
creates an ISBSvc based on the parameter, this may be:
1. A file name if it starts with "@" 2. Raw YAML.
type When ¶
type When struct {
// contains filtered or unexported fields
}
func (*When) CreateISBSvc ¶
func (*When) CreatePipelineAndWait ¶
func (*When) DeleteISBSvc ¶
func (*When) DeletePipelineAndWait ¶
func (*When) TerminateAllPodPortForwards ¶
func (*When) VertexPodPortForward ¶
func (*When) WaitForISBSvcReady ¶
Click to show internal directories.
Click to hide internal directories.