v1

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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.

Jump to

Keyboard shortcuts

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