MCPcopy Create free account
hub / github.com/fsouza/go-dockerclient / getImage

Method getImage

testing/server.go:1158–1161  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

1156}
1157
1158func (s *DockerServer) getImage(w http.ResponseWriter, r *http.Request) {
1159 w.WriteHeader(http.StatusOK)
1160 w.Header().Set("Content-Type", "application/tar")
1161}
1162
1163func (s *DockerServer) createExecContainer(w http.ResponseWriter, r *http.Request) {
1164 id := mux.Vars(r)["id"]

Callers

nothing calls this directly

Calls 1

SetMethod · 0.80

Tested by

no test coverage detected