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.14
Published
May 17, 2023
Platform
js/wasm
Imports
2 packages
Last checked
3 seconds ago

Tools for package owners.