mocks

package
Version: v0.5.28 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 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 QuboleClient

type QuboleClient struct {
	mock.Mock
}

QuboleClient is an autogenerated mock type for the QuboleClient type

func (*QuboleClient) ExecuteHiveCommand

func (_m *QuboleClient) ExecuteHiveCommand(ctx context.Context, commandStr string, timeoutVal uint32, clusterPrimaryLabel string, accountKey string, tags []string, commandMetadata client.CommandMetadata) (*client.QuboleCommandDetails, error)

ExecuteHiveCommand provides a mock function with given fields: ctx, commandStr, timeoutVal, clusterPrimaryLabel, accountKey, tags, commandMetadata

func (*QuboleClient) GetCommandStatus

func (_m *QuboleClient) GetCommandStatus(ctx context.Context, commandID string, accountKey string) (client.QuboleStatus, error)

GetCommandStatus provides a mock function with given fields: ctx, commandID, accountKey

func (*QuboleClient) KillCommand

func (_m *QuboleClient) KillCommand(ctx context.Context, commandID string, accountKey string) error

KillCommand provides a mock function with given fields: ctx, commandID, accountKey

func (*QuboleClient) OnExecuteHiveCommand

func (_m *QuboleClient) OnExecuteHiveCommand(ctx context.Context, commandStr string, timeoutVal uint32, clusterPrimaryLabel string, accountKey string, tags []string, commandMetadata client.CommandMetadata) *QuboleClient_ExecuteHiveCommand

func (*QuboleClient) OnExecuteHiveCommandMatch

func (_m *QuboleClient) OnExecuteHiveCommandMatch(matchers ...interface{}) *QuboleClient_ExecuteHiveCommand

func (*QuboleClient) OnGetCommandStatus

func (_m *QuboleClient) OnGetCommandStatus(ctx context.Context, commandID string, accountKey string) *QuboleClient_GetCommandStatus

func (*QuboleClient) OnGetCommandStatusMatch

func (_m *QuboleClient) OnGetCommandStatusMatch(matchers ...interface{}) *QuboleClient_GetCommandStatus

func (*QuboleClient) OnKillCommand

func (_m *QuboleClient) OnKillCommand(ctx context.Context, commandID string, accountKey string) *QuboleClient_KillCommand

func (*QuboleClient) OnKillCommandMatch

func (_m *QuboleClient) OnKillCommandMatch(matchers ...interface{}) *QuboleClient_KillCommand

type QuboleClient_ExecuteHiveCommand

type QuboleClient_ExecuteHiveCommand struct {
	*mock.Call
}

func (QuboleClient_ExecuteHiveCommand) Return

type QuboleClient_GetCommandStatus

type QuboleClient_GetCommandStatus struct {
	*mock.Call
}

func (QuboleClient_GetCommandStatus) Return

type QuboleClient_KillCommand

type QuboleClient_KillCommand struct {
	*mock.Call
}

func (QuboleClient_KillCommand) Return

Jump to

Keyboard shortcuts

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