UserConfig represents the values under users in the main admin config or the contents of the config file in the user config repo. This type contains values shared between the different config types.
| 8 | // contents of the config file in the user config repo. This type contains |
| 9 | // values shared between the different config types. |
| 10 | type UserConfig struct { |
| 11 | Repos map[string]*RepoConfig `yaml:"repos"` |
| 12 | Keys []PublicKey `yaml:"keys"` |
| 13 | } |
| 14 | |
| 15 | // NewUserConfig returns a new, empty UserConfig. |
| 16 | func NewUserConfig() *UserConfig { |
nothing calls this directly
no outgoing calls
no test coverage detected