mocks

package
v2.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 ServerStreamMock

type ServerStreamMock struct {
	ContextStub func() context.Context

	RecvMsgStub func(interface{}) error

	SendHeaderStub func(metadata.MD) error

	SendMsgStub func(interface{}) error

	SetHeaderStub func(metadata.MD) error

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

func (*ServerStreamMock) Context

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

func (*ServerStreamMock) ContextCallCount

func (fake *ServerStreamMock) ContextCallCount() int

func (*ServerStreamMock) ContextCalls

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

func (*ServerStreamMock) ContextReturns

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

func (*ServerStreamMock) ContextReturnsOnCall

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

func (*ServerStreamMock) Invocations

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

func (*ServerStreamMock) RecvMsg

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

func (*ServerStreamMock) RecvMsgArgsForCall

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

func (*ServerStreamMock) RecvMsgCallCount

func (fake *ServerStreamMock) RecvMsgCallCount() int

func (*ServerStreamMock) RecvMsgCalls

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

func (*ServerStreamMock) RecvMsgReturns

func (fake *ServerStreamMock) RecvMsgReturns(result1 error)

func (*ServerStreamMock) RecvMsgReturnsOnCall

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

func (*ServerStreamMock) SendHeader

func (fake *ServerStreamMock) SendHeader(arg1 metadata.MD) error

func (*ServerStreamMock) SendHeaderArgsForCall

func (fake *ServerStreamMock) SendHeaderArgsForCall(i int) metadata.MD

func (*ServerStreamMock) SendHeaderCallCount

func (fake *ServerStreamMock) SendHeaderCallCount() int

func (*ServerStreamMock) SendHeaderCalls

func (fake *ServerStreamMock) SendHeaderCalls(stub func(metadata.MD) error)

func (*ServerStreamMock) SendHeaderReturns

func (fake *ServerStreamMock) SendHeaderReturns(result1 error)

func (*ServerStreamMock) SendHeaderReturnsOnCall

func (fake *ServerStreamMock) SendHeaderReturnsOnCall(i int, result1 error)

func (*ServerStreamMock) SendMsg

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

func (*ServerStreamMock) SendMsgArgsForCall

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

func (*ServerStreamMock) SendMsgCallCount

func (fake *ServerStreamMock) SendMsgCallCount() int

func (*ServerStreamMock) SendMsgCalls

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

func (*ServerStreamMock) SendMsgReturns

func (fake *ServerStreamMock) SendMsgReturns(result1 error)

func (*ServerStreamMock) SendMsgReturnsOnCall

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

func (*ServerStreamMock) SetHeader

func (fake *ServerStreamMock) SetHeader(arg1 metadata.MD) error

func (*ServerStreamMock) SetHeaderArgsForCall

func (fake *ServerStreamMock) SetHeaderArgsForCall(i int) metadata.MD

func (*ServerStreamMock) SetHeaderCallCount

func (fake *ServerStreamMock) SetHeaderCallCount() int

func (*ServerStreamMock) SetHeaderCalls

func (fake *ServerStreamMock) SetHeaderCalls(stub func(metadata.MD) error)

func (*ServerStreamMock) SetHeaderReturns

func (fake *ServerStreamMock) SetHeaderReturns(result1 error)

func (*ServerStreamMock) SetHeaderReturnsOnCall

func (fake *ServerStreamMock) SetHeaderReturnsOnCall(i int, result1 error)

func (*ServerStreamMock) SetTrailer

func (fake *ServerStreamMock) SetTrailer(arg1 metadata.MD)

func (*ServerStreamMock) SetTrailerArgsForCall

func (fake *ServerStreamMock) SetTrailerArgsForCall(i int) metadata.MD

func (*ServerStreamMock) SetTrailerCallCount

func (fake *ServerStreamMock) SetTrailerCallCount() int

func (*ServerStreamMock) SetTrailerCalls

func (fake *ServerStreamMock) SetTrailerCalls(stub func(metadata.MD))

Jump to

Keyboard shortcuts

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