Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelKeyGOOS = "os" LabelValueGOOSWindows = "windows" LabelValueGOOSDarwin = "darwin" )
define const strings
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { ReportResource() error ExecuteCommand(res *types.NotifyAgentData) error // TODO : 缺少通知agent资源分配和释放的命令,先简单按资源独占处理 Run() error }
Manager : to report resouce and manage local application
func NewManager ¶
func NewManager(conf *config.ServerConfig, rd register_discover.RegisterDiscover) (Manager, error)
NewManager :to report resouce and manage local application
Click to show internal directories.
Click to hide internal directories.