internalfakes

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

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.CreateResponse, 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, container.StopOptions) 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.CreateResponse, error)

func (*FakeDockerClient) ContainerCreateArgsForCall

func (*FakeDockerClient) ContainerCreateCallCount

func (fake *FakeDockerClient) ContainerCreateCallCount() int

func (*FakeDockerClient) ContainerCreateReturns

func (fake *FakeDockerClient) ContainerCreateReturns(result1 container.CreateResponse, result2 error)

func (*FakeDockerClient) ContainerCreateReturnsOnCall

func (fake *FakeDockerClient) ContainerCreateReturnsOnCall(i int, result1 container.CreateResponse, 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 (fake *FakeDockerClient) ContainerStop(arg1 context.Context, arg2 string, arg3 container.StopOptions) error

func (*FakeDockerClient) ContainerStopArgsForCall

func (fake *FakeDockerClient) ContainerStopArgsForCall(i int) (context.Context, string, container.StopOptions)

func (*FakeDockerClient) ContainerStopCallCount

func (fake *FakeDockerClient) ContainerStopCallCount() int

func (*FakeDockerClient) ContainerStopCalls

func (fake *FakeDockerClient) ContainerStopCalls(stub func(context.Context, string, container.StopOptions) error)

func (*FakeDockerClient) ContainerStopReturns

func (fake *FakeDockerClient) ContainerStopReturns(result1 error)

func (*FakeDockerClient) ContainerStopReturnsOnCall

func (fake *FakeDockerClient) ContainerStopReturnsOnCall(i int, result1 error)

func (*FakeDockerClient) ImageBuild

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 (*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{}

Jump to

Keyboard shortcuts

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