The highest tagged major version is
v2.
package
Version:
v1.58.2
Opens a new window with list of versions in this module.
Published: Jan 10, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ComptypeNode struct {
NID int `json:"NID,omitempty"`
Role string `json:"Role"`
SubRole string `json:"SubRole"`
}
type NodeHardware struct {
Parent string `json:"Parent"`
Children []string `json:"Children"`
Xname string `json:"Xname"`
Type string `json:"Type"`
Class string `json:"Class"`
TypeString base.HMSType `json:"TypeString"`
}
type NodeInfo struct {
NID int `json:"NID,omitempty"`
Role string `json:"Role"`
SubRole string `json:"SubRole"`
Class string `json:"Class"`
}
type SLS struct {
Url *url.URL
Client *retryablehttp.Client
}
func NewSLS(slsUrl string, httpClient *retryablehttp.Client, svcName string) *SLS
Allocate and initialize new SLS struct.
Query SLS for node information. This just picks up the ExtraProperties
struct for nodes from SLS.
Ping SLS to see if it is ready.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.