Documentation ¶
Index ¶
Constants ¶
const PodID = "POD_ID"
PodID is the name of the environment variable containing the pod network identifier
const PodIP = "POD_IP"
PodIP is the name of the environment variable containing the pod IP address
const PodName = "POD_NAME"
PodName is the name of the environment variable containing the pod name
const PodNamespace = "POD_NAMESPACE"
PodNamespace is the name of the environment variable containing the pod namespace
const ServiceName = "SERVICE_NAME"
ServiceName is the name of the environment variable containing the service name
const ServiceNamespace = "SERVICE_NAMESPACE"
ServiceNamespace is the name of the environment variable containing the service namespace
Variables ¶
This section is empty.
Functions ¶
func GetPodID ¶ added in v0.6.6
func GetPodID() string
GetPodID gets the pod network identifier from the environment
func GetPodIP ¶ added in v0.6.23
func GetPodIP() string
GetPodIP gets the pod IP address from the environment
func GetPodNamespace ¶
func GetPodNamespace() string
GetPodNamespace gets the pod namespace from the environment
func GetServiceName ¶
func GetServiceName() string
GetServiceName gets the service name from the environment
func GetServiceNamespace ¶
func GetServiceNamespace() string
GetServiceNamespace gets the service namespace from the environment
Types ¶
This section is empty.