Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeProvisionStateToTarget ¶
func ChangeProvisionStateToTarget(client *gophercloud.ServiceClient, uuid string, target nodes.TargetProvisionState, configDrive interface{}) error
ChangeProvisionStateToTarget drives Ironic's state machine through the process to reach our desired end state. This requires multiple possibly long-running steps. If required, we'll build a config drive ISO for deployment.
func UpdateNode ¶ added in v0.1.7
func UpdateNode(client *gophercloud.ServiceClient, uuid string, opts nodes.UpdateOpts) (node *nodes.Node, err error)
UpdateNode wraps gophercloud's update function, so we are able to retry on 409 when Ironic is busy.
Types ¶
type Clients ¶ added in v0.1.4
type Clients struct {
// contains filtered or unexported fields
}
Clients stores the client connection information for Ironic and Inspector
func (*Clients) GetInspectorClient ¶ added in v0.1.5
func (c *Clients) GetInspectorClient() (*gophercloud.ServiceClient, error)
GetInspectorClient returns the API client for Ironic, optionally retrying to reach the API if timeout is set.
func (*Clients) GetIronicClient ¶ added in v0.1.5
func (c *Clients) GetIronicClient() (*gophercloud.ServiceClient, error)
GetIronicClient returns the API client for Ironic, optionally retrying to reach the API if timeout is set.
Click to show internal directories.
Click to hide internal directories.