Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrainHTTPClientTimeout ¶
DrainHTTPClientTimeout returns the HTTP client budget for a runtime drain call. Must cover server drain budget plus overhead (DefaultRequestTimeout is only 60s).
func ExecDirectDrain ¶ added in v1.1.0
ExecDirectDrain runs data-plane quiesce in the fat runtime. On success this process is replaced; the fat exit code is the result.
Types ¶
type DrainResult ¶
DrainResult carries runtime drain outcome from EdgeletAPI.
func Drain ¶
func Drain(client run.EdgeletAPIClient, timeoutSeconds int) (*DrainResult, error)
Drain requests a coordinated microservice drain before data-plane containerd stop.
type ReapOrphansResult ¶
ReapOrphansResult carries the outcome of a local data-plane orphan reap.
func ReapOrphans ¶
func ReapOrphans() (*ReapOrphansResult, error)
ReapOrphans stops edgelet-scoped containerd shims and orphaned embedded containerd children after a verified data-plane drain. Incomplete drain must not reap shims.