package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
EnableDualStack create Dual Stack services.
EnableSCTP listen on SCTP ports on the endpoints.
EndpointsUseHostNetwork run the endpoints pods with HostNetwork=true.
NewCoreNetworkingTestConfig creates and sets up a new test config helper for Node E2E.
NewNetworkingTestConfig creates and sets up a new test config helper.
PokeHTTP tries to connect to a host on a port for a given URL path.
PreferExternalAddresses prefer node External Addresses for the tests.
UseHostNetwork run the test container with HostNetwork=true.
WaitForService waits until the service appears (exist == true), or disappears (exist == false).
# Constants
ClusterHTTPPort is a cluster HTTP port for testing.
ClusterSCTPPort is a cluster SCTP port for testing.
ClusterUDPPort is a cluster UDP port for testing.
EndpointHTTPPort is an endpoint HTTP port for testing.
EndpointSCTPPort is an endpoint SCTP port for testing.
EndpointUDPPort is an endpoint UDP port for testing.
HTTPBadResponse is HTTP poke status which is bad response.
HTTPError is HTTP poke status which is error.
HTTPRefused is HTTP poke status which is connection refused.
HTTPRetryCode is HTTP poke status which is retry code.
HTTPSuccess is HTTP poke status which is success.
HTTPTimeout is HTTP poke status which is timeout.
HTTPWrongCode is HTTP poke status which is wrong code.
RegexIPv4 is a regex to match IPv4 addresses.
RegexIPv6 is a regex to match IPv6 addresses.
SessionAffinityChecks is number of checks to hit a given set of endpoints when enable session affinity.
# Structs
HTTPPokeParams is a struct for HTTP poke parameters.
HTTPPokeResult is a struct for HTTP poke result.
NetexecDialResponse represents the response returned by the `netexec` subcommand of `agnhost`.
NetworkingTestConfig is a convenience class around some utility methods for testing kubeproxy/networking/services/endpoints.
# Type aliases
HTTPPokeStatus is string for representing HTTP poke status.
Option is used to configure the NetworkingTest object.