registry

package
v0.0.0-...-dc70d09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type GetLibraryUsingGETOK struct {
	Payload *models.Library
}

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

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

WithID adds the id to the get library using g e t params

func (*GetLibraryUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get library using g e t params

func (*GetLibraryUsingGETParams) WriteToRequest

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

type GetLicenseUsingGETOK struct {
	Payload *models.License
}

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

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

WithID adds the id to the get license using g e t params

func (*GetLicenseUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get license using g e t params

func (*GetLicenseUsingGETParams) WriteToRequest

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

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

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

WithContext adds the context to the get vulnerability using g e t params

func (*GetVulnerabilityUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vulnerability using g e t params

func (*GetVulnerabilityUsingGETParams) WithID

WithID adds the id to the get vulnerability using g e t params

func (*GetVulnerabilityUsingGETParams) WithTimeout

WithTimeout adds the timeout to the get vulnerability using g e t params

func (*GetVulnerabilityUsingGETParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL