mock_store

package
v0.0.0-...-6bf1803 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUnderlyingStore

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

MockUnderlyingStore is a mock of UnderlyingStore interface

func NewMockUnderlyingStore

func NewMockUnderlyingStore(ctrl *gomock.Controller) *MockUnderlyingStore

NewMockUnderlyingStore creates a new mock instance

func (*MockUnderlyingStore) EXPECT

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

func (*MockUnderlyingStore) Read

func (m *MockUnderlyingStore) Read(table, key string, value interface{}) (interface{}, error)

Read mocks base method

func (*MockUnderlyingStore) Write

func (m *MockUnderlyingStore) Write(table string, value ...interface{}) error

Write mocks base method

type MockUnderlyingStoreMockRecorder

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

MockUnderlyingStoreMockRecorder is the mock recorder for MockUnderlyingStore

func (*MockUnderlyingStoreMockRecorder) Read

func (mr *MockUnderlyingStoreMockRecorder) Read(table, key, value interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockUnderlyingStoreMockRecorder) Write

func (mr *MockUnderlyingStoreMockRecorder) Write(table interface{}, value ...interface{}) *gomock.Call

Write indicates an expected call of Write

type MockUserStore

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

MockUserStore is a mock of UserStore interface

func NewMockUserStore

func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore

NewMockUserStore creates a new mock instance

func (*MockUserStore) EXPECT

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

func (*MockUserStore) GetPasswordFor

func (m *MockUserStore) GetPasswordFor(name string) (string, error)

GetPasswordFor mocks base method

type MockUserStoreMockRecorder

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

MockUserStoreMockRecorder is the mock recorder for MockUserStore

func (*MockUserStoreMockRecorder) GetPasswordFor

func (mr *MockUserStoreMockRecorder) GetPasswordFor(name interface{}) *gomock.Call

GetPasswordFor indicates an expected call of GetPasswordFor

type Mocklogger

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

Mocklogger is a mock of logger interface

func NewMocklogger

func NewMocklogger(ctrl *gomock.Controller) *Mocklogger

NewMocklogger creates a new mock instance

func (*Mocklogger) Debugf

func (m *Mocklogger) Debugf(msg string, args ...interface{})

Debugf mocks base method

func (*Mocklogger) EXPECT

func (m *Mocklogger) EXPECT() *MockloggerMockRecorder

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

func (*Mocklogger) Infof

func (m *Mocklogger) Infof(msg string, args ...interface{})

Infof mocks base method

type MockloggerMockRecorder

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

MockloggerMockRecorder is the mock recorder for Mocklogger

func (*MockloggerMockRecorder) Debugf

func (mr *MockloggerMockRecorder) Debugf(msg interface{}, args ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockloggerMockRecorder) Infof

func (mr *MockloggerMockRecorder) Infof(msg interface{}, args ...interface{}) *gomock.Call

Infof indicates an expected call of Infof

Jump to

Keyboard shortcuts

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