package
0.0.0-20240930212407-d384f87bdcd5
Repository: https://github.com/listendev/pkg.git
Documentation: pkg.go.dev
# Functions
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetApiV1SettingsRequest generates requests for GetApiV1Settings.
NewPostApiV1DependenciesEventRequest calls the generic PostApiV1DependenciesEvent builder with application/json body.
NewPostApiV1DependenciesEventRequestWithBody generates requests for PostApiV1DependenciesEvent with any type of body.
NewPostApiV1DetectionsEventRequest calls the generic PostApiV1DetectionsEvent builder with application/json body.
NewPostApiV1DetectionsEventRequestWithBody generates requests for PostApiV1DetectionsEvent with any type of body.
NewPostApiV1InformationalEventRequest calls the generic PostApiV1InformationalEvent builder with application/json body.
NewPostApiV1InformationalEventRequestWithBody generates requests for PostApiV1InformationalEvent with any type of body.
NewPostApiV1PipelineEventRequest calls the generic PostApiV1PipelineEvent builder with application/json body.
NewPostApiV1PipelineEventRequestWithBody generates requests for PostApiV1PipelineEvent with any type of body.
ParseGetApiV1SettingsResponse parses an HTTP response from a GetApiV1SettingsWithResponse call.
ParsePostApiV1DependenciesEventResponse parses an HTTP response from a PostApiV1DependenciesEventWithResponse call.
ParsePostApiV1DetectionsEventResponse parses an HTTP response from a PostApiV1DetectionsEventWithResponse call.
ParsePostApiV1InformationalEventResponse parses an HTTP response from a PostApiV1InformationalEventWithResponse call.
ParsePostApiV1PipelineEventResponse parses an HTTP response from a PostApiV1PipelineEventWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers creates http.Handler with routing matching OpenAPI spec.
RegisterHandlersWithOptions creates http.Handler with additional options.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithPrefix is an option to set a prefix.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.
WithPrefix is an option to set a separator.
No description provided by the author
# Constants
No description provided by the author
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
DependencyEvent defines model for DependencyEvent.
DetectionEvent defines model for DetectionEvent.
Error defines model for Error.
No description provided by the author
GinServerOptions provides options for the Gin server.
GitHubEventContext defines model for GitHubEventContext.
InformationalEvent defines model for InformationalEvent.
PipelineEvent defines model for PipelineEvent.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
Settings defines model for Settings.
No description provided by the author
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
ServerInterface represents all server handlers.
# Type aliases
ClientOption allows setting custom parameters during construction.
GitHubDependencyEventContext defines model for GitHubDependencyEventContext.
GitHubDetectionEventContext defines model for GitHubDetectionEventContext.
GitHubPipelineEventContext defines model for GitHubPipelineEventContext.
No description provided by the author
PostApiV1DependenciesEventJSONRequestBody defines body for PostApiV1DependenciesEvent for application/json ContentType.
PostApiV1DetectionsEventJSONRequestBody defines body for PostApiV1DetectionsEvent for application/json ContentType.
PostApiV1InformationalEventJSONRequestBody defines body for PostApiV1InformationalEvent for application/json ContentType.
PostApiV1PipelineEventJSONRequestBody defines body for PostApiV1PipelineEvent for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
No description provided by the author