mock_api

package
v0.0.0-...-4350bb9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

Index

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) AddGroup

func (m *MockAPIClient) AddGroup(ctx context.Context, userID, groupID string) (*user.User, error)

AddGroup mocks base method

func (*MockAPIClient) AddHiddenGroup

func (m *MockAPIClient) AddHiddenGroup(ctx context.Context, groupID string) (*user.User, error)

AddHiddenGroup mocks base method

func (*MockAPIClient) Authentication

func (m *MockAPIClient) Authentication(ctx context.Context) (*user.User, error)

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

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

func (m *MockAPIClient) RemoveHiddenGroup(ctx context.Context, groupID string) (*user.User, error)

RemoveHiddenGroup mocks base method

func (*MockAPIClient) ShowExchangeRates

func (m *MockAPIClient) ShowExchangeRates(ctx context.Context) (*exchange.ExchangeRates, error)

ShowExchangeRates mocks base method

func (*MockAPIClient) ShowUser

func (m *MockAPIClient) ShowUser(ctx context.Context, userID string) (*user.User, error)

ShowUser mocks base method

func (*MockAPIClient) UserExists

func (m *MockAPIClient) UserExists(ctx context.Context, userID string) (bool, error)

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

Jump to

Keyboard shortcuts

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