blob: 5fa8c90f1fdf482ed287f7950fdd9d679925363f [file] [log] [blame]
Jon Perritt034ef072015-02-03 13:14:44 -07001package stacks
2
3import (
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.
10func Create(c *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult {
11 return os.Create(c, opts)
12}
Jon Perritt1d3bc4b2015-02-04 12:06:19 -070013
14// Adopt accepts an os.AdoptOpts struct and creates a new stack from existing stack
15// resources using the values provided.
16func Adopt(c *gophercloud.ServiceClient, opts os.AdoptOptsBuilder) os.AdoptResult {
17 return os.Adopt(c, opts)
18}