Documentation ¶
Index ¶
- type API
- type Client
- type GetSystemCVEAllowlistInternalServerError
- func (o *GetSystemCVEAllowlistInternalServerError) Code() int
- func (o *GetSystemCVEAllowlistInternalServerError) Error() string
- func (o *GetSystemCVEAllowlistInternalServerError) GetPayload() *models.Errors
- func (o *GetSystemCVEAllowlistInternalServerError) IsClientError() bool
- func (o *GetSystemCVEAllowlistInternalServerError) IsCode(code int) bool
- func (o *GetSystemCVEAllowlistInternalServerError) IsRedirect() bool
- func (o *GetSystemCVEAllowlistInternalServerError) IsServerError() bool
- func (o *GetSystemCVEAllowlistInternalServerError) IsSuccess() bool
- func (o *GetSystemCVEAllowlistInternalServerError) String() string
- type GetSystemCVEAllowlistOK
- func (o *GetSystemCVEAllowlistOK) Code() int
- func (o *GetSystemCVEAllowlistOK) Error() string
- func (o *GetSystemCVEAllowlistOK) GetPayload() *models.CVEAllowlist
- func (o *GetSystemCVEAllowlistOK) IsClientError() bool
- func (o *GetSystemCVEAllowlistOK) IsCode(code int) bool
- func (o *GetSystemCVEAllowlistOK) IsRedirect() bool
- func (o *GetSystemCVEAllowlistOK) IsServerError() bool
- func (o *GetSystemCVEAllowlistOK) IsSuccess() bool
- func (o *GetSystemCVEAllowlistOK) String() string
- type GetSystemCVEAllowlistParams
- func NewGetSystemCVEAllowlistParams() *GetSystemCVEAllowlistParams
- func NewGetSystemCVEAllowlistParamsWithContext(ctx context.Context) *GetSystemCVEAllowlistParams
- func NewGetSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *GetSystemCVEAllowlistParams
- func NewGetSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) SetContext(ctx context.Context)
- func (o *GetSystemCVEAllowlistParams) SetDefaults()
- func (o *GetSystemCVEAllowlistParams) SetHTTPClient(client *http.Client)
- func (o *GetSystemCVEAllowlistParams) SetTimeout(timeout time.Duration)
- func (o *GetSystemCVEAllowlistParams) SetXRequestID(xRequestID *string)
- func (o *GetSystemCVEAllowlistParams) WithContext(ctx context.Context) *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) WithDefaults() *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) WithHTTPClient(client *http.Client) *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) WithTimeout(timeout time.Duration) *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) WithXRequestID(xRequestID *string) *GetSystemCVEAllowlistParams
- func (o *GetSystemCVEAllowlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSystemCVEAllowlistReader
- type GetSystemCVEAllowlistUnauthorized
- func (o *GetSystemCVEAllowlistUnauthorized) Code() int
- func (o *GetSystemCVEAllowlistUnauthorized) Error() string
- func (o *GetSystemCVEAllowlistUnauthorized) GetPayload() *models.Errors
- func (o *GetSystemCVEAllowlistUnauthorized) IsClientError() bool
- func (o *GetSystemCVEAllowlistUnauthorized) IsCode(code int) bool
- func (o *GetSystemCVEAllowlistUnauthorized) IsRedirect() bool
- func (o *GetSystemCVEAllowlistUnauthorized) IsServerError() bool
- func (o *GetSystemCVEAllowlistUnauthorized) IsSuccess() bool
- func (o *GetSystemCVEAllowlistUnauthorized) String() string
- type PutSystemCVEAllowlistForbidden
- func (o *PutSystemCVEAllowlistForbidden) Code() int
- func (o *PutSystemCVEAllowlistForbidden) Error() string
- func (o *PutSystemCVEAllowlistForbidden) GetPayload() *models.Errors
- func (o *PutSystemCVEAllowlistForbidden) IsClientError() bool
- func (o *PutSystemCVEAllowlistForbidden) IsCode(code int) bool
- func (o *PutSystemCVEAllowlistForbidden) IsRedirect() bool
- func (o *PutSystemCVEAllowlistForbidden) IsServerError() bool
- func (o *PutSystemCVEAllowlistForbidden) IsSuccess() bool
- func (o *PutSystemCVEAllowlistForbidden) String() string
- type PutSystemCVEAllowlistInternalServerError
- func (o *PutSystemCVEAllowlistInternalServerError) Code() int
- func (o *PutSystemCVEAllowlistInternalServerError) Error() string
- func (o *PutSystemCVEAllowlistInternalServerError) GetPayload() *models.Errors
- func (o *PutSystemCVEAllowlistInternalServerError) IsClientError() bool
- func (o *PutSystemCVEAllowlistInternalServerError) IsCode(code int) bool
- func (o *PutSystemCVEAllowlistInternalServerError) IsRedirect() bool
- func (o *PutSystemCVEAllowlistInternalServerError) IsServerError() bool
- func (o *PutSystemCVEAllowlistInternalServerError) IsSuccess() bool
- func (o *PutSystemCVEAllowlistInternalServerError) String() string
- type PutSystemCVEAllowlistOK
- func (o *PutSystemCVEAllowlistOK) Code() int
- func (o *PutSystemCVEAllowlistOK) Error() string
- func (o *PutSystemCVEAllowlistOK) IsClientError() bool
- func (o *PutSystemCVEAllowlistOK) IsCode(code int) bool
- func (o *PutSystemCVEAllowlistOK) IsRedirect() bool
- func (o *PutSystemCVEAllowlistOK) IsServerError() bool
- func (o *PutSystemCVEAllowlistOK) IsSuccess() bool
- func (o *PutSystemCVEAllowlistOK) String() string
- type PutSystemCVEAllowlistParams
- func NewPutSystemCVEAllowlistParams() *PutSystemCVEAllowlistParams
- func NewPutSystemCVEAllowlistParamsWithContext(ctx context.Context) *PutSystemCVEAllowlistParams
- func NewPutSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *PutSystemCVEAllowlistParams
- func NewPutSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) SetAllowlist(allowlist *models.CVEAllowlist)
- func (o *PutSystemCVEAllowlistParams) SetContext(ctx context.Context)
- func (o *PutSystemCVEAllowlistParams) SetDefaults()
- func (o *PutSystemCVEAllowlistParams) SetHTTPClient(client *http.Client)
- func (o *PutSystemCVEAllowlistParams) SetTimeout(timeout time.Duration)
- func (o *PutSystemCVEAllowlistParams) SetXRequestID(xRequestID *string)
- func (o *PutSystemCVEAllowlistParams) WithAllowlist(allowlist *models.CVEAllowlist) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WithContext(ctx context.Context) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WithDefaults() *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WithHTTPClient(client *http.Client) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WithTimeout(timeout time.Duration) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WithXRequestID(xRequestID *string) *PutSystemCVEAllowlistParams
- func (o *PutSystemCVEAllowlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutSystemCVEAllowlistReader
- type PutSystemCVEAllowlistUnauthorized
- func (o *PutSystemCVEAllowlistUnauthorized) Code() int
- func (o *PutSystemCVEAllowlistUnauthorized) Error() string
- func (o *PutSystemCVEAllowlistUnauthorized) GetPayload() *models.Errors
- func (o *PutSystemCVEAllowlistUnauthorized) IsClientError() bool
- func (o *PutSystemCVEAllowlistUnauthorized) IsCode(code int) bool
- func (o *PutSystemCVEAllowlistUnauthorized) IsRedirect() bool
- func (o *PutSystemCVEAllowlistUnauthorized) IsServerError() bool
- func (o *PutSystemCVEAllowlistUnauthorized) IsSuccess() bool
- func (o *PutSystemCVEAllowlistUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* GetSystemCVEAllowlist gets the system level allowlist of CVE Get the system level allowlist of CVE. This API can be called by all authenticated users.*/ GetSystemCVEAllowlist(ctx context.Context, params *GetSystemCVEAllowlistParams) (*GetSystemCVEAllowlistOK, error) /* PutSystemCVEAllowlist updates the system level allowlist of CVE This API overwrites the system level allowlist of CVE with the list in request body. Only system Admin has permission to call this API.*/ PutSystemCVEAllowlist(ctx context.Context, params *PutSystemCVEAllowlistParams) (*PutSystemCVEAllowlistOK, error) }
API is the interface of the system cve allowlist client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for system cve allowlist API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new system cve allowlist API client.
func (*Client) GetSystemCVEAllowlist ¶
func (a *Client) GetSystemCVEAllowlist(ctx context.Context, params *GetSystemCVEAllowlistParams) (*GetSystemCVEAllowlistOK, error)
GetSystemCVEAllowlist gets the system level allowlist of CVE
Get the system level allowlist of CVE. This API can be called by all authenticated users.
func (*Client) PutSystemCVEAllowlist ¶
func (a *Client) PutSystemCVEAllowlist(ctx context.Context, params *PutSystemCVEAllowlistParams) (*PutSystemCVEAllowlistOK, error)
PutSystemCVEAllowlist updates the system level allowlist of CVE
This API overwrites the system level allowlist of CVE with the list in request body. Only system Admin has permission to call this API.
type GetSystemCVEAllowlistInternalServerError ¶
type GetSystemCVEAllowlistInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
GetSystemCVEAllowlistInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetSystemCVEAllowlistInternalServerError ¶
func NewGetSystemCVEAllowlistInternalServerError() *GetSystemCVEAllowlistInternalServerError
NewGetSystemCVEAllowlistInternalServerError creates a GetSystemCVEAllowlistInternalServerError with default headers values
func (*GetSystemCVEAllowlistInternalServerError) Code ¶
func (o *GetSystemCVEAllowlistInternalServerError) Code() int
Code gets the status code for the get system Cve allowlist internal server error response
func (*GetSystemCVEAllowlistInternalServerError) Error ¶
func (o *GetSystemCVEAllowlistInternalServerError) Error() string
func (*GetSystemCVEAllowlistInternalServerError) GetPayload ¶
func (o *GetSystemCVEAllowlistInternalServerError) GetPayload() *models.Errors
func (*GetSystemCVEAllowlistInternalServerError) IsClientError ¶
func (o *GetSystemCVEAllowlistInternalServerError) IsClientError() bool
IsClientError returns true when this get system Cve allowlist internal server error response has a 4xx status code
func (*GetSystemCVEAllowlistInternalServerError) IsCode ¶
func (o *GetSystemCVEAllowlistInternalServerError) IsCode(code int) bool
IsCode returns true when this get system Cve allowlist internal server error response a status code equal to that given
func (*GetSystemCVEAllowlistInternalServerError) IsRedirect ¶
func (o *GetSystemCVEAllowlistInternalServerError) IsRedirect() bool
IsRedirect returns true when this get system Cve allowlist internal server error response has a 3xx status code
func (*GetSystemCVEAllowlistInternalServerError) IsServerError ¶
func (o *GetSystemCVEAllowlistInternalServerError) IsServerError() bool
IsServerError returns true when this get system Cve allowlist internal server error response has a 5xx status code
func (*GetSystemCVEAllowlistInternalServerError) IsSuccess ¶
func (o *GetSystemCVEAllowlistInternalServerError) IsSuccess() bool
IsSuccess returns true when this get system Cve allowlist internal server error response has a 2xx status code
func (*GetSystemCVEAllowlistInternalServerError) String ¶
func (o *GetSystemCVEAllowlistInternalServerError) String() string
type GetSystemCVEAllowlistOK ¶
type GetSystemCVEAllowlistOK struct {
Payload *models.CVEAllowlist
}
GetSystemCVEAllowlistOK describes a response with status code 200, with default header values.
Successfully retrieved the CVE allowlist.
func NewGetSystemCVEAllowlistOK ¶
func NewGetSystemCVEAllowlistOK() *GetSystemCVEAllowlistOK
NewGetSystemCVEAllowlistOK creates a GetSystemCVEAllowlistOK with default headers values
func (*GetSystemCVEAllowlistOK) Code ¶
func (o *GetSystemCVEAllowlistOK) Code() int
Code gets the status code for the get system Cve allowlist o k response
func (*GetSystemCVEAllowlistOK) Error ¶
func (o *GetSystemCVEAllowlistOK) Error() string
func (*GetSystemCVEAllowlistOK) GetPayload ¶
func (o *GetSystemCVEAllowlistOK) GetPayload() *models.CVEAllowlist
func (*GetSystemCVEAllowlistOK) IsClientError ¶
func (o *GetSystemCVEAllowlistOK) IsClientError() bool
IsClientError returns true when this get system Cve allowlist o k response has a 4xx status code
func (*GetSystemCVEAllowlistOK) IsCode ¶
func (o *GetSystemCVEAllowlistOK) IsCode(code int) bool
IsCode returns true when this get system Cve allowlist o k response a status code equal to that given
func (*GetSystemCVEAllowlistOK) IsRedirect ¶
func (o *GetSystemCVEAllowlistOK) IsRedirect() bool
IsRedirect returns true when this get system Cve allowlist o k response has a 3xx status code
func (*GetSystemCVEAllowlistOK) IsServerError ¶
func (o *GetSystemCVEAllowlistOK) IsServerError() bool
IsServerError returns true when this get system Cve allowlist o k response has a 5xx status code
func (*GetSystemCVEAllowlistOK) IsSuccess ¶
func (o *GetSystemCVEAllowlistOK) IsSuccess() bool
IsSuccess returns true when this get system Cve allowlist o k response has a 2xx status code
func (*GetSystemCVEAllowlistOK) String ¶
func (o *GetSystemCVEAllowlistOK) String() string
type GetSystemCVEAllowlistParams ¶
type GetSystemCVEAllowlistParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
GetSystemCVEAllowlistParams contains all the parameters to send to the API endpoint
for the get system CVE allowlist operation. Typically these are written to a http.Request.
func NewGetSystemCVEAllowlistParams ¶
func NewGetSystemCVEAllowlistParams() *GetSystemCVEAllowlistParams
NewGetSystemCVEAllowlistParams creates a new GetSystemCVEAllowlistParams 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 NewGetSystemCVEAllowlistParamsWithContext ¶
func NewGetSystemCVEAllowlistParamsWithContext(ctx context.Context) *GetSystemCVEAllowlistParams
NewGetSystemCVEAllowlistParamsWithContext creates a new GetSystemCVEAllowlistParams object with the ability to set a context for a request.
func NewGetSystemCVEAllowlistParamsWithHTTPClient ¶
func NewGetSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *GetSystemCVEAllowlistParams
NewGetSystemCVEAllowlistParamsWithHTTPClient creates a new GetSystemCVEAllowlistParams object with the ability to set a custom HTTPClient for a request.
func NewGetSystemCVEAllowlistParamsWithTimeout ¶
func NewGetSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *GetSystemCVEAllowlistParams
NewGetSystemCVEAllowlistParamsWithTimeout creates a new GetSystemCVEAllowlistParams object with the ability to set a timeout on a request.
func (*GetSystemCVEAllowlistParams) SetContext ¶
func (o *GetSystemCVEAllowlistParams) SetContext(ctx context.Context)
SetContext adds the context to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) SetDefaults ¶
func (o *GetSystemCVEAllowlistParams) SetDefaults()
SetDefaults hydrates default values in the get system CVE allowlist params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemCVEAllowlistParams) SetHTTPClient ¶
func (o *GetSystemCVEAllowlistParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) SetTimeout ¶
func (o *GetSystemCVEAllowlistParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) SetXRequestID ¶
func (o *GetSystemCVEAllowlistParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) WithContext ¶
func (o *GetSystemCVEAllowlistParams) WithContext(ctx context.Context) *GetSystemCVEAllowlistParams
WithContext adds the context to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) WithDefaults ¶
func (o *GetSystemCVEAllowlistParams) WithDefaults() *GetSystemCVEAllowlistParams
WithDefaults hydrates default values in the get system CVE allowlist params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemCVEAllowlistParams) WithHTTPClient ¶
func (o *GetSystemCVEAllowlistParams) WithHTTPClient(client *http.Client) *GetSystemCVEAllowlistParams
WithHTTPClient adds the HTTPClient to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) WithTimeout ¶
func (o *GetSystemCVEAllowlistParams) WithTimeout(timeout time.Duration) *GetSystemCVEAllowlistParams
WithTimeout adds the timeout to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) WithXRequestID ¶
func (o *GetSystemCVEAllowlistParams) WithXRequestID(xRequestID *string) *GetSystemCVEAllowlistParams
WithXRequestID adds the xRequestID to the get system CVE allowlist params
func (*GetSystemCVEAllowlistParams) WriteToRequest ¶
func (o *GetSystemCVEAllowlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSystemCVEAllowlistReader ¶
type GetSystemCVEAllowlistReader struct {
// contains filtered or unexported fields
}
GetSystemCVEAllowlistReader is a Reader for the GetSystemCVEAllowlist structure.
func (*GetSystemCVEAllowlistReader) ReadResponse ¶
func (o *GetSystemCVEAllowlistReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSystemCVEAllowlistUnauthorized ¶
type GetSystemCVEAllowlistUnauthorized struct { string }XRequestID
GetSystemCVEAllowlistUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetSystemCVEAllowlistUnauthorized ¶
func NewGetSystemCVEAllowlistUnauthorized() *GetSystemCVEAllowlistUnauthorized
NewGetSystemCVEAllowlistUnauthorized creates a GetSystemCVEAllowlistUnauthorized with default headers values
func (*GetSystemCVEAllowlistUnauthorized) Code ¶
func (o *GetSystemCVEAllowlistUnauthorized) Code() int
Code gets the status code for the get system Cve allowlist unauthorized response
func (*GetSystemCVEAllowlistUnauthorized) Error ¶
func (o *GetSystemCVEAllowlistUnauthorized) Error() string
func (*GetSystemCVEAllowlistUnauthorized) GetPayload ¶
func (o *GetSystemCVEAllowlistUnauthorized) GetPayload() *models.Errors
func (*GetSystemCVEAllowlistUnauthorized) IsClientError ¶
func (o *GetSystemCVEAllowlistUnauthorized) IsClientError() bool
IsClientError returns true when this get system Cve allowlist unauthorized response has a 4xx status code
func (*GetSystemCVEAllowlistUnauthorized) IsCode ¶
func (o *GetSystemCVEAllowlistUnauthorized) IsCode(code int) bool
IsCode returns true when this get system Cve allowlist unauthorized response a status code equal to that given
func (*GetSystemCVEAllowlistUnauthorized) IsRedirect ¶
func (o *GetSystemCVEAllowlistUnauthorized) IsRedirect() bool
IsRedirect returns true when this get system Cve allowlist unauthorized response has a 3xx status code
func (*GetSystemCVEAllowlistUnauthorized) IsServerError ¶
func (o *GetSystemCVEAllowlistUnauthorized) IsServerError() bool
IsServerError returns true when this get system Cve allowlist unauthorized response has a 5xx status code
func (*GetSystemCVEAllowlistUnauthorized) IsSuccess ¶
func (o *GetSystemCVEAllowlistUnauthorized) IsSuccess() bool
IsSuccess returns true when this get system Cve allowlist unauthorized response has a 2xx status code
func (*GetSystemCVEAllowlistUnauthorized) String ¶
func (o *GetSystemCVEAllowlistUnauthorized) String() string
type PutSystemCVEAllowlistForbidden ¶
type PutSystemCVEAllowlistForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
PutSystemCVEAllowlistForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPutSystemCVEAllowlistForbidden ¶
func NewPutSystemCVEAllowlistForbidden() *PutSystemCVEAllowlistForbidden
NewPutSystemCVEAllowlistForbidden creates a PutSystemCVEAllowlistForbidden with default headers values
func (*PutSystemCVEAllowlistForbidden) Code ¶
func (o *PutSystemCVEAllowlistForbidden) Code() int
Code gets the status code for the put system Cve allowlist forbidden response
func (*PutSystemCVEAllowlistForbidden) Error ¶
func (o *PutSystemCVEAllowlistForbidden) Error() string
func (*PutSystemCVEAllowlistForbidden) GetPayload ¶
func (o *PutSystemCVEAllowlistForbidden) GetPayload() *models.Errors
func (*PutSystemCVEAllowlistForbidden) IsClientError ¶
func (o *PutSystemCVEAllowlistForbidden) IsClientError() bool
IsClientError returns true when this put system Cve allowlist forbidden response has a 4xx status code
func (*PutSystemCVEAllowlistForbidden) IsCode ¶
func (o *PutSystemCVEAllowlistForbidden) IsCode(code int) bool
IsCode returns true when this put system Cve allowlist forbidden response a status code equal to that given
func (*PutSystemCVEAllowlistForbidden) IsRedirect ¶
func (o *PutSystemCVEAllowlistForbidden) IsRedirect() bool
IsRedirect returns true when this put system Cve allowlist forbidden response has a 3xx status code
func (*PutSystemCVEAllowlistForbidden) IsServerError ¶
func (o *PutSystemCVEAllowlistForbidden) IsServerError() bool
IsServerError returns true when this put system Cve allowlist forbidden response has a 5xx status code
func (*PutSystemCVEAllowlistForbidden) IsSuccess ¶
func (o *PutSystemCVEAllowlistForbidden) IsSuccess() bool
IsSuccess returns true when this put system Cve allowlist forbidden response has a 2xx status code
func (*PutSystemCVEAllowlistForbidden) String ¶
func (o *PutSystemCVEAllowlistForbidden) String() string
type PutSystemCVEAllowlistInternalServerError ¶
type PutSystemCVEAllowlistInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *models.Errors }
PutSystemCVEAllowlistInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPutSystemCVEAllowlistInternalServerError ¶
func NewPutSystemCVEAllowlistInternalServerError() *PutSystemCVEAllowlistInternalServerError
NewPutSystemCVEAllowlistInternalServerError creates a PutSystemCVEAllowlistInternalServerError with default headers values
func (*PutSystemCVEAllowlistInternalServerError) Code ¶
func (o *PutSystemCVEAllowlistInternalServerError) Code() int
Code gets the status code for the put system Cve allowlist internal server error response
func (*PutSystemCVEAllowlistInternalServerError) Error ¶
func (o *PutSystemCVEAllowlistInternalServerError) Error() string
func (*PutSystemCVEAllowlistInternalServerError) GetPayload ¶
func (o *PutSystemCVEAllowlistInternalServerError) GetPayload() *models.Errors
func (*PutSystemCVEAllowlistInternalServerError) IsClientError ¶
func (o *PutSystemCVEAllowlistInternalServerError) IsClientError() bool
IsClientError returns true when this put system Cve allowlist internal server error response has a 4xx status code
func (*PutSystemCVEAllowlistInternalServerError) IsCode ¶
func (o *PutSystemCVEAllowlistInternalServerError) IsCode(code int) bool
IsCode returns true when this put system Cve allowlist internal server error response a status code equal to that given
func (*PutSystemCVEAllowlistInternalServerError) IsRedirect ¶
func (o *PutSystemCVEAllowlistInternalServerError) IsRedirect() bool
IsRedirect returns true when this put system Cve allowlist internal server error response has a 3xx status code
func (*PutSystemCVEAllowlistInternalServerError) IsServerError ¶
func (o *PutSystemCVEAllowlistInternalServerError) IsServerError() bool
IsServerError returns true when this put system Cve allowlist internal server error response has a 5xx status code
func (*PutSystemCVEAllowlistInternalServerError) IsSuccess ¶
func (o *PutSystemCVEAllowlistInternalServerError) IsSuccess() bool
IsSuccess returns true when this put system Cve allowlist internal server error response has a 2xx status code
func (*PutSystemCVEAllowlistInternalServerError) String ¶
func (o *PutSystemCVEAllowlistInternalServerError) String() string
type PutSystemCVEAllowlistOK ¶
type PutSystemCVEAllowlistOK struct { }
PutSystemCVEAllowlistOK describes a response with status code 200, with default header values.
Successfully updated the CVE allowlist.
func NewPutSystemCVEAllowlistOK ¶
func NewPutSystemCVEAllowlistOK() *PutSystemCVEAllowlistOK
NewPutSystemCVEAllowlistOK creates a PutSystemCVEAllowlistOK with default headers values
func (*PutSystemCVEAllowlistOK) Code ¶
func (o *PutSystemCVEAllowlistOK) Code() int
Code gets the status code for the put system Cve allowlist o k response
func (*PutSystemCVEAllowlistOK) Error ¶
func (o *PutSystemCVEAllowlistOK) Error() string
func (*PutSystemCVEAllowlistOK) IsClientError ¶
func (o *PutSystemCVEAllowlistOK) IsClientError() bool
IsClientError returns true when this put system Cve allowlist o k response has a 4xx status code
func (*PutSystemCVEAllowlistOK) IsCode ¶
func (o *PutSystemCVEAllowlistOK) IsCode(code int) bool
IsCode returns true when this put system Cve allowlist o k response a status code equal to that given
func (*PutSystemCVEAllowlistOK) IsRedirect ¶
func (o *PutSystemCVEAllowlistOK) IsRedirect() bool
IsRedirect returns true when this put system Cve allowlist o k response has a 3xx status code
func (*PutSystemCVEAllowlistOK) IsServerError ¶
func (o *PutSystemCVEAllowlistOK) IsServerError() bool
IsServerError returns true when this put system Cve allowlist o k response has a 5xx status code
func (*PutSystemCVEAllowlistOK) IsSuccess ¶
func (o *PutSystemCVEAllowlistOK) IsSuccess() bool
IsSuccess returns true when this put system Cve allowlist o k response has a 2xx status code
func (*PutSystemCVEAllowlistOK) String ¶
func (o *PutSystemCVEAllowlistOK) String() string
type PutSystemCVEAllowlistParams ¶
type PutSystemCVEAllowlistParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string `js:"xRequestID"` /* Allowlist. The allowlist with new content */ Allowlist *models.CVEAllowlist `js:"allowlist"` Context context.Context `js:"context"` HTTPClient *http.Client `js:"httpClient"` // contains filtered or unexported fields }
PutSystemCVEAllowlistParams contains all the parameters to send to the API endpoint
for the put system CVE allowlist operation. Typically these are written to a http.Request.
func NewPutSystemCVEAllowlistParams ¶
func NewPutSystemCVEAllowlistParams() *PutSystemCVEAllowlistParams
NewPutSystemCVEAllowlistParams creates a new PutSystemCVEAllowlistParams 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 NewPutSystemCVEAllowlistParamsWithContext ¶
func NewPutSystemCVEAllowlistParamsWithContext(ctx context.Context) *PutSystemCVEAllowlistParams
NewPutSystemCVEAllowlistParamsWithContext creates a new PutSystemCVEAllowlistParams object with the ability to set a context for a request.
func NewPutSystemCVEAllowlistParamsWithHTTPClient ¶
func NewPutSystemCVEAllowlistParamsWithHTTPClient(client *http.Client) *PutSystemCVEAllowlistParams
NewPutSystemCVEAllowlistParamsWithHTTPClient creates a new PutSystemCVEAllowlistParams object with the ability to set a custom HTTPClient for a request.
func NewPutSystemCVEAllowlistParamsWithTimeout ¶
func NewPutSystemCVEAllowlistParamsWithTimeout(timeout time.Duration) *PutSystemCVEAllowlistParams
NewPutSystemCVEAllowlistParamsWithTimeout creates a new PutSystemCVEAllowlistParams object with the ability to set a timeout on a request.
func (*PutSystemCVEAllowlistParams) SetAllowlist ¶
func (o *PutSystemCVEAllowlistParams) SetAllowlist(allowlist *models.CVEAllowlist)
SetAllowlist adds the allowlist to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) SetContext ¶
func (o *PutSystemCVEAllowlistParams) SetContext(ctx context.Context)
SetContext adds the context to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) SetDefaults ¶
func (o *PutSystemCVEAllowlistParams) SetDefaults()
SetDefaults hydrates default values in the put system CVE allowlist params (not the query body).
All values with no default are reset to their zero value.
func (*PutSystemCVEAllowlistParams) SetHTTPClient ¶
func (o *PutSystemCVEAllowlistParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) SetTimeout ¶
func (o *PutSystemCVEAllowlistParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) SetXRequestID ¶
func (o *PutSystemCVEAllowlistParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WithAllowlist ¶
func (o *PutSystemCVEAllowlistParams) WithAllowlist(allowlist *models.CVEAllowlist) *PutSystemCVEAllowlistParams
WithAllowlist adds the allowlist to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WithContext ¶
func (o *PutSystemCVEAllowlistParams) WithContext(ctx context.Context) *PutSystemCVEAllowlistParams
WithContext adds the context to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WithDefaults ¶
func (o *PutSystemCVEAllowlistParams) WithDefaults() *PutSystemCVEAllowlistParams
WithDefaults hydrates default values in the put system CVE allowlist params (not the query body).
All values with no default are reset to their zero value.
func (*PutSystemCVEAllowlistParams) WithHTTPClient ¶
func (o *PutSystemCVEAllowlistParams) WithHTTPClient(client *http.Client) *PutSystemCVEAllowlistParams
WithHTTPClient adds the HTTPClient to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WithTimeout ¶
func (o *PutSystemCVEAllowlistParams) WithTimeout(timeout time.Duration) *PutSystemCVEAllowlistParams
WithTimeout adds the timeout to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WithXRequestID ¶
func (o *PutSystemCVEAllowlistParams) WithXRequestID(xRequestID *string) *PutSystemCVEAllowlistParams
WithXRequestID adds the xRequestID to the put system CVE allowlist params
func (*PutSystemCVEAllowlistParams) WriteToRequest ¶
func (o *PutSystemCVEAllowlistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutSystemCVEAllowlistReader ¶
type PutSystemCVEAllowlistReader struct {
// contains filtered or unexported fields
}
PutSystemCVEAllowlistReader is a Reader for the PutSystemCVEAllowlist structure.
func (*PutSystemCVEAllowlistReader) ReadResponse ¶
func (o *PutSystemCVEAllowlistReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutSystemCVEAllowlistUnauthorized ¶
type PutSystemCVEAllowlistUnauthorized struct { string }XRequestID
PutSystemCVEAllowlistUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPutSystemCVEAllowlistUnauthorized ¶
func NewPutSystemCVEAllowlistUnauthorized() *PutSystemCVEAllowlistUnauthorized
NewPutSystemCVEAllowlistUnauthorized creates a PutSystemCVEAllowlistUnauthorized with default headers values
func (*PutSystemCVEAllowlistUnauthorized) Code ¶
func (o *PutSystemCVEAllowlistUnauthorized) Code() int
Code gets the status code for the put system Cve allowlist unauthorized response
func (*PutSystemCVEAllowlistUnauthorized) Error ¶
func (o *PutSystemCVEAllowlistUnauthorized) Error() string
func (*PutSystemCVEAllowlistUnauthorized) GetPayload ¶
func (o *PutSystemCVEAllowlistUnauthorized) GetPayload() *models.Errors
func (*PutSystemCVEAllowlistUnauthorized) IsClientError ¶
func (o *PutSystemCVEAllowlistUnauthorized) IsClientError() bool
IsClientError returns true when this put system Cve allowlist unauthorized response has a 4xx status code
func (*PutSystemCVEAllowlistUnauthorized) IsCode ¶
func (o *PutSystemCVEAllowlistUnauthorized) IsCode(code int) bool
IsCode returns true when this put system Cve allowlist unauthorized response a status code equal to that given
func (*PutSystemCVEAllowlistUnauthorized) IsRedirect ¶
func (o *PutSystemCVEAllowlistUnauthorized) IsRedirect() bool
IsRedirect returns true when this put system Cve allowlist unauthorized response has a 3xx status code
func (*PutSystemCVEAllowlistUnauthorized) IsServerError ¶
func (o *PutSystemCVEAllowlistUnauthorized) IsServerError() bool
IsServerError returns true when this put system Cve allowlist unauthorized response has a 5xx status code
func (*PutSystemCVEAllowlistUnauthorized) IsSuccess ¶
func (o *PutSystemCVEAllowlistUnauthorized) IsSuccess() bool
IsSuccess returns true when this put system Cve allowlist unauthorized response has a 2xx status code
func (*PutSystemCVEAllowlistUnauthorized) String ¶
func (o *PutSystemCVEAllowlistUnauthorized) String() string