Documentation ¶
Overview ¶
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
Index ¶
- type PackageWriter
- 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
- 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)
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) WriteArgsForCall ¶
func (*PackageWriter) WriteCallCount ¶
func (fake *PackageWriter) WriteCallCount() int
func (*PackageWriter) WriteCalls ¶
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 (*Platform) GenerateDockerBuildArgsForCall ¶
func (*Platform) GenerateDockerBuildCallCount ¶
func (*Platform) GenerateDockerBuildCalls ¶
func (*Platform) GenerateDockerBuildReturns ¶
func (*Platform) GenerateDockerBuildReturnsOnCall ¶
func (*Platform) GenerateDockerfile ¶
func (*Platform) GenerateDockerfileCallCount ¶
func (*Platform) GenerateDockerfileCalls ¶
func (*Platform) GenerateDockerfileReturns ¶
func (*Platform) GenerateDockerfileReturnsOnCall ¶
func (*Platform) GetDeploymentPayload ¶
func (*Platform) GetDeploymentPayloadArgsForCall ¶
func (*Platform) GetDeploymentPayloadCallCount ¶
func (*Platform) GetDeploymentPayloadCalls ¶
func (*Platform) GetDeploymentPayloadReturns ¶
func (*Platform) GetDeploymentPayloadReturnsOnCall ¶
func (*Platform) GetMetadataProvider ¶
func (fake *Platform) GetMetadataProvider(arg1 []byte) platforms.MetadataProvider
func (*Platform) GetMetadataProviderArgsForCall ¶
func (*Platform) GetMetadataProviderCallCount ¶
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 (*Platform) NameCallCount ¶
func (*Platform) NameReturns ¶
func (*Platform) NameReturnsOnCall ¶
func (*Platform) ValidateCodePackage ¶
func (*Platform) ValidateCodePackageArgsForCall ¶
func (*Platform) ValidateCodePackageCallCount ¶
func (*Platform) ValidateCodePackageCalls ¶
func (*Platform) ValidateCodePackageReturns ¶
func (*Platform) ValidateCodePackageReturnsOnCall ¶
func (*Platform) ValidatePath ¶
func (*Platform) ValidatePathArgsForCall ¶
func (*Platform) ValidatePathCallCount ¶
func (*Platform) ValidatePathCalls ¶
func (*Platform) ValidatePathReturns ¶
func (*Platform) ValidatePathReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.