MCPcopy Create free account
hub / github.com/nhost/nhost / printCloudInfo

Function printCloudInfo

cli/cmd/dev/cloud.go:260–275  ·  view source on GitHub ↗
(
	subdomain string,
	httpPort uint,
	useTLS bool,
)

Source from the content-addressed store, hash-verified

258}
259
260func printCloudInfo(
261 subdomain string,
262 httpPort uint,
263 useTLS bool,
264) {
265 w := tabwriter.NewWriter(os.Stdout, 0, 0, 4, ' ', 0) //nolint:mnd
266 fmt.Fprintf(w, "URLs:\n")
267 fmt.Fprintf(w, "- Console:\t\t%s\n", dockercompose.URL(
268 subdomain, "hasura", httpPort, useTLS,
269 ))
270 fmt.Fprintf(w, "- Dashboard:\t\t%s\n", dockercompose.URL(
271 subdomain, "dashboard", httpPort, useTLS,
272 ))
273
274 w.Flush()
275}
276
277func Cloud(
278 ctx context.Context,

Callers 1

cloudFunction · 0.85

Calls 1

URLFunction · 0.92

Tested by

no test coverage detected