mock_dockerstate

package
v0.0.0-...-e75c356 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_dockerstate is a generated GoMock package.

Index

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) AddEBSAttachment

func (m *MockTaskEngineState) AddEBSAttachment(arg0 *resource.ResourceAttachment)

AddEBSAttachment mocks base method.

func (*MockTaskEngineState) AddENIAttachment

func (m *MockTaskEngineState) AddENIAttachment(arg0 *networkinterface.ENIAttachment)

AddENIAttachment mocks base method.

func (*MockTaskEngineState) AddImageState

func (m *MockTaskEngineState) AddImageState(arg0 *image.ImageState)

AddImageState mocks base method.

func (*MockTaskEngineState) AddPulledContainer

func (m *MockTaskEngineState) AddPulledContainer(arg0 *container.DockerContainer, arg1 *task.Task)

AddPulledContainer 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() []*networkinterface.ENIAttachment

AllENIAttachments mocks base method.

func (*MockTaskEngineState) AllExternalTasks

func (m *MockTaskEngineState) AllExternalTasks() []*task.Task

AllExternalTasks 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) ContainerNameByV3EndpointID

func (m *MockTaskEngineState) ContainerNameByV3EndpointID(arg0 string) (string, bool)

ContainerNameByV3EndpointID mocks base method.

func (*MockTaskEngineState) DockerIDByV3EndpointID

func (m *MockTaskEngineState) DockerIDByV3EndpointID(arg0 string) (string, bool)

DockerIDByV3EndpointID mocks base method.

func (*MockTaskEngineState) ENIByMac

ENIByMac mocks base method.

func (*MockTaskEngineState) EXPECT

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) GetAllEBSAttachments

func (m *MockTaskEngineState) GetAllEBSAttachments() []*resource.ResourceAttachment

GetAllEBSAttachments mocks base method.

func (*MockTaskEngineState) GetAllPendingEBSAttachments

func (m *MockTaskEngineState) GetAllPendingEBSAttachments() []*resource.ResourceAttachment

GetAllPendingEBSAttachments mocks base method.

func (*MockTaskEngineState) GetAllPendingEBSAttachmentsWithKey

func (m *MockTaskEngineState) GetAllPendingEBSAttachmentsWithKey() map[string]*resource.ResourceAttachment

GetAllPendingEBSAttachmentsWithKey mocks base method.

func (*MockTaskEngineState) GetEBSByVolumeId

func (m *MockTaskEngineState) GetEBSByVolumeId(arg0 string) (*resource.ResourceAttachment, bool)

GetEBSByVolumeId mocks base method.

func (*MockTaskEngineState) GetIPAddressByTaskARN

func (m *MockTaskEngineState) GetIPAddressByTaskARN(arg0 string) (string, bool)

GetIPAddressByTaskARN 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) PulledContainerMapByArn

func (m *MockTaskEngineState) PulledContainerMapByArn(arg0 string) (map[string]*container.DockerContainer, bool)

PulledContainerMapByArn mocks base method.

func (*MockTaskEngineState) RemoveEBSAttachment

func (m *MockTaskEngineState) RemoveEBSAttachment(arg0 string)

RemoveEBSAttachment 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) Reset

func (m *MockTaskEngineState) Reset()

Reset 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) AddEBSAttachment

func (mr *MockTaskEngineStateMockRecorder) AddEBSAttachment(arg0 interface{}) *gomock.Call

AddEBSAttachment indicates an expected call of AddEBSAttachment.

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) AddPulledContainer

func (mr *MockTaskEngineStateMockRecorder) AddPulledContainer(arg0, arg1 interface{}) *gomock.Call

AddPulledContainer indicates an expected call of AddPulledContainer.

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) AllExternalTasks

func (mr *MockTaskEngineStateMockRecorder) AllExternalTasks() *gomock.Call

AllExternalTasks indicates an expected call of AllExternalTasks.

func (*MockTaskEngineStateMockRecorder) AllImageStates

func (mr *MockTaskEngineStateMockRecorder) AllImageStates() *gomock.Call

AllImageStates indicates an expected call of AllImageStates.

func (*MockTaskEngineStateMockRecorder) AllTasks

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) ContainerNameByV3EndpointID

func (mr *MockTaskEngineStateMockRecorder) ContainerNameByV3EndpointID(arg0 interface{}) *gomock.Call

ContainerNameByV3EndpointID indicates an expected call of ContainerNameByV3EndpointID.

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) GetAllEBSAttachments

func (mr *MockTaskEngineStateMockRecorder) GetAllEBSAttachments() *gomock.Call

GetAllEBSAttachments indicates an expected call of GetAllEBSAttachments.

func (*MockTaskEngineStateMockRecorder) GetAllPendingEBSAttachments

func (mr *MockTaskEngineStateMockRecorder) GetAllPendingEBSAttachments() *gomock.Call

GetAllPendingEBSAttachments indicates an expected call of GetAllPendingEBSAttachments.

func (*MockTaskEngineStateMockRecorder) GetAllPendingEBSAttachmentsWithKey

func (mr *MockTaskEngineStateMockRecorder) GetAllPendingEBSAttachmentsWithKey() *gomock.Call

GetAllPendingEBSAttachmentsWithKey indicates an expected call of GetAllPendingEBSAttachmentsWithKey.

func (*MockTaskEngineStateMockRecorder) GetEBSByVolumeId

func (mr *MockTaskEngineStateMockRecorder) GetEBSByVolumeId(arg0 interface{}) *gomock.Call

GetEBSByVolumeId indicates an expected call of GetEBSByVolumeId.

func (*MockTaskEngineStateMockRecorder) GetIPAddressByTaskARN

func (mr *MockTaskEngineStateMockRecorder) GetIPAddressByTaskARN(arg0 interface{}) *gomock.Call

GetIPAddressByTaskARN indicates an expected call of GetIPAddressByTaskARN.

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) PulledContainerMapByArn

func (mr *MockTaskEngineStateMockRecorder) PulledContainerMapByArn(arg0 interface{}) *gomock.Call

PulledContainerMapByArn indicates an expected call of PulledContainerMapByArn.

func (*MockTaskEngineStateMockRecorder) RemoveEBSAttachment

func (mr *MockTaskEngineStateMockRecorder) RemoveEBSAttachment(arg0 interface{}) *gomock.Call

RemoveEBSAttachment indicates an expected call of RemoveEBSAttachment.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL