You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/socat.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,8 @@ In example: `Run(context.Background(), "alpine/socat:1.8.0.1")`.
54
54
55
55
#### WithTarget
56
56
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
+
57
59
The `WithTarget` function sets a single target for the Socat container, defined by the `Target`struct.
58
60
This struct can be built using the the following functions:
59
61
@@ -72,6 +74,8 @@ The Socat container exposes the following methods:
72
74
73
75
#### TargetURL
74
76
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
+
75
79
The `TargetURL(port int)` method returns the URL for the exposed port of a target, nil if the port is not mapped.
0 commit comments