Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: d4b44615af
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (57 sloc) 1.113 kb
package daemon
type DeployRequest struct {
ServicePath string
Args string
}
type DeployResponse struct {
UUID string
}
type SubServiceInfo struct {
UUID string
ServicePath string
Args string
Running bool
}
type ListSubServicesRequest struct {
}
type ListSubServicesResponse struct {
Services map[string]SubServiceInfo
}
type StopAllSubServicesRequest struct {
}
type StopAllSubServicesResponse struct {
Count int
Stops []StopSubServiceResponse
}
type StartAllSubServicesRequest struct {
}
type StartAllSubServicesResponse struct {
Count int
Starts []StartSubServiceResponse
}
type StartSubServiceRequest struct {
UUID string
}
type StartSubServiceResponse struct {
Ok bool
UUID string
}
type StopSubServiceRequest struct {
UUID string
}
type StopSubServiceResponse struct {
Ok bool
UUID string
}
type RestartSubServiceRequest struct {
UUID string
}
type RestartSubServiceResponse struct {
UUID string
}
type RestartAllSubServicesRequest struct {
}
type RestartAllSubServicesResponse struct {
Count int
Restarts []RestartSubServiceResponse
}
Jump to Line
Something went wrong with that request. Please try again.