Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeReference
- func (fake *FakeReference) Invocations() map[string][][]interface{}
- func (fake *FakeReference) Name() (string, error)
- func (fake *FakeReference) NameCallCount() int
- func (fake *FakeReference) NameCalls(stub func() (string, error))
- func (fake *FakeReference) NameReturns(result1 string, result2 error)
- func (fake *FakeReference) NameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeReference) Reader() (io.ReadCloser, error)
- func (fake *FakeReference) ReaderCallCount() int
- func (fake *FakeReference) ReaderCalls(stub func() (io.ReadCloser, error))
- func (fake *FakeReference) ReaderReturns(result1 io.ReadCloser, result2 error)
- func (fake *FakeReference) ReaderReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *FakeReference) ReaderURI() string
- func (fake *FakeReference) ReaderURICallCount() int
- func (fake *FakeReference) ReaderURICalls(stub func() string)
- func (fake *FakeReference) ReaderURIReturns(result1 string)
- func (fake *FakeReference) ReaderURIReturnsOnCall(i int, result1 string)
- func (fake *FakeReference) Size() (uint64, error)
- func (fake *FakeReference) SizeCallCount() int
- func (fake *FakeReference) SizeCalls(stub func() (uint64, error))
- func (fake *FakeReference) SizeReturns(result1 uint64, result2 error)
- func (fake *FakeReference) SizeReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *FakeReference) WriteFrom(arg1 file.Reference, arg2 *pb.ProgressBar) error
- func (fake *FakeReference) WriteFromArgsForCall(i int) (file.Reference, *pb.ProgressBar)
- func (fake *FakeReference) WriteFromCallCount() int
- func (fake *FakeReference) WriteFromCalls(stub func(file.Reference, *pb.ProgressBar) error)
- func (fake *FakeReference) WriteFromReturns(result1 error)
- func (fake *FakeReference) WriteFromReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReference ¶
type FakeReference struct { NameStub func() (string, error) ReaderStub func() (io.ReadCloser, error) ReaderURIStub func() string SizeStub func() (uint64, error) WriteFromStub func(file.Reference, *pb.ProgressBar) error // contains filtered or unexported fields }
func (*FakeReference) Invocations ¶
func (fake *FakeReference) Invocations() map[string][][]interface{}
func (*FakeReference) Name ¶
func (fake *FakeReference) Name() (string, error)
func (*FakeReference) NameCallCount ¶
func (fake *FakeReference) NameCallCount() int
func (*FakeReference) NameCalls ¶ added in v0.5.0
func (fake *FakeReference) NameCalls(stub func() (string, error))
func (*FakeReference) NameReturns ¶
func (fake *FakeReference) NameReturns(result1 string, result2 error)
func (*FakeReference) NameReturnsOnCall ¶ added in v0.5.0
func (fake *FakeReference) NameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeReference) Reader ¶
func (fake *FakeReference) Reader() (io.ReadCloser, error)
func (*FakeReference) ReaderCallCount ¶
func (fake *FakeReference) ReaderCallCount() int
func (*FakeReference) ReaderCalls ¶ added in v0.5.0
func (fake *FakeReference) ReaderCalls(stub func() (io.ReadCloser, error))
func (*FakeReference) ReaderReturns ¶
func (fake *FakeReference) ReaderReturns(result1 io.ReadCloser, result2 error)
func (*FakeReference) ReaderReturnsOnCall ¶ added in v0.5.0
func (fake *FakeReference) ReaderReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*FakeReference) ReaderURI ¶
func (fake *FakeReference) ReaderURI() string
func (*FakeReference) ReaderURICallCount ¶
func (fake *FakeReference) ReaderURICallCount() int
func (*FakeReference) ReaderURICalls ¶ added in v0.5.0
func (fake *FakeReference) ReaderURICalls(stub func() string)
func (*FakeReference) ReaderURIReturns ¶
func (fake *FakeReference) ReaderURIReturns(result1 string)
func (*FakeReference) ReaderURIReturnsOnCall ¶ added in v0.5.0
func (fake *FakeReference) ReaderURIReturnsOnCall(i int, result1 string)
func (*FakeReference) Size ¶
func (fake *FakeReference) Size() (uint64, error)
func (*FakeReference) SizeCallCount ¶
func (fake *FakeReference) SizeCallCount() int
func (*FakeReference) SizeCalls ¶ added in v0.5.0
func (fake *FakeReference) SizeCalls(stub func() (uint64, error))
func (*FakeReference) SizeReturns ¶
func (fake *FakeReference) SizeReturns(result1 uint64, result2 error)
func (*FakeReference) SizeReturnsOnCall ¶ added in v0.5.0
func (fake *FakeReference) SizeReturnsOnCall(i int, result1 uint64, result2 error)
func (*FakeReference) WriteFrom ¶
func (fake *FakeReference) WriteFrom(arg1 file.Reference, arg2 *pb.ProgressBar) error
func (*FakeReference) WriteFromArgsForCall ¶
func (fake *FakeReference) WriteFromArgsForCall(i int) (file.Reference, *pb.ProgressBar)
func (*FakeReference) WriteFromCallCount ¶
func (fake *FakeReference) WriteFromCallCount() int
func (*FakeReference) WriteFromCalls ¶ added in v0.5.0
func (fake *FakeReference) WriteFromCalls(stub func(file.Reference, *pb.ProgressBar) error)
func (*FakeReference) WriteFromReturns ¶
func (fake *FakeReference) WriteFromReturns(result1 error)
func (*FakeReference) WriteFromReturnsOnCall ¶ added in v0.5.0
func (fake *FakeReference) WriteFromReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.