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 versions API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new versions API client.
func (*Client) GetVersions ¶
func (a *Client) GetVersions(params *GetVersionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetVersionsOK, error)
GetVersions gets list of all versions of all packages plus our code
get list of all versions of all packages plus our code
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetVersionsDefault ¶
GetVersionsDefault handles this case with default header values.
Unexpected error
func NewGetVersionsDefault ¶
func NewGetVersionsDefault(code int) *GetVersionsDefault
NewGetVersionsDefault creates a GetVersionsDefault with default headers values
func (*GetVersionsDefault) Code ¶
func (o *GetVersionsDefault) Code() int
Code gets the status code for the get versions default response
func (*GetVersionsDefault) Error ¶
func (o *GetVersionsDefault) Error() string
type GetVersionsNotImplemented ¶
GetVersionsNotImplemented handles this case with default header values.
Not implemented.
func NewGetVersionsNotImplemented ¶
func NewGetVersionsNotImplemented() *GetVersionsNotImplemented
NewGetVersionsNotImplemented creates a GetVersionsNotImplemented with default headers values
func (*GetVersionsNotImplemented) Error ¶
func (o *GetVersionsNotImplemented) Error() string
type GetVersionsOK ¶
type GetVersionsOK struct {
Payload GetVersionsOKBodyBody
}
GetVersionsOK handles this case with default header values.
get list of all versions of all packages plus our code
func NewGetVersionsOK ¶
func NewGetVersionsOK() *GetVersionsOK
NewGetVersionsOK creates a GetVersionsOK with default headers values
func (*GetVersionsOK) Error ¶
func (o *GetVersionsOK) Error() string
type GetVersionsOKBodyBody ¶
type GetVersionsOKBodyBody interface{}
GetVersionsOKBodyBody get versions o k body body
swagger:model GetVersionsOKBodyBody
type GetVersionsParams ¶
type GetVersionsParams struct { }
GetVersionsParams contains all the parameters to send to the API endpoint for the get versions operation typically these are written to a http.Request
func NewGetVersionsParams ¶
func NewGetVersionsParams() *GetVersionsParams
NewGetVersionsParams creates a new GetVersionsParams object with the default values initialized.
func (*GetVersionsParams) WriteToRequest ¶
func (o *GetVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVersionsReader ¶
type GetVersionsReader struct {
// contains filtered or unexported fields
}
GetVersionsReader is a Reader for the GetVersions structure.
func (*GetVersionsReader) ReadResponse ¶
func (o *GetVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.