fakes

package
v0.93.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 MobyClient

type MobyClient struct {
	ContainerCreateStub func(context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string) (container.CreateResponse, 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

	ContainerWaitStub func(context.Context, string, container.WaitCondition) (<-chan container.WaitResponse, <-chan error)

	DialHijackStub func(context.Context, string, string, map[string][]string) (net.Conn, error)

	ImageBuildStub func(context.Context, io.Reader, types.ImageBuildOptions) (types.ImageBuildResponse, error)

	PingStub func(context.Context) (types.Ping, error)
	// contains filtered or unexported fields
}

func (*MobyClient) ContainerCreate

func (fake *MobyClient) ContainerCreate(arg1 context.Context, arg2 *container.Config, arg3 *container.HostConfig, arg4 *network.NetworkingConfig, arg5 *v1.Platform, arg6 string) (container.CreateResponse, error)

func (*MobyClient) ContainerCreateArgsForCall

func (fake *MobyClient) ContainerCreateArgsForCall(i int) (context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string)

func (*MobyClient) ContainerCreateCallCount

func (fake *MobyClient) ContainerCreateCallCount() int

func (*MobyClient) ContainerCreateReturns

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

func (*MobyClient) ContainerCreateReturnsOnCall

func (fake *MobyClient) ContainerCreateReturnsOnCall(i int, result1 container.CreateResponse, result2 error)

func (*MobyClient) ContainerLogs

func (fake *MobyClient) ContainerLogs(arg1 context.Context, arg2 string, arg3 types.ContainerLogsOptions) (io.ReadCloser, error)

func (*MobyClient) ContainerLogsArgsForCall

func (fake *MobyClient) ContainerLogsArgsForCall(i int) (context.Context, string, types.ContainerLogsOptions)

func (*MobyClient) ContainerLogsCallCount

func (fake *MobyClient) ContainerLogsCallCount() int

func (*MobyClient) ContainerLogsCalls

func (fake *MobyClient) ContainerLogsCalls(stub func(context.Context, string, types.ContainerLogsOptions) (io.ReadCloser, error))

func (*MobyClient) ContainerLogsReturns

func (fake *MobyClient) ContainerLogsReturns(result1 io.ReadCloser, result2 error)

func (*MobyClient) ContainerLogsReturnsOnCall

func (fake *MobyClient) ContainerLogsReturnsOnCall(i int, result1 io.ReadCloser, result2 error)

func (*MobyClient) ContainerStart

func (fake *MobyClient) ContainerStart(arg1 context.Context, arg2 string, arg3 types.ContainerStartOptions) error

func (*MobyClient) ContainerStartArgsForCall

func (fake *MobyClient) ContainerStartArgsForCall(i int) (context.Context, string, types.ContainerStartOptions)

func (*MobyClient) ContainerStartCallCount

func (fake *MobyClient) ContainerStartCallCount() int

func (*MobyClient) ContainerStartCalls

func (fake *MobyClient) ContainerStartCalls(stub func(context.Context, string, types.ContainerStartOptions) error)

func (*MobyClient) ContainerStartReturns

func (fake *MobyClient) ContainerStartReturns(result1 error)

func (*MobyClient) ContainerStartReturnsOnCall

func (fake *MobyClient) ContainerStartReturnsOnCall(i int, result1 error)

func (*MobyClient) ContainerStop

func (fake *MobyClient) ContainerStop(arg1 context.Context, arg2 string, arg3 container.StopOptions) error

func (*MobyClient) ContainerStopArgsForCall

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

func (*MobyClient) ContainerStopCallCount

func (fake *MobyClient) ContainerStopCallCount() int

func (*MobyClient) ContainerStopCalls

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

func (*MobyClient) ContainerStopReturns

func (fake *MobyClient) ContainerStopReturns(result1 error)

func (*MobyClient) ContainerStopReturnsOnCall

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

func (*MobyClient) ContainerWait

func (fake *MobyClient) ContainerWait(arg1 context.Context, arg2 string, arg3 container.WaitCondition) (<-chan container.WaitResponse, <-chan error)

func (*MobyClient) ContainerWaitArgsForCall

func (fake *MobyClient) ContainerWaitArgsForCall(i int) (context.Context, string, container.WaitCondition)

func (*MobyClient) ContainerWaitCallCount

func (fake *MobyClient) ContainerWaitCallCount() int

func (*MobyClient) ContainerWaitCalls

func (fake *MobyClient) ContainerWaitCalls(stub func(context.Context, string, container.WaitCondition) (<-chan container.WaitResponse, <-chan error))

func (*MobyClient) ContainerWaitReturns

func (fake *MobyClient) ContainerWaitReturns(result1 <-chan container.WaitResponse, result2 <-chan error)

func (*MobyClient) ContainerWaitReturnsOnCall

func (fake *MobyClient) ContainerWaitReturnsOnCall(i int, result1 <-chan container.WaitResponse, result2 <-chan error)

func (*MobyClient) DialHijack

func (fake *MobyClient) DialHijack(arg1 context.Context, arg2 string, arg3 string, arg4 map[string][]string) (net.Conn, error)

func (*MobyClient) DialHijackArgsForCall

func (fake *MobyClient) DialHijackArgsForCall(i int) (context.Context, string, string, map[string][]string)

func (*MobyClient) DialHijackCallCount

func (fake *MobyClient) DialHijackCallCount() int

func (*MobyClient) DialHijackCalls

func (fake *MobyClient) DialHijackCalls(stub func(context.Context, string, string, map[string][]string) (net.Conn, error))

func (*MobyClient) DialHijackReturns

func (fake *MobyClient) DialHijackReturns(result1 net.Conn, result2 error)

func (*MobyClient) DialHijackReturnsOnCall

func (fake *MobyClient) DialHijackReturnsOnCall(i int, result1 net.Conn, result2 error)

func (*MobyClient) ImageBuild

func (fake *MobyClient) ImageBuild(arg1 context.Context, arg2 io.Reader, arg3 types.ImageBuildOptions) (types.ImageBuildResponse, error)

func (*MobyClient) ImageBuildArgsForCall

func (fake *MobyClient) ImageBuildArgsForCall(i int) (context.Context, io.Reader, types.ImageBuildOptions)

func (*MobyClient) ImageBuildCallCount

func (fake *MobyClient) ImageBuildCallCount() int

func (*MobyClient) ImageBuildCalls

func (fake *MobyClient) ImageBuildCalls(stub func(context.Context, io.Reader, types.ImageBuildOptions) (types.ImageBuildResponse, error))

func (*MobyClient) ImageBuildReturns

func (fake *MobyClient) ImageBuildReturns(result1 types.ImageBuildResponse, result2 error)

func (*MobyClient) ImageBuildReturnsOnCall

func (fake *MobyClient) ImageBuildReturnsOnCall(i int, result1 types.ImageBuildResponse, result2 error)

func (*MobyClient) Invocations

func (fake *MobyClient) Invocations() map[string][][]interface{}

func (*MobyClient) Ping

func (fake *MobyClient) Ping(arg1 context.Context) (types.Ping, error)

func (*MobyClient) PingArgsForCall

func (fake *MobyClient) PingArgsForCall(i int) context.Context

func (*MobyClient) PingCallCount

func (fake *MobyClient) PingCallCount() int

func (*MobyClient) PingCalls

func (fake *MobyClient) PingCalls(stub func(context.Context) (types.Ping, error))

func (*MobyClient) PingReturns

func (fake *MobyClient) PingReturns(result1 types.Ping, result2 error)

func (*MobyClient) PingReturnsOnCall

func (fake *MobyClient) PingReturnsOnCall(i int, result1 types.Ping, result2 error)

type SSHAgent

type SSHAgent struct {
	AddStub func(agent.AddedKey) error

	ListStub func() ([]*agent.Key, error)
	// contains filtered or unexported fields
}

func (*SSHAgent) Add

func (fake *SSHAgent) Add(arg1 agent.AddedKey) error

func (*SSHAgent) AddArgsForCall

func (fake *SSHAgent) AddArgsForCall(i int) agent.AddedKey

func (*SSHAgent) AddCallCount

func (fake *SSHAgent) AddCallCount() int

func (*SSHAgent) AddCalls

func (fake *SSHAgent) AddCalls(stub func(agent.AddedKey) error)

func (*SSHAgent) AddReturns

func (fake *SSHAgent) AddReturns(result1 error)

func (*SSHAgent) AddReturnsOnCall

func (fake *SSHAgent) AddReturnsOnCall(i int, result1 error)

func (*SSHAgent) Invocations

func (fake *SSHAgent) Invocations() map[string][][]interface{}

func (*SSHAgent) List

func (fake *SSHAgent) List() ([]*agent.Key, error)

func (*SSHAgent) ListCallCount

func (fake *SSHAgent) ListCallCount() int

func (*SSHAgent) ListCalls

func (fake *SSHAgent) ListCalls(stub func() ([]*agent.Key, error))

func (*SSHAgent) ListReturns

func (fake *SSHAgent) ListReturns(result1 []*agent.Key, result2 error)

func (*SSHAgent) ListReturnsOnCall

func (fake *SSHAgent) ListReturnsOnCall(i int, result1 []*agent.Key, result2 error)

Jump to

Keyboard shortcuts

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