Documentation ¶
Index ¶
- func CreateAllocation(t *testing.T, client *gophercloud.ServiceClient) (*allocations.Allocation, error)
- func CreateFakeNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)
- func CreateNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)
- func CreatePort(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node) (*ports.Port, error)
- func DeleteAllocation(t *testing.T, client *gophercloud.ServiceClient, ...)
- func DeleteNode(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node)
- func DeletePort(t *testing.T, client *gophercloud.ServiceClient, port *ports.Port)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAllocation ¶
func CreateAllocation(t *testing.T, client *gophercloud.ServiceClient) (*allocations.Allocation, error)
CreateAllocation creates an allocation
func CreateFakeNode ¶
func CreateFakeNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)
CreateFakeNode creates a node with fake-hardware to use for port tests.
func CreateNode ¶
func CreateNode(t *testing.T, client *gophercloud.ServiceClient) (*nodes.Node, error)
CreateNode creates a basic node with a randomly generated name.
func CreatePort ¶
func CreatePort(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node) (*ports.Port, error)
CreatePort - creates a port for a node with a fixed Address
func DeleteAllocation ¶
func DeleteAllocation(t *testing.T, client *gophercloud.ServiceClient, allocation *allocations.Allocation)
DeleteAllocation deletes a bare metal allocation via its UUID.
func DeleteNode ¶
func DeleteNode(t *testing.T, client *gophercloud.ServiceClient, node *nodes.Node)
DeleteNode deletes a bare metal node via its UUID.
func DeletePort ¶
func DeletePort(t *testing.T, client *gophercloud.ServiceClient, port *ports.Port)
DeletePort - deletes a port via its UUID
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.