Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type ListVersionsByProviderDefault
- type ListVersionsByProviderForbidden
- type ListVersionsByProviderOK
- type ListVersionsByProviderParams
- func NewListVersionsByProviderParams() *ListVersionsByProviderParams
- func NewListVersionsByProviderParamsWithContext(ctx context.Context) *ListVersionsByProviderParams
- func NewListVersionsByProviderParamsWithHTTPClient(client *http.Client) *ListVersionsByProviderParams
- func NewListVersionsByProviderParamsWithTimeout(timeout time.Duration) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) SetContext(ctx context.Context)
- func (o *ListVersionsByProviderParams) SetDefaults()
- func (o *ListVersionsByProviderParams) SetHTTPClient(client *http.Client)
- func (o *ListVersionsByProviderParams) SetProviderName(providerName string)
- func (o *ListVersionsByProviderParams) SetTimeout(timeout time.Duration)
- func (o *ListVersionsByProviderParams) SetType(typeVar *string)
- func (o *ListVersionsByProviderParams) WithContext(ctx context.Context) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WithDefaults() *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WithHTTPClient(client *http.Client) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WithProviderName(providerName string) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WithTimeout(timeout time.Duration) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WithType(typeVar *string) *ListVersionsByProviderParams
- func (o *ListVersionsByProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVersionsByProviderReader
- type ListVersionsByProviderUnauthorized
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 version API
func (*Client) ListVersionsByProvider ¶
func (a *Client) ListVersionsByProvider(params *ListVersionsByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsByProviderOK, error)
ListVersionsByProvider Lists all versions which don't result in automatic updates for a given provider
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 is the option for Client methods
type ClientService ¶
type ClientService interface { ListVersionsByProvider(params *ListVersionsByProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVersionsByProviderOK, 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 version API client.
type ListVersionsByProviderDefault ¶
type ListVersionsByProviderDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListVersionsByProviderDefault describes a response with status code -1, with default header values.
errorResponse
func NewListVersionsByProviderDefault ¶
func NewListVersionsByProviderDefault(code int) *ListVersionsByProviderDefault
NewListVersionsByProviderDefault creates a ListVersionsByProviderDefault with default headers values
func (*ListVersionsByProviderDefault) Code ¶
func (o *ListVersionsByProviderDefault) Code() int
Code gets the status code for the list versions by provider default response
func (*ListVersionsByProviderDefault) Error ¶
func (o *ListVersionsByProviderDefault) Error() string
func (*ListVersionsByProviderDefault) GetPayload ¶
func (o *ListVersionsByProviderDefault) GetPayload() *models.ErrorResponse
type ListVersionsByProviderForbidden ¶
type ListVersionsByProviderForbidden struct { }
ListVersionsByProviderForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewListVersionsByProviderForbidden ¶
func NewListVersionsByProviderForbidden() *ListVersionsByProviderForbidden
NewListVersionsByProviderForbidden creates a ListVersionsByProviderForbidden with default headers values
func (*ListVersionsByProviderForbidden) Error ¶
func (o *ListVersionsByProviderForbidden) Error() string
type ListVersionsByProviderOK ¶
type ListVersionsByProviderOK struct {
Payload models.VersionList
}
ListVersionsByProviderOK describes a response with status code 200, with default header values.
VersionList
func NewListVersionsByProviderOK ¶
func NewListVersionsByProviderOK() *ListVersionsByProviderOK
NewListVersionsByProviderOK creates a ListVersionsByProviderOK with default headers values
func (*ListVersionsByProviderOK) Error ¶
func (o *ListVersionsByProviderOK) Error() string
func (*ListVersionsByProviderOK) GetPayload ¶
func (o *ListVersionsByProviderOK) GetPayload() models.VersionList
type ListVersionsByProviderParams ¶
type ListVersionsByProviderParams struct { // ProviderName. ProviderName string /* Type. Type is deprecated and not used anymore. */ Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListVersionsByProviderParams contains all the parameters to send to the API endpoint
for the list versions by provider operation. Typically these are written to a http.Request.
func NewListVersionsByProviderParams ¶
func NewListVersionsByProviderParams() *ListVersionsByProviderParams
NewListVersionsByProviderParams creates a new ListVersionsByProviderParams 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 NewListVersionsByProviderParamsWithContext ¶
func NewListVersionsByProviderParamsWithContext(ctx context.Context) *ListVersionsByProviderParams
NewListVersionsByProviderParamsWithContext creates a new ListVersionsByProviderParams object with the ability to set a context for a request.
func NewListVersionsByProviderParamsWithHTTPClient ¶
func NewListVersionsByProviderParamsWithHTTPClient(client *http.Client) *ListVersionsByProviderParams
NewListVersionsByProviderParamsWithHTTPClient creates a new ListVersionsByProviderParams object with the ability to set a custom HTTPClient for a request.
func NewListVersionsByProviderParamsWithTimeout ¶
func NewListVersionsByProviderParamsWithTimeout(timeout time.Duration) *ListVersionsByProviderParams
NewListVersionsByProviderParamsWithTimeout creates a new ListVersionsByProviderParams object with the ability to set a timeout on a request.
func (*ListVersionsByProviderParams) SetContext ¶
func (o *ListVersionsByProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the list versions by provider params
func (*ListVersionsByProviderParams) SetDefaults ¶
func (o *ListVersionsByProviderParams) SetDefaults()
SetDefaults hydrates default values in the list versions by provider params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsByProviderParams) SetHTTPClient ¶
func (o *ListVersionsByProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list versions by provider params
func (*ListVersionsByProviderParams) SetProviderName ¶
func (o *ListVersionsByProviderParams) SetProviderName(providerName string)
SetProviderName adds the providerName to the list versions by provider params
func (*ListVersionsByProviderParams) SetTimeout ¶
func (o *ListVersionsByProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list versions by provider params
func (*ListVersionsByProviderParams) SetType ¶
func (o *ListVersionsByProviderParams) SetType(typeVar *string)
SetType adds the type to the list versions by provider params
func (*ListVersionsByProviderParams) WithContext ¶
func (o *ListVersionsByProviderParams) WithContext(ctx context.Context) *ListVersionsByProviderParams
WithContext adds the context to the list versions by provider params
func (*ListVersionsByProviderParams) WithDefaults ¶
func (o *ListVersionsByProviderParams) WithDefaults() *ListVersionsByProviderParams
WithDefaults hydrates default values in the list versions by provider params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsByProviderParams) WithHTTPClient ¶
func (o *ListVersionsByProviderParams) WithHTTPClient(client *http.Client) *ListVersionsByProviderParams
WithHTTPClient adds the HTTPClient to the list versions by provider params
func (*ListVersionsByProviderParams) WithProviderName ¶
func (o *ListVersionsByProviderParams) WithProviderName(providerName string) *ListVersionsByProviderParams
WithProviderName adds the providerName to the list versions by provider params
func (*ListVersionsByProviderParams) WithTimeout ¶
func (o *ListVersionsByProviderParams) WithTimeout(timeout time.Duration) *ListVersionsByProviderParams
WithTimeout adds the timeout to the list versions by provider params
func (*ListVersionsByProviderParams) WithType ¶
func (o *ListVersionsByProviderParams) WithType(typeVar *string) *ListVersionsByProviderParams
WithType adds the typeVar to the list versions by provider params
func (*ListVersionsByProviderParams) WriteToRequest ¶
func (o *ListVersionsByProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVersionsByProviderReader ¶
type ListVersionsByProviderReader struct {
// contains filtered or unexported fields
}
ListVersionsByProviderReader is a Reader for the ListVersionsByProvider structure.
func (*ListVersionsByProviderReader) ReadResponse ¶
func (o *ListVersionsByProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListVersionsByProviderUnauthorized ¶
type ListVersionsByProviderUnauthorized struct { }
ListVersionsByProviderUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewListVersionsByProviderUnauthorized ¶
func NewListVersionsByProviderUnauthorized() *ListVersionsByProviderUnauthorized
NewListVersionsByProviderUnauthorized creates a ListVersionsByProviderUnauthorized with default headers values
func (*ListVersionsByProviderUnauthorized) Error ¶
func (o *ListVersionsByProviderUnauthorized) Error() string