Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingFirmwareID = errors.New("upstream URL is missing firmwareID")
Functions ¶
func NewSupermicroDownloader ¶ added in v0.0.18
func NewSupermicroDownloader(logger *logrus.Logger) vendors.Downloader
NewSupermicroDownloader creates a new Downloader for downloading files from Supermicro.
Types ¶
type Downloader ¶ added in v0.0.18
type Downloader struct {
// contains filtered or unexported fields
}
func (*Downloader) Download ¶ added in v0.0.18
func (d *Downloader) Download(ctx context.Context, downloadDir string, firmware *fleetdbapi.ComponentFirmwareVersion) (string, error)
Download will download a file for the given firmware to the given downloadDir, and will return the full path to the downloaded file.
Click to show internal directories.
Click to hide internal directories.