mock_docker

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_docker is a generated GoMock package.

Package mock_docker is a generated GoMock package.

Package mock_docker is a generated GoMock package.

Package mock_docker is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainer

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

MockContainer is a mock of Container interface.

func NewMockContainer

func NewMockContainer(ctrl *gomock.Controller) *MockContainer

NewMockContainer creates a new mock instance.

func (*MockContainer) AttachIO

func (m *MockContainer) AttachIO(ctx context.Context) (docker.IOStreamer, error)

AttachIO mocks base method.

func (*MockContainer) Create

func (m *MockContainer) Create(ctx context.Context) error

Create mocks base method.

func (*MockContainer) EXPECT

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

func (*MockContainer) Exec

Exec mocks base method.

func (*MockContainer) ID

func (m *MockContainer) ID() string

ID mocks base method.

func (*MockContainer) IOStream

func (m *MockContainer) IOStream() docker.IOStream

IOStream mocks base method.

func (*MockContainer) Inspect

Inspect mocks base method.

func (*MockContainer) Kill

func (m *MockContainer) Kill(ctx context.Context) error

Kill mocks base method.

func (*MockContainer) Remove

func (m *MockContainer) Remove(ctx context.Context) error

Remove mocks base method.

func (*MockContainer) Resize

func (m *MockContainer) Resize(ctx context.Context, width, height uint)

Resize mocks base method.

func (*MockContainer) SetIOStream

func (m *MockContainer) SetIOStream(arg0 docker.IOStream)

SetIOStream mocks base method.

func (*MockContainer) Start

func (m *MockContainer) Start(ctx context.Context, timeout time.Duration) error

Start mocks base method.

func (*MockContainer) Stop

func (m *MockContainer) Stop(ctx context.Context) error

Stop mocks base method.

func (*MockContainer) Wait

func (m *MockContainer) Wait(ctx context.Context) error

Wait mocks base method.

type MockContainerMockRecorder

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

MockContainerMockRecorder is the mock recorder for MockContainer.

func (*MockContainerMockRecorder) AttachIO

func (mr *MockContainerMockRecorder) AttachIO(ctx any) *gomock.Call

AttachIO indicates an expected call of AttachIO.

func (*MockContainerMockRecorder) Create

func (mr *MockContainerMockRecorder) Create(ctx any) *gomock.Call

Create indicates an expected call of Create.

func (*MockContainerMockRecorder) Exec

func (mr *MockContainerMockRecorder) Exec(ctx, cfg any) *gomock.Call

Exec indicates an expected call of Exec.

func (*MockContainerMockRecorder) ID

ID indicates an expected call of ID.

func (*MockContainerMockRecorder) IOStream

func (mr *MockContainerMockRecorder) IOStream() *gomock.Call

IOStream indicates an expected call of IOStream.

func (*MockContainerMockRecorder) Inspect

func (mr *MockContainerMockRecorder) Inspect(ctx any) *gomock.Call

Inspect indicates an expected call of Inspect.

func (*MockContainerMockRecorder) Kill

func (mr *MockContainerMockRecorder) Kill(ctx any) *gomock.Call

Kill indicates an expected call of Kill.

func (*MockContainerMockRecorder) Remove

func (mr *MockContainerMockRecorder) Remove(ctx any) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockContainerMockRecorder) Resize

func (mr *MockContainerMockRecorder) Resize(ctx, width, height any) *gomock.Call

Resize indicates an expected call of Resize.

func (*MockContainerMockRecorder) SetIOStream

func (mr *MockContainerMockRecorder) SetIOStream(arg0 any) *gomock.Call

SetIOStream indicates an expected call of SetIOStream.

func (*MockContainerMockRecorder) Start

func (mr *MockContainerMockRecorder) Start(ctx, timeout any) *gomock.Call

Start indicates an expected call of Start.

func (*MockContainerMockRecorder) Stop

func (mr *MockContainerMockRecorder) Stop(ctx any) *gomock.Call

Stop indicates an expected call of Stop.

func (*MockContainerMockRecorder) Wait

func (mr *MockContainerMockRecorder) Wait(ctx any) *gomock.Call

Wait indicates an expected call of Wait.

type MockExec

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

MockExec is a mock of Exec interface.

func NewMockExec

func NewMockExec(ctrl *gomock.Controller) *MockExec

NewMockExec creates a new mock instance.

func (*MockExec) AttachIO

func (m *MockExec) AttachIO(ctx context.Context) (docker.IOStreamer, error)

AttachIO mocks base method.

func (*MockExec) EXPECT

func (m *MockExec) EXPECT() *MockExecMockRecorder

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

func (*MockExec) ID

func (m *MockExec) ID() string

ID mocks base method.

func (*MockExec) IOStream

func (m *MockExec) IOStream() docker.IOStream

IOStream mocks base method.

func (*MockExec) SetIOStream

func (m *MockExec) SetIOStream(arg0 docker.IOStream)

SetIOStream mocks base method.

func (*MockExec) Start

func (m *MockExec) Start(ctx context.Context) error

Start mocks base method.

func (*MockExec) Wait

func (m *MockExec) Wait(ctx context.Context) error

Wait mocks base method.

type MockExecMockRecorder

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

MockExecMockRecorder is the mock recorder for MockExec.

func (*MockExecMockRecorder) AttachIO

func (mr *MockExecMockRecorder) AttachIO(ctx any) *gomock.Call

AttachIO indicates an expected call of AttachIO.

func (*MockExecMockRecorder) ID

func (mr *MockExecMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*MockExecMockRecorder) IOStream

func (mr *MockExecMockRecorder) IOStream() *gomock.Call

IOStream indicates an expected call of IOStream.

func (*MockExecMockRecorder) SetIOStream

func (mr *MockExecMockRecorder) SetIOStream(arg0 any) *gomock.Call

SetIOStream indicates an expected call of SetIOStream.

func (*MockExecMockRecorder) Start

func (mr *MockExecMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockExecMockRecorder) Wait

func (mr *MockExecMockRecorder) Wait(ctx any) *gomock.Call

Wait indicates an expected call of Wait.

type MockHasIOStream

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

MockHasIOStream is a mock of HasIOStream interface.

func NewMockHasIOStream

func NewMockHasIOStream(ctrl *gomock.Controller) *MockHasIOStream

NewMockHasIOStream creates a new mock instance.

func (*MockHasIOStream) EXPECT

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

func (*MockHasIOStream) IOStream

func (m *MockHasIOStream) IOStream() docker.IOStream

IOStream mocks base method.

func (*MockHasIOStream) SetIOStream

func (m *MockHasIOStream) SetIOStream(arg0 docker.IOStream)

SetIOStream mocks base method.

type MockHasIOStreamMockRecorder

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

MockHasIOStreamMockRecorder is the mock recorder for MockHasIOStream.

func (*MockHasIOStreamMockRecorder) IOStream

func (mr *MockHasIOStreamMockRecorder) IOStream() *gomock.Call

IOStream indicates an expected call of IOStream.

func (*MockHasIOStreamMockRecorder) SetIOStream

func (mr *MockHasIOStreamMockRecorder) SetIOStream(arg0 any) *gomock.Call

SetIOStream indicates an expected call of SetIOStream.

type MockIOStreamer

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

MockIOStreamer is a mock of IOStreamer interface.

func NewMockIOStreamer

func NewMockIOStreamer(ctrl *gomock.Controller) *MockIOStreamer

NewMockIOStreamer creates a new mock instance.

func (*MockIOStreamer) EXPECT

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

func (*MockIOStreamer) Start

func (m *MockIOStreamer) Start()

Start mocks base method.

func (*MockIOStreamer) Wait

func (m *MockIOStreamer) Wait(ctx context.Context) error

Wait mocks base method.

type MockIOStreamerMockRecorder

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

MockIOStreamerMockRecorder is the mock recorder for MockIOStreamer.

func (*MockIOStreamerMockRecorder) Start

func (mr *MockIOStreamerMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockIOStreamerMockRecorder) Wait

func (mr *MockIOStreamerMockRecorder) Wait(ctx any) *gomock.Call

Wait indicates an expected call of Wait.

type MockImage

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

MockImage is a mock of Image interface.

func NewMockImage

func NewMockImage(ctrl *gomock.Controller) *MockImage

NewMockImage creates a new mock instance.

func (*MockImage) EXPECT

func (m *MockImage) EXPECT() *MockImageMockRecorder

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

func (*MockImage) IOStream

func (m *MockImage) IOStream() docker.IOStream

IOStream mocks base method.

func (*MockImage) Inspect

func (m *MockImage) Inspect(ctx context.Context) (types.ImageInspect, error)

Inspect mocks base method.

func (*MockImage) Pull

func (m *MockImage) Pull(ctx context.Context) error

Pull mocks base method.

func (*MockImage) SetIOStream

func (m *MockImage) SetIOStream(arg0 docker.IOStream)

SetIOStream mocks base method.

type MockImageMockRecorder

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

MockImageMockRecorder is the mock recorder for MockImage.

func (*MockImageMockRecorder) IOStream

func (mr *MockImageMockRecorder) IOStream() *gomock.Call

IOStream indicates an expected call of IOStream.

func (*MockImageMockRecorder) Inspect

func (mr *MockImageMockRecorder) Inspect(ctx any) *gomock.Call

Inspect indicates an expected call of Inspect.

func (*MockImageMockRecorder) Pull

func (mr *MockImageMockRecorder) Pull(ctx any) *gomock.Call

Pull indicates an expected call of Pull.

func (*MockImageMockRecorder) SetIOStream

func (mr *MockImageMockRecorder) SetIOStream(arg0 any) *gomock.Call

SetIOStream indicates an expected call of SetIOStream.

Directories

Path Synopsis
Package mock_client is a generated GoMock package.
Package mock_client is a generated GoMock package.

Jump to

Keyboard shortcuts

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