Documentation ¶
Index ¶
- type Client
- func (a *Client) PostScanScanUUIDCisDockerBenchmarkResults(params *PostScanScanUUIDCisDockerBenchmarkResultsParams, opts ...ClientOption) (*PostScanScanUUIDCisDockerBenchmarkResultsCreated, error)
- func (a *Client) PostScanScanUUIDContentAnalysis(params *PostScanScanUUIDContentAnalysisParams, opts ...ClientOption) (*PostScanScanUUIDContentAnalysisCreated, error)
- func (a *Client) PostScanScanUUIDResults(params *PostScanScanUUIDResultsParams, opts ...ClientOption) (*PostScanScanUUIDResultsCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PostScanScanUUIDCisDockerBenchmarkResultsCreated
- type PostScanScanUUIDCisDockerBenchmarkResultsDefault
- type PostScanScanUUIDCisDockerBenchmarkResultsParams
- func NewPostScanScanUUIDCisDockerBenchmarkResultsParams() *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithContext(ctx context.Context) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetBody(body *models.CISDockerBenchmarkScan)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetContext(ctx context.Context)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetDefaults()
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetHTTPClient(client *http.Client)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetScanUUID(scanUUID strfmt.UUID)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetTimeout(timeout time.Duration)
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithBody(body *models.CISDockerBenchmarkScan) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithContext(ctx context.Context) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithDefaults() *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDCisDockerBenchmarkResultsParams
- func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScanScanUUIDCisDockerBenchmarkResultsReader
- type PostScanScanUUIDContentAnalysisCreated
- type PostScanScanUUIDContentAnalysisDefault
- type PostScanScanUUIDContentAnalysisParams
- func NewPostScanScanUUIDContentAnalysisParams() *PostScanScanUUIDContentAnalysisParams
- func NewPostScanScanUUIDContentAnalysisParamsWithContext(ctx context.Context) *PostScanScanUUIDContentAnalysisParams
- func NewPostScanScanUUIDContentAnalysisParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDContentAnalysisParams
- func NewPostScanScanUUIDContentAnalysisParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) SetBody(body *models.ImageContentAnalysis)
- func (o *PostScanScanUUIDContentAnalysisParams) SetContext(ctx context.Context)
- func (o *PostScanScanUUIDContentAnalysisParams) SetDefaults()
- func (o *PostScanScanUUIDContentAnalysisParams) SetHTTPClient(client *http.Client)
- func (o *PostScanScanUUIDContentAnalysisParams) SetScanUUID(scanUUID strfmt.UUID)
- func (o *PostScanScanUUIDContentAnalysisParams) SetTimeout(timeout time.Duration)
- func (o *PostScanScanUUIDContentAnalysisParams) WithBody(body *models.ImageContentAnalysis) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WithContext(ctx context.Context) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WithDefaults() *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDContentAnalysisParams
- func (o *PostScanScanUUIDContentAnalysisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScanScanUUIDContentAnalysisReader
- type PostScanScanUUIDResultsCreated
- type PostScanScanUUIDResultsDefault
- type PostScanScanUUIDResultsParams
- func NewPostScanScanUUIDResultsParams() *PostScanScanUUIDResultsParams
- func NewPostScanScanUUIDResultsParamsWithContext(ctx context.Context) *PostScanScanUUIDResultsParams
- func NewPostScanScanUUIDResultsParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDResultsParams
- func NewPostScanScanUUIDResultsParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) SetBody(body *models.ImageVulnerabilityScan)
- func (o *PostScanScanUUIDResultsParams) SetContext(ctx context.Context)
- func (o *PostScanScanUUIDResultsParams) SetDefaults()
- func (o *PostScanScanUUIDResultsParams) SetHTTPClient(client *http.Client)
- func (o *PostScanScanUUIDResultsParams) SetScanUUID(scanUUID strfmt.UUID)
- func (o *PostScanScanUUIDResultsParams) SetTimeout(timeout time.Duration)
- func (o *PostScanScanUUIDResultsParams) WithBody(body *models.ImageVulnerabilityScan) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WithContext(ctx context.Context) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WithDefaults() *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDResultsParams
- func (o *PostScanScanUUIDResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostScanScanUUIDResultsReader
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 operations API
func (*Client) PostScanScanUUIDCisDockerBenchmarkResults ¶
func (a *Client) PostScanScanUUIDCisDockerBenchmarkResults(params *PostScanScanUUIDCisDockerBenchmarkResultsParams, opts ...ClientOption) (*PostScanScanUUIDCisDockerBenchmarkResultsCreated, error)
PostScanScanUUIDCisDockerBenchmarkResults reports an image c i s docker benchmark scan for a specific scan UUID
func (*Client) PostScanScanUUIDContentAnalysis ¶
func (a *Client) PostScanScanUUIDContentAnalysis(params *PostScanScanUUIDContentAnalysisParams, opts ...ClientOption) (*PostScanScanUUIDContentAnalysisCreated, error)
PostScanScanUUIDContentAnalysis reports a content analysis for a specific resource
func (*Client) PostScanScanUUIDResults ¶
func (a *Client) PostScanScanUUIDResults(params *PostScanScanUUIDResultsParams, opts ...ClientOption) (*PostScanScanUUIDResultsCreated, error)
PostScanScanUUIDResults reports an image vulnerability scan for a specific scan UUID
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PostScanScanUUIDCisDockerBenchmarkResults(params *PostScanScanUUIDCisDockerBenchmarkResultsParams, opts ...ClientOption) (*PostScanScanUUIDCisDockerBenchmarkResultsCreated, error) PostScanScanUUIDContentAnalysis(params *PostScanScanUUIDContentAnalysisParams, opts ...ClientOption) (*PostScanScanUUIDContentAnalysisCreated, error) PostScanScanUUIDResults(params *PostScanScanUUIDResultsParams, opts ...ClientOption) (*PostScanScanUUIDResultsCreated, 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 operations API client.
type PostScanScanUUIDCisDockerBenchmarkResultsCreated ¶
type PostScanScanUUIDCisDockerBenchmarkResultsCreated struct { }
PostScanScanUUIDCisDockerBenchmarkResultsCreated describes a response with status code 201, with default header values.
CIS docker benchmark scan successfully reported.
func NewPostScanScanUUIDCisDockerBenchmarkResultsCreated ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsCreated() *PostScanScanUUIDCisDockerBenchmarkResultsCreated
NewPostScanScanUUIDCisDockerBenchmarkResultsCreated creates a PostScanScanUUIDCisDockerBenchmarkResultsCreated with default headers values
func (*PostScanScanUUIDCisDockerBenchmarkResultsCreated) Error ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsCreated) Error() string
type PostScanScanUUIDCisDockerBenchmarkResultsDefault ¶
type PostScanScanUUIDCisDockerBenchmarkResultsDefault struct { Payload *models.APIResponse // contains filtered or unexported fields }
PostScanScanUUIDCisDockerBenchmarkResultsDefault describes a response with status code -1, with default header values.
unknown error
func NewPostScanScanUUIDCisDockerBenchmarkResultsDefault ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsDefault(code int) *PostScanScanUUIDCisDockerBenchmarkResultsDefault
NewPostScanScanUUIDCisDockerBenchmarkResultsDefault creates a PostScanScanUUIDCisDockerBenchmarkResultsDefault with default headers values
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) Code ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) Code() int
Code gets the status code for the post scan scan UUID cis docker benchmark results default response
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) Error ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) Error() string
func (*PostScanScanUUIDCisDockerBenchmarkResultsDefault) GetPayload ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsDefault) GetPayload() *models.APIResponse
type PostScanScanUUIDCisDockerBenchmarkResultsParams ¶
type PostScanScanUUIDCisDockerBenchmarkResultsParams struct { // Body. Body *models.CISDockerBenchmarkScan // ScanUUID. // // Format: uuid ScanUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostScanScanUUIDCisDockerBenchmarkResultsParams contains all the parameters to send to the API endpoint
for the post scan scan UUID cis docker benchmark results operation. Typically these are written to a http.Request.
func NewPostScanScanUUIDCisDockerBenchmarkResultsParams ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsParams() *PostScanScanUUIDCisDockerBenchmarkResultsParams
NewPostScanScanUUIDCisDockerBenchmarkResultsParams creates a new PostScanScanUUIDCisDockerBenchmarkResultsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithContext ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithContext(ctx context.Context) *PostScanScanUUIDCisDockerBenchmarkResultsParams
NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithContext creates a new PostScanScanUUIDCisDockerBenchmarkResultsParams object with the ability to set a context for a request.
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithHTTPClient ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDCisDockerBenchmarkResultsParams
NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithHTTPClient creates a new PostScanScanUUIDCisDockerBenchmarkResultsParams object with the ability to set a custom HTTPClient for a request.
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithTimeout ¶
func NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDCisDockerBenchmarkResultsParams
NewPostScanScanUUIDCisDockerBenchmarkResultsParamsWithTimeout creates a new PostScanScanUUIDCisDockerBenchmarkResultsParams object with the ability to set a timeout on a request.
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetBody ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetBody(body *models.CISDockerBenchmarkScan)
SetBody adds the body to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetContext ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetDefaults ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetDefaults()
SetDefaults hydrates default values in the post scan scan UUID cis docker benchmark results params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetHTTPClient ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetScanUUID ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetScanUUID(scanUUID strfmt.UUID)
SetScanUUID adds the scanUuid to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) SetTimeout ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithBody ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithBody(body *models.CISDockerBenchmarkScan) *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithBody adds the body to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithContext ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithContext(ctx context.Context) *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithContext adds the context to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithDefaults ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithDefaults() *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithDefaults hydrates default values in the post scan scan UUID cis docker benchmark results params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithHTTPClient ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithHTTPClient adds the HTTPClient to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithScanUUID ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithScanUUID adds the scanUUID to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WithTimeout ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDCisDockerBenchmarkResultsParams
WithTimeout adds the timeout to the post scan scan UUID cis docker benchmark results params
func (*PostScanScanUUIDCisDockerBenchmarkResultsParams) WriteToRequest ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScanScanUUIDCisDockerBenchmarkResultsReader ¶
type PostScanScanUUIDCisDockerBenchmarkResultsReader struct {
// contains filtered or unexported fields
}
PostScanScanUUIDCisDockerBenchmarkResultsReader is a Reader for the PostScanScanUUIDCisDockerBenchmarkResults structure.
func (*PostScanScanUUIDCisDockerBenchmarkResultsReader) ReadResponse ¶
func (o *PostScanScanUUIDCisDockerBenchmarkResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostScanScanUUIDContentAnalysisCreated ¶
type PostScanScanUUIDContentAnalysisCreated struct { }
PostScanScanUUIDContentAnalysisCreated describes a response with status code 201, with default header values.
Image content analysis successfully reported.
func NewPostScanScanUUIDContentAnalysisCreated ¶
func NewPostScanScanUUIDContentAnalysisCreated() *PostScanScanUUIDContentAnalysisCreated
NewPostScanScanUUIDContentAnalysisCreated creates a PostScanScanUUIDContentAnalysisCreated with default headers values
func (*PostScanScanUUIDContentAnalysisCreated) Error ¶
func (o *PostScanScanUUIDContentAnalysisCreated) Error() string
type PostScanScanUUIDContentAnalysisDefault ¶
type PostScanScanUUIDContentAnalysisDefault struct { Payload *models.APIResponse // contains filtered or unexported fields }
PostScanScanUUIDContentAnalysisDefault describes a response with status code -1, with default header values.
unknown error
func NewPostScanScanUUIDContentAnalysisDefault ¶
func NewPostScanScanUUIDContentAnalysisDefault(code int) *PostScanScanUUIDContentAnalysisDefault
NewPostScanScanUUIDContentAnalysisDefault creates a PostScanScanUUIDContentAnalysisDefault with default headers values
func (*PostScanScanUUIDContentAnalysisDefault) Code ¶
func (o *PostScanScanUUIDContentAnalysisDefault) Code() int
Code gets the status code for the post scan scan UUID content analysis default response
func (*PostScanScanUUIDContentAnalysisDefault) Error ¶
func (o *PostScanScanUUIDContentAnalysisDefault) Error() string
func (*PostScanScanUUIDContentAnalysisDefault) GetPayload ¶
func (o *PostScanScanUUIDContentAnalysisDefault) GetPayload() *models.APIResponse
type PostScanScanUUIDContentAnalysisParams ¶
type PostScanScanUUIDContentAnalysisParams struct { // Body. Body *models.ImageContentAnalysis // ScanUUID. // // Format: uuid ScanUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostScanScanUUIDContentAnalysisParams contains all the parameters to send to the API endpoint
for the post scan scan UUID content analysis operation. Typically these are written to a http.Request.
func NewPostScanScanUUIDContentAnalysisParams ¶
func NewPostScanScanUUIDContentAnalysisParams() *PostScanScanUUIDContentAnalysisParams
NewPostScanScanUUIDContentAnalysisParams creates a new PostScanScanUUIDContentAnalysisParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostScanScanUUIDContentAnalysisParamsWithContext ¶
func NewPostScanScanUUIDContentAnalysisParamsWithContext(ctx context.Context) *PostScanScanUUIDContentAnalysisParams
NewPostScanScanUUIDContentAnalysisParamsWithContext creates a new PostScanScanUUIDContentAnalysisParams object with the ability to set a context for a request.
func NewPostScanScanUUIDContentAnalysisParamsWithHTTPClient ¶
func NewPostScanScanUUIDContentAnalysisParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDContentAnalysisParams
NewPostScanScanUUIDContentAnalysisParamsWithHTTPClient creates a new PostScanScanUUIDContentAnalysisParams object with the ability to set a custom HTTPClient for a request.
func NewPostScanScanUUIDContentAnalysisParamsWithTimeout ¶
func NewPostScanScanUUIDContentAnalysisParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDContentAnalysisParams
NewPostScanScanUUIDContentAnalysisParamsWithTimeout creates a new PostScanScanUUIDContentAnalysisParams object with the ability to set a timeout on a request.
func (*PostScanScanUUIDContentAnalysisParams) SetBody ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetBody(body *models.ImageContentAnalysis)
SetBody adds the body to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) SetContext ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetContext(ctx context.Context)
SetContext adds the context to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) SetDefaults ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetDefaults()
SetDefaults hydrates default values in the post scan scan UUID content analysis params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDContentAnalysisParams) SetHTTPClient ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) SetScanUUID ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetScanUUID(scanUUID strfmt.UUID)
SetScanUUID adds the scanUuid to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) SetTimeout ¶
func (o *PostScanScanUUIDContentAnalysisParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WithBody ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithBody(body *models.ImageContentAnalysis) *PostScanScanUUIDContentAnalysisParams
WithBody adds the body to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WithContext ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithContext(ctx context.Context) *PostScanScanUUIDContentAnalysisParams
WithContext adds the context to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WithDefaults ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithDefaults() *PostScanScanUUIDContentAnalysisParams
WithDefaults hydrates default values in the post scan scan UUID content analysis params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDContentAnalysisParams) WithHTTPClient ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDContentAnalysisParams
WithHTTPClient adds the HTTPClient to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WithScanUUID ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDContentAnalysisParams
WithScanUUID adds the scanUUID to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WithTimeout ¶
func (o *PostScanScanUUIDContentAnalysisParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDContentAnalysisParams
WithTimeout adds the timeout to the post scan scan UUID content analysis params
func (*PostScanScanUUIDContentAnalysisParams) WriteToRequest ¶
func (o *PostScanScanUUIDContentAnalysisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScanScanUUIDContentAnalysisReader ¶
type PostScanScanUUIDContentAnalysisReader struct {
// contains filtered or unexported fields
}
PostScanScanUUIDContentAnalysisReader is a Reader for the PostScanScanUUIDContentAnalysis structure.
func (*PostScanScanUUIDContentAnalysisReader) ReadResponse ¶
func (o *PostScanScanUUIDContentAnalysisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostScanScanUUIDResultsCreated ¶
type PostScanScanUUIDResultsCreated struct { }
PostScanScanUUIDResultsCreated describes a response with status code 201, with default header values.
Image vulnerability scan successfully reported.
func NewPostScanScanUUIDResultsCreated ¶
func NewPostScanScanUUIDResultsCreated() *PostScanScanUUIDResultsCreated
NewPostScanScanUUIDResultsCreated creates a PostScanScanUUIDResultsCreated with default headers values
func (*PostScanScanUUIDResultsCreated) Error ¶
func (o *PostScanScanUUIDResultsCreated) Error() string
type PostScanScanUUIDResultsDefault ¶
type PostScanScanUUIDResultsDefault struct { Payload *models.APIResponse // contains filtered or unexported fields }
PostScanScanUUIDResultsDefault describes a response with status code -1, with default header values.
unknown error
func NewPostScanScanUUIDResultsDefault ¶
func NewPostScanScanUUIDResultsDefault(code int) *PostScanScanUUIDResultsDefault
NewPostScanScanUUIDResultsDefault creates a PostScanScanUUIDResultsDefault with default headers values
func (*PostScanScanUUIDResultsDefault) Code ¶
func (o *PostScanScanUUIDResultsDefault) Code() int
Code gets the status code for the post scan scan UUID results default response
func (*PostScanScanUUIDResultsDefault) Error ¶
func (o *PostScanScanUUIDResultsDefault) Error() string
func (*PostScanScanUUIDResultsDefault) GetPayload ¶
func (o *PostScanScanUUIDResultsDefault) GetPayload() *models.APIResponse
type PostScanScanUUIDResultsParams ¶
type PostScanScanUUIDResultsParams struct { // Body. Body *models.ImageVulnerabilityScan // ScanUUID. // // Format: uuid ScanUUID strfmt.UUID Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostScanScanUUIDResultsParams contains all the parameters to send to the API endpoint
for the post scan scan UUID results operation. Typically these are written to a http.Request.
func NewPostScanScanUUIDResultsParams ¶
func NewPostScanScanUUIDResultsParams() *PostScanScanUUIDResultsParams
NewPostScanScanUUIDResultsParams creates a new PostScanScanUUIDResultsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostScanScanUUIDResultsParamsWithContext ¶
func NewPostScanScanUUIDResultsParamsWithContext(ctx context.Context) *PostScanScanUUIDResultsParams
NewPostScanScanUUIDResultsParamsWithContext creates a new PostScanScanUUIDResultsParams object with the ability to set a context for a request.
func NewPostScanScanUUIDResultsParamsWithHTTPClient ¶
func NewPostScanScanUUIDResultsParamsWithHTTPClient(client *http.Client) *PostScanScanUUIDResultsParams
NewPostScanScanUUIDResultsParamsWithHTTPClient creates a new PostScanScanUUIDResultsParams object with the ability to set a custom HTTPClient for a request.
func NewPostScanScanUUIDResultsParamsWithTimeout ¶
func NewPostScanScanUUIDResultsParamsWithTimeout(timeout time.Duration) *PostScanScanUUIDResultsParams
NewPostScanScanUUIDResultsParamsWithTimeout creates a new PostScanScanUUIDResultsParams object with the ability to set a timeout on a request.
func (*PostScanScanUUIDResultsParams) SetBody ¶
func (o *PostScanScanUUIDResultsParams) SetBody(body *models.ImageVulnerabilityScan)
SetBody adds the body to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) SetContext ¶
func (o *PostScanScanUUIDResultsParams) SetContext(ctx context.Context)
SetContext adds the context to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) SetDefaults ¶
func (o *PostScanScanUUIDResultsParams) SetDefaults()
SetDefaults hydrates default values in the post scan scan UUID results params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDResultsParams) SetHTTPClient ¶
func (o *PostScanScanUUIDResultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) SetScanUUID ¶
func (o *PostScanScanUUIDResultsParams) SetScanUUID(scanUUID strfmt.UUID)
SetScanUUID adds the scanUuid to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) SetTimeout ¶
func (o *PostScanScanUUIDResultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WithBody ¶
func (o *PostScanScanUUIDResultsParams) WithBody(body *models.ImageVulnerabilityScan) *PostScanScanUUIDResultsParams
WithBody adds the body to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WithContext ¶
func (o *PostScanScanUUIDResultsParams) WithContext(ctx context.Context) *PostScanScanUUIDResultsParams
WithContext adds the context to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WithDefaults ¶
func (o *PostScanScanUUIDResultsParams) WithDefaults() *PostScanScanUUIDResultsParams
WithDefaults hydrates default values in the post scan scan UUID results params (not the query body).
All values with no default are reset to their zero value.
func (*PostScanScanUUIDResultsParams) WithHTTPClient ¶
func (o *PostScanScanUUIDResultsParams) WithHTTPClient(client *http.Client) *PostScanScanUUIDResultsParams
WithHTTPClient adds the HTTPClient to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WithScanUUID ¶
func (o *PostScanScanUUIDResultsParams) WithScanUUID(scanUUID strfmt.UUID) *PostScanScanUUIDResultsParams
WithScanUUID adds the scanUUID to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WithTimeout ¶
func (o *PostScanScanUUIDResultsParams) WithTimeout(timeout time.Duration) *PostScanScanUUIDResultsParams
WithTimeout adds the timeout to the post scan scan UUID results params
func (*PostScanScanUUIDResultsParams) WriteToRequest ¶
func (o *PostScanScanUUIDResultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostScanScanUUIDResultsReader ¶
type PostScanScanUUIDResultsReader struct {
// contains filtered or unexported fields
}
PostScanScanUUIDResultsReader is a Reader for the PostScanScanUUIDResults structure.
func (*PostScanScanUUIDResultsReader) ReadResponse ¶
func (o *PostScanScanUUIDResultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- operations_client.go
- post_scan_scan_uuid_cis_docker_benchmark_results_parameters.go
- post_scan_scan_uuid_cis_docker_benchmark_results_responses.go
- post_scan_scan_uuid_content_analysis_parameters.go
- post_scan_scan_uuid_content_analysis_responses.go
- post_scan_scan_uuid_results_parameters.go
- post_scan_scan_uuid_results_responses.go