Documentation
¶
Index ¶
- Constants
- func SubCommands() []gcli.Command
- type SealCommand
- func (s *SealCommand) Aggregate(results <-chan godi.Result, done <-chan bool) <-chan godi.Result
- func (s *SealCommand) Gather(files <-chan godi.FileInfo, results chan<- godi.Result, wg *sync.WaitGroup, ...)
- func (s *SealCommand) Generate(done <-chan bool) (<-chan godi.FileInfo, <-chan godi.Result)
- func (s *SealCommand) IndexPath(tree string, extension string) string
- func (s *SealCommand) Init(numReaders, numWriters int, items []string) error
Constants ¶
View Source
const ( IndexBaseName = "godi" Name = "seal" )
Variables ¶
This section is empty.
Functions ¶
func SubCommands ¶
return subcommands for our particular area of algorithms
Types ¶
type SealCommand ¶
type SealCommand struct {
// One or more trees to seal
// Exported just for test-cases - too lazy to make it a read-only copy through accessor
Trees []string
// contains filtered or unexported fields
}
A type representing all arguments required to drive a Seal operation
func NewCommand ¶
func NewCommand(trees []string, nReaders int) (c SealCommand, err error)
NewCommand returns an initialized seal command
func (*SealCommand) Aggregate ¶
func (s *SealCommand) Aggregate(results <-chan godi.Result, done <-chan bool) <-chan godi.Result
func (*SealCommand) Gather ¶
func (s *SealCommand) Gather(files <-chan godi.FileInfo, results chan<- godi.Result, wg *sync.WaitGroup, done <-chan bool)
func (*SealCommand) Generate ¶
func (s *SealCommand) Generate(done <-chan bool) (<-chan godi.FileInfo, <-chan godi.Result)
Click to show internal directories.
Click to hide internal directories.