Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCouldNotListNetworks = errors.New("couldn't list the networks")
View Source
var ErrNoHealthyNodeAvailableForVersionCheck = errors.New("no healthy node available for version check")
Functions ¶
func IsUnreleased ¶
func IsUnreleased() bool
Types ¶
type CheckSoftwareCompatibilityResponse ¶
type CheckSoftwareCompatibilityResponse struct {
NetworksCompatibility []NetworkCompatibility `json:"networksCompatibility"`
}
func CheckSoftwareCompatibility ¶
func CheckSoftwareCompatibility(netStore NetworkStore, requestVersionFn RequestVersionFn) (*CheckSoftwareCompatibilityResponse, error)
type GetSoftwareVersionResponse ¶
type GetSoftwareVersionResponse struct { Version string `json:"version"` GitHash string `json:"gitHash"` }
func GetSoftwareVersionInfo ¶
func GetSoftwareVersionInfo() *GetSoftwareVersionResponse
type NetworkCompatibility ¶
type NetworkStore ¶
type RequestVersionFn ¶
RequestVersionFn is the function in charge of retrieving the network version ran by the host lists.
Click to show internal directories.
Click to hide internal directories.