Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
Downloader downloads versioned files using a tuf client
func (*Downloader) DownloadBinaries ¶
func (d *Downloader) DownloadBinaries(dir string) (map[string]string, error)
DownloadBinaries downloads the Flynn binaries using the tuf client to the given dir with the version suffixed (e.g. /usr/local/bin/flynn-host.v20150726.0) and updates non-versioned symlinks.
func (*Downloader) DownloadConfig ¶
func (d *Downloader) DownloadConfig(dir string) (map[string]string, error)
DownloadConfig downloads the Flynn config files using the tuf client to the given dir.
Click to show internal directories.
Click to hide internal directories.