Documentation
¶
Index ¶
Constants ¶
View Source
const ( ATTACHED = iota DETACHED = iota EXITED = iota DRAINED = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatch ¶
type Dispatch struct { Inc chan *agent_protocol.AgentMessage Outc chan *agent_protocol.AgentMessage SimpleFuncMap map[string]func(proto.Message) proto.Message StreamFuncMap map[string]func(proto.Message, string, int64) ExMan *ExecManager // contains filtered or unexported fields }
func MakeDispatch ¶
func MakeDispatch(inc chan *agent_protocol.AgentMessage, outc chan *agent_protocol.AgentMessage) *Dispatch
type ExecManager ¶
type ExecManager struct { Execs map[int64]*AgentExec Outc chan *agent_protocol.AgentMessage Lock *sync.Mutex // contains filtered or unexported fields }
func MakeExecManager ¶
func MakeExecManager(outc chan *agent_protocol.AgentMessage) *ExecManager
Click to show internal directories.
Click to hide internal directories.