kubernetesk8s.io/kubernetes/test/e2e/framework/endpoints Index | Files

package endpoints

import "k8s.io/kubernetes/test/e2e/framework/endpoints"

Index

Types

type PortsByPodUID

type PortsByPodUID map[types.UID][]int

PortsByPodUID is a map that maps pod UID to container ports.

func GetContainerPortsByPodUID

func GetContainerPortsByPodUID(ep *v1.Endpoints) PortsByPodUID

GetContainerPortsByPodUID returns a PortsByPodUID map on the given endpoints.

Source Files

ports.go

Version
v1.20.4
Published
Feb 18, 2021
Platform
linux/amd64
Imports
2 packages
Last checked
39 seconds ago

Tools for package owners.