package nat
import "k8s.io/kubernetes/test/images/agnhost/net/nat"
Index ¶
- func NewCloseWaitClient() common.Runner
- func NewCloseWaitServer() common.Runner
- type CloseWaitClientOptions
- type CloseWaitServerOptions
Functions ¶
func NewCloseWaitClient ¶
NewCloseWaitClient creates a new runner
func NewCloseWaitServer ¶
NewCloseWaitServer returns a new Runner.
Types ¶
type CloseWaitClientOptions ¶
type CloseWaitClientOptions struct { // RemoteAddr of the server to connect to. RemoteAddr string // TimeoutSeconds on I/O with the server. TimeoutSeconds int // Half-close timeout (to give the test time to check the status of the // conntrack table entry. PostFinTimeoutSeconds int // Leak connection (assign to global variable so connection persists // as long as the process remains. LeakConnection bool }
CloseWaitClientOptions holds client JSON options.
type CloseWaitServerOptions ¶
type CloseWaitServerOptions struct { // Address to bind for the test LocalAddr string // Timeout to wait after sending the FIN. PostFinTimeoutSeconds int }
CloseWaitServerOptions holds server JSON options.
Source Files ¶
closewait.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 3 hours ago –
Tools for package owners.