()
| 475 | } |
| 476 | |
| 477 | func fullValidHostConfig() *dockercontainer.HostConfig { |
| 478 | return &dockercontainer.HostConfig{ |
| 479 | Privileged: true, |
| 480 | CapAdd: []string{"addCapA", "addCapB"}, |
| 481 | CapDrop: []string{"dropCapA", "dropCapB"}, |
| 482 | SecurityOpt: []string{ |
| 483 | fmt.Sprintf("%s:%s", selinuxLabelUser('='), "user"), |
| 484 | fmt.Sprintf("%s:%s", selinuxLabelRole('='), "role"), |
| 485 | fmt.Sprintf("%s:%s", selinuxLabelType('='), "type"), |
| 486 | fmt.Sprintf("%s:%s", selinuxLabelLevel('='), "level"), |
| 487 | }, |
| 488 | } |
| 489 | } |
no test coverage detected
searching dependent graphs…