KillOptions group options of the Kill API
| 386 | |
| 387 | // KillOptions group options of the Kill API |
| 388 | type KillOptions struct { |
| 389 | // RemoveOrphans will cleanup containers that are not declared on the compose model but own the same labels |
| 390 | RemoveOrphans bool |
| 391 | // Project is the compose project used to define this app. Might be nil if user ran command just with project name |
| 392 | Project *types.Project |
| 393 | // Services passed in the command line to be killed |
| 394 | Services []string |
| 395 | // Signal to send to containers |
| 396 | Signal string |
| 397 | // All can be set to true to try to kill all found containers, independently of their state |
| 398 | All bool |
| 399 | } |
| 400 | |
| 401 | // RemoveOptions group options of the Remove API |
| 402 | type RemoveOptions struct { |
nothing calls this directly
no outgoing calls
no test coverage detected