Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceID = "process"
ServiceID represents a system process service id
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct { Name string Pid int Command string Arguments []string Stdin string Stdout string }
Info represents process info
type StartRequest ¶
type StartRequest struct { Target *url.Resource `required:"true" description:"host where process will be started"` Command string `required:"true" description:"command to start process"` Options *exec.Options Directory string Arguments []string AsSuperUser bool ImmuneToHangups bool `description:"start process as nohup"` }
StartRequest represents a start request
type StartResponse ¶
StartResponse represents a start response
type StatusRequest ¶
StatusRequest represents a status check request
type StatusResponse ¶
StatusResponse represents a status check response
type StopAllRequest ¶
StopAllRequest represents a stop all processes matching provided name request
type StopAllResponse ¶
type StopAllResponse struct {
Stdout string
}
StopAllResponse represents a stop all response
type StopRequest ¶
StopRequest represents a stop request
type StopResponse ¶
type StopResponse struct {
Stdout string
}
StopResponse represents a stop response
Click to show internal directories.
Click to hide internal directories.