mock

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 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

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 {
	GenerateDockerBuildStub func(string, []byte, *tar.Writer) error

	GenerateDockerfileStub func() (string, error)

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

	GetMetadataProviderStub func([]byte) platforms.MetadataProvider

	NameStub func() string

	ValidateCodePackageStub func([]byte) error

	ValidatePathStub func(string) error
	// contains filtered or unexported fields
}

func (*Platform) GenerateDockerBuild

func (fake *Platform) GenerateDockerBuild(arg1 string, arg2 []byte, arg3 *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) GenerateDockerBuildCalls

func (fake *Platform) GenerateDockerBuildCalls(stub func(string, []byte, *tar.Writer) error)

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

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

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

func (*Platform) GetDeploymentPayloadArgsForCall

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

func (*Platform) GetDeploymentPayloadCallCount

func (fake *Platform) GetDeploymentPayloadCallCount() int

func (*Platform) GetDeploymentPayloadCalls

func (fake *Platform) GetDeploymentPayloadCalls(stub func(string) ([]byte, error))

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(arg1 []byte) platforms.MetadataProvider

func (*Platform) GetMetadataProviderArgsForCall

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

func (*Platform) GetMetadataProviderCallCount

func (fake *Platform) GetMetadataProviderCallCount() int

func (*Platform) GetMetadataProviderCalls

func (fake *Platform) GetMetadataProviderCalls(stub func([]byte) platforms.MetadataProvider)

func (*Platform) GetMetadataProviderReturns

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

func (*Platform) GetMetadataProviderReturnsOnCall

func (fake *Platform) GetMetadataProviderReturnsOnCall(i int, result1 platforms.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) NameCalls

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)

func (*Platform) ValidateCodePackage

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

func (*Platform) ValidateCodePackageArgsForCall

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

func (*Platform) ValidateCodePackageCallCount

func (fake *Platform) ValidateCodePackageCallCount() int

func (*Platform) ValidateCodePackageCalls

func (fake *Platform) ValidateCodePackageCalls(stub func([]byte) error)

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(arg1 string) error

func (*Platform) ValidatePathArgsForCall

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

func (*Platform) ValidatePathCallCount

func (fake *Platform) ValidatePathCallCount() int

func (*Platform) ValidatePathCalls

func (fake *Platform) ValidatePathCalls(stub func(string) error)

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