Versions in this module Expand all Collapse all v0 v0.0.2 Sep 12, 2024 v0.0.1 Sep 12, 2024 Changes in this version + const ApiKeyAuthScopes + func NewGetOrganizationOrganizationIdApplicationsRequest(server string, organizationId string) (*http.Request, error) + func NewGetScansScanIdRequest(server string, scanId string) (*http.Request, error) + func NewPostApplicationApplicationIdStartScanRequest(server string, applicationId string, ...) (*http.Request, error) + func NewPostApplicationApplicationIdStartScanRequestWithBody(server string, applicationId string, contentType string, body io.Reader) (*http.Request, error) + func NewPostApplicationsApplicationIdUploadIntrospectionRequest(server string, applicationId string, ...) (*http.Request, error) + func NewPostApplicationsApplicationIdUploadIntrospectionRequestWithBody(server string, applicationId string, contentType string, body io.Reader) (*http.Request, error) + type Application struct + CreatedAt *string + Cron *string + HasCI *bool + Id *string + LastSuccessfulScan *Scan + Name *string + Scans *[]Scan + Url *string + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetOrganizationOrganizationIdApplications(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetScansScanId(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PostApplicationApplicationIdStartScan(ctx context.Context, applicationId string, ...) (*http.Response, error) + func (c *Client) PostApplicationApplicationIdStartScanWithBody(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PostApplicationsApplicationIdUploadIntrospection(ctx context.Context, applicationId string, ...) (*http.Response, error) + func (c *Client) PostApplicationsApplicationIdUploadIntrospectionWithBody(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + GetOrganizationOrganizationIdApplications func(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetScansScanId func(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*http.Response, error) + PostApplicationApplicationIdStartScan func(ctx context.Context, applicationId string, ...) (*http.Response, error) + PostApplicationApplicationIdStartScanWithBody func(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*http.Response, error) + PostApplicationsApplicationIdUploadIntrospection func(ctx context.Context, applicationId string, ...) (*http.Response, error) + PostApplicationsApplicationIdUploadIntrospectionWithBody func(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetOrganizationOrganizationIdApplicationsWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationOrganizationIdApplicationsResponse, error) + func (c *ClientWithResponses) GetScansScanIdWithResponse(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*GetScansScanIdResponse, error) + func (c *ClientWithResponses) PostApplicationApplicationIdStartScanWithBodyWithResponse(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*PostApplicationApplicationIdStartScanResponse, error) + func (c *ClientWithResponses) PostApplicationApplicationIdStartScanWithResponse(ctx context.Context, applicationId string, ...) (*PostApplicationApplicationIdStartScanResponse, error) + func (c *ClientWithResponses) PostApplicationsApplicationIdUploadIntrospectionWithBodyWithResponse(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*PostApplicationsApplicationIdUploadIntrospectionResponse, error) + func (c *ClientWithResponses) PostApplicationsApplicationIdUploadIntrospectionWithResponse(ctx context.Context, applicationId string, ...) (*PostApplicationsApplicationIdUploadIntrospectionResponse, error) + type ClientWithResponsesInterface interface + GetOrganizationOrganizationIdApplicationsWithResponse func(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*GetOrganizationOrganizationIdApplicationsResponse, error) + GetScansScanIdWithResponse func(ctx context.Context, scanId string, reqEditors ...RequestEditorFn) (*GetScansScanIdResponse, error) + PostApplicationApplicationIdStartScanWithBodyWithResponse func(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*PostApplicationApplicationIdStartScanResponse, error) + PostApplicationApplicationIdStartScanWithResponse func(ctx context.Context, applicationId string, ...) (*PostApplicationApplicationIdStartScanResponse, error) + PostApplicationsApplicationIdUploadIntrospectionWithBodyWithResponse func(ctx context.Context, applicationId string, contentType string, body io.Reader, ...) (*PostApplicationsApplicationIdUploadIntrospectionResponse, error) + PostApplicationsApplicationIdUploadIntrospectionWithResponse func(ctx context.Context, applicationId string, ...) (*PostApplicationsApplicationIdUploadIntrospectionResponse, error) + type GetOrganizationOrganizationIdApplicationsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Application + func ParseGetOrganizationOrganizationIdApplicationsResponse(rsp *http.Response) (*GetOrganizationOrganizationIdApplicationsResponse, error) + func (r GetOrganizationOrganizationIdApplicationsResponse) Status() string + func (r GetOrganizationOrganizationIdApplicationsResponse) StatusCode() int + type GetScansScanIdResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *Scan + func ParseGetScansScanIdResponse(rsp *http.Response) (*GetScansScanIdResponse, error) + func (r GetScansScanIdResponse) Status() string + func (r GetScansScanIdResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type IntrospectionResponse struct + ApplicationId *string + Id *string + type PostApplicationApplicationIdStartScanJSONBody struct + CommitHash *string + ConfigurationOverride *string + Introspection *string + type PostApplicationApplicationIdStartScanJSONRequestBody PostApplicationApplicationIdStartScanJSONBody + type PostApplicationApplicationIdStartScanResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]interface{} + func ParsePostApplicationApplicationIdStartScanResponse(rsp *http.Response) (*PostApplicationApplicationIdStartScanResponse, error) + func (r PostApplicationApplicationIdStartScanResponse) Status() string + func (r PostApplicationApplicationIdStartScanResponse) StatusCode() int + type PostApplicationsApplicationIdUploadIntrospectionJSONBody struct + IntrospectionResponse string + type PostApplicationsApplicationIdUploadIntrospectionJSONRequestBody PostApplicationsApplicationIdUploadIntrospectionJSONBody + type PostApplicationsApplicationIdUploadIntrospectionResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *IntrospectionResponse + func ParsePostApplicationsApplicationIdUploadIntrospectionResponse(rsp *http.Response) (*PostApplicationsApplicationIdUploadIntrospectionResponse, error) + func (r PostApplicationsApplicationIdUploadIntrospectionResponse) Status() string + func (r PostApplicationsApplicationIdUploadIntrospectionResponse) StatusCode() int + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type Scan struct + Alerts *[]map[string]interface{} + Application *Application + CommitHash *string + CompletionRatio *float32 + Configuration *map[string]interface{} + CreatedAt *string + Id *string + Score *float32 + Status *string