ironic

package
v0.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

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 Provider

func Provider() terraform.ResourceProvider

Provider Ironic

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL