Documentation ¶
Index ¶
Constants ¶
View Source
const PodName = "POD_NAME"
PodName is the name of the environment variable containing the pod name
View Source
const PodNamespace = "POD_NAMESPACE"
PodNamespace is the name of the environment variable containing the pod namespace
View Source
const ServiceName = "SERVICE_NAME"
ServiceName is the name of the environment variable containing the service name
View Source
const ServiceNamespace = "SERVICE_NAMESPACE"
ServiceNamespace is the name of the environment variable containing the service namespace
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.