Documentation
¶
Index ¶
Constants ¶
View Source
const ( StatusUnselected = 1 StatusSelected = 2 )
Variables ¶
View Source
var SchemaInfo = `` /* 197-byte string literal not displayed */
View Source
var TableNameCPU = "res_node_cpu"
View Source
var TableNameGPU = "res_node_gpu"
Functions ¶
func GetSchemaCPU ¶
func GetSchemaCPU() string
func GetSchemaGPU ¶
func GetSchemaGPU() string
Types ¶
type Node ¶
type Node struct { ID int64 `db:"node_id" json:"node_id"` Name string `db:"node_name" json:"node_name"` Status int `db:"node_status" json:"node_status"` Description string `db:"description" json:"description"` ProjectID int `db:"project_id" json:"project_id"` AllocatedTime time.Time `db:"allocated_time" json:"allocated_time"` }
Click to show internal directories.
Click to hide internal directories.