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
Allocate accepts a AllocateOpts struct and uses the values to allocate a new DeH.
Deletes the DeH using the specified hostID.
ExtractHosts accepts a Page struct, specifically a HostPage struct, and extracts the elements into a slice of hosts structs.
ExtractServers accepts a Page struct, specifically a ServerPage struct, and extracts the elements into a slice of Server structs.
No description provided by the author
Get retrieves a particular host based on its unique ID.
List returns a Pager which allows you to iterate over a collection of dedicated hosts resources.
ListServer returns a Pager which allows you to iterate over a collection of dedicated hosts Server resources.
Update accepts a UpdateOpts struct and uses the values to update a DeH.The response code from api is 204.
# Structs
AllocatedHosts is the response structure of the allocated DeH.
AllocateOpts contains all the values needed to allocate a new DeH.
AllocateResult represents the result of a allocate operation.
No description provided by the author
GetResult represents the result of a get operation.
No description provided by the author
HostPage is the page returned by a pager when traversing over a collection of Hosts.
No description provided by the author
No description provided by the author
ListOpts allows the filtering and sorting of paginated collections through the API.
ListServerOpts allows the filtering and sorting of paginated collections through the API.
Server represents a server/instance in the OpenStack cloud.
No description provided by the author
UpdateOpts contains all the values needed to update a DeH.
AllocateResult represents the result of a allocate operation.
# Interfaces
AllocateOptsBuilder allows extensions to add additional parameters to the Allocate request.
ListOptsBuilder allows extensions to add parameters to the List request.
UpdateOptsBuilder allows extensions to add additional parameters to the Update request.