mock

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 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(name string, payload []byte, tw *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(name string, payload []byte, tw *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) WriteReturns

func (fake *PackageWriter) WriteReturns(result1 error)

func (*PackageWriter) WriteReturnsOnCall

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

type Platform

type Platform struct {
	NameStub func() string

	ValidatePathStub func(path string) error

	ValidateCodePackageStub func(code []byte) error

	GetDeploymentPayloadStub func(path string) ([]byte, error)

	GenerateDockerfileStub func() (string, error)

	GenerateDockerBuildStub func(path string, code []byte, tw *tar.Writer) error

	GetMetadataProviderStub func(code []byte) platforms_test.MetadataProvider
	// contains filtered or unexported fields
}

func (*Platform) GenerateDockerBuild

func (fake *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error

func (*Platform) GenerateDockerBuildArgsForCall

func (fake *Platform) GenerateDockerBuildArgsForCall(i int) (string, []byte, *tar.Writer)

func (*Platform) GenerateDockerBuildCallCount

func (fake *Platform) GenerateDockerBuildCallCount() int

func (*Platform) GenerateDockerBuildReturns

func (fake *Platform) GenerateDockerBuildReturns(result1 error)

func (*Platform) GenerateDockerBuildReturnsOnCall

func (fake *Platform) GenerateDockerBuildReturnsOnCall(i int, result1 error)

func (*Platform) GenerateDockerfile

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

func (*Platform) GenerateDockerfileCallCount

func (fake *Platform) GenerateDockerfileCallCount() int

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) GetDeploymentPayload

func (fake *Platform) GetDeploymentPayload(path string) ([]byte, error)

func (*Platform) GetDeploymentPayloadArgsForCall

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

func (*Platform) GetDeploymentPayloadCallCount

func (fake *Platform) GetDeploymentPayloadCallCount() int

func (*Platform) GetDeploymentPayloadReturns

func (fake *Platform) GetDeploymentPayloadReturns(result1 []byte, result2 error)

func (*Platform) GetDeploymentPayloadReturnsOnCall

func (fake *Platform) GetDeploymentPayloadReturnsOnCall(i int, result1 []byte, result2 error)

func (*Platform) GetMetadataProvider

func (fake *Platform) GetMetadataProvider(code []byte) platforms_test.MetadataProvider

func (*Platform) GetMetadataProviderArgsForCall

func (fake *Platform) GetMetadataProviderArgsForCall(i int) []byte

func (*Platform) GetMetadataProviderCallCount

func (fake *Platform) GetMetadataProviderCallCount() int

func (*Platform) GetMetadataProviderReturns

func (fake *Platform) GetMetadataProviderReturns(result1 platforms_test.MetadataProvider)

func (*Platform) GetMetadataProviderReturnsOnCall

func (fake *Platform) GetMetadataProviderReturnsOnCall(i int, result1 platforms_test.MetadataProvider)

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) NameReturns

func (fake *Platform) NameReturns(result1 string)

func (*Platform) NameReturnsOnCall

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

func (*Platform) ValidateCodePackage

func (fake *Platform) ValidateCodePackage(code []byte) error

func (*Platform) ValidateCodePackageArgsForCall

func (fake *Platform) ValidateCodePackageArgsForCall(i int) []byte

func (*Platform) ValidateCodePackageCallCount

func (fake *Platform) ValidateCodePackageCallCount() int

func (*Platform) ValidateCodePackageReturns

func (fake *Platform) ValidateCodePackageReturns(result1 error)

func (*Platform) ValidateCodePackageReturnsOnCall

func (fake *Platform) ValidateCodePackageReturnsOnCall(i int, result1 error)

func (*Platform) ValidatePath

func (fake *Platform) ValidatePath(path string) error

func (*Platform) ValidatePathArgsForCall

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

func (*Platform) ValidatePathCallCount

func (fake *Platform) ValidatePathCallCount() int

func (*Platform) ValidatePathReturns

func (fake *Platform) ValidatePathReturns(result1 error)

func (*Platform) ValidatePathReturnsOnCall

func (fake *Platform) ValidatePathReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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