Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Vendor []*VendorConfig `yaml:"vendor"` Transform []*TransformConfig `yaml:"transform"` }
Config represents the tool config
type ProgressTracker ¶
type ProgressTracker struct {
// contains filtered or unexported fields
}
ProgressTracker wraps a github.com/cheggaaa/pb.Pool in order to display download progress for one or multiple downloads.
func NewProgressTracker ¶
func NewProgressTracker() *ProgressTracker
NewProgressTracker creates new tracker
func (*ProgressTracker) TrackProgress ¶
func (t *ProgressTracker) TrackProgress(name string, current, total int64, stream io.ReadCloser) io.ReadCloser
TrackProgress instantiates a new progress bar that will display the progress of stream until closed. total can be 0.
type RuleConfig ¶
RuleConfig represents an experesion
type Transform ¶
type Transform struct {
// contains filtered or unexported fields
}
Transform represents the tool transform command
type TransformConfig ¶
type TransformConfig struct { Name string `yaml:"name"` Rules []*RuleConfig `yaml:"rules"` }
TransformConfig represents the update config
type Vendor ¶
type Vendor struct {
// contains filtered or unexported fields
}
Vendor represents the tool vendor command
type VendorConfig ¶
VendorConfig represents the vendor config
Click to show internal directories.
Click to hide internal directories.