blob: f86ef2b48c6f7dcfebf2a29921bd22fdfd4225fa [file] [log] [blame]
package diskconfig
import "gerrit.mcp.mirantis.net/debian/gophercloud.git/openstack/compute/v2/servers"
type ServerWithDiskConfig struct {
servers.Server
DiskConfig DiskConfig `json:"OS-DCF:diskConfig"`
}
func (s ServerWithDiskConfig) ToServerCreateResult() (m map[string]interface{}) {
m["OS-DCF:diskConfig"] = s.DiskConfig
return
}
type CreateServerResultBuilder interface {
ToServerCreateResult() map[string]interface{}
}