MCPcopy Index your code
hub / github.com/containerd/containerd / WithDefaultRuntime

Function WithDefaultRuntime

client/client_opts.go:61–66  ·  view source on GitHub ↗

WithDefaultRuntime sets the default runtime on the client

(rt string)

Source from the content-addressed store, hash-verified

59
60// WithDefaultRuntime sets the default runtime on the client
61func WithDefaultRuntime(rt string) Opt {
62 return func(c *clientOpts) error {
63 c.defaultRuntime = rt
64 return nil
65 }
66}
67
68// WithDefaultSandboxer sets the default sandboxer on the client
69func WithDefaultSandboxer(sb string) Opt {

Callers 1

newClientFunction · 0.85

Calls

no outgoing calls

Tested by 1

newClientFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…