CIIBestPracticesClient interface returns the BadgeLevel for a repo URL.
| 64 | |
| 65 | // CIIBestPracticesClient interface returns the BadgeLevel for a repo URL. |
| 66 | type CIIBestPracticesClient interface { |
| 67 | GetBadgeLevel(ctx context.Context, uri string) (BadgeLevel, error) |
| 68 | } |
| 69 | |
| 70 | // DefaultCIIBestPracticesClient returns http-based implementation of the interface. |
| 71 | func DefaultCIIBestPracticesClient() CIIBestPracticesClient { |
no outgoing calls
no test coverage detected