Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuth
- type MockAuthMockRecorder
- type MockContainer
- type MockContainerMockRecorder
- type MockNotestore
- func (m *MockNotestore) Create(arg0 *notestore.WritableNote) (*notestore.Note, error)
- func (m *MockNotestore) Delete(arg0 string) error
- func (m *MockNotestore) EXPECT() *MockNotestoreMockRecorder
- func (m *MockNotestore) Get(arg0 string) (*notestore.Note, error)
- func (m *MockNotestore) GetAll() ([]*notestore.Note, error)
- func (m *MockNotestore) Update(arg0 string, arg1 *notestore.WritableNote) (*notestore.Note, error)
- type MockNotestoreMockRecorder
- func (mr *MockNotestoreMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockNotestoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockNotestoreMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockNotestoreMockRecorder) GetAll() *gomock.Call
- func (mr *MockNotestoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockSectionstore
- func (m *MockSectionstore) Create(arg0 string, arg1 *sectionstore.WritableSection) (*sectionstore.Section, error)
- func (m *MockSectionstore) Delete(arg0, arg1 string) error
- func (m *MockSectionstore) EXPECT() *MockSectionstoreMockRecorder
- func (m *MockSectionstore) Get(arg0, arg1 string) (*sectionstore.Section, error)
- func (m *MockSectionstore) GetAll(arg0 string) ([]*sectionstore.Section, error)
- func (m *MockSectionstore) Update(arg0, arg1 string, arg2 *sectionstore.WritableSection) (*sectionstore.Section, error)
- type MockSectionstoreMockRecorder
- func (mr *MockSectionstoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSectionstoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSectionstoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSectionstoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
- func (mr *MockSectionstoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockUserinfo
- type MockUserinfoMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuth ¶
type MockAuth struct {
// contains filtered or unexported fields
}
MockAuth is a mock of Auth interface
func NewMockAuth ¶
func NewMockAuth(ctrl *gomock.Controller) *MockAuth
NewMockAuth creates a new mock instance
func (*MockAuth) EXPECT ¶
func (m *MockAuth) EXPECT() *MockAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAuthMockRecorder ¶
type MockAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthMockRecorder is the mock recorder for MockAuth
func (*MockAuthMockRecorder) Exchange ¶
func (mr *MockAuthMockRecorder) Exchange(arg0 interface{}) *gomock.Call
Exchange indicates an expected call of Exchange
func (*MockAuthMockRecorder) GetURL ¶
func (mr *MockAuthMockRecorder) GetURL(arg0, arg1 interface{}) *gomock.Call
GetURL indicates an expected call of GetURL
func (*MockAuthMockRecorder) Refresh ¶
func (mr *MockAuthMockRecorder) Refresh(arg0 interface{}) *gomock.Call
Refresh indicates an expected call of Refresh
func (*MockAuthMockRecorder) Revoke ¶
func (mr *MockAuthMockRecorder) Revoke(arg0 interface{}) *gomock.Call
Revoke indicates an expected call of Revoke
type MockContainer ¶
type MockContainer struct {
// contains filtered or unexported fields
}
MockContainer is a mock of Container interface
func NewMockContainer ¶
func NewMockContainer(ctrl *gomock.Controller) *MockContainer
NewMockContainer creates a new mock instance
func (*MockContainer) Add ¶
func (m *MockContainer) Add(arg0 ioc.InstanceType, arg1 ioc.ActivatorFunc)
Add mocks base method
func (*MockContainer) EXPECT ¶
func (m *MockContainer) EXPECT() *MockContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContainer) GetInstance ¶
func (m *MockContainer) GetInstance(arg0 ioc.InstanceType, arg1 ...interface{}) (interface{}, error)
GetInstance mocks base method
type MockContainerMockRecorder ¶
type MockContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerMockRecorder is the mock recorder for MockContainer
func (*MockContainerMockRecorder) Add ¶
func (mr *MockContainerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockContainerMockRecorder) GetInstance ¶
func (mr *MockContainerMockRecorder) GetInstance(arg0 interface{}, arg1 ...interface{}) *gomock.Call
GetInstance indicates an expected call of GetInstance
type MockNotestore ¶
type MockNotestore struct {
// contains filtered or unexported fields
}
MockNotestore is a mock of Notestore interface
func NewMockNotestore ¶
func NewMockNotestore(ctrl *gomock.Controller) *MockNotestore
NewMockNotestore creates a new mock instance
func (*MockNotestore) Create ¶
func (m *MockNotestore) Create(arg0 *notestore.WritableNote) (*notestore.Note, error)
Create mocks base method
func (*MockNotestore) Delete ¶
func (m *MockNotestore) Delete(arg0 string) error
Delete mocks base method
func (*MockNotestore) EXPECT ¶
func (m *MockNotestore) EXPECT() *MockNotestoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNotestore) Get ¶
func (m *MockNotestore) Get(arg0 string) (*notestore.Note, error)
Get mocks base method
func (*MockNotestore) GetAll ¶
func (m *MockNotestore) GetAll() ([]*notestore.Note, error)
GetAll mocks base method
func (*MockNotestore) Update ¶
func (m *MockNotestore) Update(arg0 string, arg1 *notestore.WritableNote) (*notestore.Note, error)
Update mocks base method
type MockNotestoreMockRecorder ¶
type MockNotestoreMockRecorder struct {
// contains filtered or unexported fields
}
MockNotestoreMockRecorder is the mock recorder for MockNotestore
func (*MockNotestoreMockRecorder) Create ¶
func (mr *MockNotestoreMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockNotestoreMockRecorder) Delete ¶
func (mr *MockNotestoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockNotestoreMockRecorder) Get ¶
func (mr *MockNotestoreMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockNotestoreMockRecorder) GetAll ¶
func (mr *MockNotestoreMockRecorder) GetAll() *gomock.Call
GetAll indicates an expected call of GetAll
func (*MockNotestoreMockRecorder) Update ¶
func (mr *MockNotestoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockSectionstore ¶
type MockSectionstore struct {
// contains filtered or unexported fields
}
MockSectionstore is a mock of Sectionstore interface
func NewMockSectionstore ¶
func NewMockSectionstore(ctrl *gomock.Controller) *MockSectionstore
NewMockSectionstore creates a new mock instance
func (*MockSectionstore) Create ¶
func (m *MockSectionstore) Create(arg0 string, arg1 *sectionstore.WritableSection) (*sectionstore.Section, error)
Create mocks base method
func (*MockSectionstore) Delete ¶
func (m *MockSectionstore) Delete(arg0, arg1 string) error
Delete mocks base method
func (*MockSectionstore) EXPECT ¶
func (m *MockSectionstore) EXPECT() *MockSectionstoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSectionstore) Get ¶
func (m *MockSectionstore) Get(arg0, arg1 string) (*sectionstore.Section, error)
Get mocks base method
func (*MockSectionstore) GetAll ¶
func (m *MockSectionstore) GetAll(arg0 string) ([]*sectionstore.Section, error)
GetAll mocks base method
func (*MockSectionstore) Update ¶
func (m *MockSectionstore) Update(arg0, arg1 string, arg2 *sectionstore.WritableSection) (*sectionstore.Section, error)
Update mocks base method
type MockSectionstoreMockRecorder ¶
type MockSectionstoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSectionstoreMockRecorder is the mock recorder for MockSectionstore
func (*MockSectionstoreMockRecorder) Create ¶
func (mr *MockSectionstoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockSectionstoreMockRecorder) Delete ¶
func (mr *MockSectionstoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockSectionstoreMockRecorder) Get ¶
func (mr *MockSectionstoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSectionstoreMockRecorder) GetAll ¶
func (mr *MockSectionstoreMockRecorder) GetAll(arg0 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll
func (*MockSectionstoreMockRecorder) Update ¶
func (mr *MockSectionstoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockUserinfo ¶
type MockUserinfo struct {
// contains filtered or unexported fields
}
MockUserinfo is a mock of Userinfo interface
func NewMockUserinfo ¶
func NewMockUserinfo(ctrl *gomock.Controller) *MockUserinfo
NewMockUserinfo creates a new mock instance
func (*MockUserinfo) EXPECT ¶
func (m *MockUserinfo) EXPECT() *MockUserinfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUserinfoMockRecorder ¶
type MockUserinfoMockRecorder struct {
// contains filtered or unexported fields
}
MockUserinfoMockRecorder is the mock recorder for MockUserinfo
func (*MockUserinfoMockRecorder) Get ¶
func (mr *MockUserinfoMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get