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

Struct ImagePruneOptions

pkg/compose/image_pruner.go:51–57  ·  view source on GitHub ↗

ImagePruneOptions controls the behavior of image pruning.

Source from the content-addressed store, hash-verified

49
50// ImagePruneOptions controls the behavior of image pruning.
51type ImagePruneOptions struct {
52 Mode ImagePruneMode
53
54 // RemoveOrphans will result in the removal of images that were built for
55 // the project regardless of whether they are for a known service if true.
56 RemoveOrphans bool
57}
58
59// ImagePruner handles image removal during Compose `down` operations.
60type ImagePruner struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected