Documentation
¶
Overview ¶
internal/util/env.go
internal/util/logger.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigValue ¶ added in v0.1.23
GetConfigValue returns key from the environment, else from the file the chart mounts at /etc/zxporter/config/<key>.
func LoadCollectionPolicySpecFromEnv ¶
func LoadCollectionPolicySpecFromEnv() (v1.CollectionPolicySpec, error)
LoadCollectionPolicySpecFromEnv reads environment variables, applies them over the provided oldSpec, and returns the new spec along with a boolean indicating whether any field changed, or an error if parsing fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.