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

Function getUri

src/utils/request.js:68–70  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

66
67
68export function getUri(uri){
69 return asPromiseAndJSON(createAgent(uri).end);
70}
71
72export function getParallel(uris){
73 return Promise.all(uris.map(getUri))

Callers 5

getAllContainersFunction · 0.85
getAllServicesFunction · 0.85
getAllTasksFunction · 0.85
getAllNetworksFunction · 0.85
getAllNodesFunction · 0.85

Calls 2

asPromiseAndJSONFunction · 0.85
createAgentFunction · 0.85

Tested by

no test coverage detected