package
0.0.0-20210831081626-d823fe11ceba
Repository: https://github.com/huaweicloud/golangsdk.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Create accepts a CreateOpts struct and creates a new stack using the values provided.
Delete deletes a stack based on the stack name and stack ID.
ExtractStacks extracts and returns a slice of ListedStack.
No description provided by the author
No description provided by the author
No description provided by the author
Prettify returns the string representation of a value.
Update accepts an UpdateOpts struct and updates an existing stack using the values provided.
# Constants
InvalidEnvironment is an invalid environment as it has an extra section called `resources`.
InvalidTemplateNoVersion is an invalid template as it has no `version` section.
ValidJSONEnvironment is a valid environment for a stack in JSON format.
ValidJSONTemplate is a valid OpenStack Heat template in JSON format.
ValidYAMLEnvironment is a valid environment for a stack in YAML format.
ValidYAMLTemplate is a valid OpenStack Heat template in YAML format.
# Variables
EnvironmentSections is a map containing allowed sections in a stack environment file.
SortAsc is used to sort a list of stacks in ascending order.
SortCreatedAt is used to sort a list of stacks by date created.
SortDesc is used to sort a list of stacks in descending order.
SortName is used to sort a list of stacks by name.
SortStatus is used to sort a list of stacks by status.
SortUpdatedAt is used to sort a list of stacks by date updated.
TemplateFormatVersions is a map containing allowed variations of the template format version Note that this contains the permitted variations of the _keys_ not the values.
ValidJSONEnvironmentParsed is the expected parsed version of ValidJSONEnvironment.
ValidJSONTemplateParsed is the expected parsed version of ValidJSONTemplate.
# Structs
CreatedStack represents the object extracted from a Create operation.
CreateOpts is the common options struct used in this package's Create operation.
CreateResult represents the result of a Create operation.
DeleteResult represents the result of a Delete operation.
Environment is a structure that represents stack environments.
No description provided by the author
No description provided by the author
No description provided by the author
GetResult represents the result of a Get operation.
ListedStack represents an element in the slice extracted from a List operation.
ListOpts allows the filtering and sorting of paginated collections through the API.
The Output data type.
RetrievedStack represents the object extracted from a Get operation.
StackPage is a pagination.Pager that is returned from a call to the List function.
TE is a base structure for both Template and Environment.
Template is a structure that represents OpenStack Heat templates.
UpdateOpts contains the common options struct used in this package's Update operation.
UpdateResult represents the result of a Update operation.
# Interfaces
Client is an interface that expects a Get method similar to http.Get.
CreateOptsBuilder is the interface options structs have to satisfy in order to be used in the main Create operation in this package.
ListOptsBuilder allows extensions to add additional parameters to the List request.
UpdateOptsBuilder is the interface options structs have to satisfy in order to be used in the Update operation in this package.