Documentation ¶
Index ¶
- type Exec
- func (exec *Exec) AgentData() io.ReadWriter
- func (exec *Exec) AgentVersion() string
- func (exec *Exec) CheckSum() string
- func (exec *Exec) Connect() error
- func (exec *Exec) DataPoints() io.Reader
- func (exec *Exec) Decoder() *json.Decoder
- func (exec *Exec) ExitStatus() int
- func (exec *Exec) Run() error
- func (exec *Exec) Signal() string
- func (exec *Exec) Start() error
- func (exec *Exec) String() string
- func (exec *Exec) Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exec ¶
type Exec struct {
// contains filtered or unexported fields
}
Exec represents an executable.
func (*Exec) AgentData ¶
func (exec *Exec) AgentData() io.ReadWriter
AgentData returns a raw data stream from the agent.
func (*Exec) AgentVersion ¶
AgentVersion returns the agent version running in the process. It may be called only after getAgentVersion succeeds.
func (*Exec) DataPoints ¶
DataPoints returns a raw stream of data points from the child process.
func (*Exec) ExitStatus ¶
ExitStatus returns the process's exit status.
func (*Exec) Signal ¶
Signal returns the text description of the signal that killed the process, if any.
Click to show internal directories.
Click to hide internal directories.