Files
cloudpods/pkg/compute/models/images.go
T
2018-07-27 20:44:26 +08:00

30 lines
584 B
Go

package models
import "time"
const (
IMAGE_STATUS_ACTIVE = "active"
IMAGE_STATUS_QUEUED = "queued"
IMAGE_STATUS_KILLED = "killed"
IMAGE_STATUS_DELETED = "deleted"
)
type SImage struct {
Checksum string
ContainerFormat string
CreatedAt time.Time
Deleted bool
DiskFormat string
Id string
IsPublic bool
MinDisk int
MinRam int
Name string
Owner string
Properties map[string]string
Protected bool
Size int
Status string
UpdatedAt time.Time
}