Documentation ¶
Index ¶
- type PrestoClient
- func (_m *PrestoClient) ExecuteCommand(ctx context.Context, commandStr string, executeArgs client.PrestoExecuteArgs) (client.PrestoExecuteResponse, error)
- func (_m *PrestoClient) GetCommandStatus(ctx context.Context, commandID string) (client.PrestoStatus, error)
- func (_m *PrestoClient) KillCommand(ctx context.Context, commandID string) error
- func (_m *PrestoClient) OnExecuteCommand(ctx context.Context, commandStr string, executeArgs client.PrestoExecuteArgs) *PrestoClient_ExecuteCommand
- func (_m *PrestoClient) OnExecuteCommandMatch(matchers ...interface{}) *PrestoClient_ExecuteCommand
- func (_m *PrestoClient) OnGetCommandStatus(ctx context.Context, commandID string) *PrestoClient_GetCommandStatus
- func (_m *PrestoClient) OnGetCommandStatusMatch(matchers ...interface{}) *PrestoClient_GetCommandStatus
- func (_m *PrestoClient) OnKillCommand(ctx context.Context, commandID string) *PrestoClient_KillCommand
- func (_m *PrestoClient) OnKillCommandMatch(matchers ...interface{}) *PrestoClient_KillCommand
- type PrestoClient_ExecuteCommand
- type PrestoClient_GetCommandStatus
- type PrestoClient_KillCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrestoClient ¶
PrestoClient is an autogenerated mock type for the PrestoClient type
func (*PrestoClient) ExecuteCommand ¶
func (_m *PrestoClient) ExecuteCommand(ctx context.Context, commandStr string, executeArgs client.PrestoExecuteArgs) (client.PrestoExecuteResponse, error)
ExecuteCommand provides a mock function with given fields: ctx, commandStr, executeArgs
func (*PrestoClient) GetCommandStatus ¶
func (_m *PrestoClient) GetCommandStatus(ctx context.Context, commandID string) (client.PrestoStatus, error)
GetCommandStatus provides a mock function with given fields: ctx, commandID
func (*PrestoClient) KillCommand ¶
func (_m *PrestoClient) KillCommand(ctx context.Context, commandID string) error
KillCommand provides a mock function with given fields: ctx, commandID
func (*PrestoClient) OnExecuteCommand ¶
func (_m *PrestoClient) OnExecuteCommand(ctx context.Context, commandStr string, executeArgs client.PrestoExecuteArgs) *PrestoClient_ExecuteCommand
func (*PrestoClient) OnExecuteCommandMatch ¶
func (_m *PrestoClient) OnExecuteCommandMatch(matchers ...interface{}) *PrestoClient_ExecuteCommand
func (*PrestoClient) OnGetCommandStatus ¶
func (_m *PrestoClient) OnGetCommandStatus(ctx context.Context, commandID string) *PrestoClient_GetCommandStatus
func (*PrestoClient) OnGetCommandStatusMatch ¶
func (_m *PrestoClient) OnGetCommandStatusMatch(matchers ...interface{}) *PrestoClient_GetCommandStatus
func (*PrestoClient) OnKillCommand ¶
func (_m *PrestoClient) OnKillCommand(ctx context.Context, commandID string) *PrestoClient_KillCommand
func (*PrestoClient) OnKillCommandMatch ¶
func (_m *PrestoClient) OnKillCommandMatch(matchers ...interface{}) *PrestoClient_KillCommand
type PrestoClient_ExecuteCommand ¶
func (PrestoClient_ExecuteCommand) Return ¶
func (_m PrestoClient_ExecuteCommand) Return(_a0 client.PrestoExecuteResponse, _a1 error) *PrestoClient_ExecuteCommand
type PrestoClient_GetCommandStatus ¶
func (PrestoClient_GetCommandStatus) Return ¶
func (_m PrestoClient_GetCommandStatus) Return(_a0 client.PrestoStatus, _a1 error) *PrestoClient_GetCommandStatus
type PrestoClient_KillCommand ¶
func (PrestoClient_KillCommand) Return ¶
func (_m PrestoClient_KillCommand) Return(_a0 error) *PrestoClient_KillCommand
Click to show internal directories.
Click to hide internal directories.