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 sql query API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new sql query API client.
func (*Client) CreateSqlQuery ¶
func (a *Client) CreateSqlQuery(params *CreateSqlQueryParams) (*CreateSqlQueryOK, error)
CreateSqlQuery creates s q l runner query
create a sql runner query
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SqlQuery ¶
func (a *Client) SqlQuery(params *SqlQueryParams) (*SqlQueryOK, error)
SqlQuery gets s q l runner query
get a sql runner query
type CreateSqlQueryBadRequest ¶
type CreateSqlQueryBadRequest struct {
Payload
}
CreateSqlQueryBadRequest handles this case with default header values.
Bad Request
func NewCreateSqlQueryBadRequest ¶
func NewCreateSqlQueryBadRequest() *CreateSqlQueryBadRequest
NewCreateSqlQueryBadRequest creates a CreateSqlQueryBadRequest with default headers values
func (*CreateSqlQueryBadRequest) Error ¶
func (o *CreateSqlQueryBadRequest) Error() string
type CreateSqlQueryNotFound ¶
type CreateSqlQueryNotFound struct {
Payload
}
CreateSqlQueryNotFound handles this case with default header values.
Not Found
func NewCreateSqlQueryNotFound ¶
func NewCreateSqlQueryNotFound() *CreateSqlQueryNotFound
NewCreateSqlQueryNotFound creates a CreateSqlQueryNotFound with default headers values
func (*CreateSqlQueryNotFound) Error ¶
func (o *CreateSqlQueryNotFound) Error() string
type CreateSqlQueryOK ¶
type CreateSqlQueryOK struct {
Payload
}
CreateSqlQueryOK handles this case with default header values.
SQL Runner query
func NewCreateSqlQueryOK ¶
func NewCreateSqlQueryOK() *CreateSqlQueryOK
NewCreateSqlQueryOK creates a CreateSqlQueryOK with default headers values
func (*CreateSqlQueryOK) Error ¶
func (o *CreateSqlQueryOK) Error() string
type CreateSqlQueryParams ¶
type CreateSqlQueryParams struct { /*Body SQL Runner query */ Body // contains filtered or unexported fields }
CreateSqlQueryParams contains all the parameters to send to the API endpoint for the create sql query operation typically these are written to a http.Request
func NewCreateSqlQueryParams ¶
func NewCreateSqlQueryParams() *CreateSqlQueryParams
NewCreateSqlQueryParams creates a new CreateSqlQueryParams object with the default values initialized.
func NewCreateSqlQueryParamsWithTimeout ¶
func NewCreateSqlQueryParamsWithTimeout(timeout time.Duration) *CreateSqlQueryParams
NewCreateSqlQueryParamsWithTimeout creates a new CreateSqlQueryParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateSqlQueryParams) WithBody ¶
func (o *CreateSqlQueryParams) WithBody(Body) *CreateSqlQueryParams
WithBody adds the body to the create sql query params
func (*CreateSqlQueryParams) WriteToRequest ¶
func (o *CreateSqlQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateSqlQueryReader ¶
type CreateSqlQueryReader struct {
// contains filtered or unexported fields
}
CreateSqlQueryReader is a Reader for the CreateSqlQuery structure.
func (*CreateSqlQueryReader) ReadResponse ¶
func (o *CreateSqlQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.
type SqlQueryBadRequest ¶
type SqlQueryBadRequest struct {
Payload
}
SqlQueryBadRequest handles this case with default header values.
Bad Request
func NewSqlQueryBadRequest ¶
func NewSqlQueryBadRequest() *SqlQueryBadRequest
NewSqlQueryBadRequest creates a SqlQueryBadRequest with default headers values
func (*SqlQueryBadRequest) Error ¶
func (o *SqlQueryBadRequest) Error() string
type SqlQueryNotFound ¶
type SqlQueryNotFound struct {
Payload
}
SqlQueryNotFound handles this case with default header values.
Not Found
func NewSqlQueryNotFound ¶
func NewSqlQueryNotFound() *SqlQueryNotFound
NewSqlQueryNotFound creates a SqlQueryNotFound with default headers values
func (*SqlQueryNotFound) Error ¶
func (o *SqlQueryNotFound) Error() string
type SqlQueryOK ¶
type SqlQueryOK struct {
Payload
}
SqlQueryOK handles this case with default header values.
SQL Runner query
func NewSqlQueryOK ¶
func NewSqlQueryOK() *SqlQueryOK
NewSqlQueryOK creates a SqlQueryOK with default headers values
func (*SqlQueryOK) Error ¶
func (o *SqlQueryOK) Error() string
type SqlQueryParams ¶
type SqlQueryParams struct { /*Slug slug of query */ Slug string // contains filtered or unexported fields }
SqlQueryParams contains all the parameters to send to the API endpoint for the sql query operation typically these are written to a http.Request
func NewSqlQueryParams ¶
func NewSqlQueryParams() *SqlQueryParams
NewSqlQueryParams creates a new SqlQueryParams object with the default values initialized.
func NewSqlQueryParamsWithTimeout ¶
func NewSqlQueryParamsWithTimeout(timeout time.Duration) *SqlQueryParams
NewSqlQueryParamsWithTimeout creates a new SqlQueryParams object with the default values initialized, and the ability to set a timeout on a request
func (*SqlQueryParams) WithSlug ¶
func (o *SqlQueryParams) WithSlug(Slug string) *SqlQueryParams
WithSlug adds the slug to the sql query params
func (*SqlQueryParams) WriteToRequest ¶
func (o *SqlQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SqlQueryReader ¶
type SqlQueryReader struct {
// contains filtered or unexported fields
}
SqlQueryReader is a Reader for the SqlQuery structure.
func (*SqlQueryReader) ReadResponse ¶
func (o *SqlQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the recieved o.