kubernetes: k8s.io/kubernetes/test/images/agnhost/net/nat Index | Files

package nat

import "k8s.io/kubernetes/test/images/agnhost/net/nat"


Package Files


func NewCloseWaitClient Uses

func NewCloseWaitClient() common.Runner

NewCloseWaitClient creates a new runner

func NewCloseWaitServer Uses

func NewCloseWaitServer() common.Runner

NewCloseWaitServer returns a new Runner.

type CloseWaitClientOptions Uses

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 Uses

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.

Package nat imports 6 packages (graph) and is imported by 14 packages. Updated 2020-02-08. Refresh now. Tools for package owners.