mock

package
v0.0.0-...-ea48f79 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 6 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deliver

type Deliver struct {
	CloseSendStub func() error

	ContextStub func() context.Context

	HeaderStub func() (metadata.MD, error)

	RecvStub func() (*peer.DeliverResponse, error)

	RecvMsgStub func(interface{}) error

	SendStub func(*common.Envelope) error

	SendMsgStub func(interface{}) error

	TrailerStub func() metadata.MD
	// contains filtered or unexported fields
}

func (*Deliver) CloseSend

func (fake *Deliver) CloseSend() error

func (*Deliver) CloseSendCallCount

func (fake *Deliver) CloseSendCallCount() int

func (*Deliver) CloseSendCalls

func (fake *Deliver) CloseSendCalls(stub func() error)

func (*Deliver) CloseSendReturns

func (fake *Deliver) CloseSendReturns(result1 error)

func (*Deliver) CloseSendReturnsOnCall

func (fake *Deliver) CloseSendReturnsOnCall(i int, result1 error)

func (*Deliver) Context

func (fake *Deliver) Context() context.Context

func (*Deliver) ContextCallCount

func (fake *Deliver) ContextCallCount() int

func (*Deliver) ContextCalls

func (fake *Deliver) ContextCalls(stub func() context.Context)

func (*Deliver) ContextReturns

func (fake *Deliver) ContextReturns(result1 context.Context)

func (*Deliver) ContextReturnsOnCall

func (fake *Deliver) ContextReturnsOnCall(i int, result1 context.Context)

func (*Deliver) Header

func (fake *Deliver) Header() (metadata.MD, error)

func (*Deliver) HeaderCallCount

func (fake *Deliver) HeaderCallCount() int

func (*Deliver) HeaderCalls

func (fake *Deliver) HeaderCalls(stub func() (metadata.MD, error))

func (*Deliver) HeaderReturns

func (fake *Deliver) HeaderReturns(result1 metadata.MD, result2 error)

func (*Deliver) HeaderReturnsOnCall

func (fake *Deliver) HeaderReturnsOnCall(i int, result1 metadata.MD, result2 error)

func (*Deliver) Invocations

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

func (*Deliver) Recv

func (fake *Deliver) Recv() (*peer.DeliverResponse, error)

func (*Deliver) RecvCallCount

func (fake *Deliver) RecvCallCount() int

func (*Deliver) RecvCalls

func (fake *Deliver) RecvCalls(stub func() (*peer.DeliverResponse, error))

func (*Deliver) RecvMsg

func (fake *Deliver) RecvMsg(arg1 interface{}) error

func (*Deliver) RecvMsgArgsForCall

func (fake *Deliver) RecvMsgArgsForCall(i int) interface{}

func (*Deliver) RecvMsgCallCount

func (fake *Deliver) RecvMsgCallCount() int

func (*Deliver) RecvMsgCalls

func (fake *Deliver) RecvMsgCalls(stub func(interface{}) error)

func (*Deliver) RecvMsgReturns

func (fake *Deliver) RecvMsgReturns(result1 error)

func (*Deliver) RecvMsgReturnsOnCall

func (fake *Deliver) RecvMsgReturnsOnCall(i int, result1 error)

func (*Deliver) RecvReturns

func (fake *Deliver) RecvReturns(result1 *peer.DeliverResponse, result2 error)

func (*Deliver) RecvReturnsOnCall

func (fake *Deliver) RecvReturnsOnCall(i int, result1 *peer.DeliverResponse, result2 error)

func (*Deliver) Send

func (fake *Deliver) Send(arg1 *common.Envelope) error

func (*Deliver) SendArgsForCall

func (fake *Deliver) SendArgsForCall(i int) *common.Envelope

func (*Deliver) SendCallCount

func (fake *Deliver) SendCallCount() int

func (*Deliver) SendCalls

func (fake *Deliver) SendCalls(stub func(*common.Envelope) error)

func (*Deliver) SendMsg

func (fake *Deliver) SendMsg(arg1 interface{}) error

func (*Deliver) SendMsgArgsForCall

func (fake *Deliver) SendMsgArgsForCall(i int) interface{}

func (*Deliver) SendMsgCallCount

func (fake *Deliver) SendMsgCallCount() int

