Documentation ¶
Overview ¶
Package mock_serviceconnect is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) AugmentInstanceContainer(arg0 *task.Task, arg1 *container.Container, arg2 *container0.HostConfig) error
- func (m *MockManager) AugmentTaskContainer(arg0 *task.Task, arg1 *container.Container, arg2 *container0.HostConfig) error
- func (m *MockManager) CreateInstanceTask(arg0 *config.Config) (*task.Task, error)
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetAppnetContainerTarballDir() string
- func (m *MockManager) GetCapabilitiesForAppnetInterfaceVersion(arg0 string) ([]string, error)
- func (m *MockManager) GetLoadedAppnetVersion() (string, error)
- func (m *MockManager) GetLoadedImageName() string
- func (m *MockManager) IsLoaded(arg0 dockerapi.DockerClient) (bool, error)
- func (m *MockManager) LoadImage(arg0 context.Context, arg1 *config.Config, arg2 dockerapi.DockerClient) (*types.ImageInspect, error)
- func (m *MockManager) SetECSClient(arg0 ecs.ECSClient, arg1 string)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AugmentInstanceContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AugmentTaskContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) CreateInstanceTask(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetAppnetContainerTarballDir() *gomock.Call
- func (mr *MockManagerMockRecorder) GetCapabilitiesForAppnetInterfaceVersion(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetLoadedAppnetVersion() *gomock.Call
- func (mr *MockManagerMockRecorder) GetLoadedImageName() *gomock.Call
- func (mr *MockManagerMockRecorder) IsLoaded(arg0 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) LoadImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) SetECSClient(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) AugmentInstanceContainer ¶
func (m *MockManager) AugmentInstanceContainer(arg0 *task.Task, arg1 *container.Container, arg2 *container0.HostConfig) error
AugmentInstanceContainer mocks base method.
func (*MockManager) AugmentTaskContainer ¶
func (m *MockManager) AugmentTaskContainer(arg0 *task.Task, arg1 *container.Container, arg2 *container0.HostConfig) error
AugmentTaskContainer mocks base method.
func (*MockManager) CreateInstanceTask ¶
CreateInstanceTask mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) GetAppnetContainerTarballDir ¶
func (m *MockManager) GetAppnetContainerTarballDir() string
GetAppnetContainerTarballDir mocks base method.
func (*MockManager) GetCapabilitiesForAppnetInterfaceVersion ¶
func (m *MockManager) GetCapabilitiesForAppnetInterfaceVersion(arg0 string) ([]string, error)
GetCapabilitiesForAppnetInterfaceVersion mocks base method.
func (*MockManager) GetLoadedAppnetVersion ¶
func (m *MockManager) GetLoadedAppnetVersion() (string, error)
GetLoadedAppnetVersion mocks base method.
func (*MockManager) GetLoadedImageName ¶
func (m *MockManager) GetLoadedImageName() string
GetLoadedImageName mocks base method.
func (*MockManager) IsLoaded ¶
func (m *MockManager) IsLoaded(arg0 dockerapi.DockerClient) (bool, error)
IsLoaded mocks base method.
func (*MockManager) LoadImage ¶
func (m *MockManager) LoadImage(arg0 context.Context, arg1 *config.Config, arg2 dockerapi.DockerClient) (*types.ImageInspect, error)
LoadImage mocks base method.
func (*MockManager) SetECSClient ¶
func (m *MockManager) SetECSClient(arg0 ecs.ECSClient, arg1 string)
SetECSClient mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) AugmentInstanceContainer ¶
func (mr *MockManagerMockRecorder) AugmentInstanceContainer(arg0, arg1, arg2 interface{}) *gomock.Call
AugmentInstanceContainer indicates an expected call of AugmentInstanceContainer.
func (*MockManagerMockRecorder) AugmentTaskContainer ¶
func (mr *MockManagerMockRecorder) AugmentTaskContainer(arg0, arg1, arg2 interface{}) *gomock.Call
AugmentTaskContainer indicates an expected call of AugmentTaskContainer.
func (*MockManagerMockRecorder) CreateInstanceTask ¶
func (mr *MockManagerMockRecorder) CreateInstanceTask(arg0 interface{}) *gomock.Call
CreateInstanceTask indicates an expected call of CreateInstanceTask.
func (*MockManagerMockRecorder) GetAppnetContainerTarballDir ¶
func (mr *MockManagerMockRecorder) GetAppnetContainerTarballDir() *gomock.Call
GetAppnetContainerTarballDir indicates an expected call of GetAppnetContainerTarballDir.
func (*MockManagerMockRecorder) GetCapabilitiesForAppnetInterfaceVersion ¶
func (mr *MockManagerMockRecorder) GetCapabilitiesForAppnetInterfaceVersion(arg0 interface{}) *gomock.Call
GetCapabilitiesForAppnetInterfaceVersion indicates an expected call of GetCapabilitiesForAppnetInterfaceVersion.
func (*MockManagerMockRecorder) GetLoadedAppnetVersion ¶
func (mr *MockManagerMockRecorder) GetLoadedAppnetVersion() *gomock.Call
GetLoadedAppnetVersion indicates an expected call of GetLoadedAppnetVersion.
func (*MockManagerMockRecorder) GetLoadedImageName ¶
func (mr *MockManagerMockRecorder) GetLoadedImageName() *gomock.Call
GetLoadedImageName indicates an expected call of GetLoadedImageName.
func (*MockManagerMockRecorder) IsLoaded ¶
func (mr *MockManagerMockRecorder) IsLoaded(arg0 interface{}) *gomock.Call
IsLoaded indicates an expected call of IsLoaded.
func (*MockManagerMockRecorder) LoadImage ¶
func (mr *MockManagerMockRecorder) LoadImage(arg0, arg1, arg2 interface{}) *gomock.Call
LoadImage indicates an expected call of LoadImage.
func (*MockManagerMockRecorder) SetECSClient ¶
func (mr *MockManagerMockRecorder) SetECSClient(arg0, arg1 interface{}) *gomock.Call
SetECSClient indicates an expected call of SetECSClient.