runtimecmd

package
v1.1.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2026 License: EPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrainHTTPClientTimeout

func DrainHTTPClientTimeout(timeoutSeconds int) time.Duration

DrainHTTPClientTimeout returns the HTTP client budget for a runtime drain call. Must cover server drain budget plus overhead (DefaultRequestTimeout is only 60s).

Types

type DrainResult

type DrainResult struct {
	Human string
	Data  map[string]any
}

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

type ReapOrphansResult struct {
	Human string
	Data  map[string]any
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL