fakes

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	SetTotalStub func(contentLength int64)

	SetOutputStub func(output io.Writer)

	AddStub func(totalWritten int) int

	KickoffStub func()

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

func (*Bar) Add

func (fake *Bar) Add(totalWritten int) int

func (*Bar) AddArgsForCall

func (fake *Bar) AddArgsForCall(i int) int

func (*Bar) AddCallCount

func (fake *Bar) AddCallCount() int

func (*Bar) AddReturns

func (fake *Bar) AddReturns(result1 int)

func (*Bar) Finish

func (fake *Bar) Finish()

func (*Bar) FinishCallCount

func (fake *Bar) FinishCallCount() int

func (*Bar) Invocations added in v0.0.37

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

func (*Bar) Kickoff

func (fake *Bar) Kickoff()

func (*Bar) KickoffCallCount

func (fake *Bar) KickoffCallCount() int

func (*Bar) SetOutput added in v0.0.37

func (fake *Bar) SetOutput(output io.Writer)

func (*Bar) SetOutputArgsForCall added in v0.0.37

func (fake *Bar) SetOutputArgsForCall(i int) io.Writer

func (*Bar) SetOutputCallCount added in v0.0.37

func (fake *Bar) SetOutputCallCount() int

func (*Bar) SetTotal

func (fake *Bar) SetTotal(contentLength int64)

func (*Bar) SetTotalArgsForCall

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

func (*Bar) SetTotalCallCount

func (fake *Bar) SetTotalCallCount() int

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) Invocations added in v0.0.37

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

type Ranger

type Ranger struct {
	BuildRangeStub func(contentLength int64) ([]download.Range, error)
	// contains filtered or unexported fields
}

func (*Ranger) BuildRange

func (fake *Ranger) BuildRange(contentLength int64) ([]download.Range, error)

func (*Ranger) BuildRangeArgsForCall

func (fake *Ranger) BuildRangeArgsForCall(i int) int64

func (*Ranger) BuildRangeCallCount

func (fake *Ranger) BuildRangeCallCount() int

func (*Ranger) BuildRangeReturns

func (fake *Ranger) BuildRangeReturns(result1 []download.Range, result2 error)

func (*Ranger) Invocations added in v0.0.37

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

Jump to

Keyboard shortcuts

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