fabric: github.com/hyperledger/fabric/core/chaincode/platforms/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/chaincode/platforms/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

package_writer.go platform.go

type PackageWriter Uses

type PackageWriter struct {
    WriteStub func(string, []byte, *tar.Writer) error
    // contains filtered or unexported fields
}

func (*PackageWriter) Invocations Uses

func (fake *PackageWriter) Invocations() map[string][][]interface{}

func (*PackageWriter) Write Uses

func (fake *PackageWriter) Write(arg1 string, arg2 []byte, arg3 *tar.Writer) error

func (*PackageWriter) WriteArgsForCall Uses

func (fake *PackageWriter) WriteArgsForCall(i int) (string, []byte, *tar.Writer)

func (*PackageWriter) WriteCallCount Uses

func (fake *PackageWriter) WriteCallCount() int

func (*PackageWriter) WriteCalls Uses

func (fake *PackageWriter) WriteCalls(stub func(string, []byte, *tar.Writer) error)

func (*PackageWriter) WriteReturns Uses

func (fake *PackageWriter) WriteReturns(result1 error)

func (*PackageWriter) WriteReturnsOnCall Uses

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

type Platform Uses

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 Uses

func (fake *Platform) GenerateDockerBuild(arg1 string, arg2 []byte, arg3 *tar.Writer) error

func (*Platform) GenerateDockerBuildArgsForCall Uses

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

func (*Platform) GenerateDockerBuildCallCount Uses

func (fake *Platform) GenerateDockerBuildCallCount() int

func (*Platform) GenerateDockerBuildCalls Uses

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

func (*Platform) GenerateDockerBuildReturns Uses

func (fake *Platform) GenerateDockerBuildReturns(result1 error)

func (*Platform) GenerateDockerBuildReturnsOnCall Uses

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

func (*Platform) GenerateDockerfile Uses

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

func (*Platform) GenerateDockerfileCallCount Uses

func (fake *Platform) GenerateDockerfileCallCount() int

func (*Platform) GenerateDockerfileCalls Uses

func (fake *Platform) GenerateDockerfileCalls(stub func() (string, error))

func (*Platform) GenerateDockerfileReturns Uses

func (fake *Platform) GenerateDockerfileReturns(result1 string, result2 error)

func (*Platform) GenerateDockerfileReturnsOnCall Uses

func (fake *Platform) GenerateDockerfileReturnsOnCall(i int, result1 string, result2 error)

func (*Platform) GetDeploymentPayload Uses

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

func (*Platform) GetDeploymentPayloadArgsForCall Uses

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

func (*Platform) GetDeploymentPayloadCallCount Uses

func (fake *Platform) GetDeploymentPayloadCallCount() int

func (*Platform) GetDeploymentPayloadCalls Uses

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

func (*Platform) GetDeploymentPayloadReturns Uses

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

func (*Platform) GetDeploymentPayloadReturnsOnCall Uses

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

func (*Platform) GetMetadataProvider Uses

func (fake *Platform) GetMetadataProvider(arg1 []byte) platforms.MetadataProvider

func (*Platform) GetMetadataProviderArgsForCall Uses

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

func (*Platform) GetMetadataProviderCallCount Uses

func (fake *Platform) GetMetadataProviderCallCount() int

func (*Platform) GetMetadataProviderCalls Uses

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

func (*Platform) GetMetadataProviderReturns Uses

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

func (*Platform) GetMetadataProviderReturnsOnCall Uses

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

func (*Platform) Invocations Uses

func (fake *Platform) Invocations() map[string][][]interface{}

func (*Platform) Name Uses

func (fake *Platform) Name() string

func (*Platform) NameCallCount Uses

func (fake *Platform) NameCallCount() int

func (*Platform) NameCalls Uses

func (fake *Platform) NameCalls(stub func() string)

func (*Platform) NameReturns Uses

func (fake *Platform) NameReturns(result1 string)

func (*Platform) NameReturnsOnCall Uses

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

func (*Platform) ValidateCodePackage Uses

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

func (*Platform) ValidateCodePackageArgsForCall Uses

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

func (*Platform) ValidateCodePackageCallCount Uses

func (fake *Platform) ValidateCodePackageCallCount() int

func (*Platform) ValidateCodePackageCalls Uses

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

func (*Platform) ValidateCodePackageReturns Uses

func (fake *Platform) ValidateCodePackageReturns(result1 error)

func (*Platform) ValidateCodePackageReturnsOnCall Uses

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

func (*Platform) ValidatePath Uses

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

func (*Platform) ValidatePathArgsForCall Uses

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

func (*Platform) ValidatePathCallCount Uses

func (fake *Platform) ValidatePathCallCount() int

func (*Platform) ValidatePathCalls Uses

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

func (*Platform) ValidatePathReturns Uses

func (fake *Platform) ValidatePathReturns(result1 error)

func (*Platform) ValidatePathReturnsOnCall Uses

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

Package mock imports 3 packages (graph). Updated 2019-01-09. Refresh now. Tools for package owners.