Documentation ¶
Overview ¶
Package tcp implements a TCP/IP connectivity test.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunConnectivityTest ¶
func RunConnectivityTest(p ConnectivityTestParams) (*framework.NetworkPod, *framework.NetworkPod)
func RunNoConnectivityTest ¶
func RunNoConnectivityTest(p ConnectivityTestParams) (*framework.NetworkPod, *framework.NetworkPod)
Types ¶
type ConnectivityTestParams ¶
type ConnectivityTestParams struct { Framework *framework.Framework Networking framework.NetworkingType ConnectionTimeout uint ConnectionAttempts uint FromCluster framework.ClusterIndex FromClusterScheduling framework.NetworkPodScheduling ToCluster framework.ClusterIndex ToClusterScheduling framework.NetworkPodScheduling ToEndpointType EndpointType }
type EndpointType ¶
type EndpointType int
const ( PodIP EndpointType = iota ServiceIP // TODO: Remove GlobalIP once all consumer code switches to GlobalServiceIP. GlobalIP GlobalPodIP GlobalServiceIP = GlobalIP )
Click to show internal directories.
Click to hide internal directories.