ops.go 326 B

12345678910111213
  1. package daemon
  2. // WithExperimental sets the daemon in experimental mode
  3. func WithExperimental(d *Daemon) {
  4. d.experimental = true
  5. }
  6. // WithDockerdBinary sets the dockerd binary to the specified one
  7. func WithDockerdBinary(dockerdBinary string) func(*Daemon) {
  8. return func(d *Daemon) {
  9. d.dockerdBinary = dockerdBinary
  10. }
  11. }