node

package
v2.0.0-...-73bef05 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllCount

func GetAllCount() (count int, err error)

GetAllCount get all nodes count

func GetAllRegCount

func GetAllRegCount() (count int, err error)

GetAllRegCount get all nodes count that already registered

Types

type Info

type Info struct {
	Role role.Role `json:"role"`
}

Info item info

type Item

type Item struct {
	Node        *node.Node        `json:"node"`
	Capacity    *node.Capacity    `json:"capacity"`
	Allocatable *node.Allocatable `json:"allocatable"`
	Info        *Info             `json:"info"`
	Status      *node.Status      `json:"status"`
}

Item for front display

Jump to

Keyboard shortcuts

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