Jon Perritt | 034ef07 | 2015-02-03 13:14:44 -0700 | [diff] [blame] | 1 | package stacks |
| 2 | |
| 3 | import ( |
| 4 | "github.com/rackspace/gophercloud" |
| 5 | os "github.com/rackspace/gophercloud/openstack/orchestration/v1/stacks" |
| 6 | ) |
| 7 | |
| 8 | // Create accepts an os.CreateOpts struct and creates a new stack using the values |
| 9 | // provided. |
| 10 | func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult { |
| 11 | return os.Create(c, opts) |
| 12 | } |
Jon Perritt | 1d3bc4b | 2015-02-04 12:06:19 -0700 | [diff] [blame] | 13 | |
| 14 | // Adopt accepts an os.AdoptOpts struct and creates a new stack from existing stack |
| 15 | // resources using the values provided. |
| 16 | func Adopt(c *gophercloud.ServiceClient, opts os.AdoptOptsBuilder) os.AdoptResult { |
| 17 | return os.Adopt(c, opts) |
| 18 | } |