| 35 | ) |
| 36 | |
| 37 | type githubClient struct { |
| 38 | *github.ActionsService |
| 39 | org *github.OrganizationsService |
| 40 | repo *github.RepositoriesService |
| 41 | enterprise *github.EnterpriseService |
| 42 | rateLimit *github.RateLimitService |
| 43 | |
| 44 | entity params.ForgeEntity |
| 45 | cli *github.Client |
| 46 | } |
| 47 | |
| 48 | func (g *githubClient) ListEntityHooks(ctx context.Context, opts *github.ListOptions) (ret []*github.Hook, response *github.Response, err error) { |
| 49 | metrics.GithubOperationCount.WithLabelValues( |
nothing calls this directly
no outgoing calls
no test coverage detected