Documentation ¶
Index ¶
- type Client
- type ClientService
- type ListScanOfArtifactBadRequest
- type ListScanOfArtifactConflict
- type ListScanOfArtifactForbidden
- type ListScanOfArtifactInternalServerError
- type ListScanOfArtifactNotFound
- type ListScanOfArtifactOK
- type ListScanOfArtifactParams
- func NewListScanOfArtifactParams() *ListScanOfArtifactParams
- func NewListScanOfArtifactParamsWithContext(ctx context.Context) *ListScanOfArtifactParams
- func NewListScanOfArtifactParamsWithHTTPClient(client *http.Client) *ListScanOfArtifactParams
- func NewListScanOfArtifactParamsWithTimeout(timeout time.Duration) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) SetContext(ctx context.Context)
- func (o *ListScanOfArtifactParams) SetFields(fields *string)
- func (o *ListScanOfArtifactParams) SetHTTPClient(client *http.Client)
- func (o *ListScanOfArtifactParams) SetParentID(parentID int64)
- func (o *ListScanOfArtifactParams) SetTimeout(timeout time.Duration)
- func (o *ListScanOfArtifactParams) WithContext(ctx context.Context) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) WithFields(fields *string) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) WithHTTPClient(client *http.Client) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) WithParentID(parentID int64) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) WithTimeout(timeout time.Duration) *ListScanOfArtifactParams
- func (o *ListScanOfArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListScanOfArtifactReader
- type ListScanOfArtifactUnauthorized
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 of artifact controller API
func (*Client) ListScanOfArtifact ¶
func (a *Client) ListScanOfArtifact(params *ListScanOfArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ListScanOfArtifactOK, error)
ListScanOfArtifact lists
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListScanOfArtifact(params *ListScanOfArtifactParams, authInfo runtime.ClientAuthInfoWriter) (*ListScanOfArtifactOK, 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 of artifact controller API client.
type ListScanOfArtifactBadRequest ¶
ListScanOfArtifactBadRequest handles this case with default header values.
Bad Request
func NewListScanOfArtifactBadRequest ¶
func NewListScanOfArtifactBadRequest() *ListScanOfArtifactBadRequest
NewListScanOfArtifactBadRequest creates a ListScanOfArtifactBadRequest with default headers values
func (*ListScanOfArtifactBadRequest) Error ¶
func (o *ListScanOfArtifactBadRequest) Error() string
func (*ListScanOfArtifactBadRequest) GetPayload ¶
func (o *ListScanOfArtifactBadRequest) GetPayload() *models.APIResult
type ListScanOfArtifactConflict ¶
ListScanOfArtifactConflict handles this case with default header values.
Conflict
func NewListScanOfArtifactConflict ¶
func NewListScanOfArtifactConflict() *ListScanOfArtifactConflict
NewListScanOfArtifactConflict creates a ListScanOfArtifactConflict with default headers values
func (*ListScanOfArtifactConflict) Error ¶
func (o *ListScanOfArtifactConflict) Error() string
func (*ListScanOfArtifactConflict) GetPayload ¶
func (o *ListScanOfArtifactConflict) GetPayload() *models.APIResult
type ListScanOfArtifactForbidden ¶
ListScanOfArtifactForbidden handles this case with default header values.
Forbidden
func NewListScanOfArtifactForbidden ¶
func NewListScanOfArtifactForbidden() *ListScanOfArtifactForbidden
NewListScanOfArtifactForbidden creates a ListScanOfArtifactForbidden with default headers values
func (*ListScanOfArtifactForbidden) Error ¶
func (o *ListScanOfArtifactForbidden) Error() string
func (*ListScanOfArtifactForbidden) GetPayload ¶
func (o *ListScanOfArtifactForbidden) GetPayload() *models.APIResult
type ListScanOfArtifactInternalServerError ¶
ListScanOfArtifactInternalServerError handles this case with default header values.
Internal Server Error
func NewListScanOfArtifactInternalServerError ¶
func NewListScanOfArtifactInternalServerError() *ListScanOfArtifactInternalServerError
NewListScanOfArtifactInternalServerError creates a ListScanOfArtifactInternalServerError with default headers values
func (*ListScanOfArtifactInternalServerError) Error ¶
func (o *ListScanOfArtifactInternalServerError) Error() string
func (*ListScanOfArtifactInternalServerError) GetPayload ¶
func (o *ListScanOfArtifactInternalServerError) GetPayload() *models.APIResult
type ListScanOfArtifactNotFound ¶
ListScanOfArtifactNotFound handles this case with default header values.
Not Found
func NewListScanOfArtifactNotFound ¶
func NewListScanOfArtifactNotFound() *ListScanOfArtifactNotFound
NewListScanOfArtifactNotFound creates a ListScanOfArtifactNotFound with default headers values
func (*ListScanOfArtifactNotFound) Error ¶
func (o *ListScanOfArtifactNotFound) Error() string
func (*ListScanOfArtifactNotFound) GetPayload ¶
func (o *ListScanOfArtifactNotFound) GetPayload() *models.APIResult
type ListScanOfArtifactOK ¶
type ListScanOfArtifactOK struct {
Payload *models.APIResultListScan
}
ListScanOfArtifactOK handles this case with default header values.
OK
func NewListScanOfArtifactOK ¶
func NewListScanOfArtifactOK() *ListScanOfArtifactOK
NewListScanOfArtifactOK creates a ListScanOfArtifactOK with default headers values
func (*ListScanOfArtifactOK) Error ¶
func (o *ListScanOfArtifactOK) Error() string
func (*ListScanOfArtifactOK) GetPayload ¶
func (o *ListScanOfArtifactOK) GetPayload() *models.APIResultListScan
type ListScanOfArtifactParams ¶
type ListScanOfArtifactParams struct { /*Fields Output fields */ Fields *string /*ParentID parentId */ ParentID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListScanOfArtifactParams contains all the parameters to send to the API endpoint for the list scan of artifact operation typically these are written to a http.Request
func NewListScanOfArtifactParams ¶
func NewListScanOfArtifactParams() *ListScanOfArtifactParams
NewListScanOfArtifactParams creates a new ListScanOfArtifactParams object with the default values initialized.
func NewListScanOfArtifactParamsWithContext ¶
func NewListScanOfArtifactParamsWithContext(ctx context.Context) *ListScanOfArtifactParams
NewListScanOfArtifactParamsWithContext creates a new ListScanOfArtifactParams object with the default values initialized, and the ability to set a context for a request
func NewListScanOfArtifactParamsWithHTTPClient ¶
func NewListScanOfArtifactParamsWithHTTPClient(client *http.Client) *ListScanOfArtifactParams
NewListScanOfArtifactParamsWithHTTPClient creates a new ListScanOfArtifactParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListScanOfArtifactParamsWithTimeout ¶
func NewListScanOfArtifactParamsWithTimeout(timeout time.Duration) *ListScanOfArtifactParams
NewListScanOfArtifactParamsWithTimeout creates a new ListScanOfArtifactParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListScanOfArtifactParams) SetContext ¶
func (o *ListScanOfArtifactParams) SetContext(ctx context.Context)
SetContext adds the context to the list scan of artifact params
func (*ListScanOfArtifactParams) SetFields ¶
func (o *ListScanOfArtifactParams) SetFields(fields *string)
SetFields adds the fields to the list scan of artifact params
func (*ListScanOfArtifactParams) SetHTTPClient ¶
func (o *ListScanOfArtifactParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list scan of artifact params
func (*ListScanOfArtifactParams) SetParentID ¶
func (o *ListScanOfArtifactParams) SetParentID(parentID int64)
SetParentID adds the parentId to the list scan of artifact params
func (*ListScanOfArtifactParams) SetTimeout ¶
func (o *ListScanOfArtifactParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list scan of artifact params
func (*ListScanOfArtifactParams) WithContext ¶
func (o *ListScanOfArtifactParams) WithContext(ctx context.Context) *ListScanOfArtifactParams
WithContext adds the context to the list scan of artifact params
func (*ListScanOfArtifactParams) WithFields ¶
func (o *ListScanOfArtifactParams) WithFields(fields *string) *ListScanOfArtifactParams
WithFields adds the fields to the list scan of artifact params
func (*ListScanOfArtifactParams) WithHTTPClient ¶
func (o *ListScanOfArtifactParams) WithHTTPClient(client *http.Client) *ListScanOfArtifactParams
WithHTTPClient adds the HTTPClient to the list scan of artifact params
func (*ListScanOfArtifactParams) WithParentID ¶
func (o *ListScanOfArtifactParams) WithParentID(parentID int64) *ListScanOfArtifactParams
WithParentID adds the parentID to the list scan of artifact params
func (*ListScanOfArtifactParams) WithTimeout ¶
func (o *ListScanOfArtifactParams) WithTimeout(timeout time.Duration) *ListScanOfArtifactParams
WithTimeout adds the timeout to the list scan of artifact params
func (*ListScanOfArtifactParams) WriteToRequest ¶
func (o *ListScanOfArtifactParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListScanOfArtifactReader ¶
type ListScanOfArtifactReader struct {
// contains filtered or unexported fields
}
ListScanOfArtifactReader is a Reader for the ListScanOfArtifact structure.
func (*ListScanOfArtifactReader) ReadResponse ¶
func (o *ListScanOfArtifactReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListScanOfArtifactUnauthorized ¶
type ListScanOfArtifactUnauthorized struct {
}ListScanOfArtifactUnauthorized handles this case with default header values.
Unauthorized
func NewListScanOfArtifactUnauthorized ¶
func NewListScanOfArtifactUnauthorized() *ListScanOfArtifactUnauthorized
NewListScanOfArtifactUnauthorized creates a ListScanOfArtifactUnauthorized with default headers values
func (*ListScanOfArtifactUnauthorized) Error ¶
func (o *ListScanOfArtifactUnauthorized) Error() string
func (*ListScanOfArtifactUnauthorized) GetPayload ¶
func (o *ListScanOfArtifactUnauthorized) GetPayload() *models.APIResult