Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionResult ¶
type ActionResult struct {
gophercloud.ErrResult
}
ActionResult represents the result of server action operations, like reboot. Call its ExtractErr method to determine if the action succeeded or failed.
func ResetPassword ¶
func ResetPassword(client *gophercloud.ServiceClient, serverID, newPassword string) (r ActionResult)
type ChangeOpts ¶
type ChangeOpts struct { AdminPass string `json:"adminpass,omitempty"` KeyName string `json:"keyname,omitempty"` UserID string `json:"userid,omitempty"` ImageID string `json:"imageid" required:"true"` MetaData *MetaData `json:"metadata,omitempty"` }
func (ChangeOpts) ToServerChangeMap ¶
func (opts ChangeOpts) ToServerChangeMap() (map[string]interface{}, error)
type ChangeOptsBuilder ¶
type ChangeResult ¶
type ChangeResult struct {
gophercloud.Result
}
func ChangeOS ¶
func ChangeOS(client *gophercloud.ServiceClient, serverID string, opts ChangeOptsBuilder) (r ChangeResult)
func (ChangeResult) ExtractJob ¶
func (r ChangeResult) ExtractJob() (*Job, error)
Click to show internal directories.
Click to hide internal directories.