Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFromFile ¶
ReadFromFile reads the content of a file
Types ¶
type ParsedYaml ¶
ParsedYaml is a map for the parsed data The format will be: map["path/to/secret"]["secret_key"]=interface{}
func Import ¶
func Import(byteValue []byte) (parsedYaml ParsedYaml, err error)
Import parses the byte stream into yaml struct. The go yaml library is able to handle both yaml and json
Click to show internal directories.
Click to hide internal directories.