Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockKhanInterface
- func (m *MockKhanInterface) CreateClan(arg0 context.Context, arg1 *lib.ClanPayload) (string, error)
- func (m *MockKhanInterface) CreatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (string, error)
- func (m *MockKhanInterface) EXPECT() *MockKhanInterfaceMockRecorder
- func (m *MockKhanInterface) RetrieveClan(arg0 context.Context, arg1 string) (*lib.Clan, error)
- func (m *MockKhanInterface) RetrieveClanSummary(arg0 context.Context, arg1 string) (*lib.ClanSummary, error)
- func (m *MockKhanInterface) RetrieveClansSummary(arg0 context.Context, arg1 []string) ([]*lib.ClanSummary, error)
- func (m *MockKhanInterface) RetrievePlayer(arg0 context.Context, arg1 string) (*lib.Player, error)
- func (m *MockKhanInterface) UpdateClan(arg0 context.Context, arg1 *lib.ClanPayload) error
- func (m *MockKhanInterface) UpdatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) error
- type MockKhanInterfaceMockRecorder
- func (mr *MockKhanInterfaceMockRecorder) CreateClan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) CreatePlayer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) RetrieveClan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) RetrieveClanSummary(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) RetrieveClansSummary(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) RetrievePlayer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) UpdateClan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) UpdatePlayer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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 ¶
func (m *MockKhanInterface) EXPECT() *MockKhanInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKhanInterface) RetrieveClan ¶
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 ¶
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