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 ¶
- type MockContainer
- func (m *MockContainer) AttachIO(ctx context.Context) (docker.IOStreamer, error)
- func (m *MockContainer) Create(ctx context.Context) error
- func (m *MockContainer) EXPECT() *MockContainerMockRecorder
- func (m *MockContainer) Exec(ctx context.Context, cfg docker.ExecConfig) (docker.Exec, error)
- func (m *MockContainer) ID() string
- func (m *MockContainer) IOStream() docker.IOStream
- func (m *MockContainer) Inspect(ctx context.Context) (types.ContainerJSON, error)
- func (m *MockContainer) Kill(ctx context.Context) error
- func (m *MockContainer) Remove(ctx context.Context) error
- func (m *MockContainer) Resize(ctx context.Context, width, height uint)
- func (m *MockContainer) SetIOStream(arg0 docker.IOStream)
- func (m *MockContainer) Start(ctx context.Context, timeout time.Duration) error
- func (m *MockContainer) Stop(ctx context.Context) error
- func (m *MockContainer) Wait(ctx context.Context) error
- type MockContainerMockRecorder
- func (mr *MockContainerMockRecorder) AttachIO(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Create(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Exec(ctx, cfg any) *gomock.Call
- func (mr *MockContainerMockRecorder) ID() *gomock.Call
- func (mr *MockContainerMockRecorder) IOStream() *gomock.Call
- func (mr *MockContainerMockRecorder) Inspect(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Kill(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Remove(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Resize(ctx, width, height any) *gomock.Call
- func (mr *MockContainerMockRecorder) SetIOStream(arg0 any) *gomock.Call
- func (mr *MockContainerMockRecorder) Start(ctx, timeout any) *gomock.Call
- func (mr *MockContainerMockRecorder) Stop(ctx any) *gomock.Call
- func (mr *MockContainerMockRecorder) Wait(ctx any) *gomock.Call
- type MockExec
- func (m *MockExec) AttachIO(ctx context.Context) (docker.IOStreamer, error)
- func (m *MockExec) EXPECT() *MockExecMockRecorder
- func (m *MockExec) ID() string
- func (m *MockExec) IOStream() docker.IOStream
- func (m *MockExec) SetIOStream(arg0 docker.IOStream)
- func (m *MockExec) Start(ctx context.Context) error
- func (m *MockExec) Wait(ctx context.Context) error
- type MockExecMockRecorder
- func (mr *MockExecMockRecorder) AttachIO(ctx any) *gomock.Call
- func (mr *MockExecMockRecorder) ID() *gomock.Call
- func (mr *MockExecMockRecorder) IOStream() *gomock.Call
- func (mr *MockExecMockRecorder) SetIOStream(arg0 any) *gomock.Call
- func (mr *MockExecMockRecorder) Start(ctx any) *gomock.Call
- func (mr *MockExecMockRecorder) Wait(ctx any) *gomock.Call
- type MockHasIOStream
- type MockHasIOStreamMockRecorder
- type MockIOStreamer
- type MockIOStreamerMockRecorder
- type MockImage
- type MockImageMockRecorder
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 ¶
func (m *MockContainer) EXPECT() *MockContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainer) Exec ¶
func (m *MockContainer) Exec(ctx context.Context, cfg docker.ExecConfig) (docker.Exec, error)
Exec mocks base method.
func (*MockContainer) IOStream ¶
func (m *MockContainer) IOStream() docker.IOStream
IOStream mocks base method.
func (*MockContainer) Inspect ¶
func (m *MockContainer) Inspect(ctx context.Context) (types.ContainerJSON, error)
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.
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 ¶
func (mr *MockContainerMockRecorder) ID() *gomock.Call
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.
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) EXPECT ¶
func (m *MockExec) EXPECT() *MockExecMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExec) SetIOStream ¶
SetIOStream 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.
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 ¶
func (m *MockHasIOStream) EXPECT() *MockHasIOStreamMockRecorder
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 ¶
func (m *MockIOStreamer) EXPECT() *MockIOStreamerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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) SetIOStream ¶
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.