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)
| 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 |
| 27 | func 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 |
| 37 | func WithNoPivotRoot(_ context.Context, _ *Client, ti *TaskInfo) error { |
nothing calls this directly
no test coverage detected
searching dependent graphs…