func (*Deliver) SendMsgCalls

func (fake *Deliver) SendMsgCalls(stub func(interface{}) error)

func (*Deliver) SendMsgReturns

func (fake *Deliver) SendMsgReturns(result1 error)

func (*Deliver) SendMsgReturnsOnCall

func (fake *Deliver) SendMsgReturnsOnCall(i int, result1 error)

func (*Deliver) SendReturns

func (fake *Deliver) SendReturns(result1 error)

func (*Deliver) SendReturnsOnCall

func (fake *Deliver) SendReturnsOnCall(i int, result1 error)

func (*Deliver) Trailer

func (fake *Deliver) Trailer() metadata.MD

func (*Deliver) TrailerCallCount

func (fake *Deliver) TrailerCallCount() int

func (*Deliver) TrailerCalls

func (fake *Deliver) TrailerCalls(stub func() metadata.MD)

func (*Deliver) TrailerReturns

func (fake *Deliver) TrailerReturns(result1 metadata.MD)

func (*Deliver) TrailerReturnsOnCall

func (fake *Deliver) TrailerReturnsOnCall(i int, result1 metadata.MD)

type PeerDeliverClient

type PeerDeliverClient struct {
	DeliverStub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverClient, error)

	DeliverFilteredStub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error)
	// contains filtered or unexported fields
}

func (*PeerDeliverClient) Deliver

func (*PeerDeliverClient) DeliverArgsForCall

func (fake *PeerDeliverClient) DeliverArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*PeerDeliverClient) DeliverCallCount

func (fake *PeerDeliverClient) DeliverCallCount() int

func (*PeerDeliverClient) DeliverCalls

func (fake *PeerDeliverClient) DeliverCalls(stub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverClient, error))

func (*PeerDeliverClient) DeliverFiltered

func (fake *PeerDeliverClient) DeliverFiltered(arg1 context.Context, arg2 ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error)

func (*PeerDeliverClient) DeliverFilteredArgsForCall

func (fake *PeerDeliverClient) DeliverFilteredArgsForCall(i int) (context.Context, []grpc.CallOption)

func (*PeerDeliverClient) DeliverFilteredCallCount

func (fake *PeerDeliverClient) DeliverFilteredCallCount() int

func (*PeerDeliverClient) DeliverFilteredCalls

func (fake *PeerDeliverClient) DeliverFilteredCalls(stub func(context.Context, ...grpc.CallOption) (peer.Deliver_DeliverFilteredClient, error))

func (*PeerDeliverClient) DeliverFilteredReturns

func (fake *PeerDeliverClient) DeliverFilteredReturns(result1 peer.Deliver_DeliverFilteredClient, result2 error)

func (*PeerDeliverClient) DeliverFilteredReturnsOnCall

func (fake *PeerDeliverClient) DeliverFilteredReturnsOnCall(i int, result1 peer.Deliver_DeliverFilteredClient, result2 error)

func (*PeerDeliverClient) DeliverReturns

func (fake *PeerDeliverClient) DeliverReturns(result1 peer.Deliver_DeliverClient, result2 error)

func (*PeerDeliverClient) DeliverReturnsOnCall

func (fake *PeerDeliverClient) DeliverReturnsOnCall(i int, result1 peer.Deliver_DeliverClient, result2 error)

func (*PeerDeliverClient) Invocations

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

type SignerSerializer

type SignerSerializer struct {
	SerializeStub func() ([]byte, error)

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

func (*SignerSerializer) Invocations

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

func (*SignerSerializer) Serialize

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

func (*SignerSerializer) SerializeCallCount

func (fake *SignerSerializer) SerializeCallCount() int

func (*SignerSerializer) SerializeCalls

func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))

func (*SignerSerializer) SerializeReturns

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

func (*SignerSerializer) SerializeReturnsOnCall

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

func (*SignerSerializer) Sign

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

func (*SignerSerializer) SignArgsForCall

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

func (*SignerSerializer) SignCallCount

func (fake *SignerSerializer) SignCallCount() int

func (*SignerSerializer) SignCalls

func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))

func (*SignerSerializer) SignReturns

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

func (*SignerSerializer) SignReturnsOnCall

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

Jump to

Keyboard shortcuts

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