mock

package
v0.0.0-...-7a628bf Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 4 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 DockerClient

type DockerClient struct {
	AttachToContainerStub func(docker.AttachToContainerOptions) error

	BuildImageStub func(docker.BuildImageOptions) error

	CreateContainerStub func(docker.CreateContainerOptions) (*docker.Container, error)

	InspectImageStub func(string) (*docker.Image, error)

	KillContainerStub func(docker.KillContainerOptions) error

	PingWithContextStub func(context.Context) error

	RemoveContainerStub func(docker.RemoveContainerOptions) error

	StartContainerStub func(string, *docker.HostConfig) error

	StopContainerStub func(string, uint) error

	UploadToContainerStub func(string, docker.UploadToContainerOptions) error

	WaitContainerStub func(string) (int, error)
	// contains filtered or unexported fields
}

func (*DockerClient) AttachToContainer

func (fake *DockerClient) AttachToContainer(arg1 docker.AttachToContainerOptions) error

func (*DockerClient) AttachToContainerArgsForCall

func (fake *DockerClient) AttachToContainerArgsForCall(i int) docker.AttachToContainerOptions

func (*DockerClient) AttachToContainerCallCount

func (fake *DockerClient) AttachToContainerCallCount() int

func (*DockerClient) AttachToContainerCalls

func (fake *DockerClient) AttachToContainerCalls(stub func(docker.AttachToContainerOptions) error)

func (*DockerClient) AttachToContainerReturns

func (fake *DockerClient) AttachToContainerReturns(result1 error)

func (*DockerClient) AttachToContainerReturnsOnCall

func (fake *DockerClient) AttachToContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) BuildImage

func (fake *DockerClient) BuildImage(arg1 docker.BuildImageOptions) error

func (*DockerClient) BuildImageArgsForCall

func (fake *DockerClient) BuildImageArgsForCall(i int) docker.BuildImageOptions

func (*DockerClient) BuildImageCallCount

func (fake *DockerClient) BuildImageCallCount() int

func (*DockerClient) BuildImageCalls

func (fake *DockerClient) BuildImageCalls(stub func(docker.BuildImageOptions) error)

func (*DockerClient) BuildImageReturns

func (fake *DockerClient) BuildImageReturns(result1 error)

func (*DockerClient) BuildImageReturnsOnCall

func (fake *DockerClient) BuildImageReturnsOnCall(i int, result1 error)

func (*DockerClient) CreateContainer

func (fake *DockerClient) CreateContainer(arg1 docker.CreateContainerOptions) (*docker.Container, error)

func (*DockerClient) CreateContainerArgsForCall

func (fake *DockerClient) CreateContainerArgsForCall(i int) docker.CreateContainerOptions

func (*DockerClient) CreateContainerCallCount

func (fake *DockerClient) CreateContainerCallCount() int

func (*DockerClient) CreateContainerCalls

func (fake *DockerClient) CreateContainerCalls(stub func(docker.CreateContainerOptions) (*docker.Container, error))

func (*DockerClient) CreateContainerReturns

func (fake *DockerClient) CreateContainerReturns(result1 *docker.Container, result2 error)

func (*DockerClient) CreateContainerReturnsOnCall

func (fake *DockerClient) CreateContainerReturnsOnCall(i int, result1 *docker.Container, result2 error)

func (*DockerClient) InspectImage

func (fake *DockerClient) InspectImage(arg1 string) (*docker.Image, error)

func (*DockerClient) InspectImageArgsForCall

func (fake *DockerClient) InspectImageArgsForCall(i int) string

func (*DockerClient) InspectImageCallCount

func (fake *DockerClient) InspectImageCallCount() int

func (*DockerClient) InspectImageCalls

func (fake *DockerClient) InspectImageCalls(stub func(string) (*docker.Image, error))

func (*DockerClient) InspectImageReturns

func (fake *DockerClient) InspectImageReturns(result1 *docker.Image, result2 error)

func (*DockerClient) InspectImageReturnsOnCall

func (fake *DockerClient) InspectImageReturnsOnCall(i int, result1 *docker.Image, result2 error)

func (*DockerClient) Invocations

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

func (*DockerClient) KillContainer

func (fake *DockerClient) KillContainer(arg1 docker.KillContainerOptions) error

func (*DockerClient) KillContainerArgsForCall

func (fake *DockerClient) KillContainerArgsForCall(i int) docker.KillContainerOptions

func (*DockerClient) KillContainerCallCount

func (fake *DockerClient) KillContainerCallCount() int

func (*DockerClient) KillContainerCalls

func (fake *DockerClient) KillContainerCalls(stub func(docker.KillContainerOptions) error)

func (*DockerClient) KillContainerReturns

func (fake *DockerClient) KillContainerReturns(result1 error)

func (*DockerClient) KillContainerReturnsOnCall

func (fake *DockerClient) KillContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) PingWithContext

func (fake *DockerClient) PingWithContext(arg1 context.Context) error

func (*DockerClient) PingWithContextArgsForCall

func (fake *DockerClient) PingWithContextArgsForCall(i int) context.Context

func (*DockerClient) PingWithContextCallCount

func (fake *DockerClient) PingWithContextCallCount() int

func (*DockerClient) PingWithContextCalls

func (fake *DockerClient) PingWithContextCalls(stub func(context.Context) error)

func (*DockerClient) PingWithContextReturns

func (fake *DockerClient) PingWithContextReturns(result1 error)

