command

package
v4.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 14 Imported by: 1

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 Execute

func Execute()

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL