Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetRepositoriesRepoNameTagsTagScanForbidden
- type GetRepositoriesRepoNameTagsTagScanInternalServerError
- type GetRepositoriesRepoNameTagsTagScanNotFound
- type GetRepositoriesRepoNameTagsTagScanOK
- type GetRepositoriesRepoNameTagsTagScanParams
- func NewGetRepositoriesRepoNameTagsTagScanParams() *GetRepositoriesRepoNameTagsTagScanParams
- func NewGetRepositoriesRepoNameTagsTagScanParamsWithContext(ctx context.Context) *GetRepositoriesRepoNameTagsTagScanParams
- func NewGetRepositoriesRepoNameTagsTagScanParamsWithHTTPClient(client *http.Client) *GetRepositoriesRepoNameTagsTagScanParams
- func NewGetRepositoriesRepoNameTagsTagScanParamsWithTimeout(timeout time.Duration) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetAccept(accept *string)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetContext(ctx context.Context)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetRepoName(repoName string)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetTag(tag string)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithAccept(accept *string) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithContext(ctx context.Context) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithHTTPClient(client *http.Client) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithRepoName(repoName string) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithTag(tag string) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WithTimeout(timeout time.Duration) *GetRepositoriesRepoNameTagsTagScanParams
- func (o *GetRepositoriesRepoNameTagsTagScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoriesRepoNameTagsTagScanReader
- type GetRepositoriesRepoNameTagsTagScanUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for scan API
func (*Client) GetRepositoriesRepoNameTagsTagScan ¶
func (a *Client) GetRepositoriesRepoNameTagsTagScan(params *GetRepositoriesRepoNameTagsTagScanParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesRepoNameTagsTagScanOK, error)
GetRepositoriesRepoNameTagsTagScan gets the scan report
Retrieve the scan report for the artifact identified by the repo_name and tag.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetRepositoriesRepoNameTagsTagScan(params *GetRepositoriesRepoNameTagsTagScanParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoriesRepoNameTagsTagScanOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new scan API client.
type GetRepositoriesRepoNameTagsTagScanForbidden ¶
type GetRepositoriesRepoNameTagsTagScanForbidden struct { }
GetRepositoriesRepoNameTagsTagScanForbidden handles this case with default header values.
Request is not allowed
func NewGetRepositoriesRepoNameTagsTagScanForbidden ¶
func NewGetRepositoriesRepoNameTagsTagScanForbidden() *GetRepositoriesRepoNameTagsTagScanForbidden
NewGetRepositoriesRepoNameTagsTagScanForbidden creates a GetRepositoriesRepoNameTagsTagScanForbidden with default headers values
func (*GetRepositoriesRepoNameTagsTagScanForbidden) Error ¶
func (o *GetRepositoriesRepoNameTagsTagScanForbidden) Error() string
type GetRepositoriesRepoNameTagsTagScanInternalServerError ¶
type GetRepositoriesRepoNameTagsTagScanInternalServerError struct { }
GetRepositoriesRepoNameTagsTagScanInternalServerError handles this case with default header values.
Internal server error happened
func NewGetRepositoriesRepoNameTagsTagScanInternalServerError ¶
func NewGetRepositoriesRepoNameTagsTagScanInternalServerError() *GetRepositoriesRepoNameTagsTagScanInternalServerError
NewGetRepositoriesRepoNameTagsTagScanInternalServerError creates a GetRepositoriesRepoNameTagsTagScanInternalServerError with default headers values
func (*GetRepositoriesRepoNameTagsTagScanInternalServerError) Error ¶
func (o *GetRepositoriesRepoNameTagsTagScanInternalServerError) Error() string
type GetRepositoriesRepoNameTagsTagScanNotFound ¶
type GetRepositoriesRepoNameTagsTagScanNotFound struct { }
GetRepositoriesRepoNameTagsTagScanNotFound handles this case with default header values.
The target artifact is not found
func NewGetRepositoriesRepoNameTagsTagScanNotFound ¶
func NewGetRepositoriesRepoNameTagsTagScanNotFound() *GetRepositoriesRepoNameTagsTagScanNotFound
NewGetRepositoriesRepoNameTagsTagScanNotFound creates a GetRepositoriesRepoNameTagsTagScanNotFound with default headers values
func (*GetRepositoriesRepoNameTagsTagScanNotFound) Error ¶
func (o *GetRepositoriesRepoNameTagsTagScanNotFound) Error() string
type GetRepositoriesRepoNameTagsTagScanOK ¶
GetRepositoriesRepoNameTagsTagScanOK handles this case with default header values.
The report details of the specified artifact identified by the repo_name and tag.
func NewGetRepositoriesRepoNameTagsTagScanOK ¶
func NewGetRepositoriesRepoNameTagsTagScanOK() *GetRepositoriesRepoNameTagsTagScanOK
NewGetRepositoriesRepoNameTagsTagScanOK creates a GetRepositoriesRepoNameTagsTagScanOK with default headers values
func (*GetRepositoriesRepoNameTagsTagScanOK) Error ¶
func (o *GetRepositoriesRepoNameTagsTagScanOK) Error() string
func (*GetRepositoriesRepoNameTagsTagScanOK) GetPayload ¶
func (o *GetRepositoriesRepoNameTagsTagScanOK) GetPayload() *models.Report
type GetRepositoriesRepoNameTagsTagScanParams ¶
type GetRepositoriesRepoNameTagsTagScanParams struct { /*Accept Mimetype in header. e.g: "application/vnd.scanner.adapter.vuln.report.harbor+json; version=1.0" */ Accept *string /*RepoName Repository name */ RepoName string /*Tag Tag name */ Tag string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoriesRepoNameTagsTagScanParams contains all the parameters to send to the API endpoint for the get repositories repo name tags tag scan operation typically these are written to a http.Request
func NewGetRepositoriesRepoNameTagsTagScanParams ¶
func NewGetRepositoriesRepoNameTagsTagScanParams() *GetRepositoriesRepoNameTagsTagScanParams
NewGetRepositoriesRepoNameTagsTagScanParams creates a new GetRepositoriesRepoNameTagsTagScanParams object with the default values initialized.
func NewGetRepositoriesRepoNameTagsTagScanParamsWithContext ¶
func NewGetRepositoriesRepoNameTagsTagScanParamsWithContext(ctx context.Context) *GetRepositoriesRepoNameTagsTagScanParams
NewGetRepositoriesRepoNameTagsTagScanParamsWithContext creates a new GetRepositoriesRepoNameTagsTagScanParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepositoriesRepoNameTagsTagScanParamsWithHTTPClient ¶
func NewGetRepositoriesRepoNameTagsTagScanParamsWithHTTPClient(client *http.Client) *GetRepositoriesRepoNameTagsTagScanParams
NewGetRepositoriesRepoNameTagsTagScanParamsWithHTTPClient creates a new GetRepositoriesRepoNameTagsTagScanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepositoriesRepoNameTagsTagScanParamsWithTimeout ¶
func NewGetRepositoriesRepoNameTagsTagScanParamsWithTimeout(timeout time.Duration) *GetRepositoriesRepoNameTagsTagScanParams
NewGetRepositoriesRepoNameTagsTagScanParamsWithTimeout creates a new GetRepositoriesRepoNameTagsTagScanParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepositoriesRepoNameTagsTagScanParams) SetAccept ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetAccept(accept *string)
SetAccept adds the accept to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) SetContext ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetContext(ctx context.Context)
SetContext adds the context to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) SetHTTPClient ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) SetRepoName ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetRepoName(repoName string)
SetRepoName adds the repoName to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) SetTag ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetTag(tag string)
SetTag adds the tag to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) SetTimeout ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithAccept ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithAccept(accept *string) *GetRepositoriesRepoNameTagsTagScanParams
WithAccept adds the accept to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithContext ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithContext(ctx context.Context) *GetRepositoriesRepoNameTagsTagScanParams
WithContext adds the context to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithHTTPClient ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithHTTPClient(client *http.Client) *GetRepositoriesRepoNameTagsTagScanParams
WithHTTPClient adds the HTTPClient to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithRepoName ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithRepoName(repoName string) *GetRepositoriesRepoNameTagsTagScanParams
WithRepoName adds the repoName to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithTag ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithTag(tag string) *GetRepositoriesRepoNameTagsTagScanParams
WithTag adds the tag to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WithTimeout ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WithTimeout(timeout time.Duration) *GetRepositoriesRepoNameTagsTagScanParams
WithTimeout adds the timeout to the get repositories repo name tags tag scan params
func (*GetRepositoriesRepoNameTagsTagScanParams) WriteToRequest ¶
func (o *GetRepositoriesRepoNameTagsTagScanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoriesRepoNameTagsTagScanReader ¶
type GetRepositoriesRepoNameTagsTagScanReader struct {
// contains filtered or unexported fields
}
GetRepositoriesRepoNameTagsTagScanReader is a Reader for the GetRepositoriesRepoNameTagsTagScan structure.
func (*GetRepositoriesRepoNameTagsTagScanReader) ReadResponse ¶
func (o *GetRepositoriesRepoNameTagsTagScanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoriesRepoNameTagsTagScanUnauthorized ¶
type GetRepositoriesRepoNameTagsTagScanUnauthorized struct { }
GetRepositoriesRepoNameTagsTagScanUnauthorized handles this case with default header values.
Unauthorized request
func NewGetRepositoriesRepoNameTagsTagScanUnauthorized ¶
func NewGetRepositoriesRepoNameTagsTagScanUnauthorized() *GetRepositoriesRepoNameTagsTagScanUnauthorized
NewGetRepositoriesRepoNameTagsTagScanUnauthorized creates a GetRepositoriesRepoNameTagsTagScanUnauthorized with default headers values
func (*GetRepositoriesRepoNameTagsTagScanUnauthorized) Error ¶
func (o *GetRepositoriesRepoNameTagsTagScanUnauthorized) Error() string