| 30 | } |
| 31 | |
| 32 | type Organization struct { |
| 33 | info *github.Organization |
| 34 | client *github.Client |
| 35 | backoff *backoff.Backoff |
| 36 | paginationSize int |
| 37 | |
| 38 | CoreStats *types.OrgCoreStats |
| 39 | Users map[types.UserLogin]types.User |
| 40 | Collaborators map[types.UserLogin]types.User |
| 41 | Repositories map[types.RepoName]repo.Repository |
| 42 | Webhooks map[types.WebhookID]types.Webhook |
| 43 | Installations map[types.InstallID]types.Install |
| 44 | Runners map[types.RunnerID]types.Runner |
| 45 | } |
| 46 | |
| 47 | func NewOrganization( |
| 48 | ctx context.Context, |
nothing calls this directly
no outgoing calls
no test coverage detected