model

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandHealth       = "health"
	CommandQueryAllBiz  = "queryAllBiz"
	CommandInstallBiz   = "installBiz"
	CommandUnInstallBiz = "uninstallBiz"
)
View Source
const (
	BaseHeartBeatTopic = "koupleless/+/base/heart"
	BaseHealthTopic    = "koupleless/%s/base/health"
	BaseBizTopic       = "koupleless/%s/base/biz"
)
View Source
const (
	VIRTUAL_NODE_NAME_PREFIX = "virtual-kubenode-"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HeartBeatData

type HeartBeatData struct {
	DeviceID      string            `json:"deviceID"`
	MasterBizInfo ark.MasterBizInfo `json:"masterBizInfo"`
	NetworkInfo   NetworkInfo       `json:"networkInfo"`
}

HeartBeatData is the data of base heart beat.

type NetworkInfo

type NetworkInfo struct {
	LocalIP       string `json:"localIP"`
	LocalHostName string `json:"localHostName"`
	ArkletPort    int    `json:"arkletPort"`
}

Jump to

Keyboard shortcuts

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