Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type Datastore
- func (fake *Datastore) Add(handle string, ip string, metadata map[string]interface{}) error
- func (fake *Datastore) AddArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *Datastore) AddCallCount() int
- func (fake *Datastore) AddReturns(result1 error)
- func (fake *Datastore) AddReturnsOnCall(i int, result1 error)
- func (fake *Datastore) Delete(handle string) (datastore.Container, error)
- func (fake *Datastore) DeleteArgsForCall(i int) string
- func (fake *Datastore) DeleteCallCount() int
- func (fake *Datastore) DeleteReturns(result1 datastore.Container, result2 error)
- func (fake *Datastore) DeleteReturnsOnCall(i int, result1 datastore.Container, result2 error)
- func (fake *Datastore) Invocations() map[string][][]interface{}
- func (fake *Datastore) ReadAll() (map[string]datastore.Container, error)
- func (fake *Datastore) ReadAllCallCount() int
- func (fake *Datastore) ReadAllReturns(result1 map[string]datastore.Container, result2 error)
- func (fake *Datastore) ReadAllReturnsOnCall(i int, result1 map[string]datastore.Container, result2 error)
- type FileLocker
- func (fake *FileLocker) Invocations() map[string][][]interface{}
- func (fake *FileLocker) Open() (filelock.LockedFile, error)
- func (fake *FileLocker) OpenCallCount() int
- func (fake *FileLocker) OpenReturns(result1 filelock.LockedFile, result2 error)
- func (fake *FileLocker) OpenReturnsOnCall(i int, result1 filelock.LockedFile, result2 error)
- type OverwriteableFile
- func (fake *OverwriteableFile) Invocations() map[string][][]interface{}
- func (fake *OverwriteableFile) Read(p []byte) (n int, err error)
- func (fake *OverwriteableFile) ReadArgsForCall(i int) []byte
- func (fake *OverwriteableFile) ReadCallCount() int
- func (fake *OverwriteableFile) ReadReturns(result1 int, result2 error)
- func (fake *OverwriteableFile) ReadReturnsOnCall(i int, result1 int, result2 error)
- func (fake *OverwriteableFile) Seek(offset int64, whence int) (int64, error)
- func (fake *OverwriteableFile) SeekArgsForCall(i int) (int64, int)
- func (fake *OverwriteableFile) SeekCallCount() int
- func (fake *OverwriteableFile) SeekReturns(result1 int64, result2 error)
- func (fake *OverwriteableFile) SeekReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *OverwriteableFile) Truncate(size int64) error
- func (fake *OverwriteableFile) TruncateArgsForCall(i int) int64
- func (fake *OverwriteableFile) TruncateCallCount() int
- func (fake *OverwriteableFile) TruncateReturns(result1 error)
- func (fake *OverwriteableFile) TruncateReturnsOnCall(i int, result1 error)
- func (fake *OverwriteableFile) Write(p []byte) (n int, err error)
- func (fake *OverwriteableFile) WriteArgsForCall(i int) []byte
- func (fake *OverwriteableFile) WriteCallCount() int
- func (fake *OverwriteableFile) WriteReturns(result1 int, result2 error)
- func (fake *OverwriteableFile) WriteReturnsOnCall(i int, result1 int, result2 error)
- type Serializer
- func (fake *Serializer) DecodeAll(file io.ReadSeeker, outData interface{}) error
- func (fake *Serializer) DecodeAllArgsForCall(i int) (io.ReadSeeker, interface{})
- func (fake *Serializer) DecodeAllCallCount() int
- func (fake *Serializer) DecodeAllReturns(result1 error)
- func (fake *Serializer) DecodeAllReturnsOnCall(i int, result1 error)
- func (fake *Serializer) EncodeAndOverwrite(file serial.OverwriteableFile, outData interface{}) error
- func (fake *Serializer) EncodeAndOverwriteArgsForCall(i int) (serial.OverwriteableFile, interface{})
- func (fake *Serializer) EncodeAndOverwriteCallCount() int
- func (fake *Serializer) EncodeAndOverwriteReturns(result1 error)
- func (fake *Serializer) EncodeAndOverwriteReturnsOnCall(i int, result1 error)
- func (fake *Serializer) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct { AddStub func(handle, ip string, metadata map[string]interface{}) error DeleteStub func(handle string) (datastore.Container, error) ReadAllStub func() (map[string]datastore.Container, error) // contains filtered or unexported fields }
func (*Datastore) AddArgsForCall ¶
func (*Datastore) AddCallCount ¶
func (*Datastore) AddReturns ¶
func (*Datastore) AddReturnsOnCall ¶
func (*Datastore) DeleteArgsForCall ¶
func (*Datastore) DeleteCallCount ¶
func (*Datastore) DeleteReturns ¶
func (*Datastore) DeleteReturnsOnCall ¶
func (*Datastore) Invocations ¶
func (*Datastore) ReadAllCallCount ¶
func (*Datastore) ReadAllReturns ¶
type FileLocker ¶
type FileLocker struct { OpenStub func() (filelock.LockedFile, error) // contains filtered or unexported fields }
func (*FileLocker) Invocations ¶
func (fake *FileLocker) Invocations() map[string][][]interface{}
func (*FileLocker) Open ¶
func (fake *FileLocker) Open() (filelock.LockedFile, error)
func (*FileLocker) OpenCallCount ¶
func (fake *FileLocker) OpenCallCount() int
func (*FileLocker) OpenReturns ¶
func (fake *FileLocker) OpenReturns(result1 filelock.LockedFile, result2 error)
func (*FileLocker) OpenReturnsOnCall ¶
func (fake *FileLocker) OpenReturnsOnCall(i int, result1 filelock.LockedFile, result2 error)
type OverwriteableFile ¶
type OverwriteableFile struct { ReadStub func(p []byte) (n int, err error) WriteStub func(p []byte) (n int, err error) SeekStub func(offset int64, whence int) (int64, error) TruncateStub func(size int64) error // contains filtered or unexported fields }
func (*OverwriteableFile) Invocations ¶
func (fake *OverwriteableFile) Invocations() map[string][][]interface{}
func (*OverwriteableFile) ReadArgsForCall ¶
func (fake *OverwriteableFile) ReadArgsForCall(i int) []byte
func (*OverwriteableFile) ReadCallCount ¶
func (fake *OverwriteableFile) ReadCallCount() int
func (*OverwriteableFile) ReadReturns ¶
func (fake *OverwriteableFile) ReadReturns(result1 int, result2 error)
func (*OverwriteableFile) ReadReturnsOnCall ¶
func (fake *OverwriteableFile) ReadReturnsOnCall(i int, result1 int, result2 error)
func (*OverwriteableFile) Seek ¶
func (fake *OverwriteableFile) Seek(offset int64, whence int) (int64, error)
func (*OverwriteableFile) SeekArgsForCall ¶
func (fake *OverwriteableFile) SeekArgsForCall(i int) (int64, int)
func (*OverwriteableFile) SeekCallCount ¶
func (fake *OverwriteableFile) SeekCallCount() int
func (*OverwriteableFile) SeekReturns ¶
func (fake *OverwriteableFile) SeekReturns(result1 int64, result2 error)
func (*OverwriteableFile) SeekReturnsOnCall ¶
func (fake *OverwriteableFile) SeekReturnsOnCall(i int, result1 int64, result2 error)
func (*OverwriteableFile) Truncate ¶
func (fake *OverwriteableFile) Truncate(size int64) error
func (*OverwriteableFile) TruncateArgsForCall ¶
func (fake *OverwriteableFile) TruncateArgsForCall(i int) int64
func (*OverwriteableFile) TruncateCallCount ¶
func (fake *OverwriteableFile) TruncateCallCount() int
func (*OverwriteableFile) TruncateReturns ¶
func (fake *OverwriteableFile) TruncateReturns(result1 error)
func (*OverwriteableFile) TruncateReturnsOnCall ¶
func (fake *OverwriteableFile) TruncateReturnsOnCall(i int, result1 error)
func (*OverwriteableFile) WriteArgsForCall ¶
func (fake *OverwriteableFile) WriteArgsForCall(i int) []byte
func (*OverwriteableFile) WriteCallCount ¶
func (fake *OverwriteableFile) WriteCallCount() int
func (*OverwriteableFile) WriteReturns ¶
func (fake *OverwriteableFile) WriteReturns(result1 int, result2 error)
func (*OverwriteableFile) WriteReturnsOnCall ¶
func (fake *OverwriteableFile) WriteReturnsOnCall(i int, result1 int, result2 error)
type Serializer ¶
type Serializer struct { DecodeAllStub func(file io.ReadSeeker, outData interface{}) error EncodeAndOverwriteStub func(file serial.OverwriteableFile, outData interface{}) error // contains filtered or unexported fields }
func (*Serializer) DecodeAll ¶
func (fake *Serializer) DecodeAll(file io.ReadSeeker, outData interface{}) error
func (*Serializer) DecodeAllArgsForCall ¶
func (fake *Serializer) DecodeAllArgsForCall(i int) (io.ReadSeeker, interface{})
func (*Serializer) DecodeAllCallCount ¶
func (fake *Serializer) DecodeAllCallCount() int
func (*Serializer) DecodeAllReturns ¶
func (fake *Serializer) DecodeAllReturns(result1 error)
func (*Serializer) DecodeAllReturnsOnCall ¶
func (fake *Serializer) DecodeAllReturnsOnCall(i int, result1 error)
func (*Serializer) EncodeAndOverwrite ¶
func (fake *Serializer) EncodeAndOverwrite(file serial.OverwriteableFile, outData interface{}) error
func (*Serializer) EncodeAndOverwriteArgsForCall ¶
func (fake *Serializer) EncodeAndOverwriteArgsForCall(i int) (serial.OverwriteableFile, interface{})
func (*Serializer) EncodeAndOverwriteCallCount ¶
func (fake *Serializer) EncodeAndOverwriteCallCount() int
func (*Serializer) EncodeAndOverwriteReturns ¶
func (fake *Serializer) EncodeAndOverwriteReturns(result1 error)
func (*Serializer) EncodeAndOverwriteReturnsOnCall ¶
func (fake *Serializer) EncodeAndOverwriteReturnsOnCall(i int, result1 error)
func (*Serializer) Invocations ¶
func (fake *Serializer) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.