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

package endpointslice

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

Index

Types

type FullPortsByPodUID

type FullPortsByPodUID map[types.UID][]v1.ContainerPort

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

func GetFullContainerPortsByPodUID

func GetFullContainerPortsByPodUID(eps []discoveryv1.EndpointSlice) FullPortsByPodUID

GetFullContainerPortsByPodUID returns a PortsByPodUID map on the given endpoints.

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.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.