Documentation
¶
Index ¶
- func IsConfigErrorReason(reason string) bool
- func IsImagePullReason(reason string) bool
- func Priority(rule string) int
- func Ref(record index.Record) kref.Ref
- func Root(record index.Record, byUID map[string]index.Record) kref.Ref
- func Rule(record index.Record, observed time.Time) string
- type Break
- type ConditionReason
- type Evidence
- type LinkedChange
- type ReasonCount
- type Result
- type Termination
- type WaitingCount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConfigErrorReason ¶
func IsImagePullReason ¶
Types ¶
type Break ¶
type ConditionReason ¶
type Evidence ¶
type Evidence struct {
Terminations []Termination `json:"terminations,omitempty"`
Waiting []WaitingCount `json:"waiting,omitempty"`
PodReasons []ReasonCount `json:"pod_reasons,omitempty"`
Nodes []ReasonCount `json:"nodes,omitempty"`
Conditions []ConditionReason `json:"conditions,omitempty"`
WarningReasons []ReasonCount `json:"warning_reasons,omitempty"`
Warnings int `json:"warning_events"`
Restarts int `json:"restarts,omitempty"`
Partial bool `json:"partial,omitempty"`
From time.Time `json:"from"`
To time.Time `json:"to"`
}
type LinkedChange ¶
type ReasonCount ¶
type Result ¶
type Result struct {
Changes []LinkedChange
MoreChanges int
History string
Gaps []changes.Gap
Rebuilt []string
Untracked []string
Partial bool
}
func CorrelateLoading ¶ added in v1.4.32
func CorrelateLoading(item Break, records []index.Record, edges graph.Graph, history changes.Page, partial bool, denied map[string]bool, loading map[string]bool) Result
CorrelateLoading correlates while some kinds are still loading. A reference to a loading kind that is not listed yet is a loading gap, not a coverage failure: it keeps the history from being reported complete without marking the result partial, so real partial causes stay distinguishable.
type Termination ¶
type Termination struct {
Reason string `json:"reason"`
ExitCode int32 `json:"exit_code"`
Signal string `json:"signal,omitempty"`
ExitHint string `json:"exit_hint,omitempty"`
Count int `json:"count"`
Restarts int `json:"restarts,omitempty"`
Init bool `json:"init,omitempty"`
Last time.Time `json:"last"`
}
type WaitingCount ¶
Click to show internal directories.
Click to hide internal directories.