Documentation ¶
Index ¶
- Variables
- func GetGroup(c *scat.Chunk) (group []*scat.Chunk, ok bool)
- func GetGroupErr(c *scat.Chunk) (err error, ok bool)
- func Process(proc Proc, chunk *scat.Chunk) error
- func SingleRes(c *scat.Chunk, err error) <-chan Res
- type Cascade
- type Chain
- type ChunkFunc
- type ChunkIterFunc
- type CmdFunc
- type CmdInFunc
- type CmdOutFunc
- type DiscardChunks
- type DynProcer
- type EndProc
- type ErrProc
- type Filter
- type Group
- type Gzip
- type IndexProc
- type InplaceFunc
- type MissingDataError
- type OnEnd
- type PathCmdInFn
- type Proc
- type ProcFunc
- type ProcUnprocer
- type Procer
- type Res
- type Sort
- type Unprocer
- type WrapperProc
- type WriterTo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIndexUnprocessedChunk = errors.New("unprocessed chunk") ErrIndexProcessEnded = errors.New("process already ended") ErrIndexDup = errors.New("won't process dup chunk") )
View Source
var ( ErrShort = errors.New("missing final chunks") ErrUnreturnedSlots = errors.New("unreturned slots left") )
View Source
var ErrIntegrityCheckFailed = errors.New("checksum verification failed")
Functions ¶
Types ¶
type ChunkIterFunc ¶
func (ChunkIterFunc) Finish ¶
func (ChunkIterFunc) Finish() error
type CmdOutFunc ¶
type CmdOutFunc CmdFunc
func (CmdOutFunc) Finish ¶
func (CmdOutFunc) Finish() error
type DiscardChunks ¶
type DiscardChunks struct {
Proc
}
type IndexProc ¶
func NewIndexProc ¶
type InplaceFunc ¶
func (InplaceFunc) Finish ¶
func (InplaceFunc) Finish() error
type MissingDataError ¶
type MissingDataError struct {
Err error
}
func (MissingDataError) Error ¶
func (err MissingDataError) Error() string
type Proc ¶
var ( ChecksumProc Proc = InplaceFunc(checksumProcess) ChecksumUnproc Proc = InplaceFunc(checksumUnprocess) )
var IndexUnproc Proc = ChunkIterFunc(indexUnprocess)
var Nop Proc
var Split Proc
func NewBacklog ¶
func NewPathCmdIn ¶
func NewPathCmdIn(newCmd PathCmdInFn, tmp *tmpdedup.Dir) Proc
func NewSplitSize ¶
type ProcUnprocer ¶
func NewParity ¶
func NewParity(ndata, nparity int) (p ProcUnprocer, err error)
type WrapperProc ¶
Click to show internal directories.
Click to hide internal directories.