filelockfakes

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FakeHash

type FakeHash struct {
	WriteStub func(p []byte) (n int, err error)

	SumStub func(b []byte) []byte

	ResetStub func()

	SizeStub func() int

	BlockSizeStub func() int
	// contains filtered or unexported fields
}

func (*FakeHash) BlockSize

func (fake *FakeHash) BlockSize() int

func (*FakeHash) BlockSizeCallCount

func (fake *FakeHash) BlockSizeCallCount() int

func (*FakeHash) BlockSizeReturns

func (fake *FakeHash) BlockSizeReturns(result1 int)

func (*FakeHash) BlockSizeReturnsOnCall

func (fake *FakeHash) BlockSizeReturnsOnCall(i int, result1 int)

func (*FakeHash) Invocations

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

func (*FakeHash) Reset

func (fake *FakeHash) Reset()

func (*FakeHash) ResetCallCount

func (fake *FakeHash) ResetCallCount() int

func (*FakeHash) Size

func (fake *FakeHash) Size() int

func (*FakeHash) SizeCallCount

func (fake *FakeHash) SizeCallCount() int

func (*FakeHash) SizeReturns

func (fake *FakeHash) SizeReturns(result1 int)

func (*FakeHash) SizeReturnsOnCall

func (fake *FakeHash) SizeReturnsOnCall(i int, result1 int)

func (*FakeHash) Sum

func (fake *FakeHash) Sum(b []byte) []byte

func (*FakeHash) SumArgsForCall

func (fake *FakeHash) SumArgsForCall(i int) []byte

func (*FakeHash) SumCallCount

func (fake *FakeHash) SumCallCount() int

func (*FakeHash) SumReturns

func (fake *FakeHash) SumReturns(result1 []byte)

func (*FakeHash) SumReturnsOnCall

func (fake *FakeHash) SumReturnsOnCall(i int, result1 []byte)

func (*FakeHash) Write

func (fake *FakeHash) Write(p []byte) (n int, err error)

func (*FakeHash) WriteArgsForCall

func (fake *FakeHash) WriteArgsForCall(i int) []byte

func (*FakeHash) WriteCallCount

func (fake *FakeHash) WriteCallCount() int

func (*FakeHash) WriteReturns

func (fake *FakeHash) WriteReturns(result1 int, result2 error)

func (*FakeHash) WriteReturnsOnCall

func (fake *FakeHash) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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