mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 MockdataStoreClient

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

MockdataStoreClient is a mock of dataStoreClient interface

func NewMockdataStoreClient

func NewMockdataStoreClient(ctrl *gomock.Controller) *MockdataStoreClient

NewMockdataStoreClient creates a new mock instance

func (*MockdataStoreClient) EXPECT

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

func (*MockdataStoreClient) Get

func (m *MockdataStoreClient) Get(ctx context.Context, key *datastore.Key, dst interface{}) error

Get mocks base method

func (*MockdataStoreClient) Put

func (m *MockdataStoreClient) Put(ctx context.Context, key *datastore.Key, src interface{}) (*datastore.Key, error)

Put mocks base method

type MockdataStoreClientMockRecorder

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

MockdataStoreClientMockRecorder is the mock recorder for MockdataStoreClient

func (*MockdataStoreClientMockRecorder) Get

func (mr *MockdataStoreClientMockRecorder) Get(ctx, key, dst interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockdataStoreClientMockRecorder) Put

func (mr *MockdataStoreClientMockRecorder) Put(ctx, key, src interface{}) *gomock.Call

Put indicates an expected call of Put

type MockesaClient

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

MockesaClient is a mock of esaClient interface

func NewMockesaClient

func NewMockesaClient(ctrl *gomock.Controller) *MockesaClient

NewMockesaClient creates a new mock instance

func (*MockesaClient) EXPECT

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

func (*MockesaClient) GetPosts

func (m *MockesaClient) GetPosts() (response.Posts, error)

GetPosts mocks base method

func (*MockesaClient) SetPage

func (m *MockesaClient) SetPage(page int)

SetPage mocks base method

func (*MockesaClient) SetQuery

func (m *MockesaClient) SetQuery(query string)

SetQuery mocks base method

type MockesaClientMockRecorder

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

MockesaClientMockRecorder is the mock recorder for MockesaClient

func (*MockesaClientMockRecorder) GetPosts

func (mr *MockesaClientMockRecorder) GetPosts() *gomock.Call

GetPosts indicates an expected call of GetPosts

func (*MockesaClientMockRecorder) SetPage

func (mr *MockesaClientMockRecorder) SetPage(page interface{}) *gomock.Call

SetPage indicates an expected call of SetPage

func (*MockesaClientMockRecorder) SetQuery

func (mr *MockesaClientMockRecorder) SetQuery(query interface{}) *gomock.Call

SetQuery indicates an expected call of SetQuery

Jump to

Keyboard shortcuts

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