Versions in this module Expand all Collapse all v1 v1.0.7 Sep 9, 2020 Changes in this version + type Client struct + func (a *Client) GetReportLog(params *GetReportLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportLogOK, error) + func (a *Client) ScanArtifact(params *ScanArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ScanArtifactAccepted, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type ClientService interface + GetReportLog func(params *GetReportLogParams, authInfo runtime.ClientAuthInfoWriter) (*GetReportLogOK, error) + ScanArtifact func(params *ScanArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ScanArtifactAccepted, error) + SetTransport func(transport runtime.ClientTransport) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type GetReportLogForbidden struct + Payload *model.Errors + XRequestID string + func NewGetReportLogForbidden() *GetReportLogForbidden + func (o *GetReportLogForbidden) Error() string + func (o *GetReportLogForbidden) GetPayload() *model.Errors + type GetReportLogInternalServerError struct + Payload *model.Errors + XRequestID string + func NewGetReportLogInternalServerError() *GetReportLogInternalServerError + func (o *GetReportLogInternalServerError) Error() string + func (o *GetReportLogInternalServerError) GetPayload() *model.Errors + type GetReportLogNotFound struct + Payload *model.Errors + XRequestID string + func NewGetReportLogNotFound() *GetReportLogNotFound + func (o *GetReportLogNotFound) Error() string + func (o *GetReportLogNotFound) GetPayload() *model.Errors + type GetReportLogOK struct + Payload string + func NewGetReportLogOK() *GetReportLogOK + func (o *GetReportLogOK) Error() string + func (o *GetReportLogOK) GetPayload() string + type GetReportLogParams struct + Context context.Context + HTTPClient *http.Client + ProjectName string + Reference string + ReportID string + RepositoryName string + XRequestID *string + func NewGetReportLogParams() *GetReportLogParams + func NewGetReportLogParamsWithContext(ctx context.Context) *GetReportLogParams + func NewGetReportLogParamsWithHTTPClient(client *http.Client) *GetReportLogParams + func NewGetReportLogParamsWithTimeout(timeout time.Duration) *GetReportLogParams + func (o *GetReportLogParams) SetContext(ctx context.Context) + func (o *GetReportLogParams) SetHTTPClient(client *http.Client) + func (o *GetReportLogParams) SetProjectName(projectName string) + func (o *GetReportLogParams) SetReference(reference string) + func (o *GetReportLogParams) SetReportID(reportID string) + func (o *GetReportLogParams) SetRepositoryName(repositoryName string) + func (o *GetReportLogParams) SetTimeout(timeout time.Duration) + func (o *GetReportLogParams) SetXRequestID(xRequestID *string) + func (o *GetReportLogParams) WithContext(ctx context.Context) *GetReportLogParams + func (o *GetReportLogParams) WithHTTPClient(client *http.Client) *GetReportLogParams + func (o *GetReportLogParams) WithProjectName(projectName string) *GetReportLogParams + func (o *GetReportLogParams) WithReference(reference string) *GetReportLogParams + func (o *GetReportLogParams) WithReportID(reportID string) *GetReportLogParams + func (o *GetReportLogParams) WithRepositoryName(repositoryName string) *GetReportLogParams + func (o *GetReportLogParams) WithTimeout(timeout time.Duration) *GetReportLogParams + func (o *GetReportLogParams) WithXRequestID(xRequestID *string) *GetReportLogParams + func (o *GetReportLogParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetReportLogReader struct + func (o *GetReportLogReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetReportLogUnauthorized struct + Payload *model.Errors + XRequestID string + func NewGetReportLogUnauthorized() *GetReportLogUnauthorized + func (o *GetReportLogUnauthorized) Error() string + func (o *GetReportLogUnauthorized) GetPayload() *model.Errors + type ScanArtifactAccepted struct + XRequestID string + func NewScanArtifactAccepted() *ScanArtifactAccepted + func (o *ScanArtifactAccepted) Error() string + type ScanArtifactForbidden struct + Payload *model.Errors + XRequestID string + func NewScanArtifactForbidden() *ScanArtifactForbidden + func (o *ScanArtifactForbidden) Error() string + func (o *ScanArtifactForbidden) GetPayload() *model.Errors + type ScanArtifactInternalServerError struct + Payload *model.Errors + XRequestID string + func NewScanArtifactInternalServerError() *ScanArtifactInternalServerError + func (o *ScanArtifactInternalServerError) Error() string + func (o *ScanArtifactInternalServerError) GetPayload() *model.Errors + type ScanArtifactNotFound struct + Payload *model.Errors + XRequestID string + func NewScanArtifactNotFound() *ScanArtifactNotFound + func (o *ScanArtifactNotFound) Error() string + func (o *ScanArtifactNotFound) GetPayload() *model.Errors + type ScanArtifactParams struct + Context context.Context + HTTPClient *http.Client + ProjectName string + Reference string + RepositoryName string + XRequestID *string + func NewScanArtifactParams() *ScanArtifactParams + func NewScanArtifactParamsWithContext(ctx context.Context) *ScanArtifactParams + func NewScanArtifactParamsWithHTTPClient(client *http.Client) *ScanArtifactParams + func NewScanArtifactParamsWithTimeout(timeout time.Duration) *ScanArtifactParams + func (o *ScanArtifactParams) SetContext(ctx context.Context) + func (o *ScanArtifactParams) SetHTTPClient(client *http.Client) + func (o *ScanArtifactParams) SetProjectName(projectName string) + func (o *ScanArtifactParams) SetReference(reference string) + func (o *ScanArtifactParams) SetRepositoryName(repositoryName string) + func (o *ScanArtifactParams) SetTimeout(timeout time.Duration) + func (o *ScanArtifactParams) SetXRequestID(xRequestID *string) + func (o *ScanArtifactParams) WithContext(ctx context.Context) *ScanArtifactParams + func (o *ScanArtifactParams) WithHTTPClient(client *http.Client) *ScanArtifactParams + func (o *ScanArtifactParams) WithProjectName(projectName string) *ScanArtifactParams + func (o *ScanArtifactParams) WithReference(reference string) *ScanArtifactParams + func (o *ScanArtifactParams) WithRepositoryName(repositoryName string) *ScanArtifactParams + func (o *ScanArtifactParams) WithTimeout(timeout time.Duration) *ScanArtifactParams + func (o *ScanArtifactParams) WithXRequestID(xRequestID *string) *ScanArtifactParams + func (o *ScanArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ScanArtifactReader struct + func (o *ScanArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ScanArtifactUnauthorized struct + Payload *model.Errors + XRequestID string + func NewScanArtifactUnauthorized() *ScanArtifactUnauthorized + func (o *ScanArtifactUnauthorized) Error() string + func (o *ScanArtifactUnauthorized) GetPayload() *model.Errors Other modules containing this package github.com/mittwald/goharbor-client/v2 github.com/mittwald/goharbor-client/v3 github.com/mittwald/goharbor-client/v4 github.com/mittwald/goharbor-client/v5