Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCommand
- func (m *MockCommand) DeleteEvent(eventId string) error
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) GetEvents(appId, imageName string) ([]map[string]interface{}, error)
- func (m *MockCommand) InsertEvent(eventId, appId, imageName string) (map[string]interface{}, error)
- type MockCommandMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance
func (*MockCommand) DeleteEvent ¶
func (m *MockCommand) DeleteEvent(eventId string) error
DeleteEvent mocks base method
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommand) GetEvents ¶
func (m *MockCommand) GetEvents(appId, imageName string) ([]map[string]interface{}, error)
GetEvents mocks base method
func (*MockCommand) InsertEvent ¶
func (m *MockCommand) InsertEvent(eventId, appId, imageName string) (map[string]interface{}, error)
InsertEvent mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) DeleteEvent ¶
func (mr *MockCommandMockRecorder) DeleteEvent(eventId interface{}) *gomock.Call
DeleteEvent indicates an expected call of DeleteEvent
func (*MockCommandMockRecorder) GetEvents ¶
func (mr *MockCommandMockRecorder) GetEvents(appId, imageName interface{}) *gomock.Call
GetEvents indicates an expected call of GetEvents
func (*MockCommandMockRecorder) InsertEvent ¶
func (mr *MockCommandMockRecorder) InsertEvent(eventId, appId, imageName interface{}) *gomock.Call
InsertEvent indicates an expected call of InsertEvent
Click to show internal directories.
Click to hide internal directories.