WithDefaultCgroupNamespaceMode sets the default cgroup namespace mode for the daemon
(mode string)
| 44 | |
| 45 | // WithDefaultCgroupNamespaceMode sets the default cgroup namespace mode for the daemon |
| 46 | func WithDefaultCgroupNamespaceMode(mode string) Option { |
| 47 | return func(d *Daemon) { |
| 48 | d.defaultCgroupNamespaceMode = mode |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | // WithTestLogger causes the daemon to log certain actions to the provided test. |
| 53 | func WithTestLogger(t LogT) Option { |
no outgoing calls
searching dependent graphs…