Documentation ¶
Overview ¶
Package manager xxx
Index ¶
Constants ¶
View Source
const (
// ProcessHeartBeatPeriodSeconds xxx
ProcessHeartBeatPeriodSeconds = 600
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // Init func Init() error // Start func Start() // GetConfig xxx // get config GetConfig() *config.Config // HeartBeat xxx // heartbeat HeartBeat(heartbeat *types.HeartBeat) // CreateProcess xxx // Create process CreateProcess(processInfo *types.ProcessInfo) error // InspectProcessStatus xxx // inspect process status info // processId = types.ProcessInfo.Id InspectProcessStatus(processId string) (*types.ProcessStatusInfo, error) // StopProcess xxx // Stop process // processId = types.ProcessInfo.Id // process will be killed when timeout seconds StopProcess(processId string, timeout int) error // DeleteProcess xxx // delete process // processId = types.ProcessInfo.Id DeleteProcess(processId string) error }
Manager xxx
Click to show internal directories.
Click to hide internal directories.