Documentation ¶
Index ¶
- type AddOK
- type AddParams
- func (o *AddParams) SetBody(body *models.APIMySQLAddRequest)
- func (o *AddParams) SetContext(ctx context.Context)
- func (o *AddParams) SetHTTPClient(client *http.Client)
- func (o *AddParams) SetTimeout(timeout time.Duration)
- func (o *AddParams) WithBody(body *models.APIMySQLAddRequest) *AddParams
- func (o *AddParams) WithContext(ctx context.Context) *AddParams
- func (o *AddParams) WithHTTPClient(client *http.Client) *AddParams
- func (o *AddParams) WithTimeout(timeout time.Duration) *AddParams
- func (o *AddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddReader
- type Client
- type ListOK
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReader
- type RemoveOK
- type RemoveParams
- func (o *RemoveParams) SetContext(ctx context.Context)
- func (o *RemoveParams) SetHTTPClient(client *http.Client)
- func (o *RemoveParams) SetID(id int32)
- func (o *RemoveParams) SetTimeout(timeout time.Duration)
- func (o *RemoveParams) WithContext(ctx context.Context) *RemoveParams
- func (o *RemoveParams) WithHTTPClient(client *http.Client) *RemoveParams
- func (o *RemoveParams) WithID(id int32) *RemoveParams
- func (o *RemoveParams) WithTimeout(timeout time.Duration) *RemoveParams
- func (o *RemoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RemoveReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOK ¶
type AddOK struct {
Payload *models.APIMySQLAddResponse
}
AddOK handles this case with default header values.
(empty)
type AddParams ¶
type AddParams struct { /*Body*/ Body *models.APIMySQLAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AddParams contains all the parameters to send to the API endpoint for the add operation typically these are written to a http.Request
func NewAddParams ¶
func NewAddParams() *AddParams
NewAddParams creates a new AddParams object with the default values initialized.
func NewAddParamsWithContext ¶
NewAddParamsWithContext creates a new AddParams object with the default values initialized, and the ability to set a context for a request
func NewAddParamsWithHTTPClient ¶
NewAddParamsWithHTTPClient creates a new AddParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAddParamsWithTimeout ¶
NewAddParamsWithTimeout creates a new AddParams object with the default values initialized, and the ability to set a timeout on a request
func (*AddParams) SetBody ¶
func (o *AddParams) SetBody(body *models.APIMySQLAddRequest)
SetBody adds the body to the add params
func (*AddParams) SetContext ¶
SetContext adds the context to the add params
func (*AddParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the add params
func (*AddParams) SetTimeout ¶
SetTimeout adds the timeout to the add params
func (*AddParams) WithBody ¶
func (o *AddParams) WithBody(body *models.APIMySQLAddRequest) *AddParams
WithBody adds the body to the add params
func (*AddParams) WithContext ¶
WithContext adds the context to the add params
func (*AddParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the add params
func (*AddParams) WithTimeout ¶
WithTimeout adds the timeout to the add params
func (*AddParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type AddReader ¶
type AddReader struct {
// contains filtered or unexported fields
}
AddReader is a Reader for the Add structure.
func (*AddReader) ReadResponse ¶
func (o *AddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for my sql API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new my sql API client.
func (*Client) Remove ¶
func (a *Client) Remove(params *RemoveParams) (*RemoveOK, error)
Remove remove API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ListOK ¶
type ListOK struct {
Payload *models.APIMySQLListResponse
}
ListOK handles this case with default header values.
(empty)
type ListParams ¶
type ListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListParams contains all the parameters to send to the API endpoint for the list operation typically these are written to a http.Request
func NewListParams ¶
func NewListParams() *ListParams
NewListParams creates a new ListParams object with the default values initialized.
func NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with the default values initialized, and the ability to set a context for a request
func NewListParamsWithHTTPClient ¶
func NewListParamsWithHTTPClient(client *http.Client) *ListParams
NewListParamsWithHTTPClient creates a new ListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListParamsWithTimeout ¶
func NewListParamsWithTimeout(timeout time.Duration) *ListParams
NewListParamsWithTimeout creates a new ListParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListParams) SetContext ¶
func (o *ListParams) SetContext(ctx context.Context)
SetContext adds the context to the list params
func (*ListParams) SetHTTPClient ¶
func (o *ListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list params
func (*ListParams) SetTimeout ¶
func (o *ListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list params
func (*ListParams) WithContext ¶
func (o *ListParams) WithContext(ctx context.Context) *ListParams
WithContext adds the context to the list params
func (*ListParams) WithHTTPClient ¶
func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
WithHTTPClient adds the HTTPClient to the list params
func (*ListParams) WithTimeout ¶
func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
WithTimeout adds the timeout to the list params
func (*ListParams) WriteToRequest ¶
func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListReader ¶
type ListReader struct {
// contains filtered or unexported fields
}
ListReader is a Reader for the List structure.
func (*ListReader) ReadResponse ¶
func (o *ListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RemoveOK ¶
type RemoveOK struct {
Payload models.APIMySQLRemoveResponse
}
RemoveOK handles this case with default header values.
(empty)
func NewRemoveOK ¶
func NewRemoveOK() *RemoveOK
NewRemoveOK creates a RemoveOK with default headers values
type RemoveParams ¶
type RemoveParams struct { /*ID*/ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RemoveParams contains all the parameters to send to the API endpoint for the remove operation typically these are written to a http.Request
func NewRemoveParams ¶
func NewRemoveParams() *RemoveParams
NewRemoveParams creates a new RemoveParams object with the default values initialized.
func NewRemoveParamsWithContext ¶
func NewRemoveParamsWithContext(ctx context.Context) *RemoveParams
NewRemoveParamsWithContext creates a new RemoveParams object with the default values initialized, and the ability to set a context for a request
func NewRemoveParamsWithHTTPClient ¶
func NewRemoveParamsWithHTTPClient(client *http.Client) *RemoveParams
NewRemoveParamsWithHTTPClient creates a new RemoveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRemoveParamsWithTimeout ¶
func NewRemoveParamsWithTimeout(timeout time.Duration) *RemoveParams
NewRemoveParamsWithTimeout creates a new RemoveParams object with the default values initialized, and the ability to set a timeout on a request
func (*RemoveParams) SetContext ¶
func (o *RemoveParams) SetContext(ctx context.Context)
SetContext adds the context to the remove params
func (*RemoveParams) SetHTTPClient ¶
func (o *RemoveParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the remove params
func (*RemoveParams) SetID ¶
func (o *RemoveParams) SetID(id int32)
SetID adds the id to the remove params
func (*RemoveParams) SetTimeout ¶
func (o *RemoveParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the remove params
func (*RemoveParams) WithContext ¶
func (o *RemoveParams) WithContext(ctx context.Context) *RemoveParams
WithContext adds the context to the remove params
func (*RemoveParams) WithHTTPClient ¶
func (o *RemoveParams) WithHTTPClient(client *http.Client) *RemoveParams
WithHTTPClient adds the HTTPClient to the remove params
func (*RemoveParams) WithID ¶
func (o *RemoveParams) WithID(id int32) *RemoveParams
WithID adds the id to the remove params
func (*RemoveParams) WithTimeout ¶
func (o *RemoveParams) WithTimeout(timeout time.Duration) *RemoveParams
WithTimeout adds the timeout to the remove params
func (*RemoveParams) WriteToRequest ¶
func (o *RemoveParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RemoveReader ¶
type RemoveReader struct {
// contains filtered or unexported fields
}
RemoveReader is a Reader for the Remove structure.
func (*RemoveReader) ReadResponse ¶
func (o *RemoveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.