Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintBusFactor ¶
func PrintBusFactor(nodes []*nodeselection.SelectedNode, selector nodeselection.NodeAttribute, threshold int)
Types ¶
type Availability ¶
type Availability struct { StreamID string `arg:""` util.DialerHelper Keys string `required:""` }
Availability reports the status / availability of one single segment.
func (*Availability) Run ¶
func (s *Availability) Run() error
type Download ¶
type Download struct { StreamID string `arg:""` util.DialerHelper Keys string `required:""` }
type PieceList ¶
type PieceList struct { StreamID string `arg:""` util.DialerHelper Keys string }
PieceList reports the status / availability of one single segment.
type Segment ¶
type Segment struct { Histogram Histogram `cmd:"" help:"diversity histogram of a segment"` List PieceList `cmd:"" help:"list piece locations in a csv"` Availability Availability `cmd:"" help:"test availability of the segment with calling exists endpoints"` Classify Classify `cmd:"" help:"execute piece classification on segment"` Download Download `cmd:"" help:"Download all the available pieces ASAP"` Ecdecode ECDecode `cmd:"" help:"decode original segment from downloaded pieces"` Show Show `cmd:"" help:"show information about the segment"` }
Segment contains command which uses direct database connection.
Click to show internal directories.
Click to hide internal directories.