Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockAPIClient
- func (m *MockAPIClient) AddGroup(ctx context.Context, userID, groupID string) (*user.User, error)
- func (m *MockAPIClient) AddHiddenGroup(ctx context.Context, groupID string) (*user.User, error)
- func (m *MockAPIClient) Authentication(ctx context.Context) (*user.User, error)
- func (m *MockAPIClient) CreateUnauthorizedUser(ctx context.Context, name, thumbnail string) (*user.User, error)
- func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
- func (m *MockAPIClient) RemoveGroup(ctx context.Context, userID, groupID string) (*user.User, error)
- func (m *MockAPIClient) RemoveHiddenGroup(ctx context.Context, groupID string) (*user.User, error)
- func (m *MockAPIClient) ShowExchangeRates(ctx context.Context) (*exchange.ExchangeRates, error)
- func (m *MockAPIClient) ShowUser(ctx context.Context, userID string) (*user.User, error)
- func (m *MockAPIClient) UserExists(ctx context.Context, userID string) (bool, error)
- type MockAPIClientMockRecorder
- func (mr *MockAPIClientMockRecorder) AddGroup(ctx, userID, groupID interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) AddHiddenGroup(ctx, groupID interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) Authentication(ctx interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) CreateUnauthorizedUser(ctx, name, thumbnail interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RemoveGroup(ctx, userID, groupID interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) RemoveHiddenGroup(ctx, groupID interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) ShowExchangeRates(ctx interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) ShowUser(ctx, userID interface{}) *gomock.Call
- func (mr *MockAPIClientMockRecorder) UserExists(ctx, userID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIClient ¶
type MockAPIClient struct {
// contains filtered or unexported fields
}
MockAPIClient is a mock of APIClient interface
func NewMockAPIClient ¶
func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient
NewMockAPIClient creates a new mock instance
func (*MockAPIClient) AddHiddenGroup ¶
AddHiddenGroup mocks base method
func (*MockAPIClient) Authentication ¶
Authentication mocks base method
func (*MockAPIClient) CreateUnauthorizedUser ¶
func (m *MockAPIClient) CreateUnauthorizedUser(ctx context.Context, name, thumbnail string) (*user.User, error)
CreateUnauthorizedUser mocks base method
func (*MockAPIClient) EXPECT ¶
func (m *MockAPIClient) EXPECT() *MockAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPIClient) RemoveGroup ¶
func (m *MockAPIClient) RemoveGroup(ctx context.Context, userID, groupID string) (*user.User, error)
RemoveGroup mocks base method
func (*MockAPIClient) RemoveHiddenGroup ¶
RemoveHiddenGroup mocks base method
func (*MockAPIClient) ShowExchangeRates ¶
func (m *MockAPIClient) ShowExchangeRates(ctx context.Context) (*exchange.ExchangeRates, error)
ShowExchangeRates mocks base method
func (*MockAPIClient) UserExists ¶
UserExists mocks base method
type MockAPIClientMockRecorder ¶
type MockAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIClientMockRecorder is the mock recorder for MockAPIClient
func (*MockAPIClientMockRecorder) AddGroup ¶
func (mr *MockAPIClientMockRecorder) AddGroup(ctx, userID, groupID interface{}) *gomock.Call
AddGroup indicates an expected call of AddGroup
func (*MockAPIClientMockRecorder) AddHiddenGroup ¶
func (mr *MockAPIClientMockRecorder) AddHiddenGroup(ctx, groupID interface{}) *gomock.Call
AddHiddenGroup indicates an expected call of AddHiddenGroup
func (*MockAPIClientMockRecorder) Authentication ¶
func (mr *MockAPIClientMockRecorder) Authentication(ctx interface{}) *gomock.Call
Authentication indicates an expected call of Authentication
func (*MockAPIClientMockRecorder) CreateUnauthorizedUser ¶
func (mr *MockAPIClientMockRecorder) CreateUnauthorizedUser(ctx, name, thumbnail interface{}) *gomock.Call
CreateUnauthorizedUser indicates an expected call of CreateUnauthorizedUser
func (*MockAPIClientMockRecorder) RemoveGroup ¶
func (mr *MockAPIClientMockRecorder) RemoveGroup(ctx, userID, groupID interface{}) *gomock.Call
RemoveGroup indicates an expected call of RemoveGroup
func (*MockAPIClientMockRecorder) RemoveHiddenGroup ¶
func (mr *MockAPIClientMockRecorder) RemoveHiddenGroup(ctx, groupID interface{}) *gomock.Call
RemoveHiddenGroup indicates an expected call of RemoveHiddenGroup
func (*MockAPIClientMockRecorder) ShowExchangeRates ¶
func (mr *MockAPIClientMockRecorder) ShowExchangeRates(ctx interface{}) *gomock.Call
ShowExchangeRates indicates an expected call of ShowExchangeRates
func (*MockAPIClientMockRecorder) ShowUser ¶
func (mr *MockAPIClientMockRecorder) ShowUser(ctx, userID interface{}) *gomock.Call
ShowUser indicates an expected call of ShowUser
func (*MockAPIClientMockRecorder) UserExists ¶
func (mr *MockAPIClientMockRecorder) UserExists(ctx, userID interface{}) *gomock.Call
UserExists indicates an expected call of UserExists