代码拉取完成,页面将自动刷新
package stackresources
import (
"github.com/rackspace/gophercloud"
os "github.com/rackspace/gophercloud/openstack/orchestration/v1/stackresources"
"github.com/rackspace/gophercloud/pagination"
)
// Find retreives stack resources for the given stack name.
func Find(c *gophercloud.ServiceClient, stackName string) os.FindResult {
return os.Find(c, stackName)
}
// List makes a request against the API to list resources for the given stack.
func List(c *gophercloud.ServiceClient, stackName, stackID string, opts os.ListOptsBuilder) pagination.Pager {
return os.List(c, stackName, stackID, opts)
}
// Get retreives data for the given stack resource.
func Get(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) os.GetResult {
return os.Get(c, stackName, stackID, resourceName)
}
// Metadata retreives the metadata for the given stack resource.
func Metadata(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) os.MetadataResult {
return os.Metadata(c, stackName, stackID, resourceName)
}
// ListTypes makes a request against the API to list resource types.
func ListTypes(c *gophercloud.ServiceClient) pagination.Pager {
return os.ListTypes(c)
}
// Schema retreives the schema for the given resource type.
func Schema(c *gophercloud.ServiceClient, resourceType string) os.SchemaResult {
return os.Schema(c, resourceType)
}
// Template retreives the template representation for the given resource type.
func Template(c *gophercloud.ServiceClient, resourceType string) os.TemplateResult {
return os.Template(c, resourceType)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。