Documentation
¶
Overview ¶
Package resilience judges whether the data plane would keep serving if the control plane went away.
Index ¶
Constants ¶
View Source
const ( StatusPass = "pass" StatusFail = "fail" StatusWarn = "warn" StatusUnknown = "unknown" )
Check statuses.
View Source
const ( CheckRouteSnapshot = "route_snapshot" CheckCertCache = "cert_cache" CheckAgentLink = "agent_link" CheckContainers = "container_restart" CheckTelemetry = "telemetry_buffer" )
Check IDs.
View Source
const FixSaveSnapshot = "save_snapshot"
FixSaveSnapshot is the fix that rewrites the route snapshot from the applied config.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct {
ID string `json:"id"`
Status string `json:"status"`
Detail string `json:"detail"`
Fix string `json:"fix,omitempty"`
}
Check is one survival property of the ingress or a node.
type IngressInput ¶
type IngressInput struct {
SnapshotEnabled bool
SavedAt time.Time
SaveError string
// Verified is set when the snapshot was opened as a restart would; VerifyErr is the outcome.
Verified bool
VerifyErr error
ConfigBytes int
CertKeys int
CertErr error
}
IngressInput is what the control plane knows about the persisted ingress state.
Click to show internal directories.
Click to hide internal directories.