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

package endpointslice

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

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(eps []discoveryv1.EndpointSlice) PortsByPodUID

GetContainerPortsByPodUID returns a PortsByPodUID map on the given endpoints.

Source Files

ports.go

Version
v1.21.6
Published
Oct 27, 2021
Platform
js/wasm
Imports
2 packages
Last checked
6 minutes ago

Tools for package owners.