Documentation ¶
Index ¶
- func Convert2JavaProps(p string, content []byte) (map[string]interface{}, error)
- func Convert2configMap(p string, content []byte) (map[string]interface{}, error)
- func ExpandValueEnv(value string) (realValue string)
- func UseFileNameAsKeyContentAsValue(p string, content []byte) (map[string]interface{}, error)
- type FileHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert2JavaProps ¶
Convert2JavaProps is a FileHandler it convert the yaml content into java props
func Convert2configMap ¶
Convert2configMap is legacy API
func ExpandValueEnv ¶ added in v1.3.0
if string like ${NAME||archaius} will query environment variable for ${NAME} if environment variable is "" return default string `archaius`
Types ¶
Click to show internal directories.
Click to hide internal directories.