Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultSlsUrl string = "http://cray-sls/"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComptypeNode ¶
type NodeHardware ¶
type SLS ¶
type SLS struct {
Url *url.URL
Client *retryablehttp.Client
}
func NewSLS ¶
func NewSLS(slsUrl string, httpClient *retryablehttp.Client, svcName string) *SLS
Allocate and initialize new SLS struct.
func (*SLS) GetNodeInfo ¶
Query SLS for node information. This just picks up the ExtraProperties struct for nodes from SLS.
Click to show internal directories.
Click to hide internal directories.