Documentation ¶
Index ¶
- func CheckNode(name string) (error, bool)
- func CheckToken(name string) (err error, ok bool)
- func CloseDB(db *gorm.DB)
- func CreateLabelWithNode(name string, node string) error
- func CreateNode(name string, role string, kv string, os string, dv string) error
- func CreateToken(name string, token string) error
- func GetLabelNodes(name string) (nodes []string, err error)
- func Setup()
- func UpdateNode(name string, role string, kv string, os string, dv string) error
- func UpdateToken(name string, token string) error
- type Action
- type Label
- type Log
- type Model
- type Node
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckToken ¶
func CreateLabelWithNode ¶
func CreateToken ¶
func GetLabelNodes ¶
func UpdateToken ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.