Versions in this module Expand all Collapse all v0 v0.5.0 Jul 21, 2026 Changes in this version + const SchemaVersion + type Confidence int + const ConfidenceHigh + const ConfidenceMedium + const ConfidencePossible + func (c *Confidence) UnmarshalJSON(data []byte) error + func (c Confidence) MarshalJSON() ([]byte, error) + func (c Confidence) String() string + type DisplayState string + const DisplayBlocked + const DisplayCompleted + const DisplayDegraded + const DisplayFailed + const DisplayHealthy + const DisplayMissing + const DisplayPending + const DisplayStarting + const DisplayUnhealthy + type EffectiveConfig struct + Overrides []OverrideNote + RawYAML string + Services []EffectiveService + SourceFiles []string + type EffectiveService struct + Build string + Command []string + DependsOn map[string]string + EnvNames []string + Healthcheck string + Image string + Name string + Networks []string + Ports []string + Volumes []string + type Event struct + ContainerID string + Data map[string]any + Message string + Phase ServicePhase + Project string + RunID string + Service string + Severity Severity + Source EventSource + Timestamp time.Time + Type EventType + type EventSource int + const SourceCompose + const SourceContainer + const SourceDiagnosis + const SourceDocker + const SourceHealthcheck + const SourceLog + const SourceNetwork + const SourceProbe + const SourceProcess + const SourceResource + func (s *EventSource) UnmarshalJSON(data []byte) error + func (s EventSource) MarshalJSON() ([]byte, error) + func (s EventSource) String() string + type EventType int + const EventTypeDiagnosis + const EventTypeInspect + const EventTypeLifecycle + const EventTypeLog + const EventTypeProbe + const EventTypeState + const EventTypeStats + func (t *EventType) UnmarshalJSON(data []byte) error + func (t EventType) MarshalJSON() ([]byte, error) + func (t EventType) String() string + type Finding struct + BlockedServices []string + Confidence Confidence + Evidence []string + RootCause string + RuleID string + Service string + SuggestedFixes []string + type Invocation struct + Arch string + Command []string + ComposeFiles []string + ComposeVersion string + DockerContext string + DockerHost string + DockerVersion string + EnvNames []string + EnvValues map[string]string + GitCommit string + GitDirty bool + GitRoot string + OS string + Profiles []string + ProjectName string + Timestamp time.Time + WorkingDir string + type OverrideNote struct + Field string + From string + FromFile string + Message string + Service string + To string + ToFile string + type PhaseTransition struct + Message string + Phase ServicePhase + Source EventSource + Timestamp time.Time + type Run struct + Artifacts []string + EffectiveConfig *EffectiveConfig + EndedAt *time.Time + Events []Event + Findings []Finding + ID string + Invocation *Invocation + Project string + SchemaVersion int + Services map[string]*Service + StartedAt time.Time + func NewRun(id string, startedAt time.Time) *Run + func (r *Run) ApplyEvent(ev Event) + func (r *Run) ApplyEvents(events []Event) + func (r *Run) Clone() *Run + func (r *Run) MarshalJSON() ([]byte, error) + func (r *Run) ServiceList() []*Service + type Service struct + ContainerID string + ExitCode *int + Image string + Name string + Phase ServicePhase + PhaseHistory []PhaseTransition + Ports []string + Project string + Status string + UpdatedAt time.Time + type ServicePhase int + const PhaseApplicationReady + const PhaseBuilding + const PhaseConfigured + const PhaseCreated + const PhaseExited + const PhaseFailed + const PhaseHealthy + const PhasePortListening + const PhaseProcessRunning + const PhasePulling + const PhaseStarted + func (p *ServicePhase) UnmarshalJSON(data []byte) error + func (p ServicePhase) MarshalJSON() ([]byte, error) + func (p ServicePhase) String() string + func (p ServicePhase) Terminal() bool + func (p ServicePhase) ToDisplayState() DisplayState + type Severity int + const SeverityCritical + const SeverityError + const SeverityInfo + const SeverityWarn + func (s *Severity) UnmarshalJSON(data []byte) error + func (s Severity) MarshalJSON() ([]byte, error) + func (s Severity) String() string