Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type PackageWriter
- func (fake *PackageWriter) Invocations() map[string][][]interface{}
- func (fake *PackageWriter) Write(name string, payload []byte, tw *tar.Writer) error
- func (fake *PackageWriter) WriteArgsForCall(i int) (string, []byte, *tar.Writer)
- func (fake *PackageWriter) WriteCallCount() int
- func (fake *PackageWriter) WriteReturns(result1 error)
- func (fake *PackageWriter) WriteReturnsOnCall(i int, result1 error)
- type Platform
- func (fake *Platform) GenerateDockerBuild(path string, code []byte, tw *tar.Writer) error
- func (fake *Platform) GenerateDockerBuildArgsForCall(i int) (string, []byte, *tar.Writer)
- func (fake *Platform) GenerateDockerBuildCallCount() int
- func (fake *Platform) GenerateDockerBuildReturns(result1 error)
- func (fake *Platform) GenerateDockerBuildReturnsOnCall(i int, result1 error)
- func (fake *Platform) GenerateDockerfile() (string, error)
- func (fake *Platform) GenerateDockerfileCallCount() int
- func (fake *Platform) GenerateDockerfileReturns(result1 string, result2 error)
- func (fake *Platform) GenerateDockerfileReturnsOnCall(i int, result1 string, result2 error)
- func (fake *Platform) GetDeploymentPayload(path string) ([]byte, error)
- func (fake *Platform) GetDeploymentPayloadArgsForCall(i int) string
- func (fake *Platform) GetDeploymentPayloadCallCount() int
- func (fake *Platform) GetDeploymentPayloadReturns(result1 []byte, result2 error)
- func (fake *Platform) GetDeploymentPayloadReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *Platform) GetMetadataProvider(code []byte) platforms_test.MetadataProvider
- func (fake *Platform) GetMetadataProviderArgsForCall(i int) []byte
- func (fake *Platform) GetMetadataProviderCallCount() int
- func (fake *Platform) GetMetadataProviderReturns(result1 platforms_test.MetadataProvider)
- func (fake *Platform) GetMetadataProviderReturnsOnCall(i int, result1 platforms_test.MetadataProvider)
- func (fake *Platform) Invocations() map[string][][]interface{}
- func (fake *Platform) Name() string
- func (fake *Platform) NameCallCount() int
- func (fake *Platform) NameReturns(result1 string)
- func (fake *Platform) NameReturnsOnCall(i int, result1 string)
- func (fake *Platform) ValidateCodePackage(code []byte) error
- func (fake *Platform) ValidateCodePackageArgsForCall(i int) []byte
- func (fake *Platform) ValidateCodePackageCallCount() int
- func (fake *Platform) ValidateCodePackageReturns(result1 error)
- func (fake *Platform) ValidateCodePackageReturnsOnCall(i int, result1 error)
- func (fake *Platform) ValidatePath(path string) error
- func (fake *Platform) ValidatePathArgsForCall(i int) string
- func (fake *Platform) ValidatePathCallCount() int
- func (fake *Platform) ValidatePathReturns(result1 error)
- func (fake *Platform) ValidatePathReturnsOnCall(i int, result1 error)
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 (*PackageWriter) WriteArgsForCall ¶
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 (*Platform) GenerateDockerBuildArgsForCall ¶
func (*Platform) GenerateDockerBuildCallCount ¶
func (*Platform) GenerateDockerBuildReturns ¶
func (*Platform) GenerateDockerBuildReturnsOnCall ¶
func (*Platform) GenerateDockerfileCallCount ¶
func (*Platform) GenerateDockerfileReturns ¶
func (*Platform) GenerateDockerfileReturnsOnCall ¶
func (*Platform) GetDeploymentPayload ¶
func (*Platform) GetDeploymentPayloadArgsForCall ¶
func (*Platform) GetDeploymentPayloadCallCount ¶
func (*Platform) GetDeploymentPayloadReturns ¶
func (*Platform) GetDeploymentPayloadReturnsOnCall ¶
func (*Platform) GetMetadataProvider ¶
func (fake *Platform) GetMetadataProvider(code []byte) platforms_test.MetadataProvider
func (*Platform) GetMetadataProviderArgsForCall ¶
func (*Platform) GetMetadataProviderCallCount ¶
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) ValidateCodePackageArgsForCall ¶
func (*Platform) ValidateCodePackageCallCount ¶
func (*Platform) ValidateCodePackageReturns ¶
func (*Platform) ValidateCodePackageReturnsOnCall ¶
func (*Platform) ValidatePathArgsForCall ¶
Click to show internal directories.
Click to hide internal directories.