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

Function getAllNetworks

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

Source from the content-addressed store, hash-verified

92}
93
94export function getAllNetworks(){
95 return getUri(host+`networks`)
96 .then(({ objects }) => filterTerminatedObjects(objects))
97}
98export function getAllNodes(){
99 return getUri(host+`nodes`).then(({ objects }) => filterStoppedNodes(objects))
100}

Callers

nothing calls this directly

Calls 2

getUriFunction · 0.85
filterTerminatedObjectsFunction · 0.85

Tested by

no test coverage detected