Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStaticHandler ¶
Types ¶
type ArtifactState ¶
type ExecRequest ¶
type ExecResponse ¶
type ExecResponse struct {
OK bool `json:"ok"`
Command string `json:"command"`
Argv []string `json:"argv,omitempty"`
ExitCode int `json:"exit_code"`
DurationMS int64 `json:"duration_ms,omitempty"`
Stdout string `json:"stdout,omitempty"`
Stderr string `json:"stderr,omitempty"`
JSON map[string]any `json:"json,omitempty"`
Error string `json:"error,omitempty"`
}
type HealthResponse ¶
type StateResponse ¶
type StateResponse struct {
OK bool `json:"ok"`
Workspace string `json:"workspace"`
RunpackPath string `json:"runpack_path,omitempty"`
RunID string `json:"run_id,omitempty"`
ManifestDigest string `json:"manifest_digest,omitempty"`
TraceFiles []string `json:"trace_files,omitempty"`
RegressResult string `json:"regress_result_path,omitempty"`
JUnitPath string `json:"junit_path,omitempty"`
Artifacts []ArtifactState `json:"artifacts,omitempty"`
PolicyPaths []string `json:"policy_paths,omitempty"`
IntentPaths []string `json:"intent_paths,omitempty"`
DefaultPolicy string `json:"default_policy_path,omitempty"`
DefaultIntent string `json:"default_intent_path,omitempty"`
GaitConfigExists bool `json:"gait_config_exists"`
Error string `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.