Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimeoutTask ¶
Types ¶
type AlreadyExists ¶
type AlreadyExists struct {
Err string
}
NodeAlreadyExists custom error
func (*AlreadyExists) Error ¶
func (n *AlreadyExists) Error() string
type ErrorMessage ¶
type ErrorMessage struct {
Message string `json:"message"`
}
ErrorMessage message struct for InspectorErr
type InspectorErr ¶
type InspectorErr struct {
Error ErrorMessage `json:"error"`
}
InspectorErr custom error struct for inspector callback errors
type Node ¶
type Node struct { Name string `json:"name"` RemoteIP string `json:"remoteIP"` PrimaryIP string `json:"primaryIP"` UUID string `json:"uuid"` ProvisionState string `json:"provisionState"` InstanceUUID string `json:"instanceUUID"` InstanceIPv4 string `json:"instanceIP"` Host string `json:"host"` Tasks []*netbox.Task `json:"tasks"` Status string `json:"status"` PortGroupUUID string `json:"portGroupUUID"` ResourceClass string `json:"-"` IpamAddresses []models.IPAddress `json:"-"` Updated time.Time `json:"-"` Redfish _redfish.Redfish `json:"-"` Netbox *netbox.Netbox `json:"-"` // contains filtered or unexported fields }
func (*Node) DeleteNode ¶
DeleteNode deletes a node via the baremetal api
func (*Node) DeleteTestInstance ¶
DeleteTestInstance deletes the test instance via the nova api
func (*Node) MergeTaskWithContext ¶
func (n *Node) MergeTaskWithContext(cfgCtx netbox.ConfigContext) error
Click to show internal directories.
Click to hide internal directories.