Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindPort ¶
FindPort locates the container port for the given pod and portName. If the targetPort is a number, use that. If the targetPort is a string, look that string up in all named ports in all containers in the target pod. If no match is found, fail.
func FindServices ¶
func FindServices(svcs *kube_core.ServiceList, predicate ServicePredicate) []*kube_core.Service
Types ¶
type ServicePredicate ¶
func MatchServiceThatSelectsPod ¶
func MatchServiceThatSelectsPod(pod *kube_core.Pod) ServicePredicate
Click to show internal directories.
Click to hide internal directories.