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
- Variables
- func Abandon(c *gophercloud.ServiceClient, stackName, stackID string) os.AbandonResult
- func Adopt(c *gophercloud.ServiceClient, opts os.AdoptOptsBuilder) os.AdoptResult
- func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
- func Delete(c *gophercloud.ServiceClient, stackName, stackID string) os.DeleteResult
- func Get(c *gophercloud.ServiceClient, stackName, stackID string) os.GetResult
- func List(c *gophercloud.ServiceClient, opts os.ListOptsBuilder) pagination.Pager
- func Preview(c *gophercloud.ServiceClient, opts os.PreviewOptsBuilder) os.PreviewResult
- func Update(c *gophercloud.ServiceClient, stackName, stackID string, ...) os.UpdateResult
Constants ¶
const CreateOutput = `` /* 258-byte string literal not displayed */
CreateOutput represents the response body from a Create request.
Variables ¶
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 ¶
func Adopt(c *gophercloud.ServiceClient, opts os.AdoptOptsBuilder) os.AdoptResult
Adopt accepts an os.AdoptOpts struct and creates a new stack from existing stack resources using the values provided.
func Create ¶
func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
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 ¶
func List(c *gophercloud.ServiceClient, opts os.ListOptsBuilder) pagination.Pager
List accepts an os.ListOpts struct and lists stacks based on the options provided.
func Preview ¶
func Preview(c *gophercloud.ServiceClient, opts os.PreviewOptsBuilder) os.PreviewResult
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.