Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Loader ¶
type Loader interface {
Prepare(ctx context.Context) (probePrep, error)
Probe(ctx context.Context, prep probePrep, s catalog.Service) Row
}
Loader fetches probes. Prepare runs once per pass; Probe runs per service so the table can paint each row as it finishes.
type Row ¶
type Row struct {
Service catalog.Service
Report lifecycle.Report
Serve string
URL string
Owned bool
Fresh bool
Launches []lifecycle.LaunchStatus
}
Row is one catalog service plus the latest probe.
type Runner ¶
type Runner interface {
Stop(ctx context.Context, name string) (string, error)
Restart(ctx context.Context, name string) (string, error)
RestartAll(ctx context.Context, names []string) (string, error)
}
Runner stops and restarts local processes. It does not publish. Restart starts a service that is down.
Click to show internal directories.
Click to hide internal directories.