mocks

package
v0.1.0-M4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0, EPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerAPIClient

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

MockContainerAPIClient is a mock of ContainerAPIClient interface

func NewMockContainerAPIClient

func NewMockContainerAPIClient(ctrl *gomock.Controller) *MockContainerAPIClient

NewMockContainerAPIClient creates a new mock instance

func (*MockContainerAPIClient) AttachContainer

func (m *MockContainerAPIClient) AttachContainer(ctx context.Context, container *types.Container, attachConfig *streams.AttachConfig) error

AttachContainer mocks base method

func (*MockContainerAPIClient) CreateContainer

func (m *MockContainerAPIClient) CreateContainer(ctx context.Context, container *types.Container, checkpointDir string) error

CreateContainer mocks base method

func (*MockContainerAPIClient) DestroyContainer

func (m *MockContainerAPIClient) DestroyContainer(ctx context.Context, container *types.Container, stopOpts *types.StopOpts, clearIOs bool) (int64, time.Time, error)

DestroyContainer mocks base method

func (*MockContainerAPIClient) Dispose

func (m *MockContainerAPIClient) Dispose(ctx context.Context) error

Dispose mocks base method

func (*MockContainerAPIClient) EXPECT

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

func (*MockContainerAPIClient) GetContainerInfo

func (m *MockContainerAPIClient) GetContainerInfo(ctx context.Context, id string) (*types.Container, error)

GetContainerInfo mocks base method

func (*MockContainerAPIClient) GetContainerStats

GetContainerStats mocks base method.

func (*MockContainerAPIClient) ListContainers

func (m *MockContainerAPIClient) ListContainers(ctx context.Context) ([]*types.Container, error)

ListContainers mocks base method

func (*MockContainerAPIClient) PauseContainer

func (m *MockContainerAPIClient) PauseContainer(ctx context.Context, container *types.Container) error

PauseContainer mocks base method

func (*MockContainerAPIClient) ReleaseContainerResources

func (m *MockContainerAPIClient) ReleaseContainerResources(ctx context.Context, container *types.Container) error

ReleaseContainerResources mocks base method

func (*MockContainerAPIClient) RestoreContainer

func (m *MockContainerAPIClient) RestoreContainer(ctx context.Context, container *types.Container) error

RestoreContainer mocks base method

func (*MockContainerAPIClient) SetContainerExitHooks

func (m *MockContainerAPIClient) SetContainerExitHooks(hooks ...ctr.ContainerExitHook)

SetContainerExitHooks mocks base method

func (*MockContainerAPIClient) StartContainer

func (m *MockContainerAPIClient) StartContainer(ctx context.Context, container *types.Container, checkpointDir string) (int64, error)

StartContainer mocks base method

func (*MockContainerAPIClient) UnpauseContainer

func (m *MockContainerAPIClient) UnpauseContainer(ctx context.Context, container *types.Container) error

UnpauseContainer mocks base method

func (*MockContainerAPIClient) UpdateContainer

func (m *MockContainerAPIClient) UpdateContainer(ctx context.Context, container *types.Container, reseources *types.Resources) error

UpdateContainer mocks base method

type MockContainerAPIClientMockRecorder

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

MockContainerAPIClientMockRecorder is the mock recorder for MockContainerAPIClient

func (*MockContainerAPIClientMockRecorder) AttachContainer

func (mr *MockContainerAPIClientMockRecorder) AttachContainer(ctx, container, attachConfig interface{}) *gomock.Call

AttachContainer indicates an expected call of AttachContainer

func (*MockContainerAPIClientMockRecorder) CreateContainer

func (mr *MockContainerAPIClientMockRecorder) CreateContainer(ctx, container, checkpointDir interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer

func (*MockContainerAPIClientMockRecorder) DestroyContainer

func (mr *MockContainerAPIClientMockRecorder) DestroyContainer(ctx, container, stopOpts, clearIOs interface{}) *gomock.Call

DestroyContainer indicates an expected call of DestroyContainer

func (*MockContainerAPIClientMockRecorder) Dispose

func (mr *MockContainerAPIClientMockRecorder) Dispose(ctx interface{}) *gomock.Call

Dispose indicates an expected call of Dispose

func (*MockContainerAPIClientMockRecorder) GetContainerInfo

func (mr *MockContainerAPIClientMockRecorder) GetContainerInfo(ctx, id interface{}) *gomock.Call

GetContainerInfo indicates an expected call of GetContainerInfo

func (*MockContainerAPIClientMockRecorder) GetContainerStats

func (mr *MockContainerAPIClientMockRecorder) GetContainerStats(ctx, container interface{}) *gomock.Call

GetContainerStats indicates an expected call of GetContainerStats.

func (*MockContainerAPIClientMockRecorder) ListContainers

func (mr *MockContainerAPIClientMockRecorder) ListContainers(ctx interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers

func (*MockContainerAPIClientMockRecorder) PauseContainer

func (mr *MockContainerAPIClientMockRecorder) PauseContainer(ctx, container interface{}) *gomock.Call

PauseContainer indicates an expected call of PauseContainer

func (*MockContainerAPIClientMockRecorder) ReleaseContainerResources

func (mr *MockContainerAPIClientMockRecorder) ReleaseContainerResources(ctx, container interface{}) *gomock.Call

ReleaseContainerResources indicates an expected call of ReleaseContainerResources

func (*MockContainerAPIClientMockRecorder) RestoreContainer

func (mr *MockContainerAPIClientMockRecorder) RestoreContainer(ctx, container interface{}) *gomock.Call

RestoreContainer indicates an expected call of RestoreContainer

func (*MockContainerAPIClientMockRecorder) SetContainerExitHooks

func (mr *MockContainerAPIClientMockRecorder) SetContainerExitHooks(hooks ...interface{}) *gomock.Call

SetContainerExitHooks indicates an expected call of SetContainerExitHooks

func (*MockContainerAPIClientMockRecorder) StartContainer

func (mr *MockContainerAPIClientMockRecorder) StartContainer(ctx, container, checkpointDir interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer

func (*MockContainerAPIClientMockRecorder) UnpauseContainer

func (mr *MockContainerAPIClientMockRecorder) UnpauseContainer(ctx, container interface{}) *gomock.Call

UnpauseContainer indicates an expected call of UnpauseContainer

func (*MockContainerAPIClientMockRecorder) UpdateContainer

func (mr *MockContainerAPIClientMockRecorder) UpdateContainer(ctx, container interface{}, resources interface{}) *gomock.Call

UpdateContainer indicates an expected call of UpdateContainer

Jump to

Keyboard shortcuts

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