mocks

package
v3.3.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 MockKhanInterface

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

MockKhanInterface is a mock of KhanInterface interface

func NewMockKhanInterface

func NewMockKhanInterface(ctrl *gomock.Controller) *MockKhanInterface

NewMockKhanInterface creates a new mock instance

func (*MockKhanInterface) CreateClan

func (m *MockKhanInterface) CreateClan(arg0 context.Context, arg1 *lib.ClanPayload) (string, error)

CreateClan mocks base method

func (*MockKhanInterface) CreatePlayer

func (m *MockKhanInterface) CreatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (string, error)

CreatePlayer mocks base method

func (*MockKhanInterface) EXPECT

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

func (*MockKhanInterface) RetrieveClan

func (m *MockKhanInterface) RetrieveClan(arg0 context.Context, arg1 string) (*lib.Clan, error)

RetrieveClan mocks base method

func (*MockKhanInterface) RetrieveClanSummary

func (m *MockKhanInterface) RetrieveClanSummary(arg0 context.Context, arg1 string) (*lib.ClanSummary, error)

RetrieveClanSummary mocks base method

func (*MockKhanInterface) RetrieveClansSummary

func (m *MockKhanInterface) RetrieveClansSummary(arg0 context.Context, arg1 []string) ([]*lib.ClanSummary, error)

RetrieveClansSummary mocks base method

func (*MockKhanInterface) RetrievePlayer

func (m *MockKhanInterface) RetrievePlayer(arg0 context.Context, arg1 string) (*lib.Player, error)

RetrievePlayer mocks base method

func (*MockKhanInterface) UpdateClan

func (m *MockKhanInterface) UpdateClan(arg0 context.Context, arg1 *lib.ClanPayload) error

UpdateClan mocks base method

func (*MockKhanInterface) UpdatePlayer

func (m *MockKhanInterface) UpdatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) error

UpdatePlayer mocks base method

type MockKhanInterfaceMockRecorder

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

MockKhanInterfaceMockRecorder is the mock recorder for MockKhanInterface

func (*MockKhanInterfaceMockRecorder) CreateClan

func (mr *MockKhanInterfaceMockRecorder) CreateClan(arg0, arg1 interface{}) *gomock.Call

CreateClan indicates an expected call of CreateClan

func (*MockKhanInterfaceMockRecorder) CreatePlayer

func (mr *MockKhanInterfaceMockRecorder) CreatePlayer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreatePlayer indicates an expected call of CreatePlayer

func (*MockKhanInterfaceMockRecorder) RetrieveClan

func (mr *MockKhanInterfaceMockRecorder) RetrieveClan(arg0, arg1 interface{}) *gomock.Call

RetrieveClan indicates an expected call of RetrieveClan

func (*MockKhanInterfaceMockRecorder) RetrieveClanSummary

func (mr *MockKhanInterfaceMockRecorder) RetrieveClanSummary(arg0, arg1 interface{}) *gomock.Call

RetrieveClanSummary indicates an expected call of RetrieveClanSummary

func (*MockKhanInterfaceMockRecorder) RetrieveClansSummary

func (mr *MockKhanInterfaceMockRecorder) RetrieveClansSummary(arg0, arg1 interface{}) *gomock.Call

RetrieveClansSummary indicates an expected call of RetrieveClansSummary

func (*MockKhanInterfaceMockRecorder) RetrievePlayer

func (mr *MockKhanInterfaceMockRecorder) RetrievePlayer(arg0, arg1 interface{}) *gomock.Call

RetrievePlayer indicates an expected call of RetrievePlayer

func (*MockKhanInterfaceMockRecorder) UpdateClan

func (mr *MockKhanInterfaceMockRecorder) UpdateClan(arg0, arg1 interface{}) *gomock.Call

UpdateClan indicates an expected call of UpdateClan

func (*MockKhanInterfaceMockRecorder) UpdatePlayer

func (mr *MockKhanInterfaceMockRecorder) UpdatePlayer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdatePlayer indicates an expected call of UpdatePlayer

Jump to

Keyboard shortcuts

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