OrgConfig represents the values under orgs in the main admin config or the contents of the config file in the org config repo.
| 7 | // OrgConfig represents the values under orgs in the main admin config or the |
| 8 | // contents of the config file in the org config repo. |
| 9 | type OrgConfig struct { |
| 10 | Admin []string `yaml:"admin"` |
| 11 | Write []string `yaml:"write"` |
| 12 | Read []string `yaml:"read"` |
| 13 | Repos map[string]*RepoConfig `yaml:"repos"` |
| 14 | } |
| 15 | |
| 16 | // NewOrgConfig returns a new, empty OrgConfig. |
| 17 | func NewOrgConfig() *OrgConfig { |
nothing calls this directly
no outgoing calls
no test coverage detected