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

Function getAllServices

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

Source from the content-addressed store, hash-verified

84}
85
86export function getAllServices(){
87 return getUri(host+`services`)
88 .then(({ objects }) => filterTerminatedObjects(objects))
89}
90export function getAllTasks(){
91 return getUri(host+`tasks`).then(({ objects }) => filterStoppedTasks(objects))
92}

Callers 2

startMethod · 0.90
reloadMethod · 0.90

Calls 2

getUriFunction · 0.85
filterTerminatedObjectsFunction · 0.85

Tested by

no test coverage detected