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) 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) ImageList(arg1 context.Context, arg2 types.ImageListOptions) ([]types.ImageSummary, error)
- func (fake *FakeDockerClient) ImageListArgsForCall(i int) (context.Context, types.ImageListOptions)
- func (fake *FakeDockerClient) ImageListCallCount() int
- func (fake *FakeDockerClient) ImageListCalls(...)
- func (fake *FakeDockerClient) ImageListReturns(result1 []types.ImageSummary, result2 error)
- func (fake *FakeDockerClient) ImageListReturnsOnCall(i int, result1 []types.ImageSummary, result2 error)
- func (fake *FakeDockerClient) ImagePull(arg1 context.Context, arg2 string, arg3 types.ImagePullOptions) (io.ReadCloser, error)
- func (fake *FakeDockerClient) ImagePullArgsForCall(i int) (context.Context, string, types.ImagePullOptions)
- func (fake *FakeDockerClient) ImagePullCallCount() int
- func (fake *FakeDockerClient) ImagePullCalls(...)
- func (fake *FakeDockerClient) ImagePullReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeDockerClient) ImagePullReturnsOnCall(i int, result1 io.ReadCloser, 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) ContainerStartStub func(context.Context, string, types.ContainerStartOptions) error ContainerStopStub func(context.Context, string, *time.Duration) error ImageListStub func(context.Context, types.ImageListOptions) ([]types.ImageSummary, error) ImagePullStub func(context.Context, string, types.ImagePullOptions) (io.ReadCloser, 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) 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) ImageList ¶
func (fake *FakeDockerClient) ImageList(arg1 context.Context, arg2 types.ImageListOptions) ([]types.ImageSummary, error)
func (*FakeDockerClient) ImageListArgsForCall ¶
func (fake *FakeDockerClient) ImageListArgsForCall(i int) (context.Context, types.ImageListOptions)
func (*FakeDockerClient) ImageListCallCount ¶
func (fake *FakeDockerClient) ImageListCallCount() int
func (*FakeDockerClient) ImageListCalls ¶
func (fake *FakeDockerClient) ImageListCalls(stub func(context.Context, types.ImageListOptions) ([]types.ImageSummary, error))
func (*FakeDockerClient) ImageListReturns ¶
func (fake *FakeDockerClient) ImageListReturns(result1 []types.ImageSummary, result2 error)
func (*FakeDockerClient) ImageListReturnsOnCall ¶
func (fake *FakeDockerClient) ImageListReturnsOnCall(i int, result1 []types.ImageSummary, result2 error)
func (*FakeDockerClient) ImagePull ¶
func (fake *FakeDockerClient) ImagePull(arg1 context.Context, arg2 string, arg3 types.ImagePullOptions) (io.ReadCloser, error)
func (*FakeDockerClient) ImagePullArgsForCall ¶
func (fake *FakeDockerClient) ImagePullArgsForCall(i int) (context.Context, string, types.ImagePullOptions)
func (*FakeDockerClient) ImagePullCallCount ¶
func (fake *FakeDockerClient) ImagePullCallCount() int
func (*FakeDockerClient) ImagePullCalls ¶
func (fake *FakeDockerClient) ImagePullCalls(stub func(context.Context, string, types.ImagePullOptions) (io.ReadCloser, error))
func (*FakeDockerClient) ImagePullReturns ¶
func (fake *FakeDockerClient) ImagePullReturns(result1 io.ReadCloser, result2 error)
func (*FakeDockerClient) ImagePullReturnsOnCall ¶
func (fake *FakeDockerClient) ImagePullReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeDockerClient) Invocations ¶
func (fake *FakeDockerClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.