Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + type PackageWriter struct + WriteStub func(string, []byte, *tar.Writer) error + func (fake *PackageWriter) Invocations() map[string][][]interface{} + func (fake *PackageWriter) Write(arg1 string, arg2 []byte, arg3 *tar.Writer) error + func (fake *PackageWriter) WriteArgsForCall(i int) (string, []byte, *tar.Writer) + func (fake *PackageWriter) WriteCallCount() int + func (fake *PackageWriter) WriteCalls(stub func(string, []byte, *tar.Writer) error) + func (fake *PackageWriter) WriteReturns(result1 error) + func (fake *PackageWriter) WriteReturnsOnCall(i int, result1 error) + 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 + func (fake *Platform) GenerateDockerBuild(arg1 string, arg2 []byte, arg3 *tar.Writer) error + func (fake *Platform) GenerateDockerBuildArgsForCall(i int) (string, []byte, *tar.Writer) + func (fake *Platform) GenerateDockerBuildCallCount() int + func (fake *Platform) GenerateDockerBuildCalls(stub func(string, []byte, *tar.Writer) error) + 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) GenerateDockerfileCalls(stub func() (string, error)) + func (fake *Platform) GenerateDockerfileReturns(result1 string, result2 error) + func (fake *Platform) GenerateDockerfileReturnsOnCall(i int, result1 string, result2 error) + func (fake *Platform) GetDeploymentPayload(arg1 string) ([]byte, error) + func (fake *Platform) GetDeploymentPayloadArgsForCall(i int) string + func (fake *Platform) GetDeploymentPayloadCallCount() int + func (fake *Platform) GetDeploymentPayloadCalls(stub func(string) ([]byte, error)) + func (fake *Platform) GetDeploymentPayloadReturns(result1 []byte, result2 error) + func (fake *Platform) GetDeploymentPayloadReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Platform) GetMetadataProvider(arg1 []byte) platforms.MetadataProvider + func (fake *Platform) GetMetadataProviderArgsForCall(i int) []byte + func (fake *Platform) GetMetadataProviderCallCount() int + func (fake *Platform) GetMetadataProviderCalls(stub func([]byte) platforms.MetadataProvider) + func (fake *Platform) GetMetadataProviderReturns(result1 platforms.MetadataProvider) + func (fake *Platform) GetMetadataProviderReturnsOnCall(i int, result1 platforms.MetadataProvider) + func (fake *Platform) Invocations() map[string][][]interface{} + func (fake *Platform) Name() string + func (fake *Platform) NameCallCount() int + func (fake *Platform) NameCalls(stub func() string) + func (fake *Platform) NameReturns(result1 string) + func (fake *Platform) NameReturnsOnCall(i int, result1 string) + func (fake *Platform) ValidateCodePackage(arg1 []byte) error + func (fake *Platform) ValidateCodePackageArgsForCall(i int) []byte + func (fake *Platform) ValidateCodePackageCallCount() int + func (fake *Platform) ValidateCodePackageCalls(stub func([]byte) error) + func (fake *Platform) ValidateCodePackageReturns(result1 error) + func (fake *Platform) ValidateCodePackageReturnsOnCall(i int, result1 error) + func (fake *Platform) ValidatePath(arg1 string) error + func (fake *Platform) ValidatePathArgsForCall(i int) string + func (fake *Platform) ValidatePathCallCount() int + func (fake *Platform) ValidatePathCalls(stub func(string) error) + func (fake *Platform) ValidatePathReturns(result1 error) + func (fake *Platform) ValidatePathReturnsOnCall(i int, result1 error)