CreateOptions group options of the Create API
| 261 | |
| 262 | // CreateOptions group options of the Create API |
| 263 | type CreateOptions struct { |
| 264 | Build *BuildOptions |
| 265 | // Services defines the services user interacts with |
| 266 | Services []string |
| 267 | // Remove legacy containers for services that are not defined in the project |
| 268 | RemoveOrphans bool |
| 269 | // Ignore legacy containers for services that are not defined in the project |
| 270 | IgnoreOrphans bool |
| 271 | // Recreate define the strategy to apply on existing containers |
| 272 | Recreate string |
| 273 | // RecreateDependencies define the strategy to apply on dependencies services |
| 274 | RecreateDependencies string |
| 275 | // Inherit reuse anonymous volumes from previous container |
| 276 | Inherit bool |
| 277 | // Timeout set delay to wait for container to gracefully stop before sending SIGKILL |
| 278 | Timeout *time.Duration |
| 279 | // QuietPull makes the pulling process quiet |
| 280 | QuietPull bool |
| 281 | // SkipProviders skips provider services during convergence (e.g. watch rebuild) |
| 282 | SkipProviders bool |
| 283 | } |
| 284 | |
| 285 | // StartOptions group options of the Start API |
| 286 | type StartOptions struct { |
nothing calls this directly
no outgoing calls
no test coverage detected