mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 3 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 ClientVersionProvider

type ClientVersionProvider struct {
	CurrentStub func() (protocol.Version, error)

	GetStub func(uint64) (protocol.Version, error)
	// contains filtered or unexported fields
}

func (*ClientVersionProvider) Current

func (fake *ClientVersionProvider) Current() (protocol.Version, error)

func (*ClientVersionProvider) CurrentCallCount

func (fake *ClientVersionProvider) CurrentCallCount() int

func (*ClientVersionProvider) CurrentCalls

func (fake *ClientVersionProvider) CurrentCalls(stub func() (protocol.Version, error))

func (*ClientVersionProvider) CurrentReturns

func (fake *ClientVersionProvider) CurrentReturns(result1 protocol.Version, result2 error)

func (*ClientVersionProvider) CurrentReturnsOnCall

func (fake *ClientVersionProvider) CurrentReturnsOnCall(i int, result1 protocol.Version, result2 error)

func (*ClientVersionProvider) Get

func (fake *ClientVersionProvider) Get(arg1 uint64) (protocol.Version, error)

func (*ClientVersionProvider) GetArgsForCall

func (fake *ClientVersionProvider) GetArgsForCall(i int) uint64

func (*ClientVersionProvider) GetCallCount

func (fake *ClientVersionProvider) GetCallCount() int

func (*ClientVersionProvider) GetCalls

func (fake *ClientVersionProvider) GetCalls(stub func(uint64) (protocol.Version, error))

func (*ClientVersionProvider) GetReturns

func (fake *ClientVersionProvider) GetReturns(result1 protocol.Version, result2 error)

func (*ClientVersionProvider) GetReturnsOnCall

func (fake *ClientVersionProvider) GetReturnsOnCall(i int, result1 protocol.Version, result2 error)

func (*ClientVersionProvider) Invocations

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

Jump to

Keyboard shortcuts

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