Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Address struct + Addr string + MacAddr string + PortID string + Type string + Version string + type BatchChangeOpts struct + AdminPass string + ImageID string + KeyName string + MetaData *MetaData + Servers []Server + UserID string + func (opts BatchChangeOpts) ToServerBatchChangeMap() (map[string]interface{}, error) + type BatchChangeOptsBuilder interface + ToServerBatchChangeMap func() (map[string]interface{}, error) + type BatchChangeResult struct + func BatchChangeOS(client *gophercloud.ServiceClient, opts BatchChangeOptsBuilder) (r BatchChangeResult) + func (r BatchChangeResult) ExtractJob() (*Job, error) + type BatchOperateError struct + BasicError errorObj + InternalError []internalErr + func (e BatchOperateError) Error() string + func (e BatchOperateError) ErrorCode() string + func (e BatchOperateError) Message() string + type BatchRebootOpts struct + Servers []Server + Type Type + func (opts BatchRebootOpts) ToServerBatchRebootMap() (map[string]interface{}, error) + type BatchRebootOptsBuilder interface + ToServerBatchRebootMap func() (map[string]interface{}, error) + type BatchStartOpts struct + Servers []Server + func (opts BatchStartOpts) ToServerBatchStartMap() (map[string]interface{}, error) + type BatchStartOptsBuilder interface + ToServerBatchStartMap func() (map[string]interface{}, error) + type BatchStopOpts struct + Servers []Server + Type Type + func (opts BatchStopOpts) ToServerBatchStopMap() (map[string]interface{}, error) + type BatchStopOptsBuilder interface + ToServerBatchStopMap func() (map[string]interface{}, error) + type BatchTagCreateOpts struct + Tags []TagCreate + func (opts BatchTagCreateOpts) ToTagBatchCreateMap() (map[string]interface{}, error) + type BatchTagCreateOptsBuilder interface + ToTagBatchCreateMap func() (map[string]interface{}, error) + type BatchTagDeleteOpts struct + Tags []TagDelete + func (opts BatchTagDeleteOpts) ToTagBatchDeleteMap() (map[string]interface{}, error) + type BatchTagDeleteOptsBuilder interface + ToTagBatchDeleteMap func() (map[string]interface{}, error) + type BatchUpdateOpts struct + DryRun bool + Name string + Servers []Server + func (opts BatchUpdateOpts) ToServerBatchUpdateMap() (map[string]interface{}, error) + type BatchUpdateOptsBuilder interface + ToServerBatchUpdateMap func() (map[string]interface{}, error) + type BatchUpdateResp struct + Response []ServerID + type BatchUpdateResult struct + func BatchUpdate(client *gophercloud.ServiceClient, opts BatchUpdateOpts) (r BatchUpdateResult) + func (r BatchUpdateResult) ExtractBatchUpdate() (BatchUpdateResp, error) + type CloudServer struct + AccessIPv4 string + AccessIPv6 string + Addresses map[string][]Address + AvailabilityZone string + ConfigDrive string + Created time.Time + Description string + DiskConfig string + EnterpriseProjectID string + Flavor Flavor + Host string + HostID string + HostStatus string + Hostname string + HypervisorHostname string + ID string + Image Image + InstanceName string + KernelID string + KeyName string + LaunchIndex *int + LaunchedAt string + Locked *bool + Metadata Metadata + Name string + OsSchedulerHints OsSchedulerHints + PowerState *int + Progress *int + RamdiskID string + ReservationID string + RootDeviceName string + SecurityGroups []SecurityGroups + Status string + SysTags []SysTags + Tags []string + TaskState string + TenantID string + TerminatedAt string + Updated time.Time + UserData string + UserID string + VMState string + VolumeAttached []VolumeAttached + type CloudServerDetail struct + Count int + Servers []NewCloudServer + func ExtractCloudServers(r pagination.Page) (CloudServerDetail, error) + type CloudServerPage struct + func (r CloudServerPage) IsEmpty() (bool, error) + type ErrResult struct + func BatchCreateServerTags(client *gophercloud.ServiceClient, serverID string, ...) (r ErrResult) + func BatchDeleteServerTags(client *gophercloud.ServiceClient, serverID string, ...) (r ErrResult) + func ConfigServerRecovery(client *gophercloud.ServiceClient, serverID string, opts string) (r ErrResult) + type Flavor struct + Disk string + ID string + Name string + RAM string + Vcpus string + type GetResult struct + func Get(client *gophercloud.ServiceClient, serverID string) (r GetResult) + func (r GetResult) Extract() (*CloudServer, error) + type Image struct + ID string + type Job struct + ID string + type JobResult struct + func BatchReboot(client *gophercloud.ServiceClient, opts BatchRebootOpts) (r JobResult) + func BatchStart(client *gophercloud.ServiceClient, opts BatchStartOpts) (r JobResult) + func BatchStop(client *gophercloud.ServiceClient, opts BatchStopOpts) (r JobResult) + func (r JobResult) ExtractJob() (Job, error) + type ListOpts struct + EnterpriseProjectID string + Flavor string + Limit int + Name string + NotTags string + Offset int + ReservationID string + Status string + Tags string + func (opts ListOpts) ToServerListDetailQuery() (string, error) + type ListOptsBuilder interface + ToServerListDetailQuery func() (string, error) + type MetaData struct + UserData string + type Metadata struct + ChargingMode string + EcmResStatus string + ImageID string + ImageName string + Imagetype string + LockCheckEndpoint string + LockScene string + LockSource string + LockSourceID string + OrderID string + OsBit string + ProductID string + Resourcespeccode string + VirtualEnvType string + VpcID string + type NewCloudServer struct + Metadata map[string]string + type OsSchedulerHints struct + Group []string + type ProjectTagsResult struct + func ListProjectTags(client *gophercloud.ServiceClient) (r ProjectTagsResult) + func (r ProjectTagsResult) Extract() (Tags, error) + type Recovery struct + SupportAutoRecovery string + type RecoveryResult struct + func GetServerRecoveryStatus(client *gophercloud.ServiceClient, serverID string) (r RecoveryResult) + func (r RecoveryResult) Extract() (*Recovery, error) + type ResourceTag struct + Key string + Value string + type SecurityGroups struct + Name string + type Server struct + ID string + type ServerID struct + ID string + type ServerTags struct + Tags []ResourceTag + type ServerTagsResult struct + func ListServerTags(client *gophercloud.ServiceClient, serverID string) (r ServerTagsResult) + func (r ServerTagsResult) Extract() (ServerTags, error) + type SysTags struct + Key string + Value string + type Tag struct + Key string + Values []string + type TagCreate struct + Key string + Value string + type TagDelete struct + Key string + Value string + type Tags struct + Tags []Tag + type Type string + const Hard + const Soft + type VolumeAttached struct + BootIndex string + DeleteOnTermination string + Device string + ID string