MCPcopy Create free account
hub / github.com/belak/gitdir / OrgConfig

Struct OrgConfig

models/org_config.go:9–14  ·  view source on GitHub ↗

OrgConfig represents the values under orgs in the main admin config or the contents of the config file in the org config repo.

Source from the content-addressed store, hash-verified

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.
9type 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.
17func NewOrgConfig() *OrgConfig {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected