model

package
Version: v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VM

type VM struct {
	UID              string    `json:"UID" xorm:"'UID' varchar(40) pk "`
	OUID             string    `json:"OUID" xorm:"'OUID' varchar(40)"`
	PyUID            string    `json:"PyUID" xorm:"'PyUID' varchar(40)"`
	HostName         string    `json:"HostName" xorm:"'HostName' varchar(50)"`
	Core             int       `json:"Core" xorm:"'Core' int(5)"`
	Mem              int       `xorm:"'Mem' int(5)"`
	Disk             int       `xorm:"'Disk' int(5)"`
	Usage            string    `xorm:"'Usage' varchar(30)"`
	SecUsage         string    `xorm:"'SecUsage' varchar(30)"`
	OS               string    `xorm:"'OS' varchar(30)"`
	Owner            string    `xorm:"'Owner' varchar(20)"`
	Department       string    `xorm:"'Department' varchar(50)"`
	Status           string    `xorm:"'Status' varchar(20)"`
	SubStatus        string    `xorm:"'SubStatus' varchar(20)"`
	IDC              string    `xorm:"'IDC' varchar(20)"`
	Location         string    `xorm:"'Location' varchar(20)"`
	CreatePerson     string    `xorm:"'CreatePerson' varchar(20)"`
	LastUpdatePerson string    `xorm:"'LastUpdatePerson' varchar(20)"`
	CreateTime       time.Time `xorm:"'CreateTime' created"`
	LastUpdateTime   time.Time `xorm:"'LastUpdateTime' updated"`
	InstanceID       string    `xorm:"'InstanceID' varchar(40)"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL