Documentation ¶
Index ¶
- type AddDriverBadRequest
- type AddDriverCreated
- type AddDriverDefault
- type AddDriverInternalServerError
- type AddDriverParams
- func (o *AddDriverParams) SetBody(body *models.Driver)
- func (o *AddDriverParams) SetContext(ctx context.Context)
- func (o *AddDriverParams) SetHTTPClient(client *http.Client)
- func (o *AddDriverParams) SetTimeout(timeout time.Duration)
- func (o *AddDriverParams) WithBody(body *models.Driver) *AddDriverParams
- func (o *AddDriverParams) WithContext(ctx context.Context) *AddDriverParams
- func (o *AddDriverParams) WithHTTPClient(client *http.Client) *AddDriverParams
- func (o *AddDriverParams) WithTimeout(timeout time.Duration) *AddDriverParams
- func (o *AddDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddDriverReader
- type AddDriverUnauthorized
- type Client
- func (a *Client) AddDriver(params *AddDriverParams, authInfo runtime.ClientAuthInfoWriter) (*AddDriverCreated, error)
- func (a *Client) DeleteDriver(params *DeleteDriverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDriverOK, error)
- func (a *Client) GetDriver(params *GetDriverParams, authInfo runtime.ClientAuthInfoWriter) (*GetDriverOK, error)
- func (a *Client) GetDrivers(params *GetDriversParams, authInfo runtime.ClientAuthInfoWriter) (*GetDriversOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type DeleteDriverBadRequest
- type DeleteDriverDefault
- type DeleteDriverInternalServerError
- type DeleteDriverNotFound
- type DeleteDriverOK
- type DeleteDriverParams
- func (o *DeleteDriverParams) SetContext(ctx context.Context)
- func (o *DeleteDriverParams) SetDriverName(driverName string)
- func (o *DeleteDriverParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDriverParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDriverParams) WithContext(ctx context.Context) *DeleteDriverParams
- func (o *DeleteDriverParams) WithDriverName(driverName string) *DeleteDriverParams
- func (o *DeleteDriverParams) WithHTTPClient(client *http.Client) *DeleteDriverParams
- func (o *DeleteDriverParams) WithTimeout(timeout time.Duration) *DeleteDriverParams
- func (o *DeleteDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDriverReader
- type GetDriverBadRequest
- type GetDriverDefault
- type GetDriverInternalServerError
- type GetDriverNotFound
- type GetDriverOK
- type GetDriverParams
- func (o *GetDriverParams) SetContext(ctx context.Context)
- func (o *GetDriverParams) SetDriverName(driverName string)
- func (o *GetDriverParams) SetHTTPClient(client *http.Client)
- func (o *GetDriverParams) SetTimeout(timeout time.Duration)
- func (o *GetDriverParams) WithContext(ctx context.Context) *GetDriverParams
- func (o *GetDriverParams) WithDriverName(driverName string) *GetDriverParams
- func (o *GetDriverParams) WithHTTPClient(client *http.Client) *GetDriverParams
- func (o *GetDriverParams) WithTimeout(timeout time.Duration) *GetDriverParams
- func (o *GetDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDriverReader
- type GetDriversDefault
- type GetDriversInternalServerError
- type GetDriversOK
- type GetDriversParams
- func (o *GetDriversParams) SetContext(ctx context.Context)
- func (o *GetDriversParams) SetHTTPClient(client *http.Client)
- func (o *GetDriversParams) SetTags(tags []string)
- func (o *GetDriversParams) SetTimeout(timeout time.Duration)
- func (o *GetDriversParams) WithContext(ctx context.Context) *GetDriversParams
- func (o *GetDriversParams) WithHTTPClient(client *http.Client) *GetDriversParams
- func (o *GetDriversParams) WithTags(tags []string) *GetDriversParams
- func (o *GetDriversParams) WithTimeout(timeout time.Duration) *GetDriversParams
- func (o *GetDriversParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDriversReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDriverBadRequest ¶
AddDriverBadRequest handles this case with default header values.
Invalid input
func NewAddDriverBadRequest ¶
func NewAddDriverBadRequest() *AddDriverBadRequest
NewAddDriverBadRequest creates a AddDriverBadRequest with default headers values
func (*AddDriverBadRequest) Error ¶
func (o *AddDriverBadRequest) Error() string
type AddDriverCreated ¶
AddDriverCreated handles this case with default header values.
Driver created
func NewAddDriverCreated ¶
func NewAddDriverCreated() *AddDriverCreated
NewAddDriverCreated creates a AddDriverCreated with default headers values
func (*AddDriverCreated) Error ¶
func (o *AddDriverCreated) Error() string
type AddDriverDefault ¶
AddDriverDefault handles this case with default header values.
Unknown error
func NewAddDriverDefault ¶
func NewAddDriverDefault(code int) *AddDriverDefault
NewAddDriverDefault creates a AddDriverDefault with default headers values
func (*AddDriverDefault) Code ¶
func (o *AddDriverDefault) Code() int
Code gets the status code for the add driver default response
func (*AddDriverDefault) Error ¶
func (o *AddDriverDefault) Error() string
type AddDriverInternalServerError ¶
AddDriverInternalServerError handles this case with default header values.
Internal server error
func NewAddDriverInternalServerError ¶
func NewAddDriverInternalServerError() *AddDriverInternalServerError
NewAddDriverInternalServerError creates a AddDriverInternalServerError with default headers values
func (*AddDriverInternalServerError) Error ¶
func (o *AddDriverInternalServerError) Error() string
type AddDriverParams ¶
type AddDriverParams struct { /*Body driver object */ Body *models.Driver Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddDriverParams contains all the parameters to send to the API endpoint for the add driver operation typically these are written to a http.Request
func NewAddDriverParams ¶
func NewAddDriverParams() *AddDriverParams
NewAddDriverParams creates a new AddDriverParams object with the default values initialized.
func NewAddDriverParamsWithContext ¶
func NewAddDriverParamsWithContext(ctx context.Context) *AddDriverParams
NewAddDriverParamsWithContext creates a new AddDriverParams object with the default values initialized, and the ability to set a context for a request
func NewAddDriverParamsWithHTTPClient ¶
func NewAddDriverParamsWithHTTPClient(client *http.Client) *AddDriverParams
NewAddDriverParamsWithHTTPClient creates a new AddDriverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddDriverParamsWithTimeout ¶
func NewAddDriverParamsWithTimeout(timeout time.Duration) *AddDriverParams
NewAddDriverParamsWithTimeout creates a new AddDriverParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddDriverParams) SetBody ¶
func (o *AddDriverParams) SetBody(body *models.Driver)
SetBody adds the body to the add driver params
func (*AddDriverParams) SetContext ¶
func (o *AddDriverParams) SetContext(ctx context.Context)
SetContext adds the context to the add driver params
func (*AddDriverParams) SetHTTPClient ¶
func (o *AddDriverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the add driver params
func (*AddDriverParams) SetTimeout ¶
func (o *AddDriverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the add driver params
func (*AddDriverParams) WithBody ¶
func (o *AddDriverParams) WithBody(body *models.Driver) *AddDriverParams
WithBody adds the body to the add driver params
func (*AddDriverParams) WithContext ¶
func (o *AddDriverParams) WithContext(ctx context.Context) *AddDriverParams
WithContext adds the context to the add driver params
func (*AddDriverParams) WithHTTPClient ¶
func (o *AddDriverParams) WithHTTPClient(client *http.Client) *AddDriverParams
WithHTTPClient adds the HTTPClient to the add driver params
func (*AddDriverParams) WithTimeout ¶
func (o *AddDriverParams) WithTimeout(timeout time.Duration) *AddDriverParams
WithTimeout adds the timeout to the add driver params
func (*AddDriverParams) WriteToRequest ¶
func (o *AddDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AddDriverReader ¶
type AddDriverReader struct {
// contains filtered or unexported fields
}
AddDriverReader is a Reader for the AddDriver structure.
func (*AddDriverReader) ReadResponse ¶
func (o *AddDriverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AddDriverUnauthorized ¶
type AddDriverUnauthorized struct {
}AddDriverUnauthorized handles this case with default header values.
Unauthorized Request
func NewAddDriverUnauthorized ¶
func NewAddDriverUnauthorized() *AddDriverUnauthorized
NewAddDriverUnauthorized creates a AddDriverUnauthorized with default headers values
func (*AddDriverUnauthorized) Error ¶
func (o *AddDriverUnauthorized) Error() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for drivers API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new drivers API client.
func (*Client) AddDriver ¶
func (a *Client) AddDriver(params *AddDriverParams, authInfo runtime.ClientAuthInfoWriter) (*AddDriverCreated, error)
AddDriver creates a new driver
func (*Client) DeleteDriver ¶
func (a *Client) DeleteDriver(params *DeleteDriverParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDriverOK, error)
DeleteDriver deletes a driver
func (*Client) GetDriver ¶
func (a *Client) GetDriver(params *GetDriverParams, authInfo runtime.ClientAuthInfoWriter) (*GetDriverOK, error)
GetDriver finds driver by name
Returns a single driver
func (*Client) GetDrivers ¶
func (a *Client) GetDrivers(params *GetDriversParams, authInfo runtime.ClientAuthInfoWriter) (*GetDriversOK, error)
GetDrivers lists all existing drivers
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type DeleteDriverBadRequest ¶
DeleteDriverBadRequest handles this case with default header values.
Invalid ID supplied
func NewDeleteDriverBadRequest ¶
func NewDeleteDriverBadRequest() *DeleteDriverBadRequest
NewDeleteDriverBadRequest creates a DeleteDriverBadRequest with default headers values
func (*DeleteDriverBadRequest) Error ¶
func (o *DeleteDriverBadRequest) Error() string
type DeleteDriverDefault ¶
DeleteDriverDefault handles this case with default header values.
Generic error response
func NewDeleteDriverDefault ¶
func NewDeleteDriverDefault(code int) *DeleteDriverDefault
NewDeleteDriverDefault creates a DeleteDriverDefault with default headers values
func (*DeleteDriverDefault) Code ¶
func (o *DeleteDriverDefault) Code() int
Code gets the status code for the delete driver default response
func (*DeleteDriverDefault) Error ¶
func (o *DeleteDriverDefault) Error() string
type DeleteDriverInternalServerError ¶
DeleteDriverInternalServerError handles this case with default header values.
Internal server error
func NewDeleteDriverInternalServerError ¶
func NewDeleteDriverInternalServerError() *DeleteDriverInternalServerError
NewDeleteDriverInternalServerError creates a DeleteDriverInternalServerError with default headers values
func (*DeleteDriverInternalServerError) Error ¶
func (o *DeleteDriverInternalServerError) Error() string
type DeleteDriverNotFound ¶
DeleteDriverNotFound handles this case with default header values.
Driver not found
func NewDeleteDriverNotFound ¶
func NewDeleteDriverNotFound() *DeleteDriverNotFound
NewDeleteDriverNotFound creates a DeleteDriverNotFound with default headers values
func (*DeleteDriverNotFound) Error ¶
func (o *DeleteDriverNotFound) Error() string
type DeleteDriverOK ¶
DeleteDriverOK handles this case with default header values.
successful operation
func NewDeleteDriverOK ¶
func NewDeleteDriverOK() *DeleteDriverOK
NewDeleteDriverOK creates a DeleteDriverOK with default headers values
func (*DeleteDriverOK) Error ¶
func (o *DeleteDriverOK) Error() string
type DeleteDriverParams ¶
type DeleteDriverParams struct { /*DriverName Name of the subscription to work on */ DriverName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDriverParams contains all the parameters to send to the API endpoint for the delete driver operation typically these are written to a http.Request
func NewDeleteDriverParams ¶
func NewDeleteDriverParams() *DeleteDriverParams
NewDeleteDriverParams creates a new DeleteDriverParams object with the default values initialized.
func NewDeleteDriverParamsWithContext ¶
func NewDeleteDriverParamsWithContext(ctx context.Context) *DeleteDriverParams
NewDeleteDriverParamsWithContext creates a new DeleteDriverParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDriverParamsWithHTTPClient ¶
func NewDeleteDriverParamsWithHTTPClient(client *http.Client) *DeleteDriverParams
NewDeleteDriverParamsWithHTTPClient creates a new DeleteDriverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDriverParamsWithTimeout ¶
func NewDeleteDriverParamsWithTimeout(timeout time.Duration) *DeleteDriverParams
NewDeleteDriverParamsWithTimeout creates a new DeleteDriverParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDriverParams) SetContext ¶
func (o *DeleteDriverParams) SetContext(ctx context.Context)
SetContext adds the context to the delete driver params
func (*DeleteDriverParams) SetDriverName ¶
func (o *DeleteDriverParams) SetDriverName(driverName string)
SetDriverName adds the driverName to the delete driver params
func (*DeleteDriverParams) SetHTTPClient ¶
func (o *DeleteDriverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete driver params
func (*DeleteDriverParams) SetTimeout ¶
func (o *DeleteDriverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete driver params
func (*DeleteDriverParams) WithContext ¶
func (o *DeleteDriverParams) WithContext(ctx context.Context) *DeleteDriverParams
WithContext adds the context to the delete driver params
func (*DeleteDriverParams) WithDriverName ¶
func (o *DeleteDriverParams) WithDriverName(driverName string) *DeleteDriverParams
WithDriverName adds the driverName to the delete driver params
func (*DeleteDriverParams) WithHTTPClient ¶
func (o *DeleteDriverParams) WithHTTPClient(client *http.Client) *DeleteDriverParams
WithHTTPClient adds the HTTPClient to the delete driver params
func (*DeleteDriverParams) WithTimeout ¶
func (o *DeleteDriverParams) WithTimeout(timeout time.Duration) *DeleteDriverParams
WithTimeout adds the timeout to the delete driver params
func (*DeleteDriverParams) WriteToRequest ¶
func (o *DeleteDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDriverReader ¶
type DeleteDriverReader struct {
// contains filtered or unexported fields
}
DeleteDriverReader is a Reader for the DeleteDriver structure.
func (*DeleteDriverReader) ReadResponse ¶
func (o *DeleteDriverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDriverBadRequest ¶
GetDriverBadRequest handles this case with default header values.
Invalid Name supplied
func NewGetDriverBadRequest ¶
func NewGetDriverBadRequest() *GetDriverBadRequest
NewGetDriverBadRequest creates a GetDriverBadRequest with default headers values
func (*GetDriverBadRequest) Error ¶
func (o *GetDriverBadRequest) Error() string
type GetDriverDefault ¶
GetDriverDefault handles this case with default header values.
Unknown error
func NewGetDriverDefault ¶
func NewGetDriverDefault(code int) *GetDriverDefault
NewGetDriverDefault creates a GetDriverDefault with default headers values
func (*GetDriverDefault) Code ¶
func (o *GetDriverDefault) Code() int
Code gets the status code for the get driver default response
func (*GetDriverDefault) Error ¶
func (o *GetDriverDefault) Error() string
type GetDriverInternalServerError ¶
GetDriverInternalServerError handles this case with default header values.
Internal server error
func NewGetDriverInternalServerError ¶
func NewGetDriverInternalServerError() *GetDriverInternalServerError
NewGetDriverInternalServerError creates a GetDriverInternalServerError with default headers values
func (*GetDriverInternalServerError) Error ¶
func (o *GetDriverInternalServerError) Error() string
type GetDriverNotFound ¶
GetDriverNotFound handles this case with default header values.
Driver not found
func NewGetDriverNotFound ¶
func NewGetDriverNotFound() *GetDriverNotFound
NewGetDriverNotFound creates a GetDriverNotFound with default headers values
func (*GetDriverNotFound) Error ¶
func (o *GetDriverNotFound) Error() string
type GetDriverOK ¶
GetDriverOK handles this case with default header values.
Successful operation
func NewGetDriverOK ¶
func NewGetDriverOK() *GetDriverOK
NewGetDriverOK creates a GetDriverOK with default headers values
func (*GetDriverOK) Error ¶
func (o *GetDriverOK) Error() string
type GetDriverParams ¶
type GetDriverParams struct { /*DriverName Name of the subscription to work on */ DriverName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDriverParams contains all the parameters to send to the API endpoint for the get driver operation typically these are written to a http.Request
func NewGetDriverParams ¶
func NewGetDriverParams() *GetDriverParams
NewGetDriverParams creates a new GetDriverParams object with the default values initialized.
func NewGetDriverParamsWithContext ¶
func NewGetDriverParamsWithContext(ctx context.Context) *GetDriverParams
NewGetDriverParamsWithContext creates a new GetDriverParams object with the default values initialized, and the ability to set a context for a request
func NewGetDriverParamsWithHTTPClient ¶
func NewGetDriverParamsWithHTTPClient(client *http.Client) *GetDriverParams
NewGetDriverParamsWithHTTPClient creates a new GetDriverParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDriverParamsWithTimeout ¶
func NewGetDriverParamsWithTimeout(timeout time.Duration) *GetDriverParams
NewGetDriverParamsWithTimeout creates a new GetDriverParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDriverParams) SetContext ¶
func (o *GetDriverParams) SetContext(ctx context.Context)
SetContext adds the context to the get driver params
func (*GetDriverParams) SetDriverName ¶
func (o *GetDriverParams) SetDriverName(driverName string)
SetDriverName adds the driverName to the get driver params
func (*GetDriverParams) SetHTTPClient ¶
func (o *GetDriverParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get driver params
func (*GetDriverParams) SetTimeout ¶
func (o *GetDriverParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get driver params
func (*GetDriverParams) WithContext ¶
func (o *GetDriverParams) WithContext(ctx context.Context) *GetDriverParams
WithContext adds the context to the get driver params
func (*GetDriverParams) WithDriverName ¶
func (o *GetDriverParams) WithDriverName(driverName string) *GetDriverParams
WithDriverName adds the driverName to the get driver params
func (*GetDriverParams) WithHTTPClient ¶
func (o *GetDriverParams) WithHTTPClient(client *http.Client) *GetDriverParams
WithHTTPClient adds the HTTPClient to the get driver params
func (*GetDriverParams) WithTimeout ¶
func (o *GetDriverParams) WithTimeout(timeout time.Duration) *GetDriverParams
WithTimeout adds the timeout to the get driver params
func (*GetDriverParams) WriteToRequest ¶
func (o *GetDriverParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDriverReader ¶
type GetDriverReader struct {
// contains filtered or unexported fields
}
GetDriverReader is a Reader for the GetDriver structure.
func (*GetDriverReader) ReadResponse ¶
func (o *GetDriverReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDriversDefault ¶
GetDriversDefault handles this case with default header values.
Unknown error
func NewGetDriversDefault ¶
func NewGetDriversDefault(code int) *GetDriversDefault
NewGetDriversDefault creates a GetDriversDefault with default headers values
func (*GetDriversDefault) Code ¶
func (o *GetDriversDefault) Code() int
Code gets the status code for the get drivers default response
func (*GetDriversDefault) Error ¶
func (o *GetDriversDefault) Error() string
type GetDriversInternalServerError ¶
GetDriversInternalServerError handles this case with default header values.
Internal server error
func NewGetDriversInternalServerError ¶
func NewGetDriversInternalServerError() *GetDriversInternalServerError
NewGetDriversInternalServerError creates a GetDriversInternalServerError with default headers values
func (*GetDriversInternalServerError) Error ¶
func (o *GetDriversInternalServerError) Error() string
type GetDriversOK ¶
type GetDriversOK struct {
Payload models.GetDriversOKBody
}
GetDriversOK handles this case with default header values.
Successful operation
func NewGetDriversOK ¶
func NewGetDriversOK() *GetDriversOK
NewGetDriversOK creates a GetDriversOK with default headers values
func (*GetDriversOK) Error ¶
func (o *GetDriversOK) Error() string
type GetDriversParams ¶
type GetDriversParams struct { /*Tags Filter on driver tags */ Tags []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDriversParams contains all the parameters to send to the API endpoint for the get drivers operation typically these are written to a http.Request
func NewGetDriversParams ¶
func NewGetDriversParams() *GetDriversParams
NewGetDriversParams creates a new GetDriversParams object with the default values initialized.
func NewGetDriversParamsWithContext ¶
func NewGetDriversParamsWithContext(ctx context.Context) *GetDriversParams
NewGetDriversParamsWithContext creates a new GetDriversParams object with the default values initialized, and the ability to set a context for a request
func NewGetDriversParamsWithHTTPClient ¶
func NewGetDriversParamsWithHTTPClient(client *http.Client) *GetDriversParams
NewGetDriversParamsWithHTTPClient creates a new GetDriversParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDriversParamsWithTimeout ¶
func NewGetDriversParamsWithTimeout(timeout time.Duration) *GetDriversParams
NewGetDriversParamsWithTimeout creates a new GetDriversParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDriversParams) SetContext ¶
func (o *GetDriversParams) SetContext(ctx context.Context)
SetContext adds the context to the get drivers params
func (*GetDriversParams) SetHTTPClient ¶
func (o *GetDriversParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get drivers params
func (*GetDriversParams) SetTags ¶
func (o *GetDriversParams) SetTags(tags []string)
SetTags adds the tags to the get drivers params
func (*GetDriversParams) SetTimeout ¶
func (o *GetDriversParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get drivers params
func (*GetDriversParams) WithContext ¶
func (o *GetDriversParams) WithContext(ctx context.Context) *GetDriversParams
WithContext adds the context to the get drivers params
func (*GetDriversParams) WithHTTPClient ¶
func (o *GetDriversParams) WithHTTPClient(client *http.Client) *GetDriversParams
WithHTTPClient adds the HTTPClient to the get drivers params
func (*GetDriversParams) WithTags ¶
func (o *GetDriversParams) WithTags(tags []string) *GetDriversParams
WithTags adds the tags to the get drivers params
func (*GetDriversParams) WithTimeout ¶
func (o *GetDriversParams) WithTimeout(timeout time.Duration) *GetDriversParams
WithTimeout adds the timeout to the get drivers params
func (*GetDriversParams) WriteToRequest ¶
func (o *GetDriversParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDriversReader ¶
type GetDriversReader struct {
// contains filtered or unexported fields
}
GetDriversReader is a Reader for the GetDrivers structure.
func (*GetDriversReader) ReadResponse ¶
func (o *GetDriversReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.