Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type Composer
- type Compressor
- func (fake *Compressor) Compress(ctx *parcello.CompressorContext) (*parcello.Bundle, error)
- func (fake *Compressor) CompressArgsForCall(i int) *parcello.CompressorContext
- func (fake *Compressor) CompressCallCount() int
- func (fake *Compressor) CompressReturns(result1 *parcello.Bundle, result2 error)
- func (fake *Compressor) Invocations() map[string][][]interface{}
- type File
- func (fake *File) Close() error
- func (fake *File) CloseCallCount() int
- func (fake *File) CloseReturns(result1 error)
- func (fake *File) Invocations() map[string][][]interface{}
- func (fake *File) Read(p []byte) (n int, err error)
- func (fake *File) ReadArgsForCall(i int) []byte
- func (fake *File) ReadAt(p []byte, off int64) (n int, err error)
- func (fake *File) ReadAtArgsForCall(i int) ([]byte, int64)
- func (fake *File) ReadAtCallCount() int
- func (fake *File) ReadAtReturns(result1 int, result2 error)
- func (fake *File) ReadCallCount() int
- func (fake *File) ReadReturns(result1 int, result2 error)
- func (fake *File) Readdir(count int) ([]os.FileInfo, error)
- func (fake *File) ReaddirArgsForCall(i int) int
- func (fake *File) ReaddirCallCount() int
- func (fake *File) ReaddirReturns(result1 []os.FileInfo, result2 error)
- func (fake *File) Seek(offset int64, whence int) (int64, error)
- func (fake *File) SeekArgsForCall(i int) (int64, int)
- func (fake *File) SeekCallCount() int
- func (fake *File) SeekReturns(result1 int64, result2 error)
- func (fake *File) Stat() (os.FileInfo, error)
- func (fake *File) StatCallCount() int
- func (fake *File) StatReturns(result1 os.FileInfo, result2 error)
- func (fake *File) Write(p []byte) (n int, err error)
- func (fake *File) WriteArgsForCall(i int) []byte
- func (fake *File) WriteCallCount() int
- func (fake *File) WriteReturns(result1 int, result2 error)
- type FileSystem
- func (fake *FileSystem) Invocations() map[string][][]interface{}
- func (fake *FileSystem) Open(name string) (http.File, error)
- func (fake *FileSystem) OpenArgsForCall(i int) string
- func (fake *FileSystem) OpenCallCount() int
- func (fake *FileSystem) OpenFile(name string, flag int, perm os.FileMode) (parcello.File, error)
- func (fake *FileSystem) OpenFileArgsForCall(i int) (string, int, os.FileMode)
- func (fake *FileSystem) OpenFileCallCount() int
- func (fake *FileSystem) OpenFileReturns(result1 parcello.File, result2 error)
- func (fake *FileSystem) OpenReturns(result1 http.File, result2 error)
- func (fake *FileSystem) Walk(dir string, fn filepath.WalkFunc) error
- func (fake *FileSystem) WalkArgsForCall(i int) (string, filepath.WalkFunc)
- func (fake *FileSystem) WalkCallCount() int
- func (fake *FileSystem) WalkReturns(result1 error)
- type FileSystemManager
- func (fake *FileSystemManager) Add(resource *parcello.Resource) error
- func (fake *FileSystemManager) AddArgsForCall(i int) *parcello.Resource
- func (fake *FileSystemManager) AddCallCount() int
- func (fake *FileSystemManager) AddReturns(result1 error)
- func (fake *FileSystemManager) Dir(name string) (parcello.FileSystemManager, error)
- func (fake *FileSystemManager) DirArgsForCall(i int) string
- func (fake *FileSystemManager) DirCallCount() int
- func (fake *FileSystemManager) DirReturns(result1 parcello.FileSystemManager, result2 error)
- func (fake *FileSystemManager) Invocations() map[string][][]interface{}
- func (fake *FileSystemManager) Open(name string) (http.File, error)
- func (fake *FileSystemManager) OpenArgsForCall(i int) string
- func (fake *FileSystemManager) OpenCallCount() int
- func (fake *FileSystemManager) OpenFile(name string, flag int, perm os.FileMode) (parcello.File, error)
- func (fake *FileSystemManager) OpenFileArgsForCall(i int) (string, int, os.FileMode)
- func (fake *FileSystemManager) OpenFileCallCount() int
- func (fake *FileSystemManager) OpenFileReturns(result1 parcello.File, result2 error)
- func (fake *FileSystemManager) OpenReturns(result1 http.File, result2 error)
- func (fake *FileSystemManager) Walk(dir string, fn filepath.WalkFunc) error
- func (fake *FileSystemManager) WalkArgsForCall(i int) (string, filepath.WalkFunc)
- func (fake *FileSystemManager) WalkCallCount() int
- func (fake *FileSystemManager) WalkReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Composer ¶
type Composer struct { ComposeStub func(bundle *parcello.Bundle) error // contains filtered or unexported fields }
func (*Composer) ComposeArgsForCall ¶
func (*Composer) ComposeCallCount ¶
func (*Composer) ComposeReturns ¶
func (*Composer) Invocations ¶
type Compressor ¶
type Compressor struct { CompressStub func(ctx *parcello.CompressorContext) (*parcello.Bundle, error) // contains filtered or unexported fields }
func (*Compressor) Compress ¶
func (fake *Compressor) Compress(ctx *parcello.CompressorContext) (*parcello.Bundle, error)
func (*Compressor) CompressArgsForCall ¶
func (fake *Compressor) CompressArgsForCall(i int) *parcello.CompressorContext
func (*Compressor) CompressCallCount ¶
func (fake *Compressor) CompressCallCount() int
func (*Compressor) CompressReturns ¶
func (fake *Compressor) CompressReturns(result1 *parcello.Bundle, result2 error)
func (*Compressor) Invocations ¶
func (fake *Compressor) Invocations() map[string][][]interface{}
type File ¶
type File struct { CloseStub func() error ReadStub func(p []byte) (n int, err error) SeekStub func(offset int64, whence int) (int64, error) ReaddirStub func(count int) ([]os.FileInfo, error) StatStub func() (os.FileInfo, error) WriteStub func(p []byte) (n int, err error) ReadAtStub func(p []byte, off int64) (n int, err error) // contains filtered or unexported fields }
func (*File) CloseCallCount ¶
func (*File) CloseReturns ¶
func (*File) Invocations ¶
func (*File) ReadArgsForCall ¶
func (*File) ReadAtCallCount ¶
func (*File) ReadAtReturns ¶
func (*File) ReadCallCount ¶
func (*File) ReadReturns ¶
func (*File) ReaddirArgsForCall ¶
func (*File) ReaddirCallCount ¶
func (*File) ReaddirReturns ¶
func (*File) SeekCallCount ¶
func (*File) SeekReturns ¶
func (*File) StatCallCount ¶
func (*File) WriteArgsForCall ¶
func (*File) WriteCallCount ¶
func (*File) WriteReturns ¶
type FileSystem ¶
type FileSystem struct { OpenStub func(name string) (http.File, error) WalkStub func(dir string, fn filepath.WalkFunc) error OpenFileStub func(name string, flag int, perm os.FileMode) (parcello.File, error) // contains filtered or unexported fields }
func (*FileSystem) Invocations ¶
func (fake *FileSystem) Invocations() map[string][][]interface{}
func (*FileSystem) OpenArgsForCall ¶
func (fake *FileSystem) OpenArgsForCall(i int) string
func (*FileSystem) OpenCallCount ¶
func (fake *FileSystem) OpenCallCount() int
func (*FileSystem) OpenFileArgsForCall ¶
func (*FileSystem) OpenFileCallCount ¶
func (fake *FileSystem) OpenFileCallCount() int
func (*FileSystem) OpenFileReturns ¶
func (fake *FileSystem) OpenFileReturns(result1 parcello.File, result2 error)
func (*FileSystem) OpenReturns ¶
func (fake *FileSystem) OpenReturns(result1 http.File, result2 error)
func (*FileSystem) WalkArgsForCall ¶
func (fake *FileSystem) WalkArgsForCall(i int) (string, filepath.WalkFunc)
func (*FileSystem) WalkCallCount ¶
func (fake *FileSystem) WalkCallCount() int
func (*FileSystem) WalkReturns ¶
func (fake *FileSystem) WalkReturns(result1 error)
type FileSystemManager ¶
type FileSystemManager struct { OpenStub func(name string) (http.File, error) WalkStub func(dir string, fn filepath.WalkFunc) error OpenFileStub func(name string, flag int, perm os.FileMode) (parcello.File, error) DirStub func(name string) (parcello.FileSystemManager, error) AddStub func(resource *parcello.Resource) error // contains filtered or unexported fields }
func (*FileSystemManager) Add ¶
func (fake *FileSystemManager) Add(resource *parcello.Resource) error
func (*FileSystemManager) AddArgsForCall ¶
func (fake *FileSystemManager) AddArgsForCall(i int) *parcello.Resource
func (*FileSystemManager) AddCallCount ¶
func (fake *FileSystemManager) AddCallCount() int
func (*FileSystemManager) AddReturns ¶
func (fake *FileSystemManager) AddReturns(result1 error)
func (*FileSystemManager) Dir ¶
func (fake *FileSystemManager) Dir(name string) (parcello.FileSystemManager, error)
func (*FileSystemManager) DirArgsForCall ¶
func (fake *FileSystemManager) DirArgsForCall(i int) string
func (*FileSystemManager) DirCallCount ¶
func (fake *FileSystemManager) DirCallCount() int
func (*FileSystemManager) DirReturns ¶
func (fake *FileSystemManager) DirReturns(result1 parcello.FileSystemManager, result2 error)
func (*FileSystemManager) Invocations ¶
func (fake *FileSystemManager) Invocations() map[string][][]interface{}
func (*FileSystemManager) Open ¶
func (fake *FileSystemManager) Open(name string) (http.File, error)
func (*FileSystemManager) OpenArgsForCall ¶
func (fake *FileSystemManager) OpenArgsForCall(i int) string
func (*FileSystemManager) OpenCallCount ¶
func (fake *FileSystemManager) OpenCallCount() int
func (*FileSystemManager) OpenFileArgsForCall ¶
func (*FileSystemManager) OpenFileCallCount ¶
func (fake *FileSystemManager) OpenFileCallCount() int
func (*FileSystemManager) OpenFileReturns ¶
func (fake *FileSystemManager) OpenFileReturns(result1 parcello.File, result2 error)
func (*FileSystemManager) OpenReturns ¶
func (fake *FileSystemManager) OpenReturns(result1 http.File, result2 error)
func (*FileSystemManager) Walk ¶
func (fake *FileSystemManager) Walk(dir string, fn filepath.WalkFunc) error
func (*FileSystemManager) WalkArgsForCall ¶
func (fake *FileSystemManager) WalkArgsForCall(i int) (string, filepath.WalkFunc)
func (*FileSystemManager) WalkCallCount ¶
func (fake *FileSystemManager) WalkCallCount() int
func (*FileSystemManager) WalkReturns ¶
func (fake *FileSystemManager) WalkReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.