Versions in this module Expand all Collapse all v0 v0.2.0 May 12, 2022 v0.1.0 May 4, 2022 Changes in this version + func ValidateCron(fl validator.FieldLevel) bool + func ValidateId(fl validator.FieldLevel) bool + func ValidatePathAbs(fl validator.FieldLevel) bool + type Repo struct + func NewRepo(cfg RepoConfig, wg *sync.WaitGroup) (*Repo, error) + func (m *Repo) Sync() + func (m Repo) GetCronSpec() string + func (m Repo) PreReqs() error + type RepoConfig struct + Cron string + Dest string + Exclude []string + Id string + Name string + Snapshots int + Src string + Type string + type RepoMetrics struct + SyncDuration prometheus.Gauge + SyncTotal prometheus.Counter