Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ReadImageVulnerabilitiesForbidden
- func (o *ReadImageVulnerabilitiesForbidden) Code() int
- func (o *ReadImageVulnerabilitiesForbidden) Error() string
- func (o *ReadImageVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadImageVulnerabilitiesForbidden) IsClientError() bool
- func (o *ReadImageVulnerabilitiesForbidden) IsCode(code int) bool
- func (o *ReadImageVulnerabilitiesForbidden) IsRedirect() bool
- func (o *ReadImageVulnerabilitiesForbidden) IsServerError() bool
- func (o *ReadImageVulnerabilitiesForbidden) IsSuccess() bool
- func (o *ReadImageVulnerabilitiesForbidden) String() string
- type ReadImageVulnerabilitiesInternalServerError
- func (o *ReadImageVulnerabilitiesInternalServerError) Code() int
- func (o *ReadImageVulnerabilitiesInternalServerError) Error() string
- func (o *ReadImageVulnerabilitiesInternalServerError) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadImageVulnerabilitiesInternalServerError) IsClientError() bool
- func (o *ReadImageVulnerabilitiesInternalServerError) IsCode(code int) bool
- func (o *ReadImageVulnerabilitiesInternalServerError) IsRedirect() bool
- func (o *ReadImageVulnerabilitiesInternalServerError) IsServerError() bool
- func (o *ReadImageVulnerabilitiesInternalServerError) IsSuccess() bool
- func (o *ReadImageVulnerabilitiesInternalServerError) String() string
- type ReadImageVulnerabilitiesOK
- func (o *ReadImageVulnerabilitiesOK) Code() int
- func (o *ReadImageVulnerabilitiesOK) Error() string
- func (o *ReadImageVulnerabilitiesOK) GetPayload() *models.CoreEntitiesResponse
- func (o *ReadImageVulnerabilitiesOK) IsClientError() bool
- func (o *ReadImageVulnerabilitiesOK) IsCode(code int) bool
- func (o *ReadImageVulnerabilitiesOK) IsRedirect() bool
- func (o *ReadImageVulnerabilitiesOK) IsServerError() bool
- func (o *ReadImageVulnerabilitiesOK) IsSuccess() bool
- func (o *ReadImageVulnerabilitiesOK) String() string
- type ReadImageVulnerabilitiesParams
- func NewReadImageVulnerabilitiesParams() *ReadImageVulnerabilitiesParams
- func NewReadImageVulnerabilitiesParamsWithContext(ctx context.Context) *ReadImageVulnerabilitiesParams
- func NewReadImageVulnerabilitiesParamsWithHTTPClient(client *http.Client) *ReadImageVulnerabilitiesParams
- func NewReadImageVulnerabilitiesParamsWithTimeout(timeout time.Duration) *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) SetBody(body *models.APIImageLookupRequest)
- func (o *ReadImageVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *ReadImageVulnerabilitiesParams) SetDefaults()
- func (o *ReadImageVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *ReadImageVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *ReadImageVulnerabilitiesParams) WithBody(body *models.APIImageLookupRequest) *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) WithContext(ctx context.Context) *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) WithDefaults() *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) WithHTTPClient(client *http.Client) *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) WithTimeout(timeout time.Duration) *ReadImageVulnerabilitiesParams
- func (o *ReadImageVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadImageVulnerabilitiesReader
- type ReadImageVulnerabilitiesTooManyRequests
- func (o *ReadImageVulnerabilitiesTooManyRequests) Code() int
- func (o *ReadImageVulnerabilitiesTooManyRequests) Error() string
- func (o *ReadImageVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *ReadImageVulnerabilitiesTooManyRequests) IsClientError() bool
- func (o *ReadImageVulnerabilitiesTooManyRequests) IsCode(code int) bool
- func (o *ReadImageVulnerabilitiesTooManyRequests) IsRedirect() bool
- func (o *ReadImageVulnerabilitiesTooManyRequests) IsServerError() bool
- func (o *ReadImageVulnerabilitiesTooManyRequests) IsSuccess() bool
- func (o *ReadImageVulnerabilitiesTooManyRequests) String() string
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 falcon container cli API
func (*Client) ReadImageVulnerabilities ¶
func (a *Client) ReadImageVulnerabilities(params *ReadImageVulnerabilitiesParams, opts ...ClientOption) (*ReadImageVulnerabilitiesOK, error)
ReadImageVulnerabilities retrieves known vulnerabilities for the provided image
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 { ReadImageVulnerabilities(params *ReadImageVulnerabilitiesParams, opts ...ClientOption) (*ReadImageVulnerabilitiesOK, 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 falcon container cli API client.
type ReadImageVulnerabilitiesForbidden ¶
type ReadImageVulnerabilitiesForbidden struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.MsaReplyMetaOnly }
ReadImageVulnerabilitiesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewReadImageVulnerabilitiesForbidden ¶
func NewReadImageVulnerabilitiesForbidden() *ReadImageVulnerabilitiesForbidden
NewReadImageVulnerabilitiesForbidden creates a ReadImageVulnerabilitiesForbidden with default headers values
func (*ReadImageVulnerabilitiesForbidden) Code ¶ added in v0.2.33
func (o *ReadImageVulnerabilitiesForbidden) Code() int
Code gets the status code for the read image vulnerabilities forbidden response
func (*ReadImageVulnerabilitiesForbidden) Error ¶
func (o *ReadImageVulnerabilitiesForbidden) Error() string
func (*ReadImageVulnerabilitiesForbidden) GetPayload ¶
func (o *ReadImageVulnerabilitiesForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*ReadImageVulnerabilitiesForbidden) IsClientError ¶
func (o *ReadImageVulnerabilitiesForbidden) IsClientError() bool
IsClientError returns true when this read image vulnerabilities forbidden response has a 4xx status code
func (*ReadImageVulnerabilitiesForbidden) IsCode ¶
func (o *ReadImageVulnerabilitiesForbidden) IsCode(code int) bool
IsCode returns true when this read image vulnerabilities forbidden response a status code equal to that given
func (*ReadImageVulnerabilitiesForbidden) IsRedirect ¶
func (o *ReadImageVulnerabilitiesForbidden) IsRedirect() bool
IsRedirect returns true when this read image vulnerabilities forbidden response has a 3xx status code
func (*ReadImageVulnerabilitiesForbidden) IsServerError ¶
func (o *ReadImageVulnerabilitiesForbidden) IsServerError() bool
IsServerError returns true when this read image vulnerabilities forbidden response has a 5xx status code
func (*ReadImageVulnerabilitiesForbidden) IsSuccess ¶
func (o *ReadImageVulnerabilitiesForbidden) IsSuccess() bool
IsSuccess returns true when this read image vulnerabilities forbidden response has a 2xx status code
func (*ReadImageVulnerabilitiesForbidden) String ¶
func (o *ReadImageVulnerabilitiesForbidden) String() string
type ReadImageVulnerabilitiesInternalServerError ¶
type ReadImageVulnerabilitiesInternalServerError struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.CoreEntitiesResponse }
ReadImageVulnerabilitiesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewReadImageVulnerabilitiesInternalServerError ¶
func NewReadImageVulnerabilitiesInternalServerError() *ReadImageVulnerabilitiesInternalServerError
NewReadImageVulnerabilitiesInternalServerError creates a ReadImageVulnerabilitiesInternalServerError with default headers values
func (*ReadImageVulnerabilitiesInternalServerError) Code ¶ added in v0.2.33
func (o *ReadImageVulnerabilitiesInternalServerError) Code() int
Code gets the status code for the read image vulnerabilities internal server error response
func (*ReadImageVulnerabilitiesInternalServerError) Error ¶
func (o *ReadImageVulnerabilitiesInternalServerError) Error() string
func (*ReadImageVulnerabilitiesInternalServerError) GetPayload ¶
func (o *ReadImageVulnerabilitiesInternalServerError) GetPayload() *models.CoreEntitiesResponse
func (*ReadImageVulnerabilitiesInternalServerError) IsClientError ¶
func (o *ReadImageVulnerabilitiesInternalServerError) IsClientError() bool
IsClientError returns true when this read image vulnerabilities internal server error response has a 4xx status code
func (*ReadImageVulnerabilitiesInternalServerError) IsCode ¶
func (o *ReadImageVulnerabilitiesInternalServerError) IsCode(code int) bool
IsCode returns true when this read image vulnerabilities internal server error response a status code equal to that given
func (*ReadImageVulnerabilitiesInternalServerError) IsRedirect ¶
func (o *ReadImageVulnerabilitiesInternalServerError) IsRedirect() bool
IsRedirect returns true when this read image vulnerabilities internal server error response has a 3xx status code
func (*ReadImageVulnerabilitiesInternalServerError) IsServerError ¶
func (o *ReadImageVulnerabilitiesInternalServerError) IsServerError() bool
IsServerError returns true when this read image vulnerabilities internal server error response has a 5xx status code
func (*ReadImageVulnerabilitiesInternalServerError) IsSuccess ¶
func (o *ReadImageVulnerabilitiesInternalServerError) IsSuccess() bool
IsSuccess returns true when this read image vulnerabilities internal server error response has a 2xx status code
func (*ReadImageVulnerabilitiesInternalServerError) String ¶
func (o *ReadImageVulnerabilitiesInternalServerError) String() string
type ReadImageVulnerabilitiesOK ¶
type ReadImageVulnerabilitiesOK struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 Payload *models.CoreEntitiesResponse }
ReadImageVulnerabilitiesOK describes a response with status code 200, with default header values.
OK
func NewReadImageVulnerabilitiesOK ¶
func NewReadImageVulnerabilitiesOK() *ReadImageVulnerabilitiesOK
NewReadImageVulnerabilitiesOK creates a ReadImageVulnerabilitiesOK with default headers values
func (*ReadImageVulnerabilitiesOK) Code ¶ added in v0.2.33
func (o *ReadImageVulnerabilitiesOK) Code() int
Code gets the status code for the read image vulnerabilities o k response
func (*ReadImageVulnerabilitiesOK) Error ¶
func (o *ReadImageVulnerabilitiesOK) Error() string
func (*ReadImageVulnerabilitiesOK) GetPayload ¶
func (o *ReadImageVulnerabilitiesOK) GetPayload() *models.CoreEntitiesResponse
func (*ReadImageVulnerabilitiesOK) IsClientError ¶
func (o *ReadImageVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this read image vulnerabilities o k response has a 4xx status code
func (*ReadImageVulnerabilitiesOK) IsCode ¶
func (o *ReadImageVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this read image vulnerabilities o k response a status code equal to that given
func (*ReadImageVulnerabilitiesOK) IsRedirect ¶
func (o *ReadImageVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this read image vulnerabilities o k response has a 3xx status code
func (*ReadImageVulnerabilitiesOK) IsServerError ¶
func (o *ReadImageVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this read image vulnerabilities o k response has a 5xx status code
func (*ReadImageVulnerabilitiesOK) IsSuccess ¶
func (o *ReadImageVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this read image vulnerabilities o k response has a 2xx status code
func (*ReadImageVulnerabilitiesOK) String ¶
func (o *ReadImageVulnerabilitiesOK) String() string
type ReadImageVulnerabilitiesParams ¶
type ReadImageVulnerabilitiesParams struct { // Body. Body *models.APIImageLookupRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadImageVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the read image vulnerabilities operation. Typically these are written to a http.Request.
func NewReadImageVulnerabilitiesParams ¶
func NewReadImageVulnerabilitiesParams() *ReadImageVulnerabilitiesParams
NewReadImageVulnerabilitiesParams creates a new ReadImageVulnerabilitiesParams 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 NewReadImageVulnerabilitiesParamsWithContext ¶
func NewReadImageVulnerabilitiesParamsWithContext(ctx context.Context) *ReadImageVulnerabilitiesParams
NewReadImageVulnerabilitiesParamsWithContext creates a new ReadImageVulnerabilitiesParams object with the ability to set a context for a request.
func NewReadImageVulnerabilitiesParamsWithHTTPClient ¶
func NewReadImageVulnerabilitiesParamsWithHTTPClient(client *http.Client) *ReadImageVulnerabilitiesParams
NewReadImageVulnerabilitiesParamsWithHTTPClient creates a new ReadImageVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewReadImageVulnerabilitiesParamsWithTimeout ¶
func NewReadImageVulnerabilitiesParamsWithTimeout(timeout time.Duration) *ReadImageVulnerabilitiesParams
NewReadImageVulnerabilitiesParamsWithTimeout creates a new ReadImageVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*ReadImageVulnerabilitiesParams) SetBody ¶
func (o *ReadImageVulnerabilitiesParams) SetBody(body *models.APIImageLookupRequest)
SetBody adds the body to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) SetContext ¶
func (o *ReadImageVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) SetDefaults ¶
func (o *ReadImageVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the read image vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*ReadImageVulnerabilitiesParams) SetHTTPClient ¶
func (o *ReadImageVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) SetTimeout ¶
func (o *ReadImageVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) WithBody ¶
func (o *ReadImageVulnerabilitiesParams) WithBody(body *models.APIImageLookupRequest) *ReadImageVulnerabilitiesParams
WithBody adds the body to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) WithContext ¶
func (o *ReadImageVulnerabilitiesParams) WithContext(ctx context.Context) *ReadImageVulnerabilitiesParams
WithContext adds the context to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) WithDefaults ¶
func (o *ReadImageVulnerabilitiesParams) WithDefaults() *ReadImageVulnerabilitiesParams
WithDefaults hydrates default values in the read image vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*ReadImageVulnerabilitiesParams) WithHTTPClient ¶
func (o *ReadImageVulnerabilitiesParams) WithHTTPClient(client *http.Client) *ReadImageVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) WithTimeout ¶
func (o *ReadImageVulnerabilitiesParams) WithTimeout(timeout time.Duration) *ReadImageVulnerabilitiesParams
WithTimeout adds the timeout to the read image vulnerabilities params
func (*ReadImageVulnerabilitiesParams) WriteToRequest ¶
func (o *ReadImageVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadImageVulnerabilitiesReader ¶
type ReadImageVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
ReadImageVulnerabilitiesReader is a Reader for the ReadImageVulnerabilities structure.
func (*ReadImageVulnerabilitiesReader) ReadResponse ¶
func (o *ReadImageVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadImageVulnerabilitiesTooManyRequests ¶
type ReadImageVulnerabilitiesTooManyRequests struct { /* Trace-ID: submit to support if resolving an issue */ XCSTRACEID string /* Request limit per minute. */ XRateLimitLimit int64 /* The number of requests remaining for the sliding one minute window. */ XRateLimitRemaining int64 /* Too many requests, retry after this time (as milliseconds since epoch) */ XRateLimitRetryAfter int64 Payload *models.MsaReplyMetaOnly }
ReadImageVulnerabilitiesTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewReadImageVulnerabilitiesTooManyRequests ¶
func NewReadImageVulnerabilitiesTooManyRequests() *ReadImageVulnerabilitiesTooManyRequests
NewReadImageVulnerabilitiesTooManyRequests creates a ReadImageVulnerabilitiesTooManyRequests with default headers values
func (*ReadImageVulnerabilitiesTooManyRequests) Code ¶ added in v0.2.33
func (o *ReadImageVulnerabilitiesTooManyRequests) Code() int
Code gets the status code for the read image vulnerabilities too many requests response
func (*ReadImageVulnerabilitiesTooManyRequests) Error ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) Error() string
func (*ReadImageVulnerabilitiesTooManyRequests) GetPayload ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*ReadImageVulnerabilitiesTooManyRequests) IsClientError ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) IsClientError() bool
IsClientError returns true when this read image vulnerabilities too many requests response has a 4xx status code
func (*ReadImageVulnerabilitiesTooManyRequests) IsCode ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) IsCode(code int) bool
IsCode returns true when this read image vulnerabilities too many requests response a status code equal to that given
func (*ReadImageVulnerabilitiesTooManyRequests) IsRedirect ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) IsRedirect() bool
IsRedirect returns true when this read image vulnerabilities too many requests response has a 3xx status code
func (*ReadImageVulnerabilitiesTooManyRequests) IsServerError ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) IsServerError() bool
IsServerError returns true when this read image vulnerabilities too many requests response has a 5xx status code
func (*ReadImageVulnerabilitiesTooManyRequests) IsSuccess ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) IsSuccess() bool
IsSuccess returns true when this read image vulnerabilities too many requests response has a 2xx status code
func (*ReadImageVulnerabilitiesTooManyRequests) String ¶
func (o *ReadImageVulnerabilitiesTooManyRequests) String() string