mocks

package
v0.3.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrestoClient

type PrestoClient struct {
	mock.Mock
}

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

type PrestoClient_ExecuteCommand struct {
	*mock.Call
}

func (PrestoClient_ExecuteCommand) Return

type PrestoClient_GetCommandStatus

type PrestoClient_GetCommandStatus struct {
	*mock.Call
}

func (PrestoClient_GetCommandStatus) Return

type PrestoClient_KillCommand

type PrestoClient_KillCommand struct {
	*mock.Call
}

func (PrestoClient_KillCommand) Return

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL