Documentation
¶
Overview ¶
Package mock_flow is a generated GoMock package.
Package mock_flow is a generated GoMock package.
Package mock_flow is a generated GoMock package.
Package mock_flow is a generated GoMock package.
Index ¶
- type MockController
- func (m *MockController) Cancel(arg0 string) error
- func (m *MockController) EXPECT() *MockControllerMockRecorder
- func (m *MockController) GetCurrentStep(arg0 string) (steps.Step, int, error)
- func (m *MockController) GetFlow() flow.Flow
- func (m *MockController) GetHandlerURL() string
- func (m *MockController) NextStep(arg0 string, arg1 int, arg2 interface{}) error
- func (m *MockController) SetProperty(arg0, arg1 string, arg2 interface{}) error
- func (m *MockController) Start(arg0 string) error
- type MockControllerMockRecorder
- func (mr *MockControllerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) GetFlow() *gomock.Call
- func (mr *MockControllerMockRecorder) GetHandlerURL() *gomock.Call
- func (mr *MockControllerMockRecorder) NextStep(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) SetProperty(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockControllerMockRecorder) Start(arg0 interface{}) *gomock.Call
- type MockFlow
- type MockFlowMockRecorder
- type MockStep
- func (m *MockStep) EXPECT() *MockStepMockRecorder
- func (m *MockStep) GetFreetextFetcher() freetextfetcher.FreetextFetcher
- func (m *MockStep) GetPropertyName() string
- func (m *MockStep) IsEmpty() bool
- func (m *MockStep) PostSlackAttachment(arg0 string, arg1 int) *model.SlackAttachment
- func (m *MockStep) ResponseSlackAttachment(arg0 interface{}) *model.SlackAttachment
- func (m *MockStep) ShouldSkip(arg0 interface{}) int
- type MockStepMockRecorder
- func (mr *MockStepMockRecorder) GetFreetextFetcher() *gomock.Call
- func (mr *MockStepMockRecorder) GetPropertyName() *gomock.Call
- func (mr *MockStepMockRecorder) IsEmpty() *gomock.Call
- func (mr *MockStepMockRecorder) PostSlackAttachment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStepMockRecorder) ResponseSlackAttachment(arg0 interface{}) *gomock.Call
- func (mr *MockStepMockRecorder) ShouldSkip(arg0 interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) DeleteCurrentStep(arg0 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetCurrentStep(arg0 string) (int, error)
- func (m *MockStore) GetPostID(arg0, arg1 string) (string, error)
- func (m *MockStore) RemovePostID(arg0, arg1 string) error
- func (m *MockStore) SetCurrentStep(arg0 string, arg1 int) error
- func (m *MockStore) SetPostID(arg0, arg1, arg2 string) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) DeleteCurrentStep(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPostID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemovePostID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetCurrentStep(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPostID(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockController ¶
type MockController struct {
// contains filtered or unexported fields
}
MockController is a mock of Controller interface
func NewMockController ¶
func NewMockController(ctrl *gomock.Controller) *MockController
NewMockController creates a new mock instance
func (*MockController) Cancel ¶
func (m *MockController) Cancel(arg0 string) error
Cancel mocks base method
func (*MockController) EXPECT ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockController) GetCurrentStep ¶
GetCurrentStep mocks base method
func (*MockController) GetFlow ¶
func (m *MockController) GetFlow() flow.Flow
GetFlow mocks base method
func (*MockController) GetHandlerURL ¶
func (m *MockController) GetHandlerURL() string
GetHandlerURL mocks base method
func (*MockController) NextStep ¶
func (m *MockController) NextStep(arg0 string, arg1 int, arg2 interface{}) error
NextStep mocks base method
func (*MockController) SetProperty ¶
func (m *MockController) SetProperty(arg0, arg1 string, arg2 interface{}) error
SetProperty mocks base method
func (*MockController) Start ¶
func (m *MockController) Start(arg0 string) error
Start mocks base method
type MockControllerMockRecorder ¶
type MockControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockControllerMockRecorder is the mock recorder for MockController
func (*MockControllerMockRecorder) Cancel ¶
func (mr *MockControllerMockRecorder) Cancel(arg0 interface{}) *gomock.Call
Cancel indicates an expected call of Cancel
func (*MockControllerMockRecorder) GetCurrentStep ¶
func (mr *MockControllerMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call
GetCurrentStep indicates an expected call of GetCurrentStep
func (*MockControllerMockRecorder) GetFlow ¶
func (mr *MockControllerMockRecorder) GetFlow() *gomock.Call
GetFlow indicates an expected call of GetFlow
func (*MockControllerMockRecorder) GetHandlerURL ¶
func (mr *MockControllerMockRecorder) GetHandlerURL() *gomock.Call
GetHandlerURL indicates an expected call of GetHandlerURL
func (*MockControllerMockRecorder) NextStep ¶
func (mr *MockControllerMockRecorder) NextStep(arg0, arg1, arg2 interface{}) *gomock.Call
NextStep indicates an expected call of NextStep
func (*MockControllerMockRecorder) SetProperty ¶
func (mr *MockControllerMockRecorder) SetProperty(arg0, arg1, arg2 interface{}) *gomock.Call
SetProperty indicates an expected call of SetProperty
func (*MockControllerMockRecorder) Start ¶
func (mr *MockControllerMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
type MockFlow ¶
type MockFlow struct {
// contains filtered or unexported fields
}
MockFlow is a mock of Flow interface
func NewMockFlow ¶
func NewMockFlow(ctrl *gomock.Controller) *MockFlow
NewMockFlow creates a new mock instance
func (*MockFlow) EXPECT ¶
func (m *MockFlow) EXPECT() *MockFlowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockFlowMockRecorder ¶
type MockFlowMockRecorder struct {
// contains filtered or unexported fields
}
MockFlowMockRecorder is the mock recorder for MockFlow
func (*MockFlowMockRecorder) FlowDone ¶
func (mr *MockFlowMockRecorder) FlowDone(arg0 interface{}) *gomock.Call
FlowDone indicates an expected call of FlowDone
func (*MockFlowMockRecorder) Length ¶
func (mr *MockFlowMockRecorder) Length() *gomock.Call
Length indicates an expected call of Length
func (*MockFlowMockRecorder) Step ¶
func (mr *MockFlowMockRecorder) Step(arg0 interface{}) *gomock.Call
Step indicates an expected call of Step
func (*MockFlowMockRecorder) Steps ¶
func (mr *MockFlowMockRecorder) Steps() *gomock.Call
Steps indicates an expected call of Steps
func (*MockFlowMockRecorder) URL ¶
func (mr *MockFlowMockRecorder) URL() *gomock.Call
URL indicates an expected call of URL
type MockStep ¶
type MockStep struct {
// contains filtered or unexported fields
}
MockStep is a mock of Step interface
func NewMockStep ¶
func NewMockStep(ctrl *gomock.Controller) *MockStep
NewMockStep creates a new mock instance
func (*MockStep) EXPECT ¶
func (m *MockStep) EXPECT() *MockStepMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStep) GetFreetextFetcher ¶
func (m *MockStep) GetFreetextFetcher() freetextfetcher.FreetextFetcher
GetFreetextFetcher mocks base method
func (*MockStep) GetPropertyName ¶
GetPropertyName mocks base method
func (*MockStep) PostSlackAttachment ¶
func (m *MockStep) PostSlackAttachment(arg0 string, arg1 int) *model.SlackAttachment
PostSlackAttachment mocks base method
func (*MockStep) ResponseSlackAttachment ¶
func (m *MockStep) ResponseSlackAttachment(arg0 interface{}) *model.SlackAttachment
ResponseSlackAttachment mocks base method
func (*MockStep) ShouldSkip ¶
ShouldSkip mocks base method
type MockStepMockRecorder ¶
type MockStepMockRecorder struct {
// contains filtered or unexported fields
}
MockStepMockRecorder is the mock recorder for MockStep
func (*MockStepMockRecorder) GetFreetextFetcher ¶
func (mr *MockStepMockRecorder) GetFreetextFetcher() *gomock.Call
GetFreetextFetcher indicates an expected call of GetFreetextFetcher
func (*MockStepMockRecorder) GetPropertyName ¶
func (mr *MockStepMockRecorder) GetPropertyName() *gomock.Call
GetPropertyName indicates an expected call of GetPropertyName
func (*MockStepMockRecorder) IsEmpty ¶
func (mr *MockStepMockRecorder) IsEmpty() *gomock.Call
IsEmpty indicates an expected call of IsEmpty
func (*MockStepMockRecorder) PostSlackAttachment ¶
func (mr *MockStepMockRecorder) PostSlackAttachment(arg0, arg1 interface{}) *gomock.Call
PostSlackAttachment indicates an expected call of PostSlackAttachment
func (*MockStepMockRecorder) ResponseSlackAttachment ¶
func (mr *MockStepMockRecorder) ResponseSlackAttachment(arg0 interface{}) *gomock.Call
ResponseSlackAttachment indicates an expected call of ResponseSlackAttachment
func (*MockStepMockRecorder) ShouldSkip ¶
func (mr *MockStepMockRecorder) ShouldSkip(arg0 interface{}) *gomock.Call
ShouldSkip indicates an expected call of ShouldSkip
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) DeleteCurrentStep ¶
DeleteCurrentStep 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) GetCurrentStep ¶
GetCurrentStep mocks base method
func (*MockStore) RemovePostID ¶
RemovePostID mocks base method
func (*MockStore) SetCurrentStep ¶
SetCurrentStep mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) DeleteCurrentStep ¶
func (mr *MockStoreMockRecorder) DeleteCurrentStep(arg0 interface{}) *gomock.Call
DeleteCurrentStep indicates an expected call of DeleteCurrentStep
func (*MockStoreMockRecorder) GetCurrentStep ¶
func (mr *MockStoreMockRecorder) GetCurrentStep(arg0 interface{}) *gomock.Call
GetCurrentStep indicates an expected call of GetCurrentStep
func (*MockStoreMockRecorder) GetPostID ¶
func (mr *MockStoreMockRecorder) GetPostID(arg0, arg1 interface{}) *gomock.Call
GetPostID indicates an expected call of GetPostID
func (*MockStoreMockRecorder) RemovePostID ¶
func (mr *MockStoreMockRecorder) RemovePostID(arg0, arg1 interface{}) *gomock.Call
RemovePostID indicates an expected call of RemovePostID
func (*MockStoreMockRecorder) SetCurrentStep ¶
func (mr *MockStoreMockRecorder) SetCurrentStep(arg0, arg1 interface{}) *gomock.Call
SetCurrentStep indicates an expected call of SetCurrentStep
func (*MockStoreMockRecorder) SetPostID ¶
func (mr *MockStoreMockRecorder) SetPostID(arg0, arg1, arg2 interface{}) *gomock.Call
SetPostID indicates an expected call of SetPostID