Documentation ¶
Index ¶
- type MockJobClient
- func (mjc *MockJobClient) GetExecutions(uuid string) ([]job.Stats, error)
- func (mjc *MockJobClient) GetJobLog(uuid string) ([]byte, error)
- func (mjc *MockJobClient) GetJobServiceConfig() (*job.Config, error)
- func (mjc *MockJobClient) PostAction(uuid, action string) error
- func (mjc *MockJobClient) SubmitJob(data *models.JobData) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJobClient ¶
type MockJobClient struct {
JobUUID []string
}
MockJobClient ...
func (*MockJobClient) GetExecutions ¶
func (mjc *MockJobClient) GetExecutions(uuid string) ([]job.Stats, error)
GetExecutions ...
func (*MockJobClient) GetJobLog ¶
func (mjc *MockJobClient) GetJobLog(uuid string) ([]byte, error)
GetJobLog ...
func (*MockJobClient) GetJobServiceConfig ¶
func (mjc *MockJobClient) GetJobServiceConfig() (*job.Config, error)
GetJobServiceConfig ...
func (*MockJobClient) PostAction ¶
func (mjc *MockJobClient) PostAction(uuid, action string) error
PostAction ...
Click to show internal directories.
Click to hide internal directories.