Documentation ¶
Overview ¶
Package mock_dockercontroller is a generated GoMock package.
Index ¶
- type MockCommand
- func (m *MockCommand) Create(id, path string) error
- func (m *MockCommand) Down(id, path string) error
- func (m *MockCommand) DownWithRemoveImages(id, path string) error
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) Events(id, path string, evt chan dockercontroller.Event, services ...string) error
- func (m *MockCommand) GetAppStats(id, path string) ([]map[string]interface{}, error)
- func (m *MockCommand) GetContainerConfigByName(containerName string) (map[string]interface{}, error)
- func (m *MockCommand) GetImageDigestByName(imageName string) (string, error)
- func (m *MockCommand) GetImageIDByRepoDigest(imageName string) (string, error)
- func (m *MockCommand) ImagePull(image string) error
- func (m *MockCommand) ImageTag(imageID, repoTags string) error
- func (m *MockCommand) Info() (map[string]interface{}, error)
- func (m *MockCommand) Pause(id, path string) error
- func (m *MockCommand) Ps(id, path string, args ...string) ([]map[string]string, error)
- func (m *MockCommand) Pull(id, path string, services ...string) error
- func (m *MockCommand) Start(id, path string) error
- func (m *MockCommand) Stop(id, path string) error
- func (m *MockCommand) Unpause(id, path string) error
- func (m *MockCommand) Up(id, path string, forceRecreate bool, services ...string) error
- func (m *MockCommand) UpWithEvent(id, path, eventID string, evt chan dockercontroller.Event, services ...string) error
- type MockCommandMockRecorder
- func (mr *MockCommandMockRecorder) Create(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Down(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) DownWithRemoveImages(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Events(id, path, evt interface{}, services ...interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetAppStats(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetContainerConfigByName(containerName interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetImageDigestByName(imageName interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetImageIDByRepoDigest(imageName interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) ImagePull(image interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) ImageTag(imageID, repoTags interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Info() *gomock.Call
- func (mr *MockCommandMockRecorder) Pause(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Ps(id, path interface{}, args ...interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Pull(id, path interface{}, services ...interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Start(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Stop(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Unpause(id, path interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) Up(id, path, forceRecreate interface{}, services ...interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) UpWithEvent(id, path, eventID, evt interface{}, services ...interface{}) *gomock.Call
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) Create ¶
func (m *MockCommand) Create(id, path string) error
Create mocks base method
func (*MockCommand) DownWithRemoveImages ¶
func (m *MockCommand) DownWithRemoveImages(id, path string) error
DownWithRemoveImages 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) Events ¶
func (m *MockCommand) Events(id, path string, evt chan dockercontroller.Event, services ...string) error
Events mocks base method
func (*MockCommand) GetAppStats ¶
func (m *MockCommand) GetAppStats(id, path string) ([]map[string]interface{}, error)
GetAppStats mocks base method
func (*MockCommand) GetContainerConfigByName ¶
func (m *MockCommand) GetContainerConfigByName(containerName string) (map[string]interface{}, error)
GetContainerConfigByName mocks base method
func (*MockCommand) GetImageDigestByName ¶
func (m *MockCommand) GetImageDigestByName(imageName string) (string, error)
GetImageDigestByName mocks base method
func (*MockCommand) GetImageIDByRepoDigest ¶
func (m *MockCommand) GetImageIDByRepoDigest(imageName string) (string, error)
GetImageIDByRepoDigest mocks base method
func (*MockCommand) ImagePull ¶
func (m *MockCommand) ImagePull(image string) error
ImagePull mocks base method
func (*MockCommand) ImageTag ¶
func (m *MockCommand) ImageTag(imageID, repoTags string) error
ImageTag mocks base method
func (*MockCommand) Info ¶
func (m *MockCommand) Info() (map[string]interface{}, error)
Info mocks base method
func (*MockCommand) Pause ¶
func (m *MockCommand) Pause(id, path string) error
Pause mocks base method
func (*MockCommand) Pull ¶
func (m *MockCommand) Pull(id, path string, services ...string) error
Pull mocks base method
func (*MockCommand) Start ¶
func (m *MockCommand) Start(id, path string) error
Start mocks base method
func (*MockCommand) Unpause ¶
func (m *MockCommand) Unpause(id, path string) error
Unpause mocks base method
func (*MockCommand) Up ¶
func (m *MockCommand) Up(id, path string, forceRecreate bool, services ...string) error
Up mocks base method
func (*MockCommand) UpWithEvent ¶
func (m *MockCommand) UpWithEvent(id, path, eventID string, evt chan dockercontroller.Event, services ...string) error
UpWithEvent mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) Create ¶
func (mr *MockCommandMockRecorder) Create(id, path interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCommandMockRecorder) Down ¶
func (mr *MockCommandMockRecorder) Down(id, path interface{}) *gomock.Call
Down indicates an expected call of Down
func (*MockCommandMockRecorder) DownWithRemoveImages ¶
func (mr *MockCommandMockRecorder) DownWithRemoveImages(id, path interface{}) *gomock.Call
DownWithRemoveImages indicates an expected call of DownWithRemoveImages
func (*MockCommandMockRecorder) Events ¶
func (mr *MockCommandMockRecorder) Events(id, path, evt interface{}, services ...interface{}) *gomock.Call
Events indicates an expected call of Events
func (*MockCommandMockRecorder) GetAppStats ¶
func (mr *MockCommandMockRecorder) GetAppStats(id, path interface{}) *gomock.Call
GetAppStats indicates an expected call of GetAppStats
func (*MockCommandMockRecorder) GetContainerConfigByName ¶
func (mr *MockCommandMockRecorder) GetContainerConfigByName(containerName interface{}) *gomock.Call
GetContainerConfigByName indicates an expected call of GetContainerConfigByName
func (*MockCommandMockRecorder) GetImageDigestByName ¶
func (mr *MockCommandMockRecorder) GetImageDigestByName(imageName interface{}) *gomock.Call
GetImageDigestByName indicates an expected call of GetImageDigestByName
func (*MockCommandMockRecorder) GetImageIDByRepoDigest ¶
func (mr *MockCommandMockRecorder) GetImageIDByRepoDigest(imageName interface{}) *gomock.Call
GetImageIDByRepoDigest indicates an expected call of GetImageIDByRepoDigest
func (*MockCommandMockRecorder) ImagePull ¶
func (mr *MockCommandMockRecorder) ImagePull(image interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull
func (*MockCommandMockRecorder) ImageTag ¶
func (mr *MockCommandMockRecorder) ImageTag(imageID, repoTags interface{}) *gomock.Call
ImageTag indicates an expected call of ImageTag
func (*MockCommandMockRecorder) Info ¶
func (mr *MockCommandMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info
func (*MockCommandMockRecorder) Pause ¶
func (mr *MockCommandMockRecorder) Pause(id, path interface{}) *gomock.Call
Pause indicates an expected call of Pause
func (*MockCommandMockRecorder) Ps ¶
func (mr *MockCommandMockRecorder) Ps(id, path interface{}, args ...interface{}) *gomock.Call
Ps indicates an expected call of Ps
func (*MockCommandMockRecorder) Pull ¶
func (mr *MockCommandMockRecorder) Pull(id, path interface{}, services ...interface{}) *gomock.Call
Pull indicates an expected call of Pull
func (*MockCommandMockRecorder) Start ¶
func (mr *MockCommandMockRecorder) Start(id, path interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockCommandMockRecorder) Stop ¶
func (mr *MockCommandMockRecorder) Stop(id, path interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockCommandMockRecorder) Unpause ¶
func (mr *MockCommandMockRecorder) Unpause(id, path interface{}) *gomock.Call
Unpause indicates an expected call of Unpause
func (*MockCommandMockRecorder) Up ¶
func (mr *MockCommandMockRecorder) Up(id, path, forceRecreate interface{}, services ...interface{}) *gomock.Call
Up indicates an expected call of Up
func (*MockCommandMockRecorder) UpWithEvent ¶
func (mr *MockCommandMockRecorder) UpWithEvent(id, path, eventID, evt interface{}, services ...interface{}) *gomock.Call
UpWithEvent indicates an expected call of UpWithEvent