Documentation ¶
Overview ¶
Package k8s provides pod discovery for Kubernetes.
Index ¶
Constants ¶
View Source
const ( // AnnotationKeyPort is the annotation name of the field that specifies // the port name or number to append to the address. AnnotationKeyPort = "olric/auto-join-port" )
Variables ¶
This section is empty.
Functions ¶
func PodAddresses ¶
PodAddresses extracts the addresses from a list of pods.
This is a separate method so that we can unit test this without having to set up complicated K8S cluster scenarios. It shouldn't generally be called externally.
Types ¶
Click to show internal directories.
Click to hide internal directories.