const defaultServeHostnameServicePort …
const defaultServeHostnameServiceName …
const AffinityTimeout …
const AffinityConfirmCount …
const SessionAffinityTimeout …
const kubeProxyLabelName …
const clusterAddonLabelKey …
const kubeAPIServerLabelName …
const clusterComponentKey …
const svcReadyTimeout …
var defaultServeHostnameService …
type portsByPodName …
type portsByPodUID …
type fullPortsByPodName …
type fullPortsByPodUID …
func affinityCheckFromPod(execPod *v1.Pod, serviceIP string, servicePort int) (time.Duration, time.Duration, func() []string) { … }
func affinityCheckFromTest(ctx context.Context, cs clientset.Interface, serviceIP string, servicePort int) (time.Duration, time.Duration, func() []string) { … }
func checkAffinity(ctx context.Context, cs clientset.Interface, execPod *v1.Pod, serviceIP string, servicePort int, shouldHold bool) bool { … }
type affinityTracker …
func (at *affinityTracker) recordHost(host string) { … }
func (at *affinityTracker) checkHostTrace(count int) (fulfilled, affinityHolds bool) { … }
func checkAffinityFailed(tracker affinityTracker, err string) { … }
func StartServeHostnameService(ctx context.Context, c clientset.Interface, svc *v1.Service, ns string, replicas int) ([]string, string, error) { … }
func StopServeHostnameService(ctx context.Context, clientset clientset.Interface, ns, name string) error { … }
func verifyServeHostnameServiceUp(ctx context.Context, c clientset.Interface, ns string, expectedPods []string, serviceIP string, servicePort int) error { … }
func verifyServeHostnameServiceDown(ctx context.Context, c clientset.Interface, ns string, serviceIP string, servicePort int) error { … }
func testNotReachableHTTP(ctx context.Context, host string, port int, timeout time.Duration) { … }
type UDPPokeParams …
type UDPPokeResult …
type UDPPokeStatus …
const UDPSuccess …
const UDPError …
const UDPTimeout …
const UDPRefused …
const UDPBadResponse …
func PokeUDP(host string, port int, request string, params *UDPPokeParams) UDPPokeResult { … }
func testReachableUDP(ctx context.Context, host string, port int, timeout time.Duration) { … }
func testNotReachableUDP(ctx context.Context, host string, port int, timeout time.Duration) { … }
func TestHTTPHealthCheckNodePort(ctx context.Context, host string, port int, request string, timeout time.Duration, expectSucceed bool, threshold int) error { … }
func testHTTPHealthCheckNodePort(ip string, port int, request string) (bool, error) { … }
func testHTTPHealthCheckNodePortFromTestContainer(ctx context.Context, config *e2enetwork.NetworkingTestConfig, host string, port int, timeout time.Duration, expectSucceed bool, threshold int) error { … }
func httpGetNoConnectionPoolTimeout(url string, timeout time.Duration) (*http.Response, error) { … }
func getServeHostnameService(name string) *v1.Service { … }
func waitForAPIServerUp(ctx context.Context, c clientset.Interface) error { … }
func getEndpointNodesWithInternalIP(ctx context.Context, jig *e2eservice.TestJig) (map[string]string, error) { … }
var _ …
func execAffinityTestForSessionAffinityTimeout(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service) { … }
func execAffinityTestForNonLBServiceWithTransition(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service) { … }
func execAffinityTestForNonLBService(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service) { … }
func execAffinityTestForNonLBServiceWithOptionalTransition(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service, isTransitionTest bool) { … }
func execAffinityTestForLBServiceWithTransition(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service) { … }
func execAffinityTestForLBService(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service) { … }
func execAffinityTestForLBServiceWithOptionalTransition(ctx context.Context, f *framework.Framework, cs clientset.Interface, svc *v1.Service, isTransitionTest bool) { … }
func createAndGetExternalServiceFQDN(ctx context.Context, cs clientset.Interface, ns, serviceName string) string { … }
func createPausePodDeployment(ctx context.Context, cs clientset.Interface, name, ns string, replicas int) *appsv1.Deployment { … }
func createPodOrFail(ctx context.Context, f *framework.Framework, ns, name string, labels map[string]string, containerPorts []v1.ContainerPort, args ...string) { … }
func launchHostExecPod(ctx context.Context, client clientset.Interface, ns, name string, avoidNode *string) *v1.Pod { … }
func checkReachabilityFromPod(ctx context.Context, expectToBeReachable bool, timeout time.Duration, namespace, pod, target string) { … }
func validatePorts(ep, expectedEndpoints portsByPodUID) error { … }
func translatePodNameToUID(ctx context.Context, c clientset.Interface, ns string, expectedEndpoints portsByPodName) (portsByPodUID, error) { … }
func validateEndpointsPortsOrFail(ctx context.Context, c clientset.Interface, namespace, serviceName string, expectedEndpoints portsByPodName) { … }
func restartApiserver(ctx context.Context, namespace string, cs clientset.Interface) error { … }
func restartComponent(ctx context.Context, cs clientset.Interface, cName, ns string, matchLabels map[string]string) error { … }
func validateEndpointsPortsWithProtocolsOrFail(c clientset.Interface, namespace, serviceName string, expectedEndpoints fullPortsByPodName) { … }
func translatePortsByPodNameToPortsByPodUID(c clientset.Interface, ns string, expectedEndpoints fullPortsByPodName) (fullPortsByPodUID, error) { … }
func validatePortsAndProtocols(ep, expectedEndpoints fullPortsByPodUID) error { … }