MCPcopy
hub / github.com/containerd/containerd / Run

Function Run

core/runtime/v2/logging/logging_windows.go:32–39  ·  view source on GitHub ↗

Run the logging driver

(fn LoggerFunc)

Source from the content-addressed store, hash-verified

30
31// Run the logging driver
32func Run(fn LoggerFunc) {
33 err := runInternal(fn)
34 if err != nil {
35 fmt.Fprintln(os.Stderr, err)
36 os.Exit(1)
37 }
38 os.Exit(0)
39}
40
41func runInternal(fn LoggerFunc) error {
42 ctx, cancel := context.WithCancel(context.Background())

Callers

nothing calls this directly

Calls 2

runInternalFunction · 0.85
ExitMethod · 0.80

Tested by

no test coverage detected