mocks

package
v0.0.0-...-20679a4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 7 Imported by: 0

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

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

func (*MockAuth) Exchange

func (m *MockAuth) Exchange(arg0 string) (*auth.Token, error)

Exchange mocks base method

func (*MockAuth) GetURL

func (m *MockAuth) GetURL(arg0, arg1 string) string

GetURL mocks base method

func (*MockAuth) Refresh

func (m *MockAuth) Refresh(arg0 string) (*auth.Token, error)

Refresh mocks base method

func (*MockAuth) Revoke

func (m *MockAuth) Revoke(arg0 string) error

Revoke mocks base method

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

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

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

Create mocks base method

func (*MockSectionstore) Delete

func (m *MockSectionstore) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockSectionstore) EXPECT

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

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

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

func (*MockUserinfo) Get

func (m *MockUserinfo) Get() (*userinfo.User, error)

Get mocks base method

type MockUserinfoMockRecorder

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

MockUserinfoMockRecorder is the mock recorder for MockUserinfo

func (*MockUserinfoMockRecorder) Get

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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