mock_dockerstate

package
v1.50.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0 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) AddENIAttachment added in v1.14.5

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) AddPulledContainer added in v1.48.0

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 added in v1.17.0

func (m *MockTaskEngineState) AddTaskIPAddress(arg0, arg1 string)

AddTaskIPAddress mocks base method

func (*MockTaskEngineState) AllENIAttachments added in v1.32.0

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 added in v1.21.0

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

DockerIDByV3EndpointID mocks base method

func (*MockTaskEngineState) ENIByMac added in v1.14.5

func (m *MockTaskEngineState) ENIByMac(arg0 string) (*eni.ENIAttachment, bool)

ENIByMac mocks base method

func (*MockTaskEngineState) EXPECT

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) GetIPAddressByTaskARN added in v1.44.0

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

GetIPAddressByTaskARN 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) PulledContainerMapByArn added in v1.48.0

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

PulledContainerMapByArn 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 *task.Task)

RemoveTask mocks base method

func (*MockTaskEngineState) Reset added in v1.14.4

func (m *MockTaskEngineState) Reset()

Reset mocks base method

func (*MockTaskEngineState) TaskARNByV3EndpointID added in v1.21.0

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 added in v1.14.2

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 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) AddPulledContainer added in v1.48.0

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

AddPulledContainer indicates an expected call of AddPulledContainer

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) AllENIAttachments added in v1.32.0

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

AllENIAttachments indicates an expected call of AllENIAttachments

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

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) DockerIDByV3EndpointID added in v1.21.0

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

DockerIDByV3EndpointID indicates an expected call of DockerIDByV3EndpointID

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) GetIPAddressByTaskARN added in v1.44.0

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

GetIPAddressByTaskARN indicates an expected call of GetIPAddressByTaskARN

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) PulledContainerMapByArn added in v1.48.0

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

PulledContainerMapByArn indicates an expected call of PulledContainerMapByArn

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

Reset indicates an expected call of Reset

func (*MockTaskEngineStateMockRecorder) TaskARNByV3EndpointID added in v1.21.0

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

TaskARNByV3EndpointID indicates an expected call of TaskARNByV3EndpointID

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

Jump to

Keyboard shortcuts

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