compose/internal/inspect
Nicolas De Loof 954807414f refactor(compose): collect map keys with the standard library
Several places copied the keys of a map into a slice and sorted it by hand, some through their own generic helper. Use slices.Sorted(maps.Keys(m)), keeping the sorted order of the output.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-10-29 11:59:43 +01:00
..
events.go refactor(compose): share the label filter builders 2026-10-29 11:59:43 +01:00
inspect.go refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
inspect_test.go refactor(compose): state the engine of the extracted packages once 2026-10-29 11:59:43 +01:00
ls.go refactor(compose): collect map keys with the standard library 2026-10-29 11:59:43 +01:00
ls_test.go refactor(inspect): move the read-only operations to internal/inspect 2026-10-13 10:03:53 +02:00
port.go refactor(compose): state the engine of the extracted packages once 2026-10-29 11:59:43 +01:00
port_test.go refactor(inspect): move the read-only operations to internal/inspect 2026-10-13 10:03:53 +02:00
ps.go refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
top.go refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00
viz.go refactor(inspect): move the read-only operations to internal/inspect 2026-10-13 10:03:53 +02:00
volumes.go refactor(compose): filter the containers of a service in one place 2026-10-29 11:59:43 +01:00