-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add flag for osi-approved (#16)
Signed-off-by: Christopher Phillips <[email protected]>
- Loading branch information
Showing
8 changed files
with
93 additions
and
38 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
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
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 |
---|---|---|
@@ -1,13 +1,17 @@ | ||
package evalutation | ||
|
||
type Reason struct { | ||
Detail string | ||
Detail string | ||
RuleName string | ||
} | ||
|
||
var ( | ||
ReasonNoLicenseFound = "no license found" | ||
ReasonLicenseDenied = "license denied by policy" | ||
ReasonLicenseAllowed = "license allowed by policy" | ||
RuleNameNotOSIApproved = "not OSI" | ||
) | ||
|
||
var ( | ||
ReasonNoLicenseFound = "no license found" | ||
ReasonLicenseDeniedPolicy = "license denied by policy" | ||
ReasonLicenseAllowed = "license allowed by policy" | ||
ReasonLicenseDeniedOSI = "license not OSI approved" | ||
) |