Documentation
¶
Index ¶
- type Client
- func (a *Client) GetApplicationVulnerabilitySummaries(params *GetApplicationVulnerabilitySummariesParams, ...) (*GetApplicationVulnerabilitySummariesOK, error)
- func (a *Client) GetComponentVulnerabilities(params *GetComponentVulnerabilitiesParams, ...) (*GetComponentVulnerabilitiesOK, error)
- func (a *Client) GetEnvironmentVulnerabilitySummary(params *GetEnvironmentVulnerabilitySummaryParams, ...) (*GetEnvironmentVulnerabilitySummaryOK, error)
- func (a *Client) GetJobVulnerabilities(params *GetJobVulnerabilitiesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetJobVulnerabilitiesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetApplicationVulnerabilitySummariesNotFound
- func (o *GetApplicationVulnerabilitySummariesNotFound) Code() int
- func (o *GetApplicationVulnerabilitySummariesNotFound) Error() string
- func (o *GetApplicationVulnerabilitySummariesNotFound) IsClientError() bool
- func (o *GetApplicationVulnerabilitySummariesNotFound) IsCode(code int) bool
- func (o *GetApplicationVulnerabilitySummariesNotFound) IsRedirect() bool
- func (o *GetApplicationVulnerabilitySummariesNotFound) IsServerError() bool
- func (o *GetApplicationVulnerabilitySummariesNotFound) IsSuccess() bool
- func (o *GetApplicationVulnerabilitySummariesNotFound) String() string
- type GetApplicationVulnerabilitySummariesOK
- func (o *GetApplicationVulnerabilitySummariesOK) Code() int
- func (o *GetApplicationVulnerabilitySummariesOK) Error() string
- func (o *GetApplicationVulnerabilitySummariesOK) GetPayload() models.ApplicationVulnerabilities
- func (o *GetApplicationVulnerabilitySummariesOK) IsClientError() bool
- func (o *GetApplicationVulnerabilitySummariesOK) IsCode(code int) bool
- func (o *GetApplicationVulnerabilitySummariesOK) IsRedirect() bool
- func (o *GetApplicationVulnerabilitySummariesOK) IsServerError() bool
- func (o *GetApplicationVulnerabilitySummariesOK) IsSuccess() bool
- func (o *GetApplicationVulnerabilitySummariesOK) String() string
- type GetApplicationVulnerabilitySummariesParams
- func NewGetApplicationVulnerabilitySummariesParams() *GetApplicationVulnerabilitySummariesParams
- func NewGetApplicationVulnerabilitySummariesParamsWithContext(ctx context.Context) *GetApplicationVulnerabilitySummariesParams
- func NewGetApplicationVulnerabilitySummariesParamsWithHTTPClient(client *http.Client) *GetApplicationVulnerabilitySummariesParams
- func NewGetApplicationVulnerabilitySummariesParamsWithTimeout(timeout time.Duration) *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) SetAppName(appName string)
- func (o *GetApplicationVulnerabilitySummariesParams) SetContext(ctx context.Context)
- func (o *GetApplicationVulnerabilitySummariesParams) SetDefaults()
- func (o *GetApplicationVulnerabilitySummariesParams) SetHTTPClient(client *http.Client)
- func (o *GetApplicationVulnerabilitySummariesParams) SetTimeout(timeout time.Duration)
- func (o *GetApplicationVulnerabilitySummariesParams) WithAppName(appName string) *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) WithContext(ctx context.Context) *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) WithDefaults() *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) WithHTTPClient(client *http.Client) *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) WithTimeout(timeout time.Duration) *GetApplicationVulnerabilitySummariesParams
- func (o *GetApplicationVulnerabilitySummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetApplicationVulnerabilitySummariesReader
- type GetApplicationVulnerabilitySummariesUnauthorized
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) Code() int
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) Error() string
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsClientError() bool
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsCode(code int) bool
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsRedirect() bool
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsServerError() bool
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsSuccess() bool
- func (o *GetApplicationVulnerabilitySummariesUnauthorized) String() string
- type GetComponentVulnerabilitiesNotFound
- func (o *GetComponentVulnerabilitiesNotFound) Code() int
- func (o *GetComponentVulnerabilitiesNotFound) Error() string
- func (o *GetComponentVulnerabilitiesNotFound) IsClientError() bool
- func (o *GetComponentVulnerabilitiesNotFound) IsCode(code int) bool
- func (o *GetComponentVulnerabilitiesNotFound) IsRedirect() bool
- func (o *GetComponentVulnerabilitiesNotFound) IsServerError() bool
- func (o *GetComponentVulnerabilitiesNotFound) IsSuccess() bool
- func (o *GetComponentVulnerabilitiesNotFound) String() string
- type GetComponentVulnerabilitiesOK
- func (o *GetComponentVulnerabilitiesOK) Code() int
- func (o *GetComponentVulnerabilitiesOK) Error() string
- func (o *GetComponentVulnerabilitiesOK) GetPayload() *models.ImageWithLastScan
- func (o *GetComponentVulnerabilitiesOK) IsClientError() bool
- func (o *GetComponentVulnerabilitiesOK) IsCode(code int) bool
- func (o *GetComponentVulnerabilitiesOK) IsRedirect() bool
- func (o *GetComponentVulnerabilitiesOK) IsServerError() bool
- func (o *GetComponentVulnerabilitiesOK) IsSuccess() bool
- func (o *GetComponentVulnerabilitiesOK) String() string
- type GetComponentVulnerabilitiesParams
- func NewGetComponentVulnerabilitiesParams() *GetComponentVulnerabilitiesParams
- func NewGetComponentVulnerabilitiesParamsWithContext(ctx context.Context) *GetComponentVulnerabilitiesParams
- func NewGetComponentVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetComponentVulnerabilitiesParams
- func NewGetComponentVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) SetAppName(appName string)
- func (o *GetComponentVulnerabilitiesParams) SetComponentName(componentName string)
- func (o *GetComponentVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *GetComponentVulnerabilitiesParams) SetDefaults()
- func (o *GetComponentVulnerabilitiesParams) SetEnvName(envName string)
- func (o *GetComponentVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetComponentVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetComponentVulnerabilitiesParams) WithAppName(appName string) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithComponentName(componentName string) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithContext(ctx context.Context) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithDefaults() *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithEnvName(envName string) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetComponentVulnerabilitiesParams
- func (o *GetComponentVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetComponentVulnerabilitiesReader
- type GetComponentVulnerabilitiesUnauthorized
- func (o *GetComponentVulnerabilitiesUnauthorized) Code() int
- func (o *GetComponentVulnerabilitiesUnauthorized) Error() string
- func (o *GetComponentVulnerabilitiesUnauthorized) IsClientError() bool
- func (o *GetComponentVulnerabilitiesUnauthorized) IsCode(code int) bool
- func (o *GetComponentVulnerabilitiesUnauthorized) IsRedirect() bool
- func (o *GetComponentVulnerabilitiesUnauthorized) IsServerError() bool
- func (o *GetComponentVulnerabilitiesUnauthorized) IsSuccess() bool
- func (o *GetComponentVulnerabilitiesUnauthorized) String() string
- type GetEnvironmentVulnerabilitySummaryNotFound
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) Code() int
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) Error() string
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsClientError() bool
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsCode(code int) bool
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsRedirect() bool
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsServerError() bool
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsSuccess() bool
- func (o *GetEnvironmentVulnerabilitySummaryNotFound) String() string
- type GetEnvironmentVulnerabilitySummaryOK
- func (o *GetEnvironmentVulnerabilitySummaryOK) Code() int
- func (o *GetEnvironmentVulnerabilitySummaryOK) Error() string
- func (o *GetEnvironmentVulnerabilitySummaryOK) GetPayload() *models.EnvironmentVulnerabilities
- func (o *GetEnvironmentVulnerabilitySummaryOK) IsClientError() bool
- func (o *GetEnvironmentVulnerabilitySummaryOK) IsCode(code int) bool
- func (o *GetEnvironmentVulnerabilitySummaryOK) IsRedirect() bool
- func (o *GetEnvironmentVulnerabilitySummaryOK) IsServerError() bool
- func (o *GetEnvironmentVulnerabilitySummaryOK) IsSuccess() bool
- func (o *GetEnvironmentVulnerabilitySummaryOK) String() string
- type GetEnvironmentVulnerabilitySummaryParams
- func NewGetEnvironmentVulnerabilitySummaryParams() *GetEnvironmentVulnerabilitySummaryParams
- func NewGetEnvironmentVulnerabilitySummaryParamsWithContext(ctx context.Context) *GetEnvironmentVulnerabilitySummaryParams
- func NewGetEnvironmentVulnerabilitySummaryParamsWithHTTPClient(client *http.Client) *GetEnvironmentVulnerabilitySummaryParams
- func NewGetEnvironmentVulnerabilitySummaryParamsWithTimeout(timeout time.Duration) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetAppName(appName string)
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetContext(ctx context.Context)
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetDefaults()
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetEnvName(envName string)
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetHTTPClient(client *http.Client)
- func (o *GetEnvironmentVulnerabilitySummaryParams) SetTimeout(timeout time.Duration)
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithAppName(appName string) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithContext(ctx context.Context) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithDefaults() *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithEnvName(envName string) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithHTTPClient(client *http.Client) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WithTimeout(timeout time.Duration) *GetEnvironmentVulnerabilitySummaryParams
- func (o *GetEnvironmentVulnerabilitySummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetEnvironmentVulnerabilitySummaryReader
- type GetEnvironmentVulnerabilitySummaryUnauthorized
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) Code() int
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) Error() string
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsClientError() bool
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsCode(code int) bool
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsRedirect() bool
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsServerError() bool
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsSuccess() bool
- func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) String() string
- type GetJobVulnerabilitiesNotFound
- func (o *GetJobVulnerabilitiesNotFound) Code() int
- func (o *GetJobVulnerabilitiesNotFound) Error() string
- func (o *GetJobVulnerabilitiesNotFound) IsClientError() bool
- func (o *GetJobVulnerabilitiesNotFound) IsCode(code int) bool
- func (o *GetJobVulnerabilitiesNotFound) IsRedirect() bool
- func (o *GetJobVulnerabilitiesNotFound) IsServerError() bool
- func (o *GetJobVulnerabilitiesNotFound) IsSuccess() bool
- func (o *GetJobVulnerabilitiesNotFound) String() string
- type GetJobVulnerabilitiesOK
- func (o *GetJobVulnerabilitiesOK) Code() int
- func (o *GetJobVulnerabilitiesOK) Error() string
- func (o *GetJobVulnerabilitiesOK) GetPayload() *models.ImageWithLastScan
- func (o *GetJobVulnerabilitiesOK) IsClientError() bool
- func (o *GetJobVulnerabilitiesOK) IsCode(code int) bool
- func (o *GetJobVulnerabilitiesOK) IsRedirect() bool
- func (o *GetJobVulnerabilitiesOK) IsServerError() bool
- func (o *GetJobVulnerabilitiesOK) IsSuccess() bool
- func (o *GetJobVulnerabilitiesOK) String() string
- type GetJobVulnerabilitiesParams
- func NewGetJobVulnerabilitiesParams() *GetJobVulnerabilitiesParams
- func NewGetJobVulnerabilitiesParamsWithContext(ctx context.Context) *GetJobVulnerabilitiesParams
- func NewGetJobVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetJobVulnerabilitiesParams
- func NewGetJobVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) SetAppName(appName string)
- func (o *GetJobVulnerabilitiesParams) SetContext(ctx context.Context)
- func (o *GetJobVulnerabilitiesParams) SetDefaults()
- func (o *GetJobVulnerabilitiesParams) SetEnvName(envName string)
- func (o *GetJobVulnerabilitiesParams) SetHTTPClient(client *http.Client)
- func (o *GetJobVulnerabilitiesParams) SetJobName(jobName string)
- func (o *GetJobVulnerabilitiesParams) SetTimeout(timeout time.Duration)
- func (o *GetJobVulnerabilitiesParams) WithAppName(appName string) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithContext(ctx context.Context) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithDefaults() *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithEnvName(envName string) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithJobName(jobName string) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetJobVulnerabilitiesParams
- func (o *GetJobVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetJobVulnerabilitiesReader
- type GetJobVulnerabilitiesUnauthorized
- func (o *GetJobVulnerabilitiesUnauthorized) Code() int
- func (o *GetJobVulnerabilitiesUnauthorized) Error() string
- func (o *GetJobVulnerabilitiesUnauthorized) IsClientError() bool
- func (o *GetJobVulnerabilitiesUnauthorized) IsCode(code int) bool
- func (o *GetJobVulnerabilitiesUnauthorized) IsRedirect() bool
- func (o *GetJobVulnerabilitiesUnauthorized) IsServerError() bool
- func (o *GetJobVulnerabilitiesUnauthorized) IsSuccess() bool
- func (o *GetJobVulnerabilitiesUnauthorized) 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 vulnerability API
func (*Client) GetApplicationVulnerabilitySummaries ¶
func (a *Client) GetApplicationVulnerabilitySummaries(params *GetApplicationVulnerabilitySummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationVulnerabilitySummariesOK, error)
GetApplicationVulnerabilitySummaries gets vulnerability summaries for components and jobs in an application
func (*Client) GetComponentVulnerabilities ¶
func (a *Client) GetComponentVulnerabilities(params *GetComponentVulnerabilitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentVulnerabilitiesOK, error)
GetComponentVulnerabilities gets vulnerability summary for components in an environment
func (*Client) GetEnvironmentVulnerabilitySummary ¶
func (a *Client) GetEnvironmentVulnerabilitySummary(params *GetEnvironmentVulnerabilitySummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentVulnerabilitySummaryOK, error)
GetEnvironmentVulnerabilitySummary gets vulnerability summary for components in an environment
func (*Client) GetJobVulnerabilities ¶
func (a *Client) GetJobVulnerabilities(params *GetJobVulnerabilitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobVulnerabilitiesOK, error)
GetJobVulnerabilities gets vulnerability summary for job in an environment
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 may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface { GetApplicationVulnerabilitySummaries(params *GetApplicationVulnerabilitySummariesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetApplicationVulnerabilitySummariesOK, error) GetComponentVulnerabilities(params *GetComponentVulnerabilitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetComponentVulnerabilitiesOK, error) GetEnvironmentVulnerabilitySummary(params *GetEnvironmentVulnerabilitySummaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetEnvironmentVulnerabilitySummaryOK, error) GetJobVulnerabilities(params *GetJobVulnerabilitiesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetJobVulnerabilitiesOK, 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 vulnerability API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new vulnerability API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new vulnerability API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetApplicationVulnerabilitySummariesNotFound ¶
type GetApplicationVulnerabilitySummariesNotFound struct { }
GetApplicationVulnerabilitySummariesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetApplicationVulnerabilitySummariesNotFound ¶
func NewGetApplicationVulnerabilitySummariesNotFound() *GetApplicationVulnerabilitySummariesNotFound
NewGetApplicationVulnerabilitySummariesNotFound creates a GetApplicationVulnerabilitySummariesNotFound with default headers values
func (*GetApplicationVulnerabilitySummariesNotFound) Code ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) Code() int
Code gets the status code for the get application vulnerability summaries not found response
func (*GetApplicationVulnerabilitySummariesNotFound) Error ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) Error() string
func (*GetApplicationVulnerabilitySummariesNotFound) IsClientError ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) IsClientError() bool
IsClientError returns true when this get application vulnerability summaries not found response has a 4xx status code
func (*GetApplicationVulnerabilitySummariesNotFound) IsCode ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) IsCode(code int) bool
IsCode returns true when this get application vulnerability summaries not found response a status code equal to that given
func (*GetApplicationVulnerabilitySummariesNotFound) IsRedirect ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) IsRedirect() bool
IsRedirect returns true when this get application vulnerability summaries not found response has a 3xx status code
func (*GetApplicationVulnerabilitySummariesNotFound) IsServerError ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) IsServerError() bool
IsServerError returns true when this get application vulnerability summaries not found response has a 5xx status code
func (*GetApplicationVulnerabilitySummariesNotFound) IsSuccess ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) IsSuccess() bool
IsSuccess returns true when this get application vulnerability summaries not found response has a 2xx status code
func (*GetApplicationVulnerabilitySummariesNotFound) String ¶
func (o *GetApplicationVulnerabilitySummariesNotFound) String() string
type GetApplicationVulnerabilitySummariesOK ¶
type GetApplicationVulnerabilitySummariesOK struct {
Payload models.ApplicationVulnerabilities
}
GetApplicationVulnerabilitySummariesOK describes a response with status code 200, with default header values.
Successful get vulnerability summaries for application
func NewGetApplicationVulnerabilitySummariesOK ¶
func NewGetApplicationVulnerabilitySummariesOK() *GetApplicationVulnerabilitySummariesOK
NewGetApplicationVulnerabilitySummariesOK creates a GetApplicationVulnerabilitySummariesOK with default headers values
func (*GetApplicationVulnerabilitySummariesOK) Code ¶
func (o *GetApplicationVulnerabilitySummariesOK) Code() int
Code gets the status code for the get application vulnerability summaries o k response
func (*GetApplicationVulnerabilitySummariesOK) Error ¶
func (o *GetApplicationVulnerabilitySummariesOK) Error() string
func (*GetApplicationVulnerabilitySummariesOK) GetPayload ¶
func (o *GetApplicationVulnerabilitySummariesOK) GetPayload() models.ApplicationVulnerabilities
func (*GetApplicationVulnerabilitySummariesOK) IsClientError ¶
func (o *GetApplicationVulnerabilitySummariesOK) IsClientError() bool
IsClientError returns true when this get application vulnerability summaries o k response has a 4xx status code
func (*GetApplicationVulnerabilitySummariesOK) IsCode ¶
func (o *GetApplicationVulnerabilitySummariesOK) IsCode(code int) bool
IsCode returns true when this get application vulnerability summaries o k response a status code equal to that given
func (*GetApplicationVulnerabilitySummariesOK) IsRedirect ¶
func (o *GetApplicationVulnerabilitySummariesOK) IsRedirect() bool
IsRedirect returns true when this get application vulnerability summaries o k response has a 3xx status code
func (*GetApplicationVulnerabilitySummariesOK) IsServerError ¶
func (o *GetApplicationVulnerabilitySummariesOK) IsServerError() bool
IsServerError returns true when this get application vulnerability summaries o k response has a 5xx status code
func (*GetApplicationVulnerabilitySummariesOK) IsSuccess ¶
func (o *GetApplicationVulnerabilitySummariesOK) IsSuccess() bool
IsSuccess returns true when this get application vulnerability summaries o k response has a 2xx status code
func (*GetApplicationVulnerabilitySummariesOK) String ¶
func (o *GetApplicationVulnerabilitySummariesOK) String() string
type GetApplicationVulnerabilitySummariesParams ¶
type GetApplicationVulnerabilitySummariesParams struct { /* AppName. Name of the application */ AppName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetApplicationVulnerabilitySummariesParams contains all the parameters to send to the API endpoint
for the get application vulnerability summaries operation. Typically these are written to a http.Request.
func NewGetApplicationVulnerabilitySummariesParams ¶
func NewGetApplicationVulnerabilitySummariesParams() *GetApplicationVulnerabilitySummariesParams
NewGetApplicationVulnerabilitySummariesParams creates a new GetApplicationVulnerabilitySummariesParams 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 NewGetApplicationVulnerabilitySummariesParamsWithContext ¶
func NewGetApplicationVulnerabilitySummariesParamsWithContext(ctx context.Context) *GetApplicationVulnerabilitySummariesParams
NewGetApplicationVulnerabilitySummariesParamsWithContext creates a new GetApplicationVulnerabilitySummariesParams object with the ability to set a context for a request.
func NewGetApplicationVulnerabilitySummariesParamsWithHTTPClient ¶
func NewGetApplicationVulnerabilitySummariesParamsWithHTTPClient(client *http.Client) *GetApplicationVulnerabilitySummariesParams
NewGetApplicationVulnerabilitySummariesParamsWithHTTPClient creates a new GetApplicationVulnerabilitySummariesParams object with the ability to set a custom HTTPClient for a request.
func NewGetApplicationVulnerabilitySummariesParamsWithTimeout ¶
func NewGetApplicationVulnerabilitySummariesParamsWithTimeout(timeout time.Duration) *GetApplicationVulnerabilitySummariesParams
NewGetApplicationVulnerabilitySummariesParamsWithTimeout creates a new GetApplicationVulnerabilitySummariesParams object with the ability to set a timeout on a request.
func (*GetApplicationVulnerabilitySummariesParams) SetAppName ¶
func (o *GetApplicationVulnerabilitySummariesParams) SetAppName(appName string)
SetAppName adds the appName to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) SetContext ¶
func (o *GetApplicationVulnerabilitySummariesParams) SetContext(ctx context.Context)
SetContext adds the context to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) SetDefaults ¶
func (o *GetApplicationVulnerabilitySummariesParams) SetDefaults()
SetDefaults hydrates default values in the get application vulnerability summaries params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationVulnerabilitySummariesParams) SetHTTPClient ¶
func (o *GetApplicationVulnerabilitySummariesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) SetTimeout ¶
func (o *GetApplicationVulnerabilitySummariesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) WithAppName ¶
func (o *GetApplicationVulnerabilitySummariesParams) WithAppName(appName string) *GetApplicationVulnerabilitySummariesParams
WithAppName adds the appName to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) WithContext ¶
func (o *GetApplicationVulnerabilitySummariesParams) WithContext(ctx context.Context) *GetApplicationVulnerabilitySummariesParams
WithContext adds the context to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) WithDefaults ¶
func (o *GetApplicationVulnerabilitySummariesParams) WithDefaults() *GetApplicationVulnerabilitySummariesParams
WithDefaults hydrates default values in the get application vulnerability summaries params (not the query body).
All values with no default are reset to their zero value.
func (*GetApplicationVulnerabilitySummariesParams) WithHTTPClient ¶
func (o *GetApplicationVulnerabilitySummariesParams) WithHTTPClient(client *http.Client) *GetApplicationVulnerabilitySummariesParams
WithHTTPClient adds the HTTPClient to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) WithTimeout ¶
func (o *GetApplicationVulnerabilitySummariesParams) WithTimeout(timeout time.Duration) *GetApplicationVulnerabilitySummariesParams
WithTimeout adds the timeout to the get application vulnerability summaries params
func (*GetApplicationVulnerabilitySummariesParams) WriteToRequest ¶
func (o *GetApplicationVulnerabilitySummariesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetApplicationVulnerabilitySummariesReader ¶
type GetApplicationVulnerabilitySummariesReader struct {
// contains filtered or unexported fields
}
GetApplicationVulnerabilitySummariesReader is a Reader for the GetApplicationVulnerabilitySummaries structure.
func (*GetApplicationVulnerabilitySummariesReader) ReadResponse ¶
func (o *GetApplicationVulnerabilitySummariesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetApplicationVulnerabilitySummariesUnauthorized ¶
type GetApplicationVulnerabilitySummariesUnauthorized struct { }
GetApplicationVulnerabilitySummariesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetApplicationVulnerabilitySummariesUnauthorized ¶
func NewGetApplicationVulnerabilitySummariesUnauthorized() *GetApplicationVulnerabilitySummariesUnauthorized
NewGetApplicationVulnerabilitySummariesUnauthorized creates a GetApplicationVulnerabilitySummariesUnauthorized with default headers values
func (*GetApplicationVulnerabilitySummariesUnauthorized) Code ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) Code() int
Code gets the status code for the get application vulnerability summaries unauthorized response
func (*GetApplicationVulnerabilitySummariesUnauthorized) Error ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) Error() string
func (*GetApplicationVulnerabilitySummariesUnauthorized) IsClientError ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsClientError() bool
IsClientError returns true when this get application vulnerability summaries unauthorized response has a 4xx status code
func (*GetApplicationVulnerabilitySummariesUnauthorized) IsCode ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsCode(code int) bool
IsCode returns true when this get application vulnerability summaries unauthorized response a status code equal to that given
func (*GetApplicationVulnerabilitySummariesUnauthorized) IsRedirect ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get application vulnerability summaries unauthorized response has a 3xx status code
func (*GetApplicationVulnerabilitySummariesUnauthorized) IsServerError ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsServerError() bool
IsServerError returns true when this get application vulnerability summaries unauthorized response has a 5xx status code
func (*GetApplicationVulnerabilitySummariesUnauthorized) IsSuccess ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get application vulnerability summaries unauthorized response has a 2xx status code
func (*GetApplicationVulnerabilitySummariesUnauthorized) String ¶
func (o *GetApplicationVulnerabilitySummariesUnauthorized) String() string
type GetComponentVulnerabilitiesNotFound ¶
type GetComponentVulnerabilitiesNotFound struct { }
GetComponentVulnerabilitiesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetComponentVulnerabilitiesNotFound ¶
func NewGetComponentVulnerabilitiesNotFound() *GetComponentVulnerabilitiesNotFound
NewGetComponentVulnerabilitiesNotFound creates a GetComponentVulnerabilitiesNotFound with default headers values
func (*GetComponentVulnerabilitiesNotFound) Code ¶
func (o *GetComponentVulnerabilitiesNotFound) Code() int
Code gets the status code for the get component vulnerabilities not found response
func (*GetComponentVulnerabilitiesNotFound) Error ¶
func (o *GetComponentVulnerabilitiesNotFound) Error() string
func (*GetComponentVulnerabilitiesNotFound) IsClientError ¶
func (o *GetComponentVulnerabilitiesNotFound) IsClientError() bool
IsClientError returns true when this get component vulnerabilities not found response has a 4xx status code
func (*GetComponentVulnerabilitiesNotFound) IsCode ¶
func (o *GetComponentVulnerabilitiesNotFound) IsCode(code int) bool
IsCode returns true when this get component vulnerabilities not found response a status code equal to that given
func (*GetComponentVulnerabilitiesNotFound) IsRedirect ¶
func (o *GetComponentVulnerabilitiesNotFound) IsRedirect() bool
IsRedirect returns true when this get component vulnerabilities not found response has a 3xx status code
func (*GetComponentVulnerabilitiesNotFound) IsServerError ¶
func (o *GetComponentVulnerabilitiesNotFound) IsServerError() bool
IsServerError returns true when this get component vulnerabilities not found response has a 5xx status code
func (*GetComponentVulnerabilitiesNotFound) IsSuccess ¶
func (o *GetComponentVulnerabilitiesNotFound) IsSuccess() bool
IsSuccess returns true when this get component vulnerabilities not found response has a 2xx status code
func (*GetComponentVulnerabilitiesNotFound) String ¶
func (o *GetComponentVulnerabilitiesNotFound) String() string
type GetComponentVulnerabilitiesOK ¶
type GetComponentVulnerabilitiesOK struct {
Payload *models.ImageWithLastScan
}
GetComponentVulnerabilitiesOK describes a response with status code 200, with default header values.
Successful get vulnerabilities for a component
func NewGetComponentVulnerabilitiesOK ¶
func NewGetComponentVulnerabilitiesOK() *GetComponentVulnerabilitiesOK
NewGetComponentVulnerabilitiesOK creates a GetComponentVulnerabilitiesOK with default headers values
func (*GetComponentVulnerabilitiesOK) Code ¶
func (o *GetComponentVulnerabilitiesOK) Code() int
Code gets the status code for the get component vulnerabilities o k response
func (*GetComponentVulnerabilitiesOK) Error ¶
func (o *GetComponentVulnerabilitiesOK) Error() string
func (*GetComponentVulnerabilitiesOK) GetPayload ¶
func (o *GetComponentVulnerabilitiesOK) GetPayload() *models.ImageWithLastScan
func (*GetComponentVulnerabilitiesOK) IsClientError ¶
func (o *GetComponentVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this get component vulnerabilities o k response has a 4xx status code
func (*GetComponentVulnerabilitiesOK) IsCode ¶
func (o *GetComponentVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this get component vulnerabilities o k response a status code equal to that given
func (*GetComponentVulnerabilitiesOK) IsRedirect ¶
func (o *GetComponentVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this get component vulnerabilities o k response has a 3xx status code
func (*GetComponentVulnerabilitiesOK) IsServerError ¶
func (o *GetComponentVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this get component vulnerabilities o k response has a 5xx status code
func (*GetComponentVulnerabilitiesOK) IsSuccess ¶
func (o *GetComponentVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this get component vulnerabilities o k response has a 2xx status code
func (*GetComponentVulnerabilitiesOK) String ¶
func (o *GetComponentVulnerabilitiesOK) String() string
type GetComponentVulnerabilitiesParams ¶
type GetComponentVulnerabilitiesParams struct { /* AppName. Name of the application */ AppName string /* ComponentName. Name of the component */ ComponentName string /* EnvName. Name of the environment */ EnvName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetComponentVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the get component vulnerabilities operation. Typically these are written to a http.Request.
func NewGetComponentVulnerabilitiesParams ¶
func NewGetComponentVulnerabilitiesParams() *GetComponentVulnerabilitiesParams
NewGetComponentVulnerabilitiesParams creates a new GetComponentVulnerabilitiesParams 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 NewGetComponentVulnerabilitiesParamsWithContext ¶
func NewGetComponentVulnerabilitiesParamsWithContext(ctx context.Context) *GetComponentVulnerabilitiesParams
NewGetComponentVulnerabilitiesParamsWithContext creates a new GetComponentVulnerabilitiesParams object with the ability to set a context for a request.
func NewGetComponentVulnerabilitiesParamsWithHTTPClient ¶
func NewGetComponentVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetComponentVulnerabilitiesParams
NewGetComponentVulnerabilitiesParamsWithHTTPClient creates a new GetComponentVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetComponentVulnerabilitiesParamsWithTimeout ¶
func NewGetComponentVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetComponentVulnerabilitiesParams
NewGetComponentVulnerabilitiesParamsWithTimeout creates a new GetComponentVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*GetComponentVulnerabilitiesParams) SetAppName ¶
func (o *GetComponentVulnerabilitiesParams) SetAppName(appName string)
SetAppName adds the appName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) SetComponentName ¶
func (o *GetComponentVulnerabilitiesParams) SetComponentName(componentName string)
SetComponentName adds the componentName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) SetContext ¶
func (o *GetComponentVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) SetDefaults ¶
func (o *GetComponentVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the get component vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetComponentVulnerabilitiesParams) SetEnvName ¶
func (o *GetComponentVulnerabilitiesParams) SetEnvName(envName string)
SetEnvName adds the envName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) SetHTTPClient ¶
func (o *GetComponentVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) SetTimeout ¶
func (o *GetComponentVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithAppName ¶
func (o *GetComponentVulnerabilitiesParams) WithAppName(appName string) *GetComponentVulnerabilitiesParams
WithAppName adds the appName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithComponentName ¶
func (o *GetComponentVulnerabilitiesParams) WithComponentName(componentName string) *GetComponentVulnerabilitiesParams
WithComponentName adds the componentName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithContext ¶
func (o *GetComponentVulnerabilitiesParams) WithContext(ctx context.Context) *GetComponentVulnerabilitiesParams
WithContext adds the context to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithDefaults ¶
func (o *GetComponentVulnerabilitiesParams) WithDefaults() *GetComponentVulnerabilitiesParams
WithDefaults hydrates default values in the get component vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetComponentVulnerabilitiesParams) WithEnvName ¶
func (o *GetComponentVulnerabilitiesParams) WithEnvName(envName string) *GetComponentVulnerabilitiesParams
WithEnvName adds the envName to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithHTTPClient ¶
func (o *GetComponentVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetComponentVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WithTimeout ¶
func (o *GetComponentVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetComponentVulnerabilitiesParams
WithTimeout adds the timeout to the get component vulnerabilities params
func (*GetComponentVulnerabilitiesParams) WriteToRequest ¶
func (o *GetComponentVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetComponentVulnerabilitiesReader ¶
type GetComponentVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
GetComponentVulnerabilitiesReader is a Reader for the GetComponentVulnerabilities structure.
func (*GetComponentVulnerabilitiesReader) ReadResponse ¶
func (o *GetComponentVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetComponentVulnerabilitiesUnauthorized ¶
type GetComponentVulnerabilitiesUnauthorized struct { }
GetComponentVulnerabilitiesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetComponentVulnerabilitiesUnauthorized ¶
func NewGetComponentVulnerabilitiesUnauthorized() *GetComponentVulnerabilitiesUnauthorized
NewGetComponentVulnerabilitiesUnauthorized creates a GetComponentVulnerabilitiesUnauthorized with default headers values
func (*GetComponentVulnerabilitiesUnauthorized) Code ¶
func (o *GetComponentVulnerabilitiesUnauthorized) Code() int
Code gets the status code for the get component vulnerabilities unauthorized response
func (*GetComponentVulnerabilitiesUnauthorized) Error ¶
func (o *GetComponentVulnerabilitiesUnauthorized) Error() string
func (*GetComponentVulnerabilitiesUnauthorized) IsClientError ¶
func (o *GetComponentVulnerabilitiesUnauthorized) IsClientError() bool
IsClientError returns true when this get component vulnerabilities unauthorized response has a 4xx status code
func (*GetComponentVulnerabilitiesUnauthorized) IsCode ¶
func (o *GetComponentVulnerabilitiesUnauthorized) IsCode(code int) bool
IsCode returns true when this get component vulnerabilities unauthorized response a status code equal to that given
func (*GetComponentVulnerabilitiesUnauthorized) IsRedirect ¶
func (o *GetComponentVulnerabilitiesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get component vulnerabilities unauthorized response has a 3xx status code
func (*GetComponentVulnerabilitiesUnauthorized) IsServerError ¶
func (o *GetComponentVulnerabilitiesUnauthorized) IsServerError() bool
IsServerError returns true when this get component vulnerabilities unauthorized response has a 5xx status code
func (*GetComponentVulnerabilitiesUnauthorized) IsSuccess ¶
func (o *GetComponentVulnerabilitiesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get component vulnerabilities unauthorized response has a 2xx status code
func (*GetComponentVulnerabilitiesUnauthorized) String ¶
func (o *GetComponentVulnerabilitiesUnauthorized) String() string
type GetEnvironmentVulnerabilitySummaryNotFound ¶
type GetEnvironmentVulnerabilitySummaryNotFound struct { }
GetEnvironmentVulnerabilitySummaryNotFound describes a response with status code 404, with default header values.
Not found
func NewGetEnvironmentVulnerabilitySummaryNotFound ¶
func NewGetEnvironmentVulnerabilitySummaryNotFound() *GetEnvironmentVulnerabilitySummaryNotFound
NewGetEnvironmentVulnerabilitySummaryNotFound creates a GetEnvironmentVulnerabilitySummaryNotFound with default headers values
func (*GetEnvironmentVulnerabilitySummaryNotFound) Code ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) Code() int
Code gets the status code for the get environment vulnerability summary not found response
func (*GetEnvironmentVulnerabilitySummaryNotFound) Error ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) Error() string
func (*GetEnvironmentVulnerabilitySummaryNotFound) IsClientError ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsClientError() bool
IsClientError returns true when this get environment vulnerability summary not found response has a 4xx status code
func (*GetEnvironmentVulnerabilitySummaryNotFound) IsCode ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsCode(code int) bool
IsCode returns true when this get environment vulnerability summary not found response a status code equal to that given
func (*GetEnvironmentVulnerabilitySummaryNotFound) IsRedirect ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsRedirect() bool
IsRedirect returns true when this get environment vulnerability summary not found response has a 3xx status code
func (*GetEnvironmentVulnerabilitySummaryNotFound) IsServerError ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsServerError() bool
IsServerError returns true when this get environment vulnerability summary not found response has a 5xx status code
func (*GetEnvironmentVulnerabilitySummaryNotFound) IsSuccess ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) IsSuccess() bool
IsSuccess returns true when this get environment vulnerability summary not found response has a 2xx status code
func (*GetEnvironmentVulnerabilitySummaryNotFound) String ¶
func (o *GetEnvironmentVulnerabilitySummaryNotFound) String() string
type GetEnvironmentVulnerabilitySummaryOK ¶
type GetEnvironmentVulnerabilitySummaryOK struct {
Payload *models.EnvironmentVulnerabilities
}
GetEnvironmentVulnerabilitySummaryOK describes a response with status code 200, with default header values.
Successful get vulnerability summary for application
func NewGetEnvironmentVulnerabilitySummaryOK ¶
func NewGetEnvironmentVulnerabilitySummaryOK() *GetEnvironmentVulnerabilitySummaryOK
NewGetEnvironmentVulnerabilitySummaryOK creates a GetEnvironmentVulnerabilitySummaryOK with default headers values
func (*GetEnvironmentVulnerabilitySummaryOK) Code ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) Code() int
Code gets the status code for the get environment vulnerability summary o k response
func (*GetEnvironmentVulnerabilitySummaryOK) Error ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) Error() string
func (*GetEnvironmentVulnerabilitySummaryOK) GetPayload ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) GetPayload() *models.EnvironmentVulnerabilities
func (*GetEnvironmentVulnerabilitySummaryOK) IsClientError ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) IsClientError() bool
IsClientError returns true when this get environment vulnerability summary o k response has a 4xx status code
func (*GetEnvironmentVulnerabilitySummaryOK) IsCode ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) IsCode(code int) bool
IsCode returns true when this get environment vulnerability summary o k response a status code equal to that given
func (*GetEnvironmentVulnerabilitySummaryOK) IsRedirect ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) IsRedirect() bool
IsRedirect returns true when this get environment vulnerability summary o k response has a 3xx status code
func (*GetEnvironmentVulnerabilitySummaryOK) IsServerError ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) IsServerError() bool
IsServerError returns true when this get environment vulnerability summary o k response has a 5xx status code
func (*GetEnvironmentVulnerabilitySummaryOK) IsSuccess ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) IsSuccess() bool
IsSuccess returns true when this get environment vulnerability summary o k response has a 2xx status code
func (*GetEnvironmentVulnerabilitySummaryOK) String ¶
func (o *GetEnvironmentVulnerabilitySummaryOK) String() string
type GetEnvironmentVulnerabilitySummaryParams ¶
type GetEnvironmentVulnerabilitySummaryParams struct { /* AppName. Name of the application */ AppName string /* EnvName. Name of the environment */ EnvName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetEnvironmentVulnerabilitySummaryParams contains all the parameters to send to the API endpoint
for the get environment vulnerability summary operation. Typically these are written to a http.Request.
func NewGetEnvironmentVulnerabilitySummaryParams ¶
func NewGetEnvironmentVulnerabilitySummaryParams() *GetEnvironmentVulnerabilitySummaryParams
NewGetEnvironmentVulnerabilitySummaryParams creates a new GetEnvironmentVulnerabilitySummaryParams 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 NewGetEnvironmentVulnerabilitySummaryParamsWithContext ¶
func NewGetEnvironmentVulnerabilitySummaryParamsWithContext(ctx context.Context) *GetEnvironmentVulnerabilitySummaryParams
NewGetEnvironmentVulnerabilitySummaryParamsWithContext creates a new GetEnvironmentVulnerabilitySummaryParams object with the ability to set a context for a request.
func NewGetEnvironmentVulnerabilitySummaryParamsWithHTTPClient ¶
func NewGetEnvironmentVulnerabilitySummaryParamsWithHTTPClient(client *http.Client) *GetEnvironmentVulnerabilitySummaryParams
NewGetEnvironmentVulnerabilitySummaryParamsWithHTTPClient creates a new GetEnvironmentVulnerabilitySummaryParams object with the ability to set a custom HTTPClient for a request.
func NewGetEnvironmentVulnerabilitySummaryParamsWithTimeout ¶
func NewGetEnvironmentVulnerabilitySummaryParamsWithTimeout(timeout time.Duration) *GetEnvironmentVulnerabilitySummaryParams
NewGetEnvironmentVulnerabilitySummaryParamsWithTimeout creates a new GetEnvironmentVulnerabilitySummaryParams object with the ability to set a timeout on a request.
func (*GetEnvironmentVulnerabilitySummaryParams) SetAppName ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetAppName(appName string)
SetAppName adds the appName to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) SetContext ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetContext(ctx context.Context)
SetContext adds the context to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) SetDefaults ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetDefaults()
SetDefaults hydrates default values in the get environment vulnerability summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnvironmentVulnerabilitySummaryParams) SetEnvName ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetEnvName(envName string)
SetEnvName adds the envName to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) SetHTTPClient ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) SetTimeout ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WithAppName ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithAppName(appName string) *GetEnvironmentVulnerabilitySummaryParams
WithAppName adds the appName to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WithContext ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithContext(ctx context.Context) *GetEnvironmentVulnerabilitySummaryParams
WithContext adds the context to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WithDefaults ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithDefaults() *GetEnvironmentVulnerabilitySummaryParams
WithDefaults hydrates default values in the get environment vulnerability summary params (not the query body).
All values with no default are reset to their zero value.
func (*GetEnvironmentVulnerabilitySummaryParams) WithEnvName ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithEnvName(envName string) *GetEnvironmentVulnerabilitySummaryParams
WithEnvName adds the envName to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WithHTTPClient ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithHTTPClient(client *http.Client) *GetEnvironmentVulnerabilitySummaryParams
WithHTTPClient adds the HTTPClient to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WithTimeout ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WithTimeout(timeout time.Duration) *GetEnvironmentVulnerabilitySummaryParams
WithTimeout adds the timeout to the get environment vulnerability summary params
func (*GetEnvironmentVulnerabilitySummaryParams) WriteToRequest ¶
func (o *GetEnvironmentVulnerabilitySummaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetEnvironmentVulnerabilitySummaryReader ¶
type GetEnvironmentVulnerabilitySummaryReader struct {
// contains filtered or unexported fields
}
GetEnvironmentVulnerabilitySummaryReader is a Reader for the GetEnvironmentVulnerabilitySummary structure.
func (*GetEnvironmentVulnerabilitySummaryReader) ReadResponse ¶
func (o *GetEnvironmentVulnerabilitySummaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetEnvironmentVulnerabilitySummaryUnauthorized ¶
type GetEnvironmentVulnerabilitySummaryUnauthorized struct { }
GetEnvironmentVulnerabilitySummaryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetEnvironmentVulnerabilitySummaryUnauthorized ¶
func NewGetEnvironmentVulnerabilitySummaryUnauthorized() *GetEnvironmentVulnerabilitySummaryUnauthorized
NewGetEnvironmentVulnerabilitySummaryUnauthorized creates a GetEnvironmentVulnerabilitySummaryUnauthorized with default headers values
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) Code ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) Code() int
Code gets the status code for the get environment vulnerability summary unauthorized response
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) Error ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) Error() string
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) IsClientError ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsClientError() bool
IsClientError returns true when this get environment vulnerability summary unauthorized response has a 4xx status code
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) IsCode ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsCode(code int) bool
IsCode returns true when this get environment vulnerability summary unauthorized response a status code equal to that given
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) IsRedirect ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsRedirect() bool
IsRedirect returns true when this get environment vulnerability summary unauthorized response has a 3xx status code
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) IsServerError ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsServerError() bool
IsServerError returns true when this get environment vulnerability summary unauthorized response has a 5xx status code
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) IsSuccess ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) IsSuccess() bool
IsSuccess returns true when this get environment vulnerability summary unauthorized response has a 2xx status code
func (*GetEnvironmentVulnerabilitySummaryUnauthorized) String ¶
func (o *GetEnvironmentVulnerabilitySummaryUnauthorized) String() string
type GetJobVulnerabilitiesNotFound ¶
type GetJobVulnerabilitiesNotFound struct { }
GetJobVulnerabilitiesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetJobVulnerabilitiesNotFound ¶
func NewGetJobVulnerabilitiesNotFound() *GetJobVulnerabilitiesNotFound
NewGetJobVulnerabilitiesNotFound creates a GetJobVulnerabilitiesNotFound with default headers values
func (*GetJobVulnerabilitiesNotFound) Code ¶
func (o *GetJobVulnerabilitiesNotFound) Code() int
Code gets the status code for the get job vulnerabilities not found response
func (*GetJobVulnerabilitiesNotFound) Error ¶
func (o *GetJobVulnerabilitiesNotFound) Error() string
func (*GetJobVulnerabilitiesNotFound) IsClientError ¶
func (o *GetJobVulnerabilitiesNotFound) IsClientError() bool
IsClientError returns true when this get job vulnerabilities not found response has a 4xx status code
func (*GetJobVulnerabilitiesNotFound) IsCode ¶
func (o *GetJobVulnerabilitiesNotFound) IsCode(code int) bool
IsCode returns true when this get job vulnerabilities not found response a status code equal to that given
func (*GetJobVulnerabilitiesNotFound) IsRedirect ¶
func (o *GetJobVulnerabilitiesNotFound) IsRedirect() bool
IsRedirect returns true when this get job vulnerabilities not found response has a 3xx status code
func (*GetJobVulnerabilitiesNotFound) IsServerError ¶
func (o *GetJobVulnerabilitiesNotFound) IsServerError() bool
IsServerError returns true when this get job vulnerabilities not found response has a 5xx status code
func (*GetJobVulnerabilitiesNotFound) IsSuccess ¶
func (o *GetJobVulnerabilitiesNotFound) IsSuccess() bool
IsSuccess returns true when this get job vulnerabilities not found response has a 2xx status code
func (*GetJobVulnerabilitiesNotFound) String ¶
func (o *GetJobVulnerabilitiesNotFound) String() string
type GetJobVulnerabilitiesOK ¶
type GetJobVulnerabilitiesOK struct {
Payload *models.ImageWithLastScan
}
GetJobVulnerabilitiesOK describes a response with status code 200, with default header values.
Successful get vulnerabilities for a job
func NewGetJobVulnerabilitiesOK ¶
func NewGetJobVulnerabilitiesOK() *GetJobVulnerabilitiesOK
NewGetJobVulnerabilitiesOK creates a GetJobVulnerabilitiesOK with default headers values
func (*GetJobVulnerabilitiesOK) Code ¶
func (o *GetJobVulnerabilitiesOK) Code() int
Code gets the status code for the get job vulnerabilities o k response
func (*GetJobVulnerabilitiesOK) Error ¶
func (o *GetJobVulnerabilitiesOK) Error() string
func (*GetJobVulnerabilitiesOK) GetPayload ¶
func (o *GetJobVulnerabilitiesOK) GetPayload() *models.ImageWithLastScan
func (*GetJobVulnerabilitiesOK) IsClientError ¶
func (o *GetJobVulnerabilitiesOK) IsClientError() bool
IsClientError returns true when this get job vulnerabilities o k response has a 4xx status code
func (*GetJobVulnerabilitiesOK) IsCode ¶
func (o *GetJobVulnerabilitiesOK) IsCode(code int) bool
IsCode returns true when this get job vulnerabilities o k response a status code equal to that given
func (*GetJobVulnerabilitiesOK) IsRedirect ¶
func (o *GetJobVulnerabilitiesOK) IsRedirect() bool
IsRedirect returns true when this get job vulnerabilities o k response has a 3xx status code
func (*GetJobVulnerabilitiesOK) IsServerError ¶
func (o *GetJobVulnerabilitiesOK) IsServerError() bool
IsServerError returns true when this get job vulnerabilities o k response has a 5xx status code
func (*GetJobVulnerabilitiesOK) IsSuccess ¶
func (o *GetJobVulnerabilitiesOK) IsSuccess() bool
IsSuccess returns true when this get job vulnerabilities o k response has a 2xx status code
func (*GetJobVulnerabilitiesOK) String ¶
func (o *GetJobVulnerabilitiesOK) String() string
type GetJobVulnerabilitiesParams ¶
type GetJobVulnerabilitiesParams struct { /* AppName. Name of the application */ AppName string /* EnvName. Name of the environment */ EnvName string /* JobName. Name of the job */ JobName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetJobVulnerabilitiesParams contains all the parameters to send to the API endpoint
for the get job vulnerabilities operation. Typically these are written to a http.Request.
func NewGetJobVulnerabilitiesParams ¶
func NewGetJobVulnerabilitiesParams() *GetJobVulnerabilitiesParams
NewGetJobVulnerabilitiesParams creates a new GetJobVulnerabilitiesParams 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 NewGetJobVulnerabilitiesParamsWithContext ¶
func NewGetJobVulnerabilitiesParamsWithContext(ctx context.Context) *GetJobVulnerabilitiesParams
NewGetJobVulnerabilitiesParamsWithContext creates a new GetJobVulnerabilitiesParams object with the ability to set a context for a request.
func NewGetJobVulnerabilitiesParamsWithHTTPClient ¶
func NewGetJobVulnerabilitiesParamsWithHTTPClient(client *http.Client) *GetJobVulnerabilitiesParams
NewGetJobVulnerabilitiesParamsWithHTTPClient creates a new GetJobVulnerabilitiesParams object with the ability to set a custom HTTPClient for a request.
func NewGetJobVulnerabilitiesParamsWithTimeout ¶
func NewGetJobVulnerabilitiesParamsWithTimeout(timeout time.Duration) *GetJobVulnerabilitiesParams
NewGetJobVulnerabilitiesParamsWithTimeout creates a new GetJobVulnerabilitiesParams object with the ability to set a timeout on a request.
func (*GetJobVulnerabilitiesParams) SetAppName ¶
func (o *GetJobVulnerabilitiesParams) SetAppName(appName string)
SetAppName adds the appName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) SetContext ¶
func (o *GetJobVulnerabilitiesParams) SetContext(ctx context.Context)
SetContext adds the context to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) SetDefaults ¶
func (o *GetJobVulnerabilitiesParams) SetDefaults()
SetDefaults hydrates default values in the get job vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobVulnerabilitiesParams) SetEnvName ¶
func (o *GetJobVulnerabilitiesParams) SetEnvName(envName string)
SetEnvName adds the envName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) SetHTTPClient ¶
func (o *GetJobVulnerabilitiesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) SetJobName ¶
func (o *GetJobVulnerabilitiesParams) SetJobName(jobName string)
SetJobName adds the jobName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) SetTimeout ¶
func (o *GetJobVulnerabilitiesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithAppName ¶
func (o *GetJobVulnerabilitiesParams) WithAppName(appName string) *GetJobVulnerabilitiesParams
WithAppName adds the appName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithContext ¶
func (o *GetJobVulnerabilitiesParams) WithContext(ctx context.Context) *GetJobVulnerabilitiesParams
WithContext adds the context to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithDefaults ¶
func (o *GetJobVulnerabilitiesParams) WithDefaults() *GetJobVulnerabilitiesParams
WithDefaults hydrates default values in the get job vulnerabilities params (not the query body).
All values with no default are reset to their zero value.
func (*GetJobVulnerabilitiesParams) WithEnvName ¶
func (o *GetJobVulnerabilitiesParams) WithEnvName(envName string) *GetJobVulnerabilitiesParams
WithEnvName adds the envName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithHTTPClient ¶
func (o *GetJobVulnerabilitiesParams) WithHTTPClient(client *http.Client) *GetJobVulnerabilitiesParams
WithHTTPClient adds the HTTPClient to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithJobName ¶
func (o *GetJobVulnerabilitiesParams) WithJobName(jobName string) *GetJobVulnerabilitiesParams
WithJobName adds the jobName to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WithTimeout ¶
func (o *GetJobVulnerabilitiesParams) WithTimeout(timeout time.Duration) *GetJobVulnerabilitiesParams
WithTimeout adds the timeout to the get job vulnerabilities params
func (*GetJobVulnerabilitiesParams) WriteToRequest ¶
func (o *GetJobVulnerabilitiesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetJobVulnerabilitiesReader ¶
type GetJobVulnerabilitiesReader struct {
// contains filtered or unexported fields
}
GetJobVulnerabilitiesReader is a Reader for the GetJobVulnerabilities structure.
func (*GetJobVulnerabilitiesReader) ReadResponse ¶
func (o *GetJobVulnerabilitiesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetJobVulnerabilitiesUnauthorized ¶
type GetJobVulnerabilitiesUnauthorized struct { }
GetJobVulnerabilitiesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetJobVulnerabilitiesUnauthorized ¶
func NewGetJobVulnerabilitiesUnauthorized() *GetJobVulnerabilitiesUnauthorized
NewGetJobVulnerabilitiesUnauthorized creates a GetJobVulnerabilitiesUnauthorized with default headers values
func (*GetJobVulnerabilitiesUnauthorized) Code ¶
func (o *GetJobVulnerabilitiesUnauthorized) Code() int
Code gets the status code for the get job vulnerabilities unauthorized response
func (*GetJobVulnerabilitiesUnauthorized) Error ¶
func (o *GetJobVulnerabilitiesUnauthorized) Error() string
func (*GetJobVulnerabilitiesUnauthorized) IsClientError ¶
func (o *GetJobVulnerabilitiesUnauthorized) IsClientError() bool
IsClientError returns true when this get job vulnerabilities unauthorized response has a 4xx status code
func (*GetJobVulnerabilitiesUnauthorized) IsCode ¶
func (o *GetJobVulnerabilitiesUnauthorized) IsCode(code int) bool
IsCode returns true when this get job vulnerabilities unauthorized response a status code equal to that given
func (*GetJobVulnerabilitiesUnauthorized) IsRedirect ¶
func (o *GetJobVulnerabilitiesUnauthorized) IsRedirect() bool
IsRedirect returns true when this get job vulnerabilities unauthorized response has a 3xx status code
func (*GetJobVulnerabilitiesUnauthorized) IsServerError ¶
func (o *GetJobVulnerabilitiesUnauthorized) IsServerError() bool
IsServerError returns true when this get job vulnerabilities unauthorized response has a 5xx status code
func (*GetJobVulnerabilitiesUnauthorized) IsSuccess ¶
func (o *GetJobVulnerabilitiesUnauthorized) IsSuccess() bool
IsSuccess returns true when this get job vulnerabilities unauthorized response has a 2xx status code
func (*GetJobVulnerabilitiesUnauthorized) String ¶
func (o *GetJobVulnerabilitiesUnauthorized) String() string
Source Files
¶
- get_application_vulnerability_summaries_parameters.go
- get_application_vulnerability_summaries_responses.go
- get_component_vulnerabilities_parameters.go
- get_component_vulnerabilities_responses.go
- get_environment_vulnerability_summary_parameters.go
- get_environment_vulnerability_summary_responses.go
- get_job_vulnerabilities_parameters.go
- get_job_vulnerabilities_responses.go
- vulnerability_client.go