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

Function WithNoNewKeyring

client/task_opts_unix.go:27–34  ·  view source on GitHub ↗

WithNoNewKeyring causes tasks not to be created with a new keyring for secret storage. There is an upper limit on the number of keyrings in a linux system

(ctx context.Context, c *Client, ti *TaskInfo)

Source from the content-addressed store, hash-verified

25// WithNoNewKeyring causes tasks not to be created with a new keyring for secret storage.
26// There is an upper limit on the number of keyrings in a linux system
27func WithNoNewKeyring(ctx context.Context, c *Client, ti *TaskInfo) error {
28 opts, err := ti.getRuncOptions()
29 if err != nil {
30 return err
31 }
32 opts.NoNewKeyring = true
33 return nil
34}
35
36// WithNoPivotRoot instructs the runtime not to you pivot_root
37func WithNoPivotRoot(_ context.Context, _ *Client, ti *TaskInfo) error {

Callers

nothing calls this directly

Calls 1

getRuncOptionsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…