Documentation ¶
Index ¶
- type TestUtil
- func (f *TestUtil) Cleanup()
- func (f *TestUtil) CreateCRD() error
- func (f *TestUtil) CreateFlinkApplication(application *flinkapp.FlinkApplication) error
- func (f *TestUtil) CreateOperator() error
- func (f *TestUtil) FlinkAPIGet(app *flinkapp.FlinkApplication, endpoint string) (interface{}, error)
- func (f *TestUtil) FlinkApps() client.FlinkApplicationInterface
- func (f *TestUtil) GetFlinkApplication(name string) (*flinkapp.FlinkApplication, error)
- func (f *TestUtil) GetJobManagerPod() (string, error)
- func (f *TestUtil) GetLogs(podName string, lines *int64) error
- func (f *TestUtil) GetTaskManagerPods() ([]string, error)
- func (f *TestUtil) ReadFlinkApplication(path string) (*flinkapp.FlinkApplication, error)
- func (f *TestUtil) TailOperatorLogs() error
- func (f *TestUtil) WaitForAllTasksInState(name string, state string) error
- func (f *TestUtil) WaitForPhase(name string, phase flinkapp.FlinkApplicationPhase, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestUtil ¶
type TestUtil struct { KubeClient kubernetes.Interface FlinkApplicationClient clientset.Interface APIExtensionsClient apiextensionsClientset.Interface Namespace *v1.Namespace Image string CheckpointDir string }
func (*TestUtil) CreateFlinkApplication ¶
func (f *TestUtil) CreateFlinkApplication(application *flinkapp.FlinkApplication) error
func (*TestUtil) CreateOperator ¶
func (*TestUtil) FlinkAPIGet ¶
func (f *TestUtil) FlinkAPIGet(app *flinkapp.FlinkApplication, endpoint string) (interface{}, error)
func (*TestUtil) FlinkApps ¶
func (f *TestUtil) FlinkApps() client.FlinkApplicationInterface
func (*TestUtil) GetFlinkApplication ¶
func (f *TestUtil) GetFlinkApplication(name string) (*flinkapp.FlinkApplication, error)
func (*TestUtil) GetJobManagerPod ¶
func (*TestUtil) GetTaskManagerPods ¶
func (*TestUtil) ReadFlinkApplication ¶
func (f *TestUtil) ReadFlinkApplication(path string) (*flinkapp.FlinkApplication, error)
func (*TestUtil) TailOperatorLogs ¶
func (*TestUtil) WaitForAllTasksInState ¶
func (*TestUtil) WaitForPhase ¶
func (f *TestUtil) WaitForPhase(name string, phase flinkapp.FlinkApplicationPhase, failurePhases ...flinkapp.FlinkApplicationPhase) error
Click to show internal directories.
Click to hide internal directories.