Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct { DataPlaneConfigMapNamespace string `required:"true" split_words:"true"` DataPlaneConfigMapName string `required:"true" split_words:"true"` GeneralConfigMapName string `required:"true" split_words:"true"` IngressName string `required:"true" split_words:"true"` IngressPodPort string `required:"false" split_words:"true"` SystemNamespace string `required:"true" split_words:"true"` DataPlaneConfigFormat string `required:"true" split_words:"true"` DefaultBackoffDelayMs uint64 `required:"false" split_words:"true"` }
func GetEnvConfig ¶
func GetEnvConfig(prefix string, validations ...ValidationOption) (*Env, error)
func (*Env) DataPlaneConfigMapAsString ¶
type ValidationOption ¶ added in v0.19.0
ValidationOption represents a function to validate the Env configurations.
Click to show internal directories.
Click to hide internal directories.