package
Version:
v0.0.0-...-5b9d851
Opens a new window with list of versions in this module.
Published: Aug 26, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CreateNode(node Node) interface{}
CreateNode creates a new node, which has to be
unique by its combination of MAC and serial number.
func Health() interface{}
Health returns the health of the API server.
func ReadNode(ID string) interface{}
ReadNode reads the node identified by the ID.
UpdateNode updates the node identified by the ID.
type Node struct {
MACAddress string `json:"mac_address"`
SerialNumber string `json:"serial_number"`
OperatingSystem string `json:"operating_system"`
}
Node describes a device that is managed by the LabCloud platform.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.