Versions in this module Expand all Collapse all v0 v0.0.3 May 20, 2021 v0.0.1 Mar 11, 2021 Changes in this version + var DefaultOptions = Options + func CheckFileHash(meta *data.TargetFileMeta, localPath string) error + type Options struct + InsecureTransport bool + LocalStore client.LocalStore + OrbitChannel string + OsquerydChannel string + Platform string + RootDirectory string + RootKeys string + ServerURL string + type Runner struct + func NewRunner(client *Updater, opt RunnerOptions) (*Runner, error) + func (r *Runner) Execute() error + func (r *Runner) Interrupt(err error) + type RunnerOptions struct + CheckInterval time.Duration + Targets map[string]string + type Updater struct + func New(opt Options) (*Updater, error) + func (u *Updater) Download(repoPath, localPath string) error + func (u *Updater) Get(target, channel string) (string, error) + func (u *Updater) LocalPath(target, channel string) string + func (u *Updater) Lookup(target, channel string) (*data.TargetFileMeta, error) + func (u *Updater) RepoPath(target, channel string) string + func (u *Updater) Targets() (data.TargetFiles, error) + func (u *Updater) UpdateMetadata() error