MCPcopy
hub / github.com/dockersamples/docker-swarm-visualizer / getAllContainers

Function getAllContainers

src/utils/request.js:81–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81export function getAllContainers(){
82 return getUri(host+`containers/json`)
83 .then(({ objects }) => filterTerminatedObjects(objects))
84}
85
86export function getAllServices(){
87 return getUri(host+`services`)

Callers

nothing calls this directly

Calls 2

getUriFunction · 0.85
filterTerminatedObjectsFunction · 0.85

Tested by

no test coverage detected