Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlavorsResp ¶
type FlavorsResp struct {
Flavors []Flavor `json:"flavors"`
}
type GetTokenReq ¶
type GetTokenResp ¶
type LaunchServerReq ¶
type LaunchServerReq struct {
Server Server `json:"server"`
}
type LaunchServerResp ¶
type LaunchServerResp struct { Server struct { ID string `json:"id"` } `json:"server"` }
type ServerActionReq ¶
type ServerActionReq struct { CreateImage *struct { Name string `json:"name"` } `json:"createImage"` }
type ServerDetail ¶
type ServerDetail struct { ID string `json:"id"` Name string `json:"name"` Status string `json:"status"` Addresses map[string][]ServerDetailAddress `json:"addresses"` Metadata ServerDetailMetadata `json:"metadata"` }
type ServerDetailAddress ¶
type ServerDetailMetadata ¶
type ServerDetailMetadata struct {
InstanceNameTag string `json:"instance_name_tag"`
}
type ServerDetailResp ¶
type ServerDetailResp struct {
Servers []ServerDetail `json:"servers"`
}
Click to show internal directories.
Click to hide internal directories.