supermicro

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL