Documentation ¶
Index ¶
- type API
- type Client
- type ListComponentVersionsOK
- type ListComponentVersionsParams
- func NewListComponentVersionsParams() *ListComponentVersionsParams
- func NewListComponentVersionsParamsWithContext(ctx context.Context) *ListComponentVersionsParams
- func NewListComponentVersionsParamsWithHTTPClient(client *http.Client) *ListComponentVersionsParams
- func NewListComponentVersionsParamsWithTimeout(timeout time.Duration) *ListComponentVersionsParams
- func (o *ListComponentVersionsParams) SetContext(ctx context.Context)
- func (o *ListComponentVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListComponentVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListComponentVersionsParams) WithContext(ctx context.Context) *ListComponentVersionsParams
- func (o *ListComponentVersionsParams) WithHTTPClient(client *http.Client) *ListComponentVersionsParams
- func (o *ListComponentVersionsParams) WithTimeout(timeout time.Duration) *ListComponentVersionsParams
- func (o *ListComponentVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListComponentVersionsReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* ListComponentVersions lists of componenets versions*/ ListComponentVersions(ctx context.Context, params *ListComponentVersionsParams) (*ListComponentVersionsOK, error) }
API is the interface of the versions client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for versions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new versions API client.
func (*Client) ListComponentVersions ¶
func (a *Client) ListComponentVersions(ctx context.Context, params *ListComponentVersionsParams) (*ListComponentVersionsOK, error)
ListComponentVersions lists of componenets versions
type ListComponentVersionsOK ¶
type ListComponentVersionsOK struct {
Payload *models.ListVersions
}
ListComponentVersionsOK handles this case with default header values.
Success.
func NewListComponentVersionsOK ¶
func NewListComponentVersionsOK() *ListComponentVersionsOK
NewListComponentVersionsOK creates a ListComponentVersionsOK with default headers values
func (*ListComponentVersionsOK) Error ¶
func (o *ListComponentVersionsOK) Error() string
func (*ListComponentVersionsOK) GetPayload ¶
func (o *ListComponentVersionsOK) GetPayload() *models.ListVersions
type ListComponentVersionsParams ¶
type ListComponentVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListComponentVersionsParams contains all the parameters to send to the API endpoint for the list component versions operation typically these are written to a http.Request
func NewListComponentVersionsParams ¶
func NewListComponentVersionsParams() *ListComponentVersionsParams
NewListComponentVersionsParams creates a new ListComponentVersionsParams object with the default values initialized.
func NewListComponentVersionsParamsWithContext ¶
func NewListComponentVersionsParamsWithContext(ctx context.Context) *ListComponentVersionsParams
NewListComponentVersionsParamsWithContext creates a new ListComponentVersionsParams object with the default values initialized, and the ability to set a context for a request
func NewListComponentVersionsParamsWithHTTPClient ¶
func NewListComponentVersionsParamsWithHTTPClient(client *http.Client) *ListComponentVersionsParams
NewListComponentVersionsParamsWithHTTPClient creates a new ListComponentVersionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListComponentVersionsParamsWithTimeout ¶
func NewListComponentVersionsParamsWithTimeout(timeout time.Duration) *ListComponentVersionsParams
NewListComponentVersionsParamsWithTimeout creates a new ListComponentVersionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListComponentVersionsParams) SetContext ¶
func (o *ListComponentVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list component versions params
func (*ListComponentVersionsParams) SetHTTPClient ¶
func (o *ListComponentVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list component versions params
func (*ListComponentVersionsParams) SetTimeout ¶
func (o *ListComponentVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list component versions params
func (*ListComponentVersionsParams) WithContext ¶
func (o *ListComponentVersionsParams) WithContext(ctx context.Context) *ListComponentVersionsParams
WithContext adds the context to the list component versions params
func (*ListComponentVersionsParams) WithHTTPClient ¶
func (o *ListComponentVersionsParams) WithHTTPClient(client *http.Client) *ListComponentVersionsParams
WithHTTPClient adds the HTTPClient to the list component versions params
func (*ListComponentVersionsParams) WithTimeout ¶
func (o *ListComponentVersionsParams) WithTimeout(timeout time.Duration) *ListComponentVersionsParams
WithTimeout adds the timeout to the list component versions params
func (*ListComponentVersionsParams) WriteToRequest ¶
func (o *ListComponentVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListComponentVersionsReader ¶
type ListComponentVersionsReader struct {
// contains filtered or unexported fields
}
ListComponentVersionsReader is a Reader for the ListComponentVersions structure.
func (*ListComponentVersionsReader) ReadResponse ¶
func (o *ListComponentVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.