Documentation ¶
Index ¶
- func CreateStack(t *testing.T, client *gophercloud.ServiceClient) (*stacks.RetrievedStack, error)
- func CreateStackWithFile(t *testing.T, client *gophercloud.ServiceClient) (*stacks.RetrievedStack, error)
- func DeleteStack(t *testing.T, client *gophercloud.ServiceClient, stackName, stackID string)
- func WaitForStackStatus(client *gophercloud.ServiceClient, stackName, stackID, status string) error
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 ¶ added in v0.10.0
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.
Click to show internal directories.
Click to hide internal directories.