mock

package
v0.0.0-...-d1f9358 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) DeleteUser

func (m *MockStore) DeleteUser(arg0 string) error

DeleteUser mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) IsEncryptionEnabled

func (m *MockStore) IsEncryptionEnabled(arg0, arg1 string) bool

IsEncryptionEnabled mocks base method

func (*MockStore) LoadUser

func (m *MockStore) LoadUser(arg0 string) (*store.User, error)

LoadUser mocks base method

func (*MockStore) SetEncryptionStatus

func (m *MockStore) SetEncryptionStatus(arg0, arg1 string, arg2 bool) error

SetEncryptionStatus mocks base method

func (*MockStore) StoreUser

func (m *MockStore) StoreUser(arg0 *store.User) error

StoreUser mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) DeleteUser

func (mr *MockStoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser

func (*MockStoreMockRecorder) IsEncryptionEnabled

func (mr *MockStoreMockRecorder) IsEncryptionEnabled(arg0, arg1 interface{}) *gomock.Call

IsEncryptionEnabled indicates an expected call of IsEncryptionEnabled

func (*MockStoreMockRecorder) LoadUser

func (mr *MockStoreMockRecorder) LoadUser(arg0 interface{}) *gomock.Call

LoadUser indicates an expected call of LoadUser

func (*MockStoreMockRecorder) SetEncryptionStatus

func (mr *MockStoreMockRecorder) SetEncryptionStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetEncryptionStatus indicates an expected call of SetEncryptionStatus

func (*MockStoreMockRecorder) StoreUser

func (mr *MockStoreMockRecorder) StoreUser(arg0 interface{}) *gomock.Call

StoreUser indicates an expected call of StoreUser

Jump to

Keyboard shortcuts

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