Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvKeyPodName = "POD_NAME" EnvKeyPodNamespace = "POD_NAMESPACE" )
Kubernetes pod identification
Variables ¶
This section is empty.
Functions ¶
func EnvListToMap ¶ added in v0.6.0
func ThisPodName ¶
func ThisPodName() string
Types ¶
type EnvRenderingHandler ¶ added in v0.6.0
type EnvRenderingHandler struct { // Env used for expansion // Required if you do want to expand some env Env map[string]string AllowNotFound bool }
EnvRenderingHandler expands rawData with environment variables with bash string replacement functions support Please refer to https://github.com/drone/envsubst
func (*EnvRenderingHandler) RenderYaml ¶ added in v0.6.0
func (h *EnvRenderingHandler) RenderYaml(_ string, rawData interface{}) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.