env

package
v0.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 1 Imported by: 16

Documentation

Index

Constants

View Source
const PodID = "POD_ID"

PodID is the name of the environment variable containing the pod network identifier

View Source
const PodIP = "POD_IP"

PodIP is the name of the environment variable containing the pod IP address

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 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 GetPodName

func GetPodName() string

GetPodName gets the pod name 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL