Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: expose configured bollard client #740

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Conversation

DDtKey
Copy link
Collaborator

@DDtKey DDtKey commented Sep 25, 2024

This PR allows to access bollard client directly if needed. It's aligned with implementations of testcontainers for other languages. Definitely may be useful in some specific cases and allows to bypass some limitations. We could wrap and expose only particular API methods and hide the details from the user, but it's too much work and this way seems more pragmatic.

Later we also can re-export bollard and bollard_stubs on demand (in order to simplify version managment of deps for users)

This PR allows to access bollard client directly if needed.
It's aligned with implementations of testcontainers for other languages. Definitely may be useful in some specific cases and allows to bypass some limitations.
We could wrap and expose only particular API methods and hide the details from the user, but it's too much work and this way seems more pragmatic.

Later we also can re-export bollard and bollard_stubs on demand (in order to simplify version managment of deps for users)
Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for testcontainers-rust ready!

Name Link
🔨 Latest commit 110d747
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-rust/deploys/66f49c155e08f0000836fd1b
😎 Deploy Preview https://deploy-preview-740--testcontainers-rust.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@DDtKey DDtKey enabled auto-merge (squash) September 25, 2024 23:55
@DDtKey DDtKey merged commit 72b9f6e into main Sep 26, 2024
13 checks passed
@DDtKey DDtKey deleted the feat/expose-docker-client branch September 26, 2024 00:00
@github-actions github-actions bot mentioned this pull request Sep 26, 2024
DDtKey pushed a commit that referenced this pull request Sep 26, 2024
## 🤖 New release
* `testcontainers`: 0.23.0 -> 0.23.1 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

## [0.23.1] - 2024-09-26

### Details
#### Features
- Expose configured bollard client
([#740](#740))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant