Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "scorecard-attestor",
Short: "scorecard-attestor generates attestations based on scorecard results",
}
Functions ¶
func RunCheckWithParams ¶
func RunCheckWithParams(repoURL, commitSHA, policyPath string) (policy.PolicyResult, error)
RunCheckWithParams: Run scorecard check on repo. Export for testability.
Types ¶
type EmptyParameterError ¶
type EmptyParameterError struct {
Param string
}
func (EmptyParameterError) Error ¶
func (ep EmptyParameterError) Error() string
type EncryptionParamError ¶
type EncryptionParamError struct {
Message string
}
func (EncryptionParamError) Error ¶
func (ep EncryptionParamError) Error() string
Click to show internal directories.
Click to hide internal directories.