func (*DockerClient) PingWithContextReturnsOnCall

func (fake *DockerClient) PingWithContextReturnsOnCall(i int, result1 error)

func (*DockerClient) RemoveContainer

func (fake *DockerClient) RemoveContainer(arg1 docker.RemoveContainerOptions) error

func (*DockerClient) RemoveContainerArgsForCall

func (fake *DockerClient) RemoveContainerArgsForCall(i int) docker.RemoveContainerOptions

func (*DockerClient) RemoveContainerCallCount

func (fake *DockerClient) RemoveContainerCallCount() int

func (*DockerClient) RemoveContainerCalls

func (fake *DockerClient) RemoveContainerCalls(stub func(docker.RemoveContainerOptions) error)

func (*DockerClient) RemoveContainerReturns

func (fake *DockerClient) RemoveContainerReturns(result1 error)

func (*DockerClient) RemoveContainerReturnsOnCall

func (fake *DockerClient) RemoveContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) StartContainer

func (fake *DockerClient) StartContainer(arg1 string, arg2 *docker.HostConfig) error

func (*DockerClient) StartContainerArgsForCall

func (fake *DockerClient) StartContainerArgsForCall(i int) (string, *docker.HostConfig)

func (*DockerClient) StartContainerCallCount

func (fake *DockerClient) StartContainerCallCount() int

func (*DockerClient) StartContainerCalls

func (fake *DockerClient) StartContainerCalls(stub func(string, *docker.HostConfig) error)

func (*DockerClient) StartContainerReturns

func (fake *DockerClient) StartContainerReturns(result1 error)

func (*DockerClient) StartContainerReturnsOnCall

func (fake *DockerClient) StartContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) StopContainer

func (fake *DockerClient) StopContainer(arg1 string, arg2 uint) error

func (*DockerClient) StopContainerArgsForCall

func (fake *DockerClient) StopContainerArgsForCall(i int) (string, uint)

func (*DockerClient) StopContainerCallCount

func (fake *DockerClient) StopContainerCallCount() int

func (*DockerClient) StopContainerCalls

func (fake *DockerClient) StopContainerCalls(stub func(string, uint) error)

func (*DockerClient) StopContainerReturns

func (fake *DockerClient) StopContainerReturns(result1 error)

func (*DockerClient) StopContainerReturnsOnCall

func (fake *DockerClient) StopContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) UploadToContainer

func (fake *DockerClient) UploadToContainer(arg1 string, arg2 docker.UploadToContainerOptions) error

func (*DockerClient) UploadToContainerArgsForCall

func (fake *DockerClient) UploadToContainerArgsForCall(i int) (string, docker.UploadToContainerOptions)

func (*DockerClient) UploadToContainerCallCount

func (fake *DockerClient) UploadToContainerCallCount() int

func (*DockerClient) UploadToContainerCalls

func (fake *DockerClient) UploadToContainerCalls(stub func(string, docker.UploadToContainerOptions) error)

func (*DockerClient) UploadToContainerReturns

func (fake *DockerClient) UploadToContainerReturns(result1 error)

func (*DockerClient) UploadToContainerReturnsOnCall

func (fake *DockerClient) UploadToContainerReturnsOnCall(i int, result1 error)

func (*DockerClient) WaitContainer

func (fake *DockerClient) WaitContainer(arg1 string) (int, error)

func (*DockerClient) WaitContainerArgsForCall

func (fake *DockerClient) WaitContainerArgsForCall(i int) string

func (*DockerClient) WaitContainerCallCount

func (fake *DockerClient) WaitContainerCallCount() int

func (*DockerClient) WaitContainerCalls

func (fake *DockerClient) WaitContainerCalls(stub func(string) (int, error))

func (*DockerClient) WaitContainerReturns

func (fake *DockerClient) WaitContainerReturns(result1 int, result2 error)

func (*DockerClient) WaitContainerReturnsOnCall

func (fake *DockerClient) WaitContainerReturnsOnCall(i int, result1 int, result2 error)

type PlatformBuilder

type PlatformBuilder struct {
	GenerateDockerBuildStub func(string, string, io.Reader) (io.Reader, error)
	// contains filtered or unexported fields
}

func (*PlatformBuilder) GenerateDockerBuild

func (fake *PlatformBuilder) GenerateDockerBuild(arg1 string, arg2 string, arg3 io.Reader) (io.Reader, error)

func (*PlatformBuilder) GenerateDockerBuildArgsForCall

func (fake *PlatformBuilder) GenerateDockerBuildArgsForCall(i int) (string, string, io.Reader)

func (*PlatformBuilder) GenerateDockerBuildCallCount

func (fake *PlatformBuilder) GenerateDockerBuildCallCount() int

func (*PlatformBuilder) GenerateDockerBuildCalls

func (fake *PlatformBuilder) GenerateDockerBuildCalls(stub func(string, string, io.Reader) (io.Reader, error))

func (*PlatformBuilder) GenerateDockerBuildReturns

func (fake *PlatformBuilder) GenerateDockerBuildReturns(result1 io.Reader, result2 error)

func (*PlatformBuilder) GenerateDockerBuildReturnsOnCall

func (fake *PlatformBuilder) GenerateDockerBuildReturnsOnCall(i int, result1 io.Reader, result2 error)

func (*PlatformBuilder) Invocations

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

Jump to

Keyboard shortcuts

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