( ctx context.Context, ce *clienv.CliEnv, appVersion string, httpPort uint, useTLS bool, applySeeds bool, ports dockercompose.ExposePorts, dashboardVersion string, configserverImage string, caCertificatesPath string, downOnError bool, proj *graphql.AppSummaryFragment, postgresURL string, )
| 275 | } |
| 276 | |
| 277 | func Cloud( |
| 278 | ctx context.Context, |
| 279 | ce *clienv.CliEnv, |
| 280 | appVersion string, |
| 281 | httpPort uint, |
| 282 | useTLS bool, |
| 283 | applySeeds bool, |
| 284 | ports dockercompose.ExposePorts, |
| 285 | dashboardVersion string, |
| 286 | configserverImage string, |
| 287 | caCertificatesPath string, |
| 288 | downOnError bool, |
| 289 | proj *graphql.AppSummaryFragment, |
| 290 | postgresURL string, |
| 291 | ) error { |
| 292 | dc := dockercompose.New(ce.Path.WorkingDir(), ce.Path.DockerCompose(), ce.ProjectName()) |
| 293 | |
| 294 | if err := cloud( |
| 295 | ctx, |
| 296 | ce, |
| 297 | appVersion, |
| 298 | dc, |
| 299 | httpPort, |
| 300 | useTLS, |
| 301 | applySeeds, |
| 302 | ports, |
| 303 | dashboardVersion, |
| 304 | configserverImage, |
| 305 | caCertificatesPath, |
| 306 | proj, |
| 307 | postgresURL, |
| 308 | ); err != nil { |
| 309 | return upErr(ce, dc, downOnError, err) //nolint:contextcheck |
| 310 | } |
| 311 | |
| 312 | return nil |
| 313 | } |
no test coverage detected