fakes

package
v0.0.0-...-0e59c02 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 3 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 HttpClient

type HttpClient struct {
	DoStub func(*http.Request) (*http.Response, error)
	// contains filtered or unexported fields
}

func (*HttpClient) Do

func (fake *HttpClient) Do(arg1 *http.Request) (*http.Response, error)

func (*HttpClient) DoArgsForCall

func (fake *HttpClient) DoArgsForCall(i int) *http.Request

func (*HttpClient) DoCallCount

func (fake *HttpClient) DoCallCount() int

func (*HttpClient) DoReturns

func (fake *HttpClient) DoReturns(result1 *http.Response, result2 error)

func (*HttpClient) DoReturnsOnCall

func (fake *HttpClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)

func (*HttpClient) Invocations

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

type LiveWriter

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

	StartStub func()

	StopStub func()
	// contains filtered or unexported fields
}

func (*LiveWriter) Invocations

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

func (*LiveWriter) Start

func (fake *LiveWriter) Start()

func (*LiveWriter) StartCallCount

func (fake *LiveWriter) StartCallCount() int

func (*LiveWriter) Stop

func (fake *LiveWriter) Stop()

func (*LiveWriter) StopCallCount

func (fake *LiveWriter) StopCallCount() int

func (*LiveWriter) Write

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

func (*LiveWriter) WriteArgsForCall

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

func (*LiveWriter) WriteCallCount

func (fake *LiveWriter) WriteCallCount() int

func (*LiveWriter) WriteReturns

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

func (*LiveWriter) WriteReturnsOnCall

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

type Progress

type Progress struct {
	SetTotalStub func(int64)

	NewBarReaderStub func(io.Reader) io.Reader

	KickoffStub func()

	EndStub func()

	GetTotalStub func() int64

	GetCurrentStub func() int64
	// contains filtered or unexported fields
}

func (*Progress) End

func (fake *Progress) End()

func (*Progress) EndCallCount

func (fake *Progress) EndCallCount() int

func (*Progress) GetCurrent

func (fake *Progress) GetCurrent() int64

func (*Progress) GetCurrentCallCount

func (fake *Progress) GetCurrentCallCount() int

func (*Progress) GetCurrentReturns

func (fake *Progress) GetCurrentReturns(result1 int64)

func (*Progress) GetCurrentReturnsOnCall

func (fake *Progress) GetCurrentReturnsOnCall(i int, result1 int64)

func (*Progress) GetTotal

func (fake *Progress) GetTotal() int64

func (*Progress) GetTotalCallCount

func (fake *Progress) GetTotalCallCount() int

func (*Progress) GetTotalReturns

func (fake *Progress) GetTotalReturns(result1 int64)

func (*Progress) GetTotalReturnsOnCall

func (fake *Progress) GetTotalReturnsOnCall(i int, result1 int64)

func (*Progress) Invocations

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

func (*Progress) Kickoff

func (fake *Progress) Kickoff()

func (*Progress) KickoffCallCount

func (fake *Progress) KickoffCallCount() int

func (*Progress) NewBarReader

func (fake *Progress) NewBarReader(arg1 io.Reader) io.Reader

func (*Progress) NewBarReaderArgsForCall

func (fake *Progress) NewBarReaderArgsForCall(i int) io.Reader

func (*Progress) NewBarReaderCallCount

func (fake *Progress) NewBarReaderCallCount() int

func (*Progress) NewBarReaderReturns

func (fake *Progress) NewBarReaderReturns(result1 io.Reader)

func (*Progress) NewBarReaderReturnsOnCall

func (fake *Progress) NewBarReaderReturnsOnCall(i int, result1 io.Reader)

func (*Progress) SetTotal

func (fake *Progress) SetTotal(arg1 int64)

func (*Progress) SetTotalArgsForCall

func (fake *Progress) SetTotalArgsForCall(i int) int64

func (*Progress) SetTotalCallCount

func (fake *Progress) SetTotalCallCount() int

Jump to

Keyboard shortcuts

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