Documentation ¶
Overview ¶
Package mock_dockerstate is a generated GoMock package.
Index ¶
- type MockTaskEngineState
- func (m *MockTaskEngineState) AddContainer(arg0 *container.DockerContainer, arg1 *task.Task)
- func (m *MockTaskEngineState) AddENIAttachment(arg0 *eni.ENIAttachment)
- func (m *MockTaskEngineState) AddImageState(arg0 *image.ImageState)
- func (m *MockTaskEngineState) AddTask(arg0 *task.Task)
- func (m *MockTaskEngineState) AddTaskIPAddress(arg0, arg1 string)
- func (m *MockTaskEngineState) AllENIAttachments() []*eni.ENIAttachment
- func (m *MockTaskEngineState) AllImageStates() []*image.ImageState
- func (m *MockTaskEngineState) AllTasks() []*task.Task
- func (m *MockTaskEngineState) ContainerByID(arg0 string) (*container.DockerContainer, bool)
- func (m *MockTaskEngineState) ContainerMapByArn(arg0 string) (map[string]*container.DockerContainer, bool)
- func (m *MockTaskEngineState) DockerIDByV3EndpointID(arg0 string) (string, bool)
- func (m *MockTaskEngineState) ENIByMac(arg0 string) (*eni.ENIAttachment, bool)
- func (m *MockTaskEngineState) EXPECT() *MockTaskEngineStateMockRecorder
- func (m *MockTaskEngineState) GetAllContainerIDs() []string
- func (m *MockTaskEngineState) GetTaskByIPAddress(arg0 string) (string, bool)
- func (m *MockTaskEngineState) MarshalJSON() ([]byte, error)
- func (m *MockTaskEngineState) RemoveENIAttachment(arg0 string)
- func (m *MockTaskEngineState) RemoveImageState(arg0 *image.ImageState)
- func (m *MockTaskEngineState) RemoveTask(arg0 *task.Task)
- func (m *MockTaskEngineState) Reset()
- func (m *MockTaskEngineState) TaskARNByV3EndpointID(arg0 string) (string, bool)
- func (m *MockTaskEngineState) TaskByArn(arg0 string) (*task.Task, bool)
- func (m *MockTaskEngineState) TaskByID(arg0 string) (*task.Task, bool)
- func (m *MockTaskEngineState) TaskByShortID(arg0 string) ([]*task.Task, bool)
- func (m *MockTaskEngineState) UnmarshalJSON(arg0 []byte) error
- type MockTaskEngineStateMockRecorder
- func (mr *MockTaskEngineStateMockRecorder) AddContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AddENIAttachment(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AddImageState(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AddTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AddTaskIPAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AllENIAttachments() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AllImageStates() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) AllTasks() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) ContainerByID(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) ContainerMapByArn(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) DockerIDByV3EndpointID(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) ENIByMac(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) GetAllContainerIDs() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) GetTaskByIPAddress(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) RemoveENIAttachment(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) RemoveImageState(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) RemoveTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) Reset() *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) TaskARNByV3EndpointID(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) TaskByArn(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) TaskByID(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) TaskByShortID(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineStateMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTaskEngineState ¶
type MockTaskEngineState struct {
// contains filtered or unexported fields
}
MockTaskEngineState is a mock of TaskEngineState interface
func NewMockTaskEngineState ¶
func NewMockTaskEngineState(ctrl *gomock.Controller) *MockTaskEngineState
NewMockTaskEngineState creates a new mock instance
func (*MockTaskEngineState) AddContainer ¶
func (m *MockTaskEngineState) AddContainer(arg0 *container.DockerContainer, arg1 *task.Task)
AddContainer mocks base method
func (*MockTaskEngineState) AddENIAttachment ¶
func (m *MockTaskEngineState) AddENIAttachment(arg0 *eni.ENIAttachment)
AddENIAttachment mocks base method
func (*MockTaskEngineState) AddImageState ¶
func (m *MockTaskEngineState) AddImageState(arg0 *image.ImageState)
AddImageState mocks base method
func (*MockTaskEngineState) AddTask ¶
func (m *MockTaskEngineState) AddTask(arg0 *task.Task)
AddTask mocks base method
func (*MockTaskEngineState) AddTaskIPAddress ¶
func (m *MockTaskEngineState) AddTaskIPAddress(arg0, arg1 string)
AddTaskIPAddress mocks base method
func (*MockTaskEngineState) AllENIAttachments ¶
func (m *MockTaskEngineState) AllENIAttachments() []*eni.ENIAttachment
AllENIAttachments mocks base method
func (*MockTaskEngineState) AllImageStates ¶
func (m *MockTaskEngineState) AllImageStates() []*image.ImageState
AllImageStates mocks base method
func (*MockTaskEngineState) AllTasks ¶
func (m *MockTaskEngineState) AllTasks() []*task.Task
AllTasks mocks base method
func (*MockTaskEngineState) ContainerByID ¶
func (m *MockTaskEngineState) ContainerByID(arg0 string) (*container.DockerContainer, bool)
ContainerByID mocks base method
func (*MockTaskEngineState) ContainerMapByArn ¶
func (m *MockTaskEngineState) ContainerMapByArn(arg0 string) (map[string]*container.DockerContainer, bool)
ContainerMapByArn mocks base method
func (*MockTaskEngineState) DockerIDByV3EndpointID ¶
func (m *MockTaskEngineState) DockerIDByV3EndpointID(arg0 string) (string, bool)
DockerIDByV3EndpointID mocks base method
func (*MockTaskEngineState) ENIByMac ¶
func (m *MockTaskEngineState) ENIByMac(arg0 string) (*eni.ENIAttachment, bool)
ENIByMac mocks base method
func (*MockTaskEngineState) EXPECT ¶
func (m *MockTaskEngineState) EXPECT() *MockTaskEngineStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskEngineState) GetAllContainerIDs ¶
func (m *MockTaskEngineState) GetAllContainerIDs() []string
GetAllContainerIDs mocks base method
func (*MockTaskEngineState) GetTaskByIPAddress ¶
func (m *MockTaskEngineState) GetTaskByIPAddress(arg0 string) (string, bool)
GetTaskByIPAddress mocks base method
func (*MockTaskEngineState) MarshalJSON ¶
func (m *MockTaskEngineState) MarshalJSON() ([]byte, error)
MarshalJSON mocks base method
func (*MockTaskEngineState) RemoveENIAttachment ¶
func (m *MockTaskEngineState) RemoveENIAttachment(arg0 string)
RemoveENIAttachment mocks base method
func (*MockTaskEngineState) RemoveImageState ¶
func (m *MockTaskEngineState) RemoveImageState(arg0 *image.ImageState)
RemoveImageState mocks base method
func (*MockTaskEngineState) RemoveTask ¶
func (m *MockTaskEngineState) RemoveTask(arg0 *task.Task)
RemoveTask mocks base method
func (*MockTaskEngineState) TaskARNByV3EndpointID ¶
func (m *MockTaskEngineState) TaskARNByV3EndpointID(arg0 string) (string, bool)
TaskARNByV3EndpointID mocks base method
func (*MockTaskEngineState) TaskByArn ¶
func (m *MockTaskEngineState) TaskByArn(arg0 string) (*task.Task, bool)
TaskByArn mocks base method
func (*MockTaskEngineState) TaskByID ¶
func (m *MockTaskEngineState) TaskByID(arg0 string) (*task.Task, bool)
TaskByID mocks base method
func (*MockTaskEngineState) TaskByShortID ¶
func (m *MockTaskEngineState) TaskByShortID(arg0 string) ([]*task.Task, bool)
TaskByShortID mocks base method
func (*MockTaskEngineState) UnmarshalJSON ¶
func (m *MockTaskEngineState) UnmarshalJSON(arg0 []byte) error
UnmarshalJSON mocks base method
type MockTaskEngineStateMockRecorder ¶
type MockTaskEngineStateMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskEngineStateMockRecorder is the mock recorder for MockTaskEngineState
func (*MockTaskEngineStateMockRecorder) AddContainer ¶
func (mr *MockTaskEngineStateMockRecorder) AddContainer(arg0, arg1 interface{}) *gomock.Call
AddContainer indicates an expected call of AddContainer
func (*MockTaskEngineStateMockRecorder) AddENIAttachment ¶
func (mr *MockTaskEngineStateMockRecorder) AddENIAttachment(arg0 interface{}) *gomock.Call
AddENIAttachment indicates an expected call of AddENIAttachment
func (*MockTaskEngineStateMockRecorder) AddImageState ¶
func (mr *MockTaskEngineStateMockRecorder) AddImageState(arg0 interface{}) *gomock.Call
AddImageState indicates an expected call of AddImageState
func (*MockTaskEngineStateMockRecorder) AddTask ¶
func (mr *MockTaskEngineStateMockRecorder) AddTask(arg0 interface{}) *gomock.Call
AddTask indicates an expected call of AddTask
func (*MockTaskEngineStateMockRecorder) AddTaskIPAddress ¶
func (mr *MockTaskEngineStateMockRecorder) AddTaskIPAddress(arg0, arg1 interface{}) *gomock.Call
AddTaskIPAddress indicates an expected call of AddTaskIPAddress
func (*MockTaskEngineStateMockRecorder) AllENIAttachments ¶
func (mr *MockTaskEngineStateMockRecorder) AllENIAttachments() *gomock.Call
AllENIAttachments indicates an expected call of AllENIAttachments
func (*MockTaskEngineStateMockRecorder) AllImageStates ¶
func (mr *MockTaskEngineStateMockRecorder) AllImageStates() *gomock.Call
AllImageStates indicates an expected call of AllImageStates
func (*MockTaskEngineStateMockRecorder) AllTasks ¶
func (mr *MockTaskEngineStateMockRecorder) AllTasks() *gomock.Call
AllTasks indicates an expected call of AllTasks
func (*MockTaskEngineStateMockRecorder) ContainerByID ¶
func (mr *MockTaskEngineStateMockRecorder) ContainerByID(arg0 interface{}) *gomock.Call
ContainerByID indicates an expected call of ContainerByID
func (*MockTaskEngineStateMockRecorder) ContainerMapByArn ¶
func (mr *MockTaskEngineStateMockRecorder) ContainerMapByArn(arg0 interface{}) *gomock.Call
ContainerMapByArn indicates an expected call of ContainerMapByArn
func (*MockTaskEngineStateMockRecorder) DockerIDByV3EndpointID ¶
func (mr *MockTaskEngineStateMockRecorder) DockerIDByV3EndpointID(arg0 interface{}) *gomock.Call
DockerIDByV3EndpointID indicates an expected call of DockerIDByV3EndpointID
func (*MockTaskEngineStateMockRecorder) ENIByMac ¶
func (mr *MockTaskEngineStateMockRecorder) ENIByMac(arg0 interface{}) *gomock.Call
ENIByMac indicates an expected call of ENIByMac
func (*MockTaskEngineStateMockRecorder) GetAllContainerIDs ¶
func (mr *MockTaskEngineStateMockRecorder) GetAllContainerIDs() *gomock.Call
GetAllContainerIDs indicates an expected call of GetAllContainerIDs
func (*MockTaskEngineStateMockRecorder) GetTaskByIPAddress ¶
func (mr *MockTaskEngineStateMockRecorder) GetTaskByIPAddress(arg0 interface{}) *gomock.Call
GetTaskByIPAddress indicates an expected call of GetTaskByIPAddress
func (*MockTaskEngineStateMockRecorder) MarshalJSON ¶
func (mr *MockTaskEngineStateMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON
func (*MockTaskEngineStateMockRecorder) RemoveENIAttachment ¶
func (mr *MockTaskEngineStateMockRecorder) RemoveENIAttachment(arg0 interface{}) *gomock.Call
RemoveENIAttachment indicates an expected call of RemoveENIAttachment
func (*MockTaskEngineStateMockRecorder) RemoveImageState ¶
func (mr *MockTaskEngineStateMockRecorder) RemoveImageState(arg0 interface{}) *gomock.Call
RemoveImageState indicates an expected call of RemoveImageState
func (*MockTaskEngineStateMockRecorder) RemoveTask ¶
func (mr *MockTaskEngineStateMockRecorder) RemoveTask(arg0 interface{}) *gomock.Call
RemoveTask indicates an expected call of RemoveTask
func (*MockTaskEngineStateMockRecorder) Reset ¶
func (mr *MockTaskEngineStateMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset
func (*MockTaskEngineStateMockRecorder) TaskARNByV3EndpointID ¶
func (mr *MockTaskEngineStateMockRecorder) TaskARNByV3EndpointID(arg0 interface{}) *gomock.Call
TaskARNByV3EndpointID indicates an expected call of TaskARNByV3EndpointID
func (*MockTaskEngineStateMockRecorder) TaskByArn ¶
func (mr *MockTaskEngineStateMockRecorder) TaskByArn(arg0 interface{}) *gomock.Call
TaskByArn indicates an expected call of TaskByArn
func (*MockTaskEngineStateMockRecorder) TaskByID ¶
func (mr *MockTaskEngineStateMockRecorder) TaskByID(arg0 interface{}) *gomock.Call
TaskByID indicates an expected call of TaskByID
func (*MockTaskEngineStateMockRecorder) TaskByShortID ¶
func (mr *MockTaskEngineStateMockRecorder) TaskByShortID(arg0 interface{}) *gomock.Call
TaskByShortID indicates an expected call of TaskByShortID
func (*MockTaskEngineStateMockRecorder) UnmarshalJSON ¶
func (mr *MockTaskEngineStateMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
UnmarshalJSON indicates an expected call of UnmarshalJSON