env

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodNamespace

func GetPodNamespace() string

GetPodNamespace returns Namespace of the Pod where the code executes.

func GetTheiaNamespace

func GetTheiaNamespace() string

GetTheiaNamespace tries to determine the Namespace in which Theia is running by looking at the POD_NAMESPACE environment variable. If this environment variable is not set (e.g. because the Theia component is not run as a Pod), "flow-visibility" is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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