resNode

package
v0.0.0-...-cee649a Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 2 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL