package
0.0.0-20240909034204-207f58c0b9a3
Repository: https://github.com/chnsz/golangsdk.git
Documentation: pkg.go.dev

# Functions

ChangeAdminPassword alters the administrator or root password for a specified server.
Create requests a server to be provisioned to the user in the current tenant.
CreatePrePaid requests a server to be provisioned to the user in the current tenant.
Delete requests a server to be deleted to the user in the current tenant.
DeleteMetadatItem will delete the key-value pair with the given key for the given server ID.
DeleteOrder requests a server to be deleted to the user in the current tenant.
ExtractServers interprets the results of a single page from a List() call, producing a slice of CloudServer entities.
Get retrieves a particular Server based on its unique ID.
No description provided by the author
No description provided by the author
List makes a request against the API to list servers accessible to you.
Resize requests a server to be resizeed.
Update requests that various attributes of the indicated server be changed.
update auto terminate time for the given server ID.
UpdateMetadata updates (or creates) all the metadata specified by opts for the given server ID.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
CloudServer is only used for method that requests details on a single server, by ID.
No description provided by the author
No description provided by the author
DeleteMetadatItemResult contains the result of a DeleteMetadatItem operation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ECS fault causes.
No description provided by the author
GetResult is the response from a Get operation.
Image defines a image struct in details of a server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ListOpts allows the filtering and sorting of paginated collections through the API.
Metadata is only used for method that requests details on a single server, by ID.
No description provided by the author
NewCloudServer defines the response from details on a single server, by ID.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerPage abstracts the raw results of making a List() request against the API.
No description provided by the author
No description provided by the author
UpdateMetadataResult contains the result of an UpdateMetadata operation.
UpdateOpts specifies the base attributes that may be updated on an existing server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

CreateOptsBuilder allows extensions to add additional parameters to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
ResizeOptsBuilder allows extensions to add additional parameters to the Resize request.
UpdateOptsBuilder allows extensions to add additional attributes to the Update request.