Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDockerClient
- func (fake *FakeDockerClient) ContainerCreate(arg1 context.Context, arg2 *container.Config, arg3 *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error)
- func (fake *FakeDockerClient) ContainerCreateArgsForCall(i int) (context.Context, *container.Config, *container.HostConfig, ...)
- func (fake *FakeDockerClient) ContainerCreateCallCount() int
- func (fake *FakeDockerClient) ContainerCreateCalls(...)
- func (fake *FakeDockerClient) ContainerCreateReturns(result1 container.ContainerCreateCreatedBody, result2 error)
- func (fake *FakeDockerClient) ContainerCreateReturnsOnCall(i int, result1 container.ContainerCreateCreatedBody, result2 error)
- func (fake *FakeDockerClient) ContainerInspect(arg1 context.Context, arg2 string) (types.ContainerJSON, error)
- func (fake *FakeDockerClient) ContainerInspectArgsForCall(i int) (context.Context, string)
- func (fake *FakeDockerClient) ContainerInspectCallCount() int
- func (fake *FakeDockerClient) ContainerInspectCalls(stub func(context.Context, string) (types.ContainerJSON, error))
- func (fake *FakeDockerClient) ContainerInspectReturns(result1 types.ContainerJSON, result2 error)
- func (fake *FakeDockerClient) ContainerInspectReturnsOnCall(i int, result1 types.ContainerJSON, result2 error)
- func (fake *FakeDockerClient) ContainerList(arg1 context.Context, arg2 types.ContainerListOptions) ([]types.Container, error)
- func (fake *FakeDockerClient) ContainerListArgsForCall(i int) (context.Context, types.ContainerListOptions)
- func (fake *FakeDockerClient) ContainerListCallCount() int
- func (fake *FakeDockerClient) ContainerListCalls(...)
- func (fake *FakeDockerClient) ContainerListReturns(result1 []types.Container, result2 error)
- func (fake *FakeDockerClient) ContainerListReturnsOnCall(i int, result1 []types.Container, result2 error)
- func (fake *FakeDockerClient) ContainerLogs(arg1 context.Context, arg2 string, arg3 types.ContainerLogsOptions) (io.ReadCloser, error)
- func (fake *FakeDockerClient) ContainerLogsArgsForCall(i int) (context.Context, string, types.ContainerLogsOptions)
- func (fake *FakeDockerClient) ContainerLogsCallCount() int
- func (fake *FakeDockerClient) ContainerLogsCalls(...)
- func (fake *FakeDockerClient) ContainerLogsReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeDockerClient) ContainerLogsReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeDockerClient) ContainerStart(arg1 context.Context, arg2 string, arg3 types.ContainerStartOptions) error
- func (fake *FakeDockerClient) ContainerStartArgsForCall(i int) (context.Context, string, types.ContainerStartOptions)
- func (fake *FakeDockerClient) ContainerStartCallCount() int
- func (fake *FakeDockerClient) ContainerStartCalls(stub func(context.Context, string, types.ContainerStartOptions) error)
- func (fake *FakeDockerClient) ContainerStartReturns(result1 error)
- func (fake *FakeDockerClient) ContainerStartReturnsOnCall(i int, result1 error)
- func (fake *FakeDockerClient) ContainerStop(arg1 context.Context, arg2 string, arg3 *time.Duration) error
- func (fake *FakeDockerClient) ContainerStopArgsForCall(i int) (context.Context, string, *time.Duration)
- func (fake *FakeDockerClient) ContainerStopCallCount() int
- func (fake *FakeDockerClient) ContainerStopCalls(stub func(context.Context, string, *time.Duration) error)
- func (fake *FakeDockerClient) ContainerStopReturns(result1 error)
- func (fake *FakeDockerClient) ContainerStopReturnsOnCall(i int, result1 error)
- func (fake *FakeDockerClient) ImageBuild(arg1 context.Context, arg2 io.Reader, arg3 types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (fake *FakeDockerClient) ImageBuildArgsForCall(i int) (context.Context, io.Reader, types.ImageBuildOptions)
- func (fake *FakeDockerClient) ImageBuildCallCount() int
- func (fake *FakeDockerClient) ImageBuildCalls(...)
- func (fake *FakeDockerClient) ImageBuildReturns(result1 types.ImageBuildResponse, result2 error)
- func (fake *FakeDockerClient) ImageBuildReturnsOnCall(i int, result1 types.ImageBuildResponse, result2 error)
- func (fake *FakeDockerClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDockerClient ¶
type FakeDockerClient struct { ContainerCreateStub func(context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string) (container.ContainerCreateCreatedBody, error) ContainerInspectStub func(context.Context, string) (types.ContainerJSON, error) ContainerListStub func(context.Context, types.ContainerListOptions) ([]types.Container, error) ContainerLogsStub func(context.Context, string, types.ContainerLogsOptions) (io.ReadCloser, error) ContainerStartStub func(context.Context, string, types.ContainerStartOptions) error ContainerStopStub func(context.Context, string, *time.Duration) error ImageBuildStub func(context.Context, io.Reader, types.ImageBuildOptions) (types.ImageBuildResponse, error) // contains filtered or unexported fields }
func (*FakeDockerClient) ContainerCreate ¶
func (fake *FakeDockerClient) ContainerCreate(arg1 context.Context, arg2 *container.Config, arg3 *container.HostConfig, arg4 *network.NetworkingConfig, arg5 *v1.Platform, arg6 string) (container.ContainerCreateCreatedBody, error)
func (*FakeDockerClient) ContainerCreateArgsForCall ¶
func (fake *FakeDockerClient) ContainerCreateArgsForCall(i int) (context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string)
func (*FakeDockerClient) ContainerCreateCallCount ¶
func (fake *FakeDockerClient) ContainerCreateCallCount() int
func (*FakeDockerClient) ContainerCreateCalls ¶
func (fake *FakeDockerClient) ContainerCreateCalls(stub func(context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string) (container.ContainerCreateCreatedBody, error))
func (*FakeDockerClient) ContainerCreateReturns ¶
func (fake *FakeDockerClient) ContainerCreateReturns(result1 container.ContainerCreateCreatedBody, result2 error)
func (*FakeDockerClient) ContainerCreateReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerCreateReturnsOnCall(i int, result1 container.ContainerCreateCreatedBody, result2 error)
func (*FakeDockerClient) ContainerInspect ¶
func (fake *FakeDockerClient) ContainerInspect(arg1 context.Context, arg2 string) (types.ContainerJSON, error)
func (*FakeDockerClient) ContainerInspectArgsForCall ¶
func (fake *FakeDockerClient) ContainerInspectArgsForCall(i int) (context.Context, string)
func (*FakeDockerClient) ContainerInspectCallCount ¶
func (fake *FakeDockerClient) ContainerInspectCallCount() int
func (*FakeDockerClient) ContainerInspectCalls ¶
func (fake *FakeDockerClient) ContainerInspectCalls(stub func(context.Context, string) (types.ContainerJSON, error))
func (*FakeDockerClient) ContainerInspectReturns ¶
func (fake *FakeDockerClient) ContainerInspectReturns(result1 types.ContainerJSON, result2 error)
func (*FakeDockerClient) ContainerInspectReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerInspectReturnsOnCall(i int, result1 types.ContainerJSON, result2 error)
func (*FakeDockerClient) ContainerList ¶
func (fake *FakeDockerClient) ContainerList(arg1 context.Context, arg2 types.ContainerListOptions) ([]types.Container, error)
func (*FakeDockerClient) ContainerListArgsForCall ¶
func (fake *FakeDockerClient) ContainerListArgsForCall(i int) (context.Context, types.ContainerListOptions)
func (*FakeDockerClient) ContainerListCallCount ¶
func (fake *FakeDockerClient) ContainerListCallCount() int
func (*FakeDockerClient) ContainerListCalls ¶
func (fake *FakeDockerClient) ContainerListCalls(stub func(context.Context, types.ContainerListOptions) ([]types.Container, error))
func (*FakeDockerClient) ContainerListReturns ¶
func (fake *FakeDockerClient) ContainerListReturns(result1 []types.Container, result2 error)
func (*FakeDockerClient) ContainerListReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerListReturnsOnCall(i int, result1 []types.Container, result2 error)
func (*FakeDockerClient) ContainerLogs ¶
func (fake *FakeDockerClient) ContainerLogs(arg1 context.Context, arg2 string, arg3 types.ContainerLogsOptions) (io.ReadCloser, error)
func (*FakeDockerClient) ContainerLogsArgsForCall ¶
func (fake *FakeDockerClient) ContainerLogsArgsForCall(i int) (context.Context, string, types.ContainerLogsOptions)
func (*FakeDockerClient) ContainerLogsCallCount ¶
func (fake *FakeDockerClient) ContainerLogsCallCount() int
func (*FakeDockerClient) ContainerLogsCalls ¶
func (fake *FakeDockerClient) ContainerLogsCalls(stub func(context.Context, string, types.ContainerLogsOptions) (io.ReadCloser, error))
func (*FakeDockerClient) ContainerLogsReturns ¶
func (fake *FakeDockerClient) ContainerLogsReturns(result1 io.ReadCloser, result2 error)
func (*FakeDockerClient) ContainerLogsReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerLogsReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeDockerClient) ContainerStart ¶
func (fake *FakeDockerClient) ContainerStart(arg1 context.Context, arg2 string, arg3 types.ContainerStartOptions) error
func (*FakeDockerClient) ContainerStartArgsForCall ¶
func (fake *FakeDockerClient) ContainerStartArgsForCall(i int) (context.Context, string, types.ContainerStartOptions)
func (*FakeDockerClient) ContainerStartCallCount ¶
func (fake *FakeDockerClient) ContainerStartCallCount() int
func (*FakeDockerClient) ContainerStartCalls ¶
func (fake *FakeDockerClient) ContainerStartCalls(stub func(context.Context, string, types.ContainerStartOptions) error)
func (*FakeDockerClient) ContainerStartReturns ¶
func (fake *FakeDockerClient) ContainerStartReturns(result1 error)
func (*FakeDockerClient) ContainerStartReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerStartReturnsOnCall(i int, result1 error)
func (*FakeDockerClient) ContainerStop ¶
func (*FakeDockerClient) ContainerStopArgsForCall ¶
func (*FakeDockerClient) ContainerStopCallCount ¶
func (fake *FakeDockerClient) ContainerStopCallCount() int
func (*FakeDockerClient) ContainerStopCalls ¶
func (*FakeDockerClient) ContainerStopReturns ¶
func (fake *FakeDockerClient) ContainerStopReturns(result1 error)
func (*FakeDockerClient) ContainerStopReturnsOnCall ¶
func (fake *FakeDockerClient) ContainerStopReturnsOnCall(i int, result1 error)
func (*FakeDockerClient) ImageBuild ¶
func (fake *FakeDockerClient) ImageBuild(arg1 context.Context, arg2 io.Reader, arg3 types.ImageBuildOptions) (types.ImageBuildResponse, error)
func (*FakeDockerClient) ImageBuildArgsForCall ¶
func (fake *FakeDockerClient) ImageBuildArgsForCall(i int) (context.Context, io.Reader, types.ImageBuildOptions)
func (*FakeDockerClient) ImageBuildCallCount ¶
func (fake *FakeDockerClient) ImageBuildCallCount() int
func (*FakeDockerClient) ImageBuildCalls ¶
func (fake *FakeDockerClient) ImageBuildCalls(stub func(context.Context, io.Reader, types.ImageBuildOptions) (types.ImageBuildResponse, error))
func (*FakeDockerClient) ImageBuildReturns ¶
func (fake *FakeDockerClient) ImageBuildReturns(result1 types.ImageBuildResponse, result2 error)
func (*FakeDockerClient) ImageBuildReturnsOnCall ¶
func (fake *FakeDockerClient) ImageBuildReturnsOnCall(i int, result1 types.ImageBuildResponse, result2 error)
func (*FakeDockerClient) Invocations ¶
func (fake *FakeDockerClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.