CreateOSSFuzzClient returns a client which implements RepoClient interface.
(ossFuzzStatusURL string)
| 54 | |
| 55 | // CreateOSSFuzzClient returns a client which implements RepoClient interface. |
| 56 | func CreateOSSFuzzClient(ossFuzzStatusURL string) clients.RepoClient { |
| 57 | return &client{ |
| 58 | ctx: context.Background(), |
| 59 | statusURL: ossFuzzStatusURL, |
| 60 | projects: map[string]bool{}, |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | // CreateOSSFuzzClientEager returns a OSS Fuzz Client which has already fetched and parsed the status file. |
| 65 | func CreateOSSFuzzClientEager(ossFuzzStatusURL string) (clients.RepoClient, error) { |
no outgoing calls