package
0.0.0-20231214144635-a707781cbb24
Repository: https://github.com/khulnasoft/codebase.git
Documentation: pkg.go.dev

# Functions

BuildCloudAPIContext builds context.Context used to call Bitbucket Cloud Code Insights API.
BuildServerAPIContext builds context.Context used to call Bitbucket Server Code Insights API.
NewCloudAPIClient creates client for Bitbucket Cloud Insights API.
NewCloudAPIClientWithConfigurations creates client for Bitbucket Cloud Insights API with specified configuration.
NewReportAnnotator creates new Bitbucket ReportRequest Annotator.
NewServerAPIClient creates client for Bitbucket Server Code Insights API.

# Structs

AnnotationsRequest is an object that represent parameters used to create/update annotations.
CloudAPIClient is wrapper for Bitbucket Cloud Code Insights API client.
CloudAPIHelper is collection of utility functions used to build requests for Bitbucket Cloud Code Insights API.
ReportAnnotator is a comment service for Bitbucket Code Insights reports.
ReportRequest is an object that represent parameters used to create/update report.
ServerAPIClient is wrapper for Bitbucket Server Code Insights API client.
ServerAPIHelper is collection of utility functions used to build requests for Bitbucket Server Code Insights API.
UnexpectedResponseError is triggered when we have unexpected response from Code Insights API.

# Interfaces

APIClient is client for Bitbucket Code Insights API.