Documentation ¶
Overview ¶
Package mock_dockerstate is a generated GoMock package.
Index ¶
- type MockTaskEngineState
- func (m *MockTaskEngineState) AddContainer(arg0 *api.DockerContainer, arg1 *api.Task)
- func (m *MockTaskEngineState) AddENIAttachment(arg0 *api.ENIAttachment)
- func (m *MockTaskEngineState) AddImageState(arg0 *image.ImageState)
- func (m *MockTaskEngineState) AddTask(arg0 *api.Task)
- func (m *MockTaskEngineState) AddTaskIPAddress(arg0, arg1 string)
- func (m *MockTaskEngineState) AllImageStates() []*image.ImageState
- func (m *MockTaskEngineState) AllTasks() []*api.Task
- func (m *MockTaskEngineState) ContainerByID(arg0 string) (*api.DockerContainer, bool)
- func (m *MockTaskEngineState) ContainerMapByArn(arg0 string) (map[string]*api.DockerContainer, bool)
- func (m *MockTaskEngineState) ENIByMac(arg0 string) (*api.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 *api.Task)
- func (m *MockTaskEngineState) Reset()
- func (m *MockTaskEngineState) TaskByArn(arg0 string) (*api.Task, bool)
- func (m *MockTaskEngineState) TaskByID(arg0 string) (*api.Task, bool)
- func (m *MockTaskEngineState) TaskByShortID(arg0 string) ([]*api.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) 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) 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) 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 *api.DockerContainer, arg1 *api.Task)
AddContainer mocks base method
func (*MockTaskEngineState) AddENIAttachment ¶ added in v1.14.5
func (m *MockTaskEngineState) AddENIAttachment(arg0 *api.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 *api.Task)
AddTask mocks base method
func (*MockTaskEngineState) AddTaskIPAddress ¶ added in v1.17.0
func (m *MockTaskEngineState) AddTaskIPAddress(arg0, arg1 string)
AddTaskIPAddress mocks base method
func (*MockTaskEngineState) AllImageStates ¶
func (m *MockTaskEngineState) AllImageStates() []*image.ImageState
AllImageStates mocks base method
func (*MockTaskEngineState) AllTasks ¶
func (m *MockTaskEngineState) AllTasks() []*api.Task
AllTasks mocks base method
func (*MockTaskEngineState) ContainerByID ¶
func (m *MockTaskEngineState) ContainerByID(arg0 string) (*api.DockerContainer, bool)
ContainerByID mocks base method
func (*MockTaskEngineState) ContainerMapByArn ¶
func (m *MockTaskEngineState) ContainerMapByArn(arg0 string) (map[string]*api.DockerContainer, bool)
ContainerMapByArn mocks base method
func (*MockTaskEngineState) ENIByMac ¶ added in v1.14.5
func (m *MockTaskEngineState) ENIByMac(arg0 string) (*api.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 ¶ added in v1.14.2
func (m *MockTaskEngineState) GetAllContainerIDs() []string
GetAllContainerIDs mocks base method
func (*MockTaskEngineState) GetTaskByIPAddress ¶ added in v1.17.0
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 ¶ added in v1.14.5
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 *api.Task)
RemoveTask mocks base method
func (*MockTaskEngineState) Reset ¶ added in v1.14.4
func (m *MockTaskEngineState) Reset()
Reset mocks base method
func (*MockTaskEngineState) TaskByArn ¶
func (m *MockTaskEngineState) TaskByArn(arg0 string) (*api.Task, bool)
TaskByArn mocks base method
func (*MockTaskEngineState) TaskByID ¶
func (m *MockTaskEngineState) TaskByID(arg0 string) (*api.Task, bool)
TaskByID mocks base method
func (*MockTaskEngineState) TaskByShortID ¶ added in v1.14.2
func (m *MockTaskEngineState) TaskByShortID(arg0 string) ([]*api.Task, bool)
TaskByShortID mocks base method
func (*MockTaskEngineState) UnmarshalJSON ¶
func (m *MockTaskEngineState) UnmarshalJSON(arg0 []byte) error
UnmarshalJSON mocks base method
type MockTaskEngineStateMockRecorder ¶ added in v1.17.3
type MockTaskEngineStateMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskEngineStateMockRecorder is the mock recorder for MockTaskEngineState
func (*MockTaskEngineStateMockRecorder) AddContainer ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AddContainer(arg0, arg1 interface{}) *gomock.Call
AddContainer indicates an expected call of AddContainer
func (*MockTaskEngineStateMockRecorder) AddENIAttachment ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AddENIAttachment(arg0 interface{}) *gomock.Call
AddENIAttachment indicates an expected call of AddENIAttachment
func (*MockTaskEngineStateMockRecorder) AddImageState ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AddImageState(arg0 interface{}) *gomock.Call
AddImageState indicates an expected call of AddImageState
func (*MockTaskEngineStateMockRecorder) AddTask ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AddTask(arg0 interface{}) *gomock.Call
AddTask indicates an expected call of AddTask
func (*MockTaskEngineStateMockRecorder) AddTaskIPAddress ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AddTaskIPAddress(arg0, arg1 interface{}) *gomock.Call
AddTaskIPAddress indicates an expected call of AddTaskIPAddress
func (*MockTaskEngineStateMockRecorder) AllImageStates ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AllImageStates() *gomock.Call
AllImageStates indicates an expected call of AllImageStates
func (*MockTaskEngineStateMockRecorder) AllTasks ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) AllTasks() *gomock.Call
AllTasks indicates an expected call of AllTasks
func (*MockTaskEngineStateMockRecorder) ContainerByID ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) ContainerByID(arg0 interface{}) *gomock.Call
ContainerByID indicates an expected call of ContainerByID
func (*MockTaskEngineStateMockRecorder) ContainerMapByArn ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) ContainerMapByArn(arg0 interface{}) *gomock.Call
ContainerMapByArn indicates an expected call of ContainerMapByArn
func (*MockTaskEngineStateMockRecorder) ENIByMac ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) ENIByMac(arg0 interface{}) *gomock.Call
ENIByMac indicates an expected call of ENIByMac
func (*MockTaskEngineStateMockRecorder) GetAllContainerIDs ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) GetAllContainerIDs() *gomock.Call
GetAllContainerIDs indicates an expected call of GetAllContainerIDs
func (*MockTaskEngineStateMockRecorder) GetTaskByIPAddress ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) GetTaskByIPAddress(arg0 interface{}) *gomock.Call
GetTaskByIPAddress indicates an expected call of GetTaskByIPAddress
func (*MockTaskEngineStateMockRecorder) MarshalJSON ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON
func (*MockTaskEngineStateMockRecorder) RemoveENIAttachment ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) RemoveENIAttachment(arg0 interface{}) *gomock.Call
RemoveENIAttachment indicates an expected call of RemoveENIAttachment
func (*MockTaskEngineStateMockRecorder) RemoveImageState ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) RemoveImageState(arg0 interface{}) *gomock.Call
RemoveImageState indicates an expected call of RemoveImageState
func (*MockTaskEngineStateMockRecorder) RemoveTask ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) RemoveTask(arg0 interface{}) *gomock.Call
RemoveTask indicates an expected call of RemoveTask
func (*MockTaskEngineStateMockRecorder) Reset ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset
func (*MockTaskEngineStateMockRecorder) TaskByArn ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) TaskByArn(arg0 interface{}) *gomock.Call
TaskByArn indicates an expected call of TaskByArn
func (*MockTaskEngineStateMockRecorder) TaskByID ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) TaskByID(arg0 interface{}) *gomock.Call
TaskByID indicates an expected call of TaskByID
func (*MockTaskEngineStateMockRecorder) TaskByShortID ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) TaskByShortID(arg0 interface{}) *gomock.Call
TaskByShortID indicates an expected call of TaskByShortID
func (*MockTaskEngineStateMockRecorder) UnmarshalJSON ¶ added in v1.17.3
func (mr *MockTaskEngineStateMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
UnmarshalJSON indicates an expected call of UnmarshalJSON