Documentation ¶
Index ¶
- func CheckChildKatAndSet(myServerID string)
- func GetAndSetStatus(statusInfo common.StatusInfo)
- func RunCommand(myServerID string, cmd *common.Command) (*common.CommandResult, error)
- func RunCommandAndSetResult(statusInfo common.StatusInfo, cmd *common.Command)
- func RunMomKatCommandAndSetResult(myServerID string, cmd *common.Command)
- func SetImMomKat(myServerID string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChildKatAndSet ¶
func CheckChildKatAndSet(myServerID string)
Loop:
- start timer
- called by others => reset timer
- fired and be a MomKat (1) get childkat list (2) get the fist command (3) MomKat: if Command is not nil, run it! (4) check childkat liveness and set (5) request the Command to all ChildKat (6) clear the fist command after all completions.
func GetAndSetStatus ¶
func GetAndSetStatus(statusInfo common.StatusInfo)
func RunCommand ¶
func RunCommandAndSetResult ¶
func RunCommandAndSetResult(statusInfo common.StatusInfo, cmd *common.Command)
func SetImMomKat ¶
func SetImMomKat(myServerID string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.