Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultHttpDomain xxx
DefaultHttpDomain = "http://xxxxxxx"
)
View Source
const (
// ProcessDaemonEndpoint xxx
ProcessDaemonEndpoint = "/var/run/process.sock"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpConnection ¶
type HttpConnection struct {
// contains filtered or unexported fields
}
HttpConnection xxx
func NewHttpConnection ¶
func NewHttpConnection(endpoint string) *HttpConnection
NewHttpConnection xxx
type ProcDaemon ¶
type ProcDaemon interface { // CreateProcess xxx // create process object CreateProcess(*types.ProcessInfo) error // InspectProcessStatus xxx // inspect process status InspectProcessStatus(procId string) (*types.ProcessStatusInfo, error) // StopProcess xxx // stop process StopProcess(procId string, timeout int) error // DeleteProcess xxx // Delete process DeleteProcess(procId string) error // ReloadProcess xxx // reload process, exec reloadCmd ReloadProcess(procId string) error // RestartProcess xxx // restart process, exec restartCmd RestartProcess(procId string) error }
ProcDaemon xxx
Click to show internal directories.
Click to hide internal directories.