v1

package
v0.0.0-...-cd80d89 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStack

func CreateStack(t *testing.T, client *gophercloud.ServiceClient) (*stacks.RetrievedStack, error)

CreateStack will create a heat stack with a randomly generated name. An error will be returned if the stack failed to be created.

func CreateStackWithFile

func CreateStackWithFile(t *testing.T, client *gophercloud.ServiceClient) (*stacks.RetrievedStack, error)

CreateStackWithFile will create a heat stack with a randomly generated name that uses get_file. An error will be returned if the stack failed to be created.

func DeleteStack

func DeleteStack(t *testing.T, client *gophercloud.ServiceClient, stackName, stackID string)

DeleteStack deletes a stack via its ID. A fatal error will occur if the stack failed to be deleted. This works best when used as a deferred function.

func WaitForStackStatus

func WaitForStackStatus(client *gophercloud.ServiceClient, stackName, stackID, status string) error

WaitForStackStatus will wait until a stack has reached a certain status.

Types

This section is empty.

Jump to

Keyboard shortcuts

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