internalfakes

package
v0.0.0-...-9eb0535 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 9 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.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 (*FakeDockerClient) ContainerCreateArgsForCall

func (*FakeDockerClient) ContainerCreateCallCount

func (fake *FakeDockerClient) ContainerCreateCallCount() int

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 (fake *FakeDockerClient) ContainerStop(arg1 context.Context, arg2 string, arg3 *time.Duration) error

func (*FakeDockerClient) ContainerStopArgsForCall

func (fake *FakeDockerClient) ContainerStopArgsForCall(i int) (context.Context, string, *time.Duration)

func (*FakeDockerClient) ContainerStopCallCount

func (fake *FakeDockerClient) ContainerStopCallCount() int

func (*FakeDockerClient) ContainerStopCalls

func (fake *FakeDockerClient) ContainerStopCalls(stub func(context.Context, string, *time.Duration) error)

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

Jump to

Keyboard shortcuts

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