stacks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package stacks provides operation for working with Heat stacks. A stack is a group of resources (servers, load balancers, databases, and so forth) combined to fulfill a useful purpose. Based on a template, Heat orchestration engine creates an instantiated set of resources (a stack) to run the application framework or component specified (in the template). A stack is a running instance of a template. The result of creating a stack is a deployment of the application framework or component.

Index

Constants

View Source
const CreateOutput = `` /* 258-byte string literal not displayed */

CreateOutput represents the response body from a Create request.

Variables

View Source
var CreateExpected = &os.CreatedStack{
	ID: "b663e18a-4767-4cdf-9db5-9c8cc13cc38a",
	Links: []gophercloud.Link{
		gophercloud.Link{
			Href: "https://ord.orchestration.api.rackspacecloud.com/v1/864477/stacks/stackcreated/b663e18a-4767-4cdf-9db5-9c8cc13cc38a",
			Rel:  "self",
		},
	},
}

CreateExpected represents the expected object from a Create request.

Functions

func Abandon

func Abandon(c *gophercloud.ServiceClient, stackName, stackID string) os.AbandonResult

Abandon abandons a stack, keeping the resources available.

func Adopt

Adopt accepts an os.AdoptOpts struct and creates a new stack from existing stack resources using the values provided.

func Create

Create accepts an os.CreateOpts struct and creates a new stack using the values provided.

func Delete

func Delete(c *gophercloud.ServiceClient, stackName, stackID string) os.DeleteResult

Delete deletes a stack based on the stack name and stack ID provided.

func Get

func Get(c *gophercloud.ServiceClient, stackName, stackID string) os.GetResult

Get retreives a stack based on the stack name and stack ID.

func List

List accepts an os.ListOpts struct and lists stacks based on the options provided.

func Preview

Preview provides a preview of a stack based on the options provided.

func Update

func Update(c *gophercloud.ServiceClient, stackName, stackID string, opts os.UpdateOptsBuilder) os.UpdateResult

Update accepts an os.UpdateOpts struct and updates a stack based on the options provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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