fabric: github.com/hyperledger/fabric/core/container/dockercontroller/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/container/dockercontroller/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

dockerclient.go platform_builder.go

type DockerClient Uses

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 Uses

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

func (*DockerClient) AttachToContainerArgsForCall Uses

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

func (*DockerClient) AttachToContainerCallCount Uses

func (fake *DockerClient) AttachToContainerCallCount() int

func (*DockerClient) AttachToContainerCalls Uses

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

func (*DockerClient) AttachToContainerReturns Uses

func (fake *DockerClient) AttachToContainerReturns(result1 error)

func (*DockerClient) AttachToContainerReturnsOnCall Uses

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

func (*DockerClient) BuildImage Uses

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

func (*DockerClient) BuildImageArgsForCall Uses

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

func (*DockerClient) BuildImageCallCount Uses

func (fake *DockerClient) BuildImageCallCount() int

func (*DockerClient) BuildImageCalls Uses

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

func (*DockerClient) BuildImageReturns Uses

func (fake *DockerClient) BuildImageReturns(result1 error)

func (*DockerClient) BuildImageReturnsOnCall Uses

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

func (*DockerClient) CreateContainer Uses

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

func (*DockerClient) CreateContainerArgsForCall Uses

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

func (*DockerClient) CreateContainerCallCount Uses

func (fake *DockerClient) CreateContainerCallCount() int

func (*DockerClient) CreateContainerCalls Uses

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

func (*DockerClient) CreateContainerReturns Uses

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

func (*DockerClient) CreateContainerReturnsOnCall Uses

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

func (*DockerClient) InspectImage Uses

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

func (*DockerClient) InspectImageArgsForCall Uses

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

func (*DockerClient) InspectImageCallCount Uses

func (fake *DockerClient) InspectImageCallCount() int

func (*DockerClient) InspectImageCalls Uses

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

func (*DockerClient) InspectImageReturns Uses

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

func (*DockerClient) InspectImageReturnsOnCall Uses

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

func (*DockerClient) Invocations Uses

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

func (*DockerClient) KillContainer Uses

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

func (*DockerClient) KillContainerArgsForCall Uses

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

func (*DockerClient) KillContainerCallCount Uses

func (fake *DockerClient) KillContainerCallCount() int

func (*DockerClient) KillContainerCalls Uses

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

func (*DockerClient) KillContainerReturns Uses

func (fake *DockerClient) KillContainerReturns(result1 error)

func (*DockerClient) KillContainerReturnsOnCall Uses

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

func (*DockerClient) PingWithContext Uses

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

func (*DockerClient) PingWithContextArgsForCall Uses

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

func (*DockerClient) PingWithContextCallCount Uses

func (fake *DockerClient) PingWithContextCallCount() int

func (*DockerClient) PingWithContextCalls Uses

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

func (*DockerClient) PingWithContextReturns Uses

func (fake *DockerClient) PingWithContextReturns(result1 error)

func (*DockerClient) PingWithContextReturnsOnCall Uses

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

func (*DockerClient) RemoveContainer Uses

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

func (*DockerClient) RemoveContainerArgsForCall Uses

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

func (*DockerClient) RemoveContainerCallCount Uses

func (fake *DockerClient) RemoveContainerCallCount() int

func (*DockerClient) RemoveContainerCalls Uses

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

func (*DockerClient) RemoveContainerReturns Uses

func (fake *DockerClient) RemoveContainerReturns(result1 error)

func (*DockerClient) RemoveContainerReturnsOnCall Uses

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

func (*DockerClient) StartContainer Uses

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

func (*DockerClient) StartContainerArgsForCall Uses

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

func (*DockerClient) StartContainerCallCount Uses

func (fake *DockerClient) StartContainerCallCount() int

func (*DockerClient) StartContainerCalls Uses

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

func (*DockerClient) StartContainerReturns Uses

func (fake *DockerClient) StartContainerReturns(result1 error)

func (*DockerClient) StartContainerReturnsOnCall Uses

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

func (*DockerClient) StopContainer Uses

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

func (*DockerClient) StopContainerArgsForCall Uses

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

func (*DockerClient) StopContainerCallCount Uses

func (fake *DockerClient) StopContainerCallCount() int

func (*DockerClient) StopContainerCalls Uses

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

func (*DockerClient) StopContainerReturns Uses

func (fake *DockerClient) StopContainerReturns(result1 error)

func (*DockerClient) StopContainerReturnsOnCall Uses

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

func (*DockerClient) UploadToContainer Uses

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

func (*DockerClient) UploadToContainerArgsForCall Uses

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

func (*DockerClient) UploadToContainerCallCount Uses

func (fake *DockerClient) UploadToContainerCallCount() int

func (*DockerClient) UploadToContainerCalls Uses

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

func (*DockerClient) UploadToContainerReturns Uses

func (fake *DockerClient) UploadToContainerReturns(result1 error)

func (*DockerClient) UploadToContainerReturnsOnCall Uses

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

func (*DockerClient) WaitContainer Uses

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

func (*DockerClient) WaitContainerArgsForCall Uses

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

func (*DockerClient) WaitContainerCallCount Uses

func (fake *DockerClient) WaitContainerCallCount() int

func (*DockerClient) WaitContainerCalls Uses

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

func (*DockerClient) WaitContainerReturns Uses

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

func (*DockerClient) WaitContainerReturnsOnCall Uses

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

type PlatformBuilder Uses

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

func (*PlatformBuilder) GenerateDockerBuild Uses

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

func (*PlatformBuilder) GenerateDockerBuildArgsForCall Uses

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

func (*PlatformBuilder) GenerateDockerBuildCallCount Uses

func (fake *PlatformBuilder) GenerateDockerBuildCallCount() int

func (*PlatformBuilder) GenerateDockerBuildCalls Uses

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

func (*PlatformBuilder) GenerateDockerBuildReturns Uses

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

func (*PlatformBuilder) GenerateDockerBuildReturnsOnCall Uses

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

func (*PlatformBuilder) Invocations Uses

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

Package mock imports 4 packages (graph). Updated 2019-11-21. Refresh now. Tools for package owners.