Documentation ¶
Overview ¶
Package mock_panel is a generated GoMock package.
Package mock_panel is a generated GoMock package.
Package mock_panel is a generated GoMock package.
Index ¶
- type MockPanel
- func (m *MockPanel) Clear(arg0 string) error
- func (m *MockPanel) EXPECT() *MockPanelMockRecorder
- func (m *MockPanel) GetSettingIDs() []string
- func (m *MockPanel) Print(arg0 string)
- func (m *MockPanel) Set(arg0, arg1 string, arg2 interface{}) error
- func (m *MockPanel) ToPost(arg0 string) (*model.Post, error)
- func (m *MockPanel) URL() string
- type MockPanelMockRecorder
- func (mr *MockPanelMockRecorder) Clear(arg0 interface{}) *gomock.Call
- func (mr *MockPanelMockRecorder) GetSettingIDs() *gomock.Call
- func (mr *MockPanelMockRecorder) Print(arg0 interface{}) *gomock.Call
- func (mr *MockPanelMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPanelMockRecorder) ToPost(arg0 interface{}) *gomock.Call
- func (mr *MockPanelMockRecorder) URL() *gomock.Call
- type MockPanelStore
- type MockPanelStoreMockRecorder
- type MockSetting
- func (m *MockSetting) EXPECT() *MockSettingMockRecorder
- func (m *MockSetting) Get(arg0 string) (interface{}, error)
- func (m *MockSetting) GetDependency() string
- func (m *MockSetting) GetDescription() string
- func (m *MockSetting) GetFreetextFetcher() freetext_fetcher.FreetextFetcher
- func (m *MockSetting) GetID() string
- func (m *MockSetting) GetSlackAttachments(arg0, arg1 string, arg2 bool) (*model.SlackAttachment, error)
- func (m *MockSetting) GetTitle() string
- func (m *MockSetting) IsDisabled(arg0 interface{}) bool
- func (m *MockSetting) Set(arg0 string, arg1 interface{}) error
- type MockSettingMockRecorder
- func (mr *MockSettingMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockSettingMockRecorder) GetDependency() *gomock.Call
- func (mr *MockSettingMockRecorder) GetDescription() *gomock.Call
- func (mr *MockSettingMockRecorder) GetFreetextFetcher() *gomock.Call
- func (mr *MockSettingMockRecorder) GetID() *gomock.Call
- func (mr *MockSettingMockRecorder) GetSlackAttachments(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSettingMockRecorder) GetTitle() *gomock.Call
- func (mr *MockSettingMockRecorder) IsDisabled(arg0 interface{}) *gomock.Call
- func (mr *MockSettingMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPanel ¶
type MockPanel struct {
// contains filtered or unexported fields
}
MockPanel is a mock of Panel interface
func NewMockPanel ¶
func NewMockPanel(ctrl *gomock.Controller) *MockPanel
NewMockPanel creates a new mock instance
func (*MockPanel) EXPECT ¶
func (m *MockPanel) EXPECT() *MockPanelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPanel) GetSettingIDs ¶
GetSettingIDs mocks base method
type MockPanelMockRecorder ¶
type MockPanelMockRecorder struct {
// contains filtered or unexported fields
}
MockPanelMockRecorder is the mock recorder for MockPanel
func (*MockPanelMockRecorder) Clear ¶
func (mr *MockPanelMockRecorder) Clear(arg0 interface{}) *gomock.Call
Clear indicates an expected call of Clear
func (*MockPanelMockRecorder) GetSettingIDs ¶
func (mr *MockPanelMockRecorder) GetSettingIDs() *gomock.Call
GetSettingIDs indicates an expected call of GetSettingIDs
func (*MockPanelMockRecorder) Print ¶
func (mr *MockPanelMockRecorder) Print(arg0 interface{}) *gomock.Call
Print indicates an expected call of Print
func (*MockPanelMockRecorder) Set ¶
func (mr *MockPanelMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockPanelMockRecorder) ToPost ¶
func (mr *MockPanelMockRecorder) ToPost(arg0 interface{}) *gomock.Call
ToPost indicates an expected call of ToPost
func (*MockPanelMockRecorder) URL ¶
func (mr *MockPanelMockRecorder) URL() *gomock.Call
URL indicates an expected call of URL
type MockPanelStore ¶
type MockPanelStore struct {
// contains filtered or unexported fields
}
MockPanelStore is a mock of PanelStore interface
func NewMockPanelStore ¶
func NewMockPanelStore(ctrl *gomock.Controller) *MockPanelStore
NewMockPanelStore creates a new mock instance
func (*MockPanelStore) DeletePanelPostID ¶
func (m *MockPanelStore) DeletePanelPostID(arg0 string) error
DeletePanelPostID mocks base method
func (*MockPanelStore) EXPECT ¶
func (m *MockPanelStore) EXPECT() *MockPanelStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPanelStore) GetPanelPostID ¶
func (m *MockPanelStore) GetPanelPostID(arg0 string) (string, error)
GetPanelPostID mocks base method
func (*MockPanelStore) SetPanelPostID ¶
func (m *MockPanelStore) SetPanelPostID(arg0, arg1 string) error
SetPanelPostID mocks base method
type MockPanelStoreMockRecorder ¶
type MockPanelStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockPanelStoreMockRecorder is the mock recorder for MockPanelStore
func (*MockPanelStoreMockRecorder) DeletePanelPostID ¶
func (mr *MockPanelStoreMockRecorder) DeletePanelPostID(arg0 interface{}) *gomock.Call
DeletePanelPostID indicates an expected call of DeletePanelPostID
func (*MockPanelStoreMockRecorder) GetPanelPostID ¶
func (mr *MockPanelStoreMockRecorder) GetPanelPostID(arg0 interface{}) *gomock.Call
GetPanelPostID indicates an expected call of GetPanelPostID
func (*MockPanelStoreMockRecorder) SetPanelPostID ¶
func (mr *MockPanelStoreMockRecorder) SetPanelPostID(arg0, arg1 interface{}) *gomock.Call
SetPanelPostID indicates an expected call of SetPanelPostID
type MockSetting ¶
type MockSetting struct {
// contains filtered or unexported fields
}
MockSetting is a mock of Setting interface
func NewMockSetting ¶
func NewMockSetting(ctrl *gomock.Controller) *MockSetting
NewMockSetting creates a new mock instance
func (*MockSetting) EXPECT ¶
func (m *MockSetting) EXPECT() *MockSettingMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSetting) Get ¶
func (m *MockSetting) Get(arg0 string) (interface{}, error)
Get mocks base method
func (*MockSetting) GetDependency ¶
func (m *MockSetting) GetDependency() string
GetDependency mocks base method
func (*MockSetting) GetDescription ¶
func (m *MockSetting) GetDescription() string
GetDescription mocks base method
func (*MockSetting) GetFreetextFetcher ¶ added in v0.1.9
func (m *MockSetting) GetFreetextFetcher() freetext_fetcher.FreetextFetcher
GetFreetextFetcher mocks base method
func (*MockSetting) GetSlackAttachments ¶
func (m *MockSetting) GetSlackAttachments(arg0, arg1 string, arg2 bool) (*model.SlackAttachment, error)
GetSlackAttachments mocks base method
func (*MockSetting) IsDisabled ¶
func (m *MockSetting) IsDisabled(arg0 interface{}) bool
IsDisabled mocks base method
func (*MockSetting) Set ¶
func (m *MockSetting) Set(arg0 string, arg1 interface{}) error
Set mocks base method
type MockSettingMockRecorder ¶
type MockSettingMockRecorder struct {
// contains filtered or unexported fields
}
MockSettingMockRecorder is the mock recorder for MockSetting
func (*MockSettingMockRecorder) Get ¶
func (mr *MockSettingMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSettingMockRecorder) GetDependency ¶
func (mr *MockSettingMockRecorder) GetDependency() *gomock.Call
GetDependency indicates an expected call of GetDependency
func (*MockSettingMockRecorder) GetDescription ¶
func (mr *MockSettingMockRecorder) GetDescription() *gomock.Call
GetDescription indicates an expected call of GetDescription
func (*MockSettingMockRecorder) GetFreetextFetcher ¶ added in v0.1.9
func (mr *MockSettingMockRecorder) GetFreetextFetcher() *gomock.Call
GetFreetextFetcher indicates an expected call of GetFreetextFetcher
func (*MockSettingMockRecorder) GetID ¶
func (mr *MockSettingMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID
func (*MockSettingMockRecorder) GetSlackAttachments ¶
func (mr *MockSettingMockRecorder) GetSlackAttachments(arg0, arg1, arg2 interface{}) *gomock.Call
GetSlackAttachments indicates an expected call of GetSlackAttachments
func (*MockSettingMockRecorder) GetTitle ¶
func (mr *MockSettingMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle
func (*MockSettingMockRecorder) IsDisabled ¶
func (mr *MockSettingMockRecorder) IsDisabled(arg0 interface{}) *gomock.Call
IsDisabled indicates an expected call of IsDisabled
func (*MockSettingMockRecorder) Set ¶
func (mr *MockSettingMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
Set indicates an expected call of Set