ImagePruneOptions controls the behavior of image pruning.
| 49 | |
| 50 | // ImagePruneOptions controls the behavior of image pruning. |
| 51 | type 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. |
| 60 | type ImagePruner struct { |
nothing calls this directly
no outgoing calls
no test coverage detected