...

Package endpoints

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

Overview ▾

type FullPortsByPodUID

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

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

func GetFullContainerPortsByPodUID

func GetFullContainerPortsByPodUID(ep *v1.Endpoints) FullPortsByPodUID

GetFullContainerPortsByPodUID returns a FullPortsByPodUID map on the given endpoints with all the port data.

type PortsByPodUID

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

type PortsByPodUID map[types.UID][]int

func GetContainerPortsByPodUID

func GetContainerPortsByPodUID(ep *v1.Endpoints) PortsByPodUID

GetContainerPortsByPodUID returns a PortsByPodUID map on the given endpoints.