Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTable ¶
FormatTable renders the human-readable probe table.
Types ¶
type Env ¶
type Env struct {
FromService string
ContainerID string
ContainerExists bool
ContainerRunning bool
TargetHost string
TargetPort int
WantTLS bool
WantHTTP bool
HTTPPath string
}
Env describes runtime facts needed before network probes.
type Result ¶
type Result struct {
FromService string
TargetHost string
TargetPort int
Method Method
Steps []Step
HardFailAt string
}
Result is the full dependency probe chain outcome.
type Runner ¶
type Runner struct {
// NativeExec runs inside the dependent container (Option A).
NativeExec Exec
// EphemeralExec runs from a same-network probe container (Option B).
EphemeralExec Exec
// HasTool reports whether a binary exists in the native context.
// If nil, tools are assumed present when NativeExec is set.
HasTool func(ctx context.Context, bin string) bool
Now func() time.Time
}
Runner orchestrates the dependency probe chain.
Click to show internal directories.
Click to hide internal directories.