Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockKhanInterface
- func (m *MockKhanInterface) ApplyForMembership(arg0 context.Context, arg1 *lib.ApplicationPayload) (*lib.ClanApplyResult, error)
- func (m *MockKhanInterface) ApproveDenyMembershipApplication(arg0 context.Context, arg1 *lib.ApplicationApprovalPayload) (*lib.Result, error)
- func (m *MockKhanInterface) ApproveDenyMembershipInvitation(arg0 context.Context, arg1 *lib.InvitationApprovalPayload) (*lib.Result, error)
- 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) DeleteMembership(arg0 context.Context, arg1 *lib.DeleteMembershipPayload) (*lib.Result, error)
- func (m *MockKhanInterface) EXPECT() *MockKhanInterfaceMockRecorder
- func (m *MockKhanInterface) InviteForMembership(arg0 context.Context, arg1 *lib.InvitationPayload) (*lib.Result, error)
- func (m *MockKhanInterface) LeaveClan(arg0 context.Context, arg1 string) (*lib.LeaveClanResult, error)
- func (m *MockKhanInterface) PromoteDemote(arg0 context.Context, arg1 *lib.PromoteDemotePayload) (*lib.Result, error)
- 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) TransferOwnership(arg0 context.Context, arg1, arg2 string) (*lib.TransferOwnershipResult, error)
- func (m *MockKhanInterface) UpdateClan(arg0 context.Context, arg1 *lib.ClanPayload) (*lib.Result, error)
- func (m *MockKhanInterface) UpdatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (*lib.Result, error)
- type MockKhanInterfaceMockRecorder
- func (mr *MockKhanInterfaceMockRecorder) ApplyForMembership(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) ApproveDenyMembershipApplication(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) ApproveDenyMembershipInvitation(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) CreateClan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) CreatePlayer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) DeleteMembership(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) InviteForMembership(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) LeaveClan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKhanInterfaceMockRecorder) PromoteDemote(arg0, arg1 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) TransferOwnership(arg0, arg1, arg2 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) ApplyForMembership ¶
func (m *MockKhanInterface) ApplyForMembership(arg0 context.Context, arg1 *lib.ApplicationPayload) (*lib.ClanApplyResult, error)
ApplyForMembership mocks base method
func (*MockKhanInterface) ApproveDenyMembershipApplication ¶
func (m *MockKhanInterface) ApproveDenyMembershipApplication(arg0 context.Context, arg1 *lib.ApplicationApprovalPayload) (*lib.Result, error)
ApproveDenyMembershipApplication mocks base method
func (*MockKhanInterface) ApproveDenyMembershipInvitation ¶
func (m *MockKhanInterface) ApproveDenyMembershipInvitation(arg0 context.Context, arg1 *lib.InvitationApprovalPayload) (*lib.Result, error)
ApproveDenyMembershipInvitation mocks base method
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) DeleteMembership ¶
func (m *MockKhanInterface) DeleteMembership(arg0 context.Context, arg1 *lib.DeleteMembershipPayload) (*lib.Result, error)
DeleteMembership 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) InviteForMembership ¶
func (m *MockKhanInterface) InviteForMembership(arg0 context.Context, arg1 *lib.InvitationPayload) (*lib.Result, error)
InviteForMembership mocks base method
func (*MockKhanInterface) LeaveClan ¶
func (m *MockKhanInterface) LeaveClan(arg0 context.Context, arg1 string) (*lib.LeaveClanResult, error)
LeaveClan mocks base method
func (*MockKhanInterface) PromoteDemote ¶
func (m *MockKhanInterface) PromoteDemote(arg0 context.Context, arg1 *lib.PromoteDemotePayload) (*lib.Result, error)
PromoteDemote mocks base method
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) TransferOwnership ¶
func (m *MockKhanInterface) TransferOwnership(arg0 context.Context, arg1, arg2 string) (*lib.TransferOwnershipResult, error)
TransferOwnership mocks base method
func (*MockKhanInterface) UpdateClan ¶
func (m *MockKhanInterface) UpdateClan(arg0 context.Context, arg1 *lib.ClanPayload) (*lib.Result, error)
UpdateClan mocks base method
func (*MockKhanInterface) UpdatePlayer ¶
func (m *MockKhanInterface) UpdatePlayer(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (*lib.Result, error)
UpdatePlayer mocks base method
type MockKhanInterfaceMockRecorder ¶
type MockKhanInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockKhanInterfaceMockRecorder is the mock recorder for MockKhanInterface
func (*MockKhanInterfaceMockRecorder) ApplyForMembership ¶
func (mr *MockKhanInterfaceMockRecorder) ApplyForMembership(arg0, arg1 interface{}) *gomock.Call
ApplyForMembership indicates an expected call of ApplyForMembership
func (*MockKhanInterfaceMockRecorder) ApproveDenyMembershipApplication ¶
func (mr *MockKhanInterfaceMockRecorder) ApproveDenyMembershipApplication(arg0, arg1 interface{}) *gomock.Call
ApproveDenyMembershipApplication indicates an expected call of ApproveDenyMembershipApplication
func (*MockKhanInterfaceMockRecorder) ApproveDenyMembershipInvitation ¶
func (mr *MockKhanInterfaceMockRecorder) ApproveDenyMembershipInvitation(arg0, arg1 interface{}) *gomock.Call
ApproveDenyMembershipInvitation indicates an expected call of ApproveDenyMembershipInvitation
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) DeleteMembership ¶
func (mr *MockKhanInterfaceMockRecorder) DeleteMembership(arg0, arg1 interface{}) *gomock.Call
DeleteMembership indicates an expected call of DeleteMembership
func (*MockKhanInterfaceMockRecorder) InviteForMembership ¶
func (mr *MockKhanInterfaceMockRecorder) InviteForMembership(arg0, arg1 interface{}) *gomock.Call
InviteForMembership indicates an expected call of InviteForMembership
func (*MockKhanInterfaceMockRecorder) LeaveClan ¶
func (mr *MockKhanInterfaceMockRecorder) LeaveClan(arg0, arg1 interface{}) *gomock.Call
LeaveClan indicates an expected call of LeaveClan
func (*MockKhanInterfaceMockRecorder) PromoteDemote ¶
func (mr *MockKhanInterfaceMockRecorder) PromoteDemote(arg0, arg1 interface{}) *gomock.Call
PromoteDemote indicates an expected call of PromoteDemote
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) TransferOwnership ¶
func (mr *MockKhanInterfaceMockRecorder) TransferOwnership(arg0, arg1, arg2 interface{}) *gomock.Call
TransferOwnership indicates an expected call of TransferOwnership
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