mocks

package
v0.0.0-...-7a628bf Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 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 ChannelManagement

type ChannelManagement struct {
	ChannelInfoStub func(string) (types.ChannelInfo, error)

	ChannelListStub func() types.ChannelList

	JoinChannelStub func(string, *common.Block, bool) (types.ChannelInfo, error)

	RemoveChannelStub func(string, bool) error
	// contains filtered or unexported fields
}

func (*ChannelManagement) ChannelInfo

func (fake *ChannelManagement) ChannelInfo(arg1 string) (types.ChannelInfo, error)

func (*ChannelManagement) ChannelInfoArgsForCall

func (fake *ChannelManagement) ChannelInfoArgsForCall(i int) string

func (*ChannelManagement) ChannelInfoCallCount

func (fake *ChannelManagement) ChannelInfoCallCount() int

func (*ChannelManagement) ChannelInfoCalls

func (fake *ChannelManagement) ChannelInfoCalls(stub func(string) (types.ChannelInfo, error))

func (*ChannelManagement) ChannelInfoReturns

func (fake *ChannelManagement) ChannelInfoReturns(result1 types.ChannelInfo, result2 error)

func (*ChannelManagement) ChannelInfoReturnsOnCall

func (fake *ChannelManagement) ChannelInfoReturnsOnCall(i int, result1 types.ChannelInfo, result2 error)

func (*ChannelManagement) ChannelList

func (fake *ChannelManagement) ChannelList() types.ChannelList

func (*ChannelManagement) ChannelListCallCount

func (fake *ChannelManagement) ChannelListCallCount() int

func (*ChannelManagement) ChannelListCalls

func (fake *ChannelManagement) ChannelListCalls(stub func() types.ChannelList)

func (*ChannelManagement) ChannelListReturns

func (fake *ChannelManagement) ChannelListReturns(result1 types.ChannelList)

func (*ChannelManagement) ChannelListReturnsOnCall

func (fake *ChannelManagement) ChannelListReturnsOnCall(i int, result1 types.ChannelList)

func (*ChannelManagement) Invocations

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

func (*ChannelManagement) JoinChannel

func (fake *ChannelManagement) JoinChannel(arg1 string, arg2 *common.Block, arg3 bool) (types.ChannelInfo, error)

func (*ChannelManagement) JoinChannelArgsForCall

func (fake *ChannelManagement) JoinChannelArgsForCall(i int) (string, *common.Block, bool)

func (*ChannelManagement) JoinChannelCallCount

func (fake *ChannelManagement) JoinChannelCallCount() int

func (*ChannelManagement) JoinChannelCalls

func (fake *ChannelManagement) JoinChannelCalls(stub func(string, *common.Block, bool) (types.ChannelInfo, error))

func (*ChannelManagement) JoinChannelReturns

func (fake *ChannelManagement) JoinChannelReturns(result1 types.ChannelInfo, result2 error)

func (*ChannelManagement) JoinChannelReturnsOnCall

func (fake *ChannelManagement) JoinChannelReturnsOnCall(i int, result1 types.ChannelInfo, result2 error)

func (*ChannelManagement) RemoveChannel

func (fake *ChannelManagement) RemoveChannel(arg1 string, arg2 bool) error

func (*ChannelManagement) RemoveChannelArgsForCall

func (fake *ChannelManagement) RemoveChannelArgsForCall(i int) (string, bool)

func (*ChannelManagement) RemoveChannelCallCount

func (fake *ChannelManagement) RemoveChannelCallCount() int

func (*ChannelManagement) RemoveChannelCalls

func (fake *ChannelManagement) RemoveChannelCalls(stub func(string, bool) error)

func (*ChannelManagement) RemoveChannelReturns

func (fake *ChannelManagement) RemoveChannelReturns(result1 error)

func (*ChannelManagement) RemoveChannelReturnsOnCall

func (fake *ChannelManagement) RemoveChannelReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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