Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartDeploymentWorker ¶ added in v0.3.0
func StartDeploymentWorker( configPath string, )
StartDeploymentWorker starts a background worker that processes queued deployment jobs one at a time.
func StartServer ¶
func SwaggerHandler ¶
func SwaggerHandler() http.HandlerFunc
Types ¶
type AgentStatusResponse ¶
type DeployRequest ¶
type DeployRequest struct {
Deployment string `json:"deployment"`
}
type DeploymentListItem ¶
type HealthResponse ¶
type HeartbeatResponse ¶ added in v0.3.0
type HeartbeatResponse struct {
NodeID string `json:"node_id"`
NodeName string `json:"node_name"`
NodeRegion string `json:"node_region"`
Service string `json:"service"`
Version string `json:"version"`
Status string `json:"status"`
StartedAt time.Time `json:"started_at"`
Timestamp time.Time `json:"timestamp"`
UptimeSeconds int64 `json:"uptime_seconds"`
Queue jobs.Summary `json:"queue"`
}
type NodeInfoResponse ¶ added in v0.3.0
type NodeInfoResponse struct {
NodeID string `json:"node_id"`
NodeName string `json:"node_name"`
NodeRegion string `json:"node_region"`
Service string `json:"service"`
Version string `json:"version"`
OperatingSystem string `json:"operating_system"`
Architecture string `json:"architecture"`
Capabilities []string `json:"capabilities"`
}
Click to show internal directories.
Click to hide internal directories.