Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + const FindOutput + const GetOutput + const GetSchemaOutput + const GetTemplateOutput + const ListOutput + const ListTypesOutput + const MetadataOutput + var FindExpected = []Resource + var GetExpected = &Resource + var GetSchemaExpected = &TypeSchema + var GetTemplateExpected = "{\n \"HeatTemplateFormatVersion\": \"2012-12-12\",\n \"Outputs\": {\n \"private_key\": {\n \"Description\": \"The private key if it has been saved.\",\n \"Value\": \"{\\\"Fn::GetAtt\\\": [\\\"KeyPair\\\", \\\"private_key\\\"]}\"\n },\n \"public_key\": {\n \"Description\": \"The public key.\",\n \"Value\": \"{\\\"Fn::GetAtt\\\": [\\\"KeyPair\\\", \\\"public_key\\\"]}\"\n }\n },\n \"Parameters\": {\n \"name\": {\n \"Description\": \"The name of the key pair.\",\n \"Type\": \"String\"\n },\n \"public_key\": {\n \"Description\": \"The optional public key. This allows users to supply the public key from a pre-existing key pair. If not supplied, a new key pair will be generated.\",\n \"Type\": \"String\"\n },\n \"save_private_key\": {\n \"AllowedValues\": [\n \"True\",\n \"true\",\n \"False\",\n \"false\"\n ],\n \"Default\": false,\n \"Description\": \"True if the system should remember a generated private key; False otherwise.\",\n \"Type\": \"String\"\n }\n },\n \"Resources\": {\n \"KeyPair\": {\n \"Properties\": {\n \"name\": {\n \"Ref\": \"name\"\n },\n \"public_key\": {\n \"Ref\": \"public_key\"\n },\n \"save_private_key\": {\n \"Ref\": \"save_private_key\"\n }\n },\n \"Type\": \"OS::Nova::KeyPair\"\n }\n }\n}" + var ListExpected = []Resource + var ListTypesExpected = ResourceTypes + var MetadataExpected = map[string]string + var SortedListTypesExpected = ResourceTypes + func HandleFindSuccessfully(t *testing.T, output string) + func HandleGetSchemaSuccessfully(t *testing.T, output string) + func HandleGetSuccessfully(t *testing.T, output string) + func HandleGetTemplateSuccessfully(t *testing.T, output string) + func HandleListSuccessfully(t *testing.T, output string) + func HandleListTypesSuccessfully(t *testing.T, output string) + func HandleMetadataSuccessfully(t *testing.T, output string) + func List(client *gophercloud.ServiceClient, stackName, stackID string, ...) pagination.Pager + func ListTypes(client *gophercloud.ServiceClient) pagination.Pager + type FindResult struct + func Find(c *gophercloud.ServiceClient, stackName string) FindResult + func (r FindResult) Extract() ([]Resource, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) GetResult + func (r GetResult) Extract() (*Resource, error) + type ListOpts struct + Depth int + func (opts ListOpts) ToStackResourceListQuery() (string, error) + type ListOptsBuilder interface + ToStackResourceListQuery func() (string, error) + type MetadataResult struct + func Metadata(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) MetadataResult + func (r MetadataResult) Extract() (map[string]string, error) + type Resource struct + Attributes map[string]interface{} + CreationTime time.Time + Description string + Links []gophercloud.Link + LogicalID string + Name string + PhysicalID string + RequiredBy []interface{} + Status string + StatusReason string + Type string + UpdatedTime time.Time + func ExtractResources(page pagination.Page) ([]Resource, error) + type ResourcePage struct + func (r ResourcePage) IsEmpty() (bool, error) + type ResourceTypePage struct + func (r ResourceTypePage) IsEmpty() (bool, error) + type ResourceTypes []string + func ExtractResourceTypes(page pagination.Page) (ResourceTypes, error) + func (r ResourceTypes) Len() int + func (r ResourceTypes) Less(i, j int) bool + func (r ResourceTypes) Swap(i, j int) + type SchemaResult struct + func Schema(c *gophercloud.ServiceClient, resourceType string) SchemaResult + func (r SchemaResult) Extract() (*TypeSchema, error) + type TemplateResult struct + func Template(c *gophercloud.ServiceClient, resourceType string) TemplateResult + func (r TemplateResult) Extract() ([]byte, error) + type TypeSchema struct + Attributes map[string]interface{} + Properties map[string]interface{} + ResourceType string + SupportStatus map[string]interface{}