mock_common

package
v0.0.0-...-3ae4f16 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_common is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApiGatewayManagementAPI

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

MockApiGatewayManagementAPI is a mock of ApiGatewayManagementAPI interface

func NewMockApiGatewayManagementAPI

func NewMockApiGatewayManagementAPI(ctrl *gomock.Controller) *MockApiGatewayManagementAPI

NewMockApiGatewayManagementAPI creates a new mock instance

func (*MockApiGatewayManagementAPI) EXPECT

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

func (*MockApiGatewayManagementAPI) PostToConnection

func (m *MockApiGatewayManagementAPI) PostToConnection(connectionID, body string) error

PostToConnection mocks base method

type MockApiGatewayManagementAPIMockRecorder

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

MockApiGatewayManagementAPIMockRecorder is the mock recorder for MockApiGatewayManagementAPI

func (*MockApiGatewayManagementAPIMockRecorder) PostToConnection

func (mr *MockApiGatewayManagementAPIMockRecorder) PostToConnection(connectionID, body interface{}) *gomock.Call

PostToConnection indicates an expected call of PostToConnection

type MockDB

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

MockDB is a mock of DB interface

func NewMockDB

func NewMockDB(ctrl *gomock.Controller) *MockDB

NewMockDB creates a new mock instance

func (*MockDB) ConnectionsTable

func (m *MockDB) ConnectionsTable() common.Table

ConnectionsTable mocks base method

func (*MockDB) EXPECT

func (m *MockDB) EXPECT() *MockDBMockRecorder

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

func (*MockDB) RoomsTable

func (m *MockDB) RoomsTable() common.Table

RoomsTable mocks base method

func (*MockDB) Table

func (m *MockDB) Table(name string) common.Table

Table mocks base method

func (*MockDB) TxPut

func (m *MockDB) TxPut(items ...common.TableItem) error

TxPut mocks base method

type MockDBMockRecorder

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

MockDBMockRecorder is the mock recorder for MockDB

func (*MockDBMockRecorder) ConnectionsTable

func (mr *MockDBMockRecorder) ConnectionsTable() *gomock.Call

ConnectionsTable indicates an expected call of ConnectionsTable

func (*MockDBMockRecorder) RoomsTable

func (mr *MockDBMockRecorder) RoomsTable() *gomock.Call

RoomsTable indicates an expected call of RoomsTable

func (*MockDBMockRecorder) Table

func (mr *MockDBMockRecorder) Table(name interface{}) *gomock.Call

Table indicates an expected call of Table

func (*MockDBMockRecorder) TxPut

func (mr *MockDBMockRecorder) TxPut(items ...interface{}) *gomock.Call

TxPut indicates an expected call of TxPut

type MockTable

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

MockTable is a mock of Table interface

func NewMockTable

func NewMockTable(ctrl *gomock.Controller) *MockTable

NewMockTable creates a new mock instance

func (*MockTable) Delete

func (m *MockTable) Delete(column string, key interface{}) error

Delete mocks base method

func (*MockTable) EXPECT

func (m *MockTable) EXPECT() *MockTableMockRecorder

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

func (*MockTable) FindOne

func (m *MockTable) FindOne(column string, key, out interface{}) error

FindOne mocks base method

func (*MockTable) Put

func (m *MockTable) Put(row interface{}) error

Put mocks base method

type MockTableMockRecorder

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

MockTableMockRecorder is the mock recorder for MockTable

func (*MockTableMockRecorder) Delete

func (mr *MockTableMockRecorder) Delete(column, key interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTableMockRecorder) FindOne

func (mr *MockTableMockRecorder) FindOne(column, key, out interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockTableMockRecorder) Put

func (mr *MockTableMockRecorder) Put(row interface{}) *gomock.Call

Put indicates an expected call of Put

Jump to

Keyboard shortcuts

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