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 ¶
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
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.