forked from gocsaf/csaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: make Csaf Downloader usable as library (#6)
## What Make Csaf Downloader usable as library: - move csaf downloader to a separate package - make all relevant config options accessible - add option to forward the downloaded csafs to a channel - return errors on issues (so far they were mostly only logged) - also add custom error types (`ErrNetwork`, `ErrInvalidCsaf`, `ErrCsafProviderIssue`, `ErrInvalidCredentials`, `ErrRetryable`) ## Why We want to use the csaf downloader as library in our code.
- Loading branch information
Showing
30 changed files
with
385 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,6 @@ jobs: | |
with: | ||
gofmt-flags: "-l -d" | ||
|
||
- name: golint | ||
uses: Jerome1337/[email protected] | ||
|
||
- name: Revive Action | ||
uses: morphy2k/[email protected] | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.