Documentation ¶
Index ¶
- type MockTaskEngineState
- func (_m *MockTaskEngineState) AddContainer(_param0 *api.DockerContainer, _param1 *api.Task)
- func (_m *MockTaskEngineState) AddImageState(_param0 *image.ImageState)
- func (_m *MockTaskEngineState) AddTask(_param0 *api.Task)
- func (_m *MockTaskEngineState) AllImageStates() []*image.ImageState
- func (_m *MockTaskEngineState) AllTasks() []*api.Task
- func (_m *MockTaskEngineState) ContainerByID(_param0 string) (*api.DockerContainer, bool)
- func (_m *MockTaskEngineState) ContainerMapByArn(_param0 string) (map[string]*api.DockerContainer, bool)
- func (_m *MockTaskEngineState) EXPECT() *_MockTaskEngineStateRecorder
- func (_m *MockTaskEngineState) GetAllContainerIDs() []string
- func (_m *MockTaskEngineState) MarshalJSON() ([]byte, error)
- func (_m *MockTaskEngineState) RemoveImageState(_param0 *image.ImageState)
- func (_m *MockTaskEngineState) RemoveTask(_param0 *api.Task)
- func (_m *MockTaskEngineState) TaskByArn(_param0 string) (*api.Task, bool)
- func (_m *MockTaskEngineState) TaskByID(_param0 string) (*api.Task, bool)
- func (_m *MockTaskEngineState) TaskByShortID(_param0 string) ([]*api.Task, bool)
- func (_m *MockTaskEngineState) UnmarshalJSON(_param0 []byte) error
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
}
Mock of TaskEngineState interface
func NewMockTaskEngineState ¶
func NewMockTaskEngineState(ctrl *gomock.Controller) *MockTaskEngineState
func (*MockTaskEngineState) AddContainer ¶
func (_m *MockTaskEngineState) AddContainer(_param0 *api.DockerContainer, _param1 *api.Task)
func (*MockTaskEngineState) AddImageState ¶
func (_m *MockTaskEngineState) AddImageState(_param0 *image.ImageState)
func (*MockTaskEngineState) AddTask ¶
func (_m *MockTaskEngineState) AddTask(_param0 *api.Task)
func (*MockTaskEngineState) AllImageStates ¶
func (_m *MockTaskEngineState) AllImageStates() []*image.ImageState
func (*MockTaskEngineState) AllTasks ¶
func (_m *MockTaskEngineState) AllTasks() []*api.Task
func (*MockTaskEngineState) ContainerByID ¶
func (_m *MockTaskEngineState) ContainerByID(_param0 string) (*api.DockerContainer, bool)
func (*MockTaskEngineState) ContainerMapByArn ¶
func (_m *MockTaskEngineState) ContainerMapByArn(_param0 string) (map[string]*api.DockerContainer, bool)
func (*MockTaskEngineState) EXPECT ¶
func (_m *MockTaskEngineState) EXPECT() *_MockTaskEngineStateRecorder
func (*MockTaskEngineState) GetAllContainerIDs ¶ added in v1.14.2
func (_m *MockTaskEngineState) GetAllContainerIDs() []string
func (*MockTaskEngineState) MarshalJSON ¶
func (_m *MockTaskEngineState) MarshalJSON() ([]byte, error)
func (*MockTaskEngineState) RemoveImageState ¶
func (_m *MockTaskEngineState) RemoveImageState(_param0 *image.ImageState)
func (*MockTaskEngineState) RemoveTask ¶
func (_m *MockTaskEngineState) RemoveTask(_param0 *api.Task)
func (*MockTaskEngineState) TaskByArn ¶
func (_m *MockTaskEngineState) TaskByArn(_param0 string) (*api.Task, bool)
func (*MockTaskEngineState) TaskByID ¶
func (_m *MockTaskEngineState) TaskByID(_param0 string) (*api.Task, bool)
func (*MockTaskEngineState) TaskByShortID ¶ added in v1.14.2
func (_m *MockTaskEngineState) TaskByShortID(_param0 string) ([]*api.Task, bool)
func (*MockTaskEngineState) UnmarshalJSON ¶
func (_m *MockTaskEngineState) UnmarshalJSON(_param0 []byte) error
Click to show internal directories.
Click to hide internal directories.