Skip to content

Commit 3c81420

Browse files
authored
docs(socat): add missing version marker for new options (#3111)
1 parent 271cd7d commit 3c81420

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/modules/socat.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ In example: `Run(context.Background(), "alpine/socat:1.8.0.1")`.
5454

5555
#### WithTarget
5656

57+
- Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
58+
5759
The `WithTarget` function sets a single target for the Socat container, defined by the `Target` struct.
5860
This struct can be built using the the following functions:
5961

@@ -72,6 +74,8 @@ The Socat container exposes the following methods:
7274
7375
#### TargetURL
7476
77+
- Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
78+
7579
The `TargetURL(port int)` method returns the URL for the exposed port of a target, nil if the port is not mapped.
7680
7781
<!--codeinclude-->

0 commit comments

Comments
 (0)