MCPcopy Create free account
hub / github.com/docker/compose / KillOptions

Struct KillOptions

pkg/api/api.go:388–399  ·  view source on GitHub ↗

KillOptions group options of the Kill API

Source from the content-addressed store, hash-verified

386
387// KillOptions group options of the Kill API
388type 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
402type RemoveOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected