Documentation ¶
Index ¶
- type Client
- func (a *Client) GetLibraryUsingGET(params *GetLibraryUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetLibraryUsingGETOK, error)
- func (a *Client) GetLicenseUsingGET(params *GetLicenseUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetLicenseUsingGETOK, error)
- func (a *Client) GetVulnerabilityUsingGET(params *GetVulnerabilityUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetVulnerabilityUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetLibraryUsingGETOK
- type GetLibraryUsingGETParams
- func NewGetLibraryUsingGETParams() *GetLibraryUsingGETParams
- func NewGetLibraryUsingGETParamsWithContext(ctx context.Context) *GetLibraryUsingGETParams
- func NewGetLibraryUsingGETParamsWithHTTPClient(client *http.Client) *GetLibraryUsingGETParams
- func NewGetLibraryUsingGETParamsWithTimeout(timeout time.Duration) *GetLibraryUsingGETParams
- func (o *GetLibraryUsingGETParams) SetContext(ctx context.Context)
- func (o *GetLibraryUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetLibraryUsingGETParams) SetID(id string)
- func (o *GetLibraryUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetLibraryUsingGETParams) WithContext(ctx context.Context) *GetLibraryUsingGETParams
- func (o *GetLibraryUsingGETParams) WithHTTPClient(client *http.Client) *GetLibraryUsingGETParams
- func (o *GetLibraryUsingGETParams) WithID(id string) *GetLibraryUsingGETParams
- func (o *GetLibraryUsingGETParams) WithTimeout(timeout time.Duration) *GetLibraryUsingGETParams
- func (o *GetLibraryUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLibraryUsingGETReader
- type GetLicenseUsingGETOK
- type GetLicenseUsingGETParams
- func NewGetLicenseUsingGETParams() *GetLicenseUsingGETParams
- func NewGetLicenseUsingGETParamsWithContext(ctx context.Context) *GetLicenseUsingGETParams
- func NewGetLicenseUsingGETParamsWithHTTPClient(client *http.Client) *GetLicenseUsingGETParams
- func NewGetLicenseUsingGETParamsWithTimeout(timeout time.Duration) *GetLicenseUsingGETParams
- func (o *GetLicenseUsingGETParams) SetContext(ctx context.Context)
- func (o *GetLicenseUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetLicenseUsingGETParams) SetID(id string)
- func (o *GetLicenseUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetLicenseUsingGETParams) WithContext(ctx context.Context) *GetLicenseUsingGETParams
- func (o *GetLicenseUsingGETParams) WithHTTPClient(client *http.Client) *GetLicenseUsingGETParams
- func (o *GetLicenseUsingGETParams) WithID(id string) *GetLicenseUsingGETParams
- func (o *GetLicenseUsingGETParams) WithTimeout(timeout time.Duration) *GetLicenseUsingGETParams
- func (o *GetLicenseUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetLicenseUsingGETReader
- type GetVulnerabilityUsingGETOK
- type GetVulnerabilityUsingGETParams
- func NewGetVulnerabilityUsingGETParams() *GetVulnerabilityUsingGETParams
- func NewGetVulnerabilityUsingGETParamsWithContext(ctx context.Context) *GetVulnerabilityUsingGETParams
- func NewGetVulnerabilityUsingGETParamsWithHTTPClient(client *http.Client) *GetVulnerabilityUsingGETParams
- func NewGetVulnerabilityUsingGETParamsWithTimeout(timeout time.Duration) *GetVulnerabilityUsingGETParams
- func (o *GetVulnerabilityUsingGETParams) SetContext(ctx context.Context)
- func (o *GetVulnerabilityUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetVulnerabilityUsingGETParams) SetID(id string)
- func (o *GetVulnerabilityUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetVulnerabilityUsingGETParams) WithContext(ctx context.Context) *GetVulnerabilityUsingGETParams
- func (o *GetVulnerabilityUsingGETParams) WithHTTPClient(client *http.Client) *GetVulnerabilityUsingGETParams
- func (o *GetVulnerabilityUsingGETParams) WithID(id string) *GetVulnerabilityUsingGETParams
- func (o *GetVulnerabilityUsingGETParams) WithTimeout(timeout time.Duration) *GetVulnerabilityUsingGETParams
- func (o *GetVulnerabilityUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVulnerabilityUsingGETReader
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 registry API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new registry API client.
func (*Client) GetLibraryUsingGET ¶
func (a *Client) GetLibraryUsingGET(params *GetLibraryUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetLibraryUsingGETOK, error)
GetLibraryUsingGET gets library
func (*Client) GetLicenseUsingGET ¶
func (a *Client) GetLicenseUsingGET(params *GetLicenseUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetLicenseUsingGETOK, error)
GetLicenseUsingGET gets license
func (*Client) GetVulnerabilityUsingGET ¶
func (a *Client) GetVulnerabilityUsingGET(params *GetVulnerabilityUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetVulnerabilityUsingGETOK, error)
GetVulnerabilityUsingGET gets vulnerability
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetLibraryUsingGETOK ¶
GetLibraryUsingGETOK handles this case with default header values.
OK
func NewGetLibraryUsingGETOK ¶
func NewGetLibraryUsingGETOK() *GetLibraryUsingGETOK
NewGetLibraryUsingGETOK creates a GetLibraryUsingGETOK with default headers values
func (*GetLibraryUsingGETOK) Error ¶
func (o *GetLibraryUsingGETOK) Error() string
type GetLibraryUsingGETParams ¶
type GetLibraryUsingGETParams struct { /*ID id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLibraryUsingGETParams contains all the parameters to send to the API endpoint for the get library using g e t operation typically these are written to a http.Request
func NewGetLibraryUsingGETParams ¶
func NewGetLibraryUsingGETParams() *GetLibraryUsingGETParams
NewGetLibraryUsingGETParams creates a new GetLibraryUsingGETParams object with the default values initialized.
func NewGetLibraryUsingGETParamsWithContext ¶
func NewGetLibraryUsingGETParamsWithContext(ctx context.Context) *GetLibraryUsingGETParams
NewGetLibraryUsingGETParamsWithContext creates a new GetLibraryUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetLibraryUsingGETParamsWithHTTPClient ¶
func NewGetLibraryUsingGETParamsWithHTTPClient(client *http.Client) *GetLibraryUsingGETParams
NewGetLibraryUsingGETParamsWithHTTPClient creates a new GetLibraryUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLibraryUsingGETParamsWithTimeout ¶
func NewGetLibraryUsingGETParamsWithTimeout(timeout time.Duration) *GetLibraryUsingGETParams
NewGetLibraryUsingGETParamsWithTimeout creates a new GetLibraryUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLibraryUsingGETParams) SetContext ¶
func (o *GetLibraryUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get library using g e t params
func (*GetLibraryUsingGETParams) SetHTTPClient ¶
func (o *GetLibraryUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get library using g e t params
func (*GetLibraryUsingGETParams) SetID ¶
func (o *GetLibraryUsingGETParams) SetID(id string)
SetID adds the id to the get library using g e t params
func (*GetLibraryUsingGETParams) SetTimeout ¶
func (o *GetLibraryUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get library using g e t params
func (*GetLibraryUsingGETParams) WithContext ¶
func (o *GetLibraryUsingGETParams) WithContext(ctx context.Context) *GetLibraryUsingGETParams
WithContext adds the context to the get library using g e t params
func (*GetLibraryUsingGETParams) WithHTTPClient ¶
func (o *GetLibraryUsingGETParams) WithHTTPClient(client *http.Client) *GetLibraryUsingGETParams
WithHTTPClient adds the HTTPClient to the get library using g e t params
func (*GetLibraryUsingGETParams) WithID ¶
func (o *GetLibraryUsingGETParams) WithID(id string) *GetLibraryUsingGETParams
WithID adds the id to the get library using g e t params
func (*GetLibraryUsingGETParams) WithTimeout ¶
func (o *GetLibraryUsingGETParams) WithTimeout(timeout time.Duration) *GetLibraryUsingGETParams
WithTimeout adds the timeout to the get library using g e t params
func (*GetLibraryUsingGETParams) WriteToRequest ¶
func (o *GetLibraryUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLibraryUsingGETReader ¶
type GetLibraryUsingGETReader struct {
// contains filtered or unexported fields
}
GetLibraryUsingGETReader is a Reader for the GetLibraryUsingGET structure.
func (*GetLibraryUsingGETReader) ReadResponse ¶
func (o *GetLibraryUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetLicenseUsingGETOK ¶
GetLicenseUsingGETOK handles this case with default header values.
OK
func NewGetLicenseUsingGETOK ¶
func NewGetLicenseUsingGETOK() *GetLicenseUsingGETOK
NewGetLicenseUsingGETOK creates a GetLicenseUsingGETOK with default headers values
func (*GetLicenseUsingGETOK) Error ¶
func (o *GetLicenseUsingGETOK) Error() string
type GetLicenseUsingGETParams ¶
type GetLicenseUsingGETParams struct { /*ID id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetLicenseUsingGETParams contains all the parameters to send to the API endpoint for the get license using g e t operation typically these are written to a http.Request
func NewGetLicenseUsingGETParams ¶
func NewGetLicenseUsingGETParams() *GetLicenseUsingGETParams
NewGetLicenseUsingGETParams creates a new GetLicenseUsingGETParams object with the default values initialized.
func NewGetLicenseUsingGETParamsWithContext ¶
func NewGetLicenseUsingGETParamsWithContext(ctx context.Context) *GetLicenseUsingGETParams
NewGetLicenseUsingGETParamsWithContext creates a new GetLicenseUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetLicenseUsingGETParamsWithHTTPClient ¶
func NewGetLicenseUsingGETParamsWithHTTPClient(client *http.Client) *GetLicenseUsingGETParams
NewGetLicenseUsingGETParamsWithHTTPClient creates a new GetLicenseUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetLicenseUsingGETParamsWithTimeout ¶
func NewGetLicenseUsingGETParamsWithTimeout(timeout time.Duration) *GetLicenseUsingGETParams
NewGetLicenseUsingGETParamsWithTimeout creates a new GetLicenseUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetLicenseUsingGETParams) SetContext ¶
func (o *GetLicenseUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get license using g e t params
func (*GetLicenseUsingGETParams) SetHTTPClient ¶
func (o *GetLicenseUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get license using g e t params
func (*GetLicenseUsingGETParams) SetID ¶
func (o *GetLicenseUsingGETParams) SetID(id string)
SetID adds the id to the get license using g e t params
func (*GetLicenseUsingGETParams) SetTimeout ¶
func (o *GetLicenseUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get license using g e t params
func (*GetLicenseUsingGETParams) WithContext ¶
func (o *GetLicenseUsingGETParams) WithContext(ctx context.Context) *GetLicenseUsingGETParams
WithContext adds the context to the get license using g e t params
func (*GetLicenseUsingGETParams) WithHTTPClient ¶
func (o *GetLicenseUsingGETParams) WithHTTPClient(client *http.Client) *GetLicenseUsingGETParams
WithHTTPClient adds the HTTPClient to the get license using g e t params
func (*GetLicenseUsingGETParams) WithID ¶
func (o *GetLicenseUsingGETParams) WithID(id string) *GetLicenseUsingGETParams
WithID adds the id to the get license using g e t params
func (*GetLicenseUsingGETParams) WithTimeout ¶
func (o *GetLicenseUsingGETParams) WithTimeout(timeout time.Duration) *GetLicenseUsingGETParams
WithTimeout adds the timeout to the get license using g e t params
func (*GetLicenseUsingGETParams) WriteToRequest ¶
func (o *GetLicenseUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetLicenseUsingGETReader ¶
type GetLicenseUsingGETReader struct {
// contains filtered or unexported fields
}
GetLicenseUsingGETReader is a Reader for the GetLicenseUsingGET structure.
func (*GetLicenseUsingGETReader) ReadResponse ¶
func (o *GetLicenseUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVulnerabilityUsingGETOK ¶
type GetVulnerabilityUsingGETOK struct {
Payload *models.Vulnerability
}
GetVulnerabilityUsingGETOK handles this case with default header values.
OK
func NewGetVulnerabilityUsingGETOK ¶
func NewGetVulnerabilityUsingGETOK() *GetVulnerabilityUsingGETOK
NewGetVulnerabilityUsingGETOK creates a GetVulnerabilityUsingGETOK with default headers values
func (*GetVulnerabilityUsingGETOK) Error ¶
func (o *GetVulnerabilityUsingGETOK) Error() string
type GetVulnerabilityUsingGETParams ¶
type GetVulnerabilityUsingGETParams struct { /*ID id */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVulnerabilityUsingGETParams contains all the parameters to send to the API endpoint for the get vulnerability using g e t operation typically these are written to a http.Request
func NewGetVulnerabilityUsingGETParams ¶
func NewGetVulnerabilityUsingGETParams() *GetVulnerabilityUsingGETParams
NewGetVulnerabilityUsingGETParams creates a new GetVulnerabilityUsingGETParams object with the default values initialized.
func NewGetVulnerabilityUsingGETParamsWithContext ¶
func NewGetVulnerabilityUsingGETParamsWithContext(ctx context.Context) *GetVulnerabilityUsingGETParams
NewGetVulnerabilityUsingGETParamsWithContext creates a new GetVulnerabilityUsingGETParams object with the default values initialized, and the ability to set a context for a request
func NewGetVulnerabilityUsingGETParamsWithHTTPClient ¶
func NewGetVulnerabilityUsingGETParamsWithHTTPClient(client *http.Client) *GetVulnerabilityUsingGETParams
NewGetVulnerabilityUsingGETParamsWithHTTPClient creates a new GetVulnerabilityUsingGETParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVulnerabilityUsingGETParamsWithTimeout ¶
func NewGetVulnerabilityUsingGETParamsWithTimeout(timeout time.Duration) *GetVulnerabilityUsingGETParams
NewGetVulnerabilityUsingGETParamsWithTimeout creates a new GetVulnerabilityUsingGETParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVulnerabilityUsingGETParams) SetContext ¶
func (o *GetVulnerabilityUsingGETParams) SetContext(ctx context.Context)
SetContext adds the context to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) SetHTTPClient ¶
func (o *GetVulnerabilityUsingGETParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) SetID ¶
func (o *GetVulnerabilityUsingGETParams) SetID(id string)
SetID adds the id to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) SetTimeout ¶
func (o *GetVulnerabilityUsingGETParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) WithContext ¶
func (o *GetVulnerabilityUsingGETParams) WithContext(ctx context.Context) *GetVulnerabilityUsingGETParams
WithContext adds the context to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) WithHTTPClient ¶
func (o *GetVulnerabilityUsingGETParams) WithHTTPClient(client *http.Client) *GetVulnerabilityUsingGETParams
WithHTTPClient adds the HTTPClient to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) WithID ¶
func (o *GetVulnerabilityUsingGETParams) WithID(id string) *GetVulnerabilityUsingGETParams
WithID adds the id to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) WithTimeout ¶
func (o *GetVulnerabilityUsingGETParams) WithTimeout(timeout time.Duration) *GetVulnerabilityUsingGETParams
WithTimeout adds the timeout to the get vulnerability using g e t params
func (*GetVulnerabilityUsingGETParams) WriteToRequest ¶
func (o *GetVulnerabilityUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVulnerabilityUsingGETReader ¶
type GetVulnerabilityUsingGETReader struct {
// contains filtered or unexported fields
}
GetVulnerabilityUsingGETReader is a Reader for the GetVulnerabilityUsingGET structure.
func (*GetVulnerabilityUsingGETReader) ReadResponse ¶
func (o *GetVulnerabilityUsingGETReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.