( subdomain string, httpPort uint, useTLS bool, )
| 258 | } |
| 259 | |
| 260 | func 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 | |
| 277 | func Cloud( |
| 278 | ctx context.Context, |