mock

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 3 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 PackageWriter

type PackageWriter struct {
	WriteStub func(string, []byte, *tar.Writer) error
	// contains filtered or unexported fields
}

func (*PackageWriter) Invocations

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

func (*PackageWriter) Write

func (fake *PackageWriter) Write(arg1 string, arg2 []byte, arg3 *tar.Writer) error

func (*PackageWriter) WriteArgsForCall

func (fake *PackageWriter) WriteArgsForCall(i int) (string, []byte, *tar.Writer)

func (*PackageWriter) WriteCallCount

func (fake *PackageWriter) WriteCallCount() int

func (*PackageWriter) WriteCalls added in v1.4.1

func (fake *PackageWriter) WriteCalls(stub func(string, []byte, *tar.Writer) error)

func (*PackageWriter) WriteReturns

func (fake *PackageWriter) WriteReturns(result1 error)

func (*PackageWriter) WriteReturnsOnCall

func (fake *PackageWriter) WriteReturnsOnCall(i int, result1 error)

type Platform

type Platform struct {
	DockerBuildOptionsStub func(string) (util.DockerBuildOptions, error)

	GenerateDockerfileStub func() (string, error)

	NameStub func() string
	// contains filtered or unexported fields
}

func (*Platform) DockerBuildOptions

func (fake *Platform) DockerBuildOptions(arg1 string) (util.DockerBuildOptions, error)

func (*Platform) DockerBuildOptionsArgsForCall

func (fake *Platform) DockerBuildOptionsArgsForCall(i int) string

func (*Platform) DockerBuildOptionsCallCount

func (fake *Platform) DockerBuildOptionsCallCount() int

func (*Platform) DockerBuildOptionsCalls

func (fake *Platform) DockerBuildOptionsCalls(stub func(string) (util.DockerBuildOptions, error))

func (*Platform) DockerBuildOptionsReturns

func (fake *Platform) DockerBuildOptionsReturns(result1 util.DockerBuildOptions, result2 error)

func (*Platform) DockerBuildOptionsReturnsOnCall

func (fake *Platform) DockerBuildOptionsReturnsOnCall(i int, result1 util.DockerBuildOptions, result2 error)

func (*Platform) GenerateDockerfile

func (fake *Platform) GenerateDockerfile() (string, error)

func (*Platform) GenerateDockerfileCallCount

func (fake *Platform) GenerateDockerfileCallCount() int

func (*Platform) GenerateDockerfileCalls added in v1.4.1

func (fake *Platform) GenerateDockerfileCalls(stub func() (string, error))

func (*Platform) GenerateDockerfileReturns

func (fake *Platform) GenerateDockerfileReturns(result1 string, result2 error)

func (*Platform) GenerateDockerfileReturnsOnCall

func (fake *Platform) GenerateDockerfileReturnsOnCall(i int, result1 string, result2 error)

func (*Platform) Invocations

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

func (*Platform) Name

func (fake *Platform) Name() string

func (*Platform) NameCallCount

func (fake *Platform) NameCallCount() int

func (*Platform) NameCalls added in v1.4.1

func (fake *Platform) NameCalls(stub func() string)

func (*Platform) NameReturns

func (fake *Platform) NameReturns(result1 string)

func (*Platform) NameReturnsOnCall

func (fake *Platform) NameReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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