# Functions
NewGetResult creates a new http.Handler for the get result operation.
NewGetResultBadRequest creates GetResultBadRequest with default headers values.
NewGetResultDefault creates GetResultDefault with default headers values.
NewGetResultNotFound creates GetResultNotFound with default headers values.
NewGetResultOK creates GetResultOK with default headers values.
NewGetResultParams creates a new GetResultParams object
There are no default values defined in the spec.
NewPostResult creates a new http.Handler for the post result operation.
NewPostResultBadRequest creates PostResultBadRequest with default headers values.
NewPostResultCreated creates PostResultCreated with default headers values.
NewPostResultDefault creates PostResultDefault with default headers values.
NewPostResultParams creates a new PostResultParams object
There are no default values defined in the spec.
# Constants
GetResultBadRequestCode is the HTTP code returned for type GetResultBadRequest.
GetResultNotFoundCode is the HTTP code returned for type GetResultNotFound.
GetResultOKCode is the HTTP code returned for type GetResultOK.
PostResultBadRequestCode is the HTTP code returned for type PostResultBadRequest.
PostResultCreatedCode is the HTTP code returned for type PostResultCreated.
# Structs
GetResult swagger:route GET /projects/{platform}/{org}/{repo} results getResult
Get a repository's ScorecardResult
*/.
GetResultBadRequest The request provided to the server was invalid
swagger:response getResultBadRequest
*/.
GetResultDefault There was an internal error in the server while processing the request
swagger:response getResultDefault
*/.
GetResultNotFound The content requested could not be found
swagger:response getResultNotFound
*/.
GetResultOK A JSON object of the repository's ScorecardResult
swagger:response getResultOK
*/.
GetResultParams contains all the bound params for the get result operation typically these are obtained from a http.Request
swagger:parameters getResult.
GetResultURL generates an URL for the get result operation.
PostResult swagger:route POST /projects/{platform}/{org}/{repo} results postResult
Publish a repository's OIDC verified ScorecardResult
*/.
PostResultBadRequest The request provided to the server was invalid
swagger:response postResultBadRequest
*/.
PostResultCreated Successfully updated ScorecardResult
swagger:response postResultCreated
*/.
PostResultDefault There was an internal error in the server while processing the request
swagger:response postResultDefault
*/.
PostResultParams contains all the bound params for the post result operation typically these are obtained from a http.Request
swagger:parameters postResult.
PostResultURL generates an URL for the post result operation.
# Interfaces
GetResultHandler interface for that can handle valid get result params.
PostResultHandler interface for that can handle valid post result params.
# Type aliases
GetResultHandlerFunc turns a function with the right signature into a get result handler.
PostResultHandlerFunc turns a function with the right signature into a post result handler.