mock

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 Issuer

type Issuer struct {
	RequestImportStub func(tokensToIssue []*token.TokenToIssue) (*token.TokenTransaction, error)
	// contains filtered or unexported fields
}

func (*Issuer) Invocations

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

func (*Issuer) RequestImport

func (fake *Issuer) RequestImport(tokensToIssue []*token.TokenToIssue) (*token.TokenTransaction, error)

func (*Issuer) RequestImportArgsForCall

func (fake *Issuer) RequestImportArgsForCall(i int) []*token.TokenToIssue

func (*Issuer) RequestImportCallCount

func (fake *Issuer) RequestImportCallCount() int

func (*Issuer) RequestImportReturns

func (fake *Issuer) RequestImportReturns(result1 *token.TokenTransaction, result2 error)

func (*Issuer) RequestImportReturnsOnCall

func (fake *Issuer) RequestImportReturnsOnCall(i int, result1 *token.TokenTransaction, result2 error)

type Marshaler

type Marshaler struct {
	MarshalCommandResponseStub func(command []byte, responsePayload interface{}) (*token.SignedCommandResponse, error)
	// contains filtered or unexported fields
}

func (*Marshaler) Invocations

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

func (*Marshaler) MarshalCommandResponse

func (fake *Marshaler) MarshalCommandResponse(command []byte, responsePayload interface{}) (*token.SignedCommandResponse, error)

func (*Marshaler) MarshalCommandResponseArgsForCall

func (fake *Marshaler) MarshalCommandResponseArgsForCall(i int) ([]byte, interface{})

func (*Marshaler) MarshalCommandResponseCallCount

func (fake *Marshaler) MarshalCommandResponseCallCount() int

func (*Marshaler) MarshalCommandResponseReturns

func (fake *Marshaler) MarshalCommandResponseReturns(result1 *token.SignedCommandResponse, result2 error)

func (*Marshaler) MarshalCommandResponseReturnsOnCall

func (fake *Marshaler) MarshalCommandResponseReturnsOnCall(i int, result1 *token.SignedCommandResponse, result2 error)

type PolicyChecker

type PolicyChecker struct {
	CheckStub func(sc *token.SignedCommand, c *token.Command) error
	// contains filtered or unexported fields
}

func (*PolicyChecker) Check

func (fake *PolicyChecker) Check(sc *token.SignedCommand, c *token.Command) error

func (*PolicyChecker) CheckArgsForCall

func (fake *PolicyChecker) CheckArgsForCall(i int) (*token.SignedCommand, *token.Command)

func (*PolicyChecker) CheckCallCount

func (fake *PolicyChecker) CheckCallCount() int

func (*PolicyChecker) CheckReturns

func (fake *PolicyChecker) CheckReturns(result1 error)

func (*PolicyChecker) CheckReturnsOnCall

func (fake *PolicyChecker) CheckReturnsOnCall(i int, result1 error)

func (*PolicyChecker) Invocations

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

type SignedDataPolicyChecker

type SignedDataPolicyChecker struct {
	CheckPolicyBySignedDataStub func(channelID, policyName string, sd []*common.SignedData) error
	// contains filtered or unexported fields
}

func (*SignedDataPolicyChecker) CheckPolicyBySignedData

func (fake *SignedDataPolicyChecker) CheckPolicyBySignedData(channelID string, policyName string, sd []*common.SignedData) error

func (*SignedDataPolicyChecker) CheckPolicyBySignedDataArgsForCall

func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataArgsForCall(i int) (string, string, []*common.SignedData)

func (*SignedDataPolicyChecker) CheckPolicyBySignedDataCallCount

func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataCallCount() int

func (*SignedDataPolicyChecker) CheckPolicyBySignedDataReturns

func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturns(result1 error)

func (*SignedDataPolicyChecker) CheckPolicyBySignedDataReturnsOnCall

func (fake *SignedDataPolicyChecker) CheckPolicyBySignedDataReturnsOnCall(i int, result1 error)

func (*SignedDataPolicyChecker) Invocations

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

type SignerIdentity

type SignerIdentity struct {
	SignStub func([]byte) ([]byte, error)

	SerializeStub func() ([]byte, error)
	// contains filtered or unexported fields
}

func (*SignerIdentity) Invocations

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

func (*SignerIdentity) Serialize

func (fake *SignerIdentity) Serialize() ([]byte, error)

func (*SignerIdentity) SerializeCallCount

func (fake *SignerIdentity) SerializeCallCount() int

func (*SignerIdentity) SerializeReturns

func (fake *SignerIdentity) SerializeReturns(result1 []byte, result2 error)

func (*SignerIdentity) SerializeReturnsOnCall

func (fake *SignerIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*SignerIdentity) Sign

func (fake *SignerIdentity) Sign(arg1 []byte) ([]byte, error)

func (*SignerIdentity) SignArgsForCall

func (fake *SignerIdentity) SignArgsForCall(i int) []byte

func (*SignerIdentity) SignCallCount

func (fake *SignerIdentity) SignCallCount() int

func (*SignerIdentity) SignReturns

func (fake *SignerIdentity) SignReturns(result1 []byte, result2 error)

func (*SignerIdentity) SignReturnsOnCall

func (fake *SignerIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)

type TMSManager

type TMSManager struct {
	GetIssuerStub func(channel string, privateCredential, publicCredential []byte) (server.Issuer, error)
	// contains filtered or unexported fields
}

func (*TMSManager) GetIssuer

func (fake *TMSManager) GetIssuer(channel string, privateCredential []byte, publicCredential []byte) (server.Issuer, error)

func (*TMSManager) GetIssuerArgsForCall

func (fake *TMSManager) GetIssuerArgsForCall(i int) (string, []byte, []byte)

func (*TMSManager) GetIssuerCallCount

func (fake *TMSManager) GetIssuerCallCount() int

func (*TMSManager) GetIssuerReturns

func (fake *TMSManager) GetIssuerReturns(result1 server.Issuer, result2 error)

func (*TMSManager) GetIssuerReturnsOnCall

func (fake *TMSManager) GetIssuerReturnsOnCall(i int, result1 server.Issuer, result2 error)

func (*TMSManager) Invocations

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL