mock_containermetadata

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_containermetadata is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDockerMetadataClient

type MockDockerMetadataClient struct {
	// contains filtered or unexported fields
}

MockDockerMetadataClient is a mock of DockerMetadataClient interface

func NewMockDockerMetadataClient

func NewMockDockerMetadataClient(ctrl *gomock.Controller) *MockDockerMetadataClient

NewMockDockerMetadataClient creates a new mock instance

func (*MockDockerMetadataClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDockerMetadataClient) InspectContainer

func (m *MockDockerMetadataClient) InspectContainer(arg0 context.Context, arg1 string, arg2 time.Duration) (*types.ContainerJSON, error)

InspectContainer mocks base method

type MockDockerMetadataClientMockRecorder added in v1.17.3

type MockDockerMetadataClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockDockerMetadataClientMockRecorder is the mock recorder for MockDockerMetadataClient

func (*MockDockerMetadataClientMockRecorder) InspectContainer added in v1.17.3

func (mr *MockDockerMetadataClientMockRecorder) InspectContainer(arg0, arg1, arg2 interface{}) *gomock.Call

InspectContainer indicates an expected call of InspectContainer

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

MockManager is a mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance

func (*MockManager) Clean

func (m *MockManager) Clean(arg0 string) error

Clean mocks base method

func (*MockManager) Create

func (m *MockManager) Create(arg0 *container.Config, arg1 *container.HostConfig, arg2 *task.Task, arg3 string) error

Create mocks base method

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockManager) SetAvailabilityZone added in v1.23.0

func (m *MockManager) SetAvailabilityZone(arg0 string)

SetAvailabilityZone mocks base method

func (*MockManager) SetContainerInstanceARN

func (m *MockManager) SetContainerInstanceARN(arg0 string)

SetContainerInstanceARN mocks base method

func (*MockManager) SetHostPrivateIPv4Address added in v1.28.0

func (m *MockManager) SetHostPrivateIPv4Address(arg0 string)

SetHostPrivateIPv4Address mocks base method

func (*MockManager) SetHostPublicIPv4Address added in v1.24.0

func (m *MockManager) SetHostPublicIPv4Address(arg0 string)

SetHostPublicIPv4Address mocks base method

func (*MockManager) Update

func (m *MockManager) Update(arg0 context.Context, arg1 string, arg2 *task.Task, arg3 string) error

Update mocks base method

type MockManagerMockRecorder added in v1.17.3

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager

func (*MockManagerMockRecorder) Clean added in v1.17.3

func (mr *MockManagerMockRecorder) Clean(arg0 interface{}) *gomock.Call

Clean indicates an expected call of Clean

func (*MockManagerMockRecorder) Create added in v1.17.3

func (mr *MockManagerMockRecorder) Create(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockManagerMockRecorder) SetAvailabilityZone added in v1.23.0

func (mr *MockManagerMockRecorder) SetAvailabilityZone(arg0 interface{}) *gomock.Call

SetAvailabilityZone indicates an expected call of SetAvailabilityZone

func (*MockManagerMockRecorder) SetContainerInstanceARN added in v1.17.3

func (mr *MockManagerMockRecorder) SetContainerInstanceARN(arg0 interface{}) *gomock.Call

SetContainerInstanceARN indicates an expected call of SetContainerInstanceARN

func (*MockManagerMockRecorder) SetHostPrivateIPv4Address added in v1.28.0

func (mr *MockManagerMockRecorder) SetHostPrivateIPv4Address(arg0 interface{}) *gomock.Call

SetHostPrivateIPv4Address indicates an expected call of SetHostPrivateIPv4Address

func (*MockManagerMockRecorder) SetHostPublicIPv4Address added in v1.24.0

func (mr *MockManagerMockRecorder) SetHostPublicIPv4Address(arg0 interface{}) *gomock.Call

SetHostPublicIPv4Address indicates an expected call of SetHostPublicIPv4Address

func (*MockManagerMockRecorder) Update added in v1.17.3

func (mr *MockManagerMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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