package
1.0.23
Repository: https://github.com/gaoyw1/gophercloud.git
Documentation: pkg.go.dev

# Packages

servers unit tests.

# Functions

ChangeAdminPassword alters the administrator or root password for a specified server.
ConfirmResize confirms a previous resize operation on a server.
Create requests a server to be provisioned to the user in the current tenant.
CreateImage makes a request against the nova API to schedule an image to be created of the server.
CreateMetadatum will create or update the key-value pair with the given key for the given server ID.
Delete requests that a server previously provisioned be removed from your account.
DeleteMetadatum will delete the key-value pair with the given key for the given server ID.
ExtractAddresses interprets the results of a single page from a ListAddresses() call, producing a map of addresses.
ExtractNetworkAddresses interprets the results of a single page from a ListAddressesByNetwork() call, producing a slice of addresses.
对应ListBrief接口.
ExtractServers interprets the results of a single page from a List() call, producing a slice of Server entities.
No description provided by the author
ForceDelete forces the deletion of a server.
Get requests details on a single server, by ID.
No description provided by the author
No description provided by the author
GetPassword makes a request against the nova API to get the encrypted administrative password.
IDFromName is a convienience function that returns a server's ID given its name.
List makes a request against the API to list servers accessible to you.
ListAddresses makes a request against the API to list the servers IP addresses.
ListAddressesByNetwork makes a request against the API to list the servers IP addresses for the given network.
No description provided by the author
No description provided by the author
Metadata requests all the metadata for the given server ID.
Metadatum requests the key-value pair with the given key for the given server ID.
Reboot requests that a given server reboot.
Rebuild will reprovision the server according to the configuration options provided in the RebuildOpts struct.
Rescue instructs the provider to place the server into RESCUE mode.
ResetMetadata will create multiple new key-value pairs for the given server ID.
Resize instructs the provider to change the flavor of the server.
RevertResize cancels a previous resize operation on a server.
Update requests that various attributes of the indicated server be changed.
UpdateMetadata updates (or creates) all the metadata specified by opts for the given server ID.
WaitForStatus will continually poll a server until it successfully transitions to a specified status.

# Constants

These constants determine how a server should be rebooted.
These constants determine how a server should be rebooted.
These constants determine how a server should be rebooted.
These constants determine how a server should be rebooted.

# Structs

ActionResult represents the result of server action operations, like reboot.
Address represents an IP address.
AddressPage abstracts the raw results of making a ListAddresses() request against the API.
CreateImageOpts provides options to pass to the CreateImage request.
CreateImageResult is the response from a CreateImage operation.
CreateMetadatumResult contains the result of a Create operation.
CreateOpts specifies server creation parameters.
CreateResult is the response from a Create operation.
DeleteMetadatumResult contains the result of a Delete operation.
DeleteResult is the response from a Delete operation.
No description provided by the author
No description provided by the author
File is used within CreateOpts and RebuildOpts to inject a file into the server at launch.
No description provided by the author
GetMetadataResult contains the result of a Get operation.
GetMetadatumResult contains the result of a Get operation.
GetPasswordResult represent the result of a get os-server-password operation.
GetResult is the response from a Get operation.
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.
MetadataResult contains the result of a call for (potentially) multiple key-value pairs.
MetadatumResult contains the result of a call for individual a single key-value pair.
Network is used within CreateOpts to control a new server's network attachments.
NetworkAddressPage abstracts the raw results of making a ListAddressesByNetwork() request against the API.
RebootOpts provides options to the reboot request.
RebuildOpts represents the configuration options used in a server rebuild operation.
RebuildResult is the response from a Rebuild operation.
RescueOpts represents the configuration options used to control a Rescue option.
RescueResult is the response from a Rescue operation.
ResetMetadataResult contains the result of a Reset operation.
ResizeOpts represents the configuration options used to control a Resize operation.
Server represents a server/instance in the OpenStack cloud.
ListBrief接口返回的结构.
ServerPage abstracts the raw results of making a List() request against the API.
UpdateMetadataResult contains the result of an Update operation.
UpdateOpts specifies the base attributes that may be updated on an existing server.
UpdateResult is the response from an Update operation.

# Interfaces

CreateImageOptsBuilder allows extensions to add additional parameters to the CreateImage request.
CreateOptsBuilder allows extensions to add additional parameters to the Create request.
ListOptsBuilder allows extensions to add additional parameters to the List request.
MetadatumOptsBuilder allows extensions to add additional parameters to the Create request.
RebootOptsBuilder allows extensions to add additional parameters to the reboot request.
RebuildOptsBuilder allows extensions to provide additional parameters to the rebuild request.
RescueOptsBuilder is an interface that allows extensions to override the default structure of a Rescue request.
ResetMetadataOptsBuilder allows extensions to add additional parameters to the Reset request.
ResizeOptsBuilder allows extensions to add additional parameters to the resize request.
UpdateMetadataOptsBuilder allows extensions to add additional parameters to the Create request.
UpdateOptsBuilder allows extensions to add additional attributes to the Update request.

# Type aliases

MetadataOpts is a map that contains key-value pairs.
MetadatumOpts is a map of length one that contains a key-value pair.
Personality is an array of files that are injected into the server at launch.
RebootMethod describes the mechanisms by which a server reboot can be requested.