The keyvalues package implements a set of functions for parsing key=value data, usually passed in as command-line parameters to juju subcommands, e.g. juju-set mongodb logging=true
Parse parses the supplied string slice into a map mapping keys to values. Duplicate keys cause an error to be returned.
DuplicateError signals that a duplicate key was encountered while parsing the input into a map.