From 7bfb0bea5465e185640ac0e99a9037e6c4510c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Wed, 16 Apr 2025 10:34:12 +0200 Subject: [PATCH] docs(socat): add missing version marker for new options --- docs/modules/socat.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/modules/socat.md b/docs/modules/socat.md index 2a9cfa26a9..93d4822a87 100644 --- a/docs/modules/socat.md +++ b/docs/modules/socat.md @@ -54,6 +54,8 @@ In example: `Run(context.Background(), "alpine/socat:1.8.0.1")`. #### WithTarget +- Not available until the next release of testcontainers-go :material-tag: main + The `WithTarget` function sets a single target for the Socat container, defined by the `Target` struct. This struct can be built using the the following functions: @@ -72,6 +74,8 @@ The Socat container exposes the following methods: #### TargetURL +- Not available until the next release of testcontainers-go :material-tag: main + The `TargetURL(port int)` method returns the URL for the exposed port of a target, nil if the port is not mapped.