mocks

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTeamserver

type MockTeamserver struct {
	// contains filtered or unexported fields
}

MockTeamserver is a mock of Teamserver interface

func NewMockTeamserver

func NewMockTeamserver(ctrl *gomock.Controller) *MockTeamserver

NewMockTeamserver creates a new mock instance

func (*MockTeamserver) ClaimTasks

func (m *MockTeamserver) ClaimTasks(arg0 context.Context, arg1 models.ClaimTasksRequest) ([]*ent.Task, error)

ClaimTasks mocks base method

func (*MockTeamserver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTeamserver) SubmitTaskResult

func (m *MockTeamserver) SubmitTaskResult(arg0 context.Context, arg1 models.SubmitTaskResultRequest) error

SubmitTaskResult mocks base method

type MockTeamserverMockRecorder

type MockTeamserverMockRecorder struct {
	// contains filtered or unexported fields
}

MockTeamserverMockRecorder is the mock recorder for MockTeamserver

func (*MockTeamserverMockRecorder) ClaimTasks

func (mr *MockTeamserverMockRecorder) ClaimTasks(arg0, arg1 interface{}) *gomock.Call

ClaimTasks indicates an expected call of ClaimTasks

func (*MockTeamserverMockRecorder) SubmitTaskResult

func (mr *MockTeamserverMockRecorder) SubmitTaskResult(arg0, arg1 interface{}) *gomock.Call

SubmitTaskResult indicates an expected call of SubmitTaskResult

type MockWriteCloser

type MockWriteCloser struct {
	// contains filtered or unexported fields
}

MockWriteCloser is a mock of WriteCloser interface

func NewMockWriteCloser

func NewMockWriteCloser(ctrl *gomock.Controller) *MockWriteCloser

NewMockWriteCloser creates a new mock instance

func (*MockWriteCloser) Close

func (m *MockWriteCloser) Close() error

Close mocks base method

func (*MockWriteCloser) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWriteCloser) Write

func (m *MockWriteCloser) Write(arg0 []byte) (int, error)

Write mocks base method

type MockWriteCloserMockRecorder

type MockWriteCloserMockRecorder struct {
	// contains filtered or unexported fields
}

MockWriteCloserMockRecorder is the mock recorder for MockWriteCloser

func (*MockWriteCloserMockRecorder) Close

Close indicates an expected call of Close

func (*MockWriteCloserMockRecorder) Write

func (mr *MockWriteCloserMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockWriter

type MockWriter struct {
	// contains filtered or unexported fields
}

MockWriter is a mock of Writer interface

func NewMockWriter

func NewMockWriter(ctrl *gomock.Controller) *MockWriter

NewMockWriter creates a new mock instance

func (*MockWriter) EXPECT

func (m *MockWriter) EXPECT() *MockWriterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWriter) Write

func (m *MockWriter) Write(arg0 []byte) (int, error)

Write mocks base method

type MockWriterMockRecorder

type MockWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockWriterMockRecorder is the mock recorder for MockWriter

func (*MockWriterMockRecorder) Write

func (mr *MockWriterMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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