Discover Packages
github.com/facebook/time
calnex
firmware
package
Version:
v0.0.0-...-b56da86
Opens a new window with list of versions in this module.
Published: May 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Firmware(target string, insecureTLS bool, fw FW, apply bool, force bool) error
func InProgress(target string, api *calnexAPI.API) (bool, error)
func ShouldUpgrade(target string, api *calnexAPI.API, fw FW, force bool) (bool, error)
type FW
type OSSFW
Firmware checks target Calnex firmware version and upgrades if apply is specified
InProgress checks if Calnex firmware upgrade is in progress
ShouldUpgrade checks if Calnex firmware needs an upgrade
FW is an interface of the Firmware Version
type OSSFW struct {
Filepath string
}
OSSFW is an open source implementation of the FW interface
Path downloads latest firmware version
Version downloads latest firmware version
sentinel_fw_v2.13.1.0.5583D-20210924.tar
Source Files
¶
Click to show internal directories.
Click to hide internal directories.