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.24.4
Published
Aug 17, 2022
Platform
js/wasm
Imports
2 packages
Last checked
24 seconds ago

Tools for package owners.