MCPcopy Create free account
hub / github.com/cloudfoundry/credhub-cli / setUpServer

Function setUpServer

commands/api_test.go:477–488  ·  view source on GitHub ↗
(aServer *Server)

Source from the content-addressed store, hash-verified

475})
476
477func setUpServer(aServer *Server) string {
478 aUrl := aServer.URL()
479
480 aServer.RouteToHandler("GET", "/info",
481 RespondWith(http.StatusOK, `{
482 "app":{"name":"CredHub"},
483 "auth-server":{"url":"`+exampleAuthServer.URL()+`"}
484 }`),
485 )
486
487 return aUrl
488}

Callers 1

api_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…