dagger-rs/crates/dagger-sdk/examples
kjuulh 9762da895a feat(sdk): with _opts methods
Now all opt values enter into a _opts function instead of the original.
This avoids a lot of verbosity for both None in the case opts are
unwanted, and Some() if they actually are.

They are used like so:

```rust
client.container().from("...");
client.container_opts(Some(ContainerOpts{ ... }))
```

Some from opts will be removed in a future commit/pr
2023-02-19 18:00:04 +01:00
..
build-the-application feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
caching feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
existing-dockerfile feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
first-pipeline feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
multi-stage-build feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
publish-the-application feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00
test-the-application feat(sdk): with _opts methods 2023-02-19 18:00:04 +01:00