running_queries

package
v0.0.0-...-09f9b81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllRunningQueriesNotFound

type AllRunningQueriesNotFound struct {
	Payload *models.Error
}

AllRunningQueriesNotFound handles this case with default header values.

Not Found

func NewAllRunningQueriesNotFound

func NewAllRunningQueriesNotFound() *AllRunningQueriesNotFound

NewAllRunningQueriesNotFound creates a AllRunningQueriesNotFound with default headers values

func (*AllRunningQueriesNotFound) Error

func (o *AllRunningQueriesNotFound) Error() string

type AllRunningQueriesOK

type AllRunningQueriesOK struct {
	Payload []*models.RunningQueries
}

AllRunningQueriesOK handles this case with default header values.

Running Queries.

func NewAllRunningQueriesOK

func NewAllRunningQueriesOK() *AllRunningQueriesOK

NewAllRunningQueriesOK creates a AllRunningQueriesOK with default headers values

func (*AllRunningQueriesOK) Error

func (o *AllRunningQueriesOK) Error() string

type AllRunningQueriesParams

type AllRunningQueriesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AllRunningQueriesParams contains all the parameters to send to the API endpoint for the all running queries operation typically these are written to a http.Request

func NewAllRunningQueriesParams

func NewAllRunningQueriesParams() *AllRunningQueriesParams

NewAllRunningQueriesParams creates a new AllRunningQueriesParams object with the default values initialized.

func NewAllRunningQueriesParamsWithContext

func NewAllRunningQueriesParamsWithContext(ctx context.Context) *AllRunningQueriesParams

NewAllRunningQueriesParamsWithContext creates a new AllRunningQueriesParams object with the default values initialized, and the ability to set a context for a request

func NewAllRunningQueriesParamsWithHTTPClient

func NewAllRunningQueriesParamsWithHTTPClient(client *http.Client) *AllRunningQueriesParams

NewAllRunningQueriesParamsWithHTTPClient creates a new AllRunningQueriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAllRunningQueriesParamsWithTimeout

func NewAllRunningQueriesParamsWithTimeout(timeout time.Duration) *AllRunningQueriesParams

NewAllRunningQueriesParamsWithTimeout creates a new AllRunningQueriesParams object with the default values initialized, and the ability to set a timeout on a request

func (*AllRunningQueriesParams) SetContext

func (o *AllRunningQueriesParams) SetContext(ctx context.Context)

SetContext adds the context to the all running queries params

func (*AllRunningQueriesParams) SetHTTPClient

func (o *AllRunningQueriesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the all running queries params

func (*AllRunningQueriesParams) SetTimeout

func (o *AllRunningQueriesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the all running queries params

func (*AllRunningQueriesParams) WithContext

WithContext adds the context to the all running queries params

func (*AllRunningQueriesParams) WithHTTPClient

func (o *AllRunningQueriesParams) WithHTTPClient(client *http.Client) *AllRunningQueriesParams

WithHTTPClient adds the HTTPClient to the all running queries params

func (*AllRunningQueriesParams) WithTimeout

WithTimeout adds the timeout to the all running queries params

func (*AllRunningQueriesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AllRunningQueriesReader

type AllRunningQueriesReader struct {
	// contains filtered or unexported fields
}

AllRunningQueriesReader is a Reader for the AllRunningQueries structure.

func (*AllRunningQueriesReader) ReadResponse

func (o *AllRunningQueriesReader) 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 running queries API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new running queries API client.

func (*Client) AllRunningQueries

func (a *Client) AllRunningQueries(params *AllRunningQueriesParams) (*AllRunningQueriesOK, error)

AllRunningQueries gets all running queries

Get information about all running queries.

func (*Client) KillQuery

func (a *Client) KillQuery(params *KillQueryParams) (*KillQueryNoContent, error)

KillQuery kills running query

Kill a query with a specific query_task_id.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type KillQueryBadRequest

type KillQueryBadRequest struct {
	Payload *models.Error
}

KillQueryBadRequest handles this case with default header values.

Bad Request

func NewKillQueryBadRequest

func NewKillQueryBadRequest() *KillQueryBadRequest

NewKillQueryBadRequest creates a KillQueryBadRequest with default headers values

func (*KillQueryBadRequest) Error

func (o *KillQueryBadRequest) Error() string

type KillQueryNoContent

type KillQueryNoContent struct {
	Payload string
}

KillQueryNoContent handles this case with default header values.

Query successfully killed.

func NewKillQueryNoContent

func NewKillQueryNoContent() *KillQueryNoContent

NewKillQueryNoContent creates a KillQueryNoContent with default headers values

func (*KillQueryNoContent) Error

func (o *KillQueryNoContent) Error() string

type KillQueryNotFound

type KillQueryNotFound struct {
	Payload *models.Error
}

KillQueryNotFound handles this case with default header values.

Not Found

func NewKillQueryNotFound

func NewKillQueryNotFound() *KillQueryNotFound

NewKillQueryNotFound creates a KillQueryNotFound with default headers values

func (*KillQueryNotFound) Error

func (o *KillQueryNotFound) Error() string

type KillQueryParams

type KillQueryParams struct {

	/*QueryTaskID
	  Query task id.

	*/
	QueryTaskID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

KillQueryParams contains all the parameters to send to the API endpoint for the kill query operation typically these are written to a http.Request

func NewKillQueryParams

func NewKillQueryParams() *KillQueryParams

NewKillQueryParams creates a new KillQueryParams object with the default values initialized.

func NewKillQueryParamsWithContext

func NewKillQueryParamsWithContext(ctx context.Context) *KillQueryParams

NewKillQueryParamsWithContext creates a new KillQueryParams object with the default values initialized, and the ability to set a context for a request

func NewKillQueryParamsWithHTTPClient

func NewKillQueryParamsWithHTTPClient(client *http.Client) *KillQueryParams

NewKillQueryParamsWithHTTPClient creates a new KillQueryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewKillQueryParamsWithTimeout

func NewKillQueryParamsWithTimeout(timeout time.Duration) *KillQueryParams

NewKillQueryParamsWithTimeout creates a new KillQueryParams object with the default values initialized, and the ability to set a timeout on a request

func (*KillQueryParams) SetContext

func (o *KillQueryParams) SetContext(ctx context.Context)

SetContext adds the context to the kill query params

func (*KillQueryParams) SetHTTPClient

func (o *KillQueryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the kill query params

func (*KillQueryParams) SetQueryTaskID

func (o *KillQueryParams) SetQueryTaskID(queryTaskID string)

SetQueryTaskID adds the queryTaskId to the kill query params

func (*KillQueryParams) SetTimeout

func (o *KillQueryParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the kill query params

func (*KillQueryParams) WithContext

func (o *KillQueryParams) WithContext(ctx context.Context) *KillQueryParams

WithContext adds the context to the kill query params

func (*KillQueryParams) WithHTTPClient

func (o *KillQueryParams) WithHTTPClient(client *http.Client) *KillQueryParams

WithHTTPClient adds the HTTPClient to the kill query params

func (*KillQueryParams) WithQueryTaskID

func (o *KillQueryParams) WithQueryTaskID(queryTaskID string) *KillQueryParams

WithQueryTaskID adds the queryTaskID to the kill query params

func (*KillQueryParams) WithTimeout

func (o *KillQueryParams) WithTimeout(timeout time.Duration) *KillQueryParams

WithTimeout adds the timeout to the kill query params

func (*KillQueryParams) WriteToRequest

func (o *KillQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type KillQueryReader

type KillQueryReader struct {
	// contains filtered or unexported fields
}

KillQueryReader is a Reader for the KillQuery structure.

func (*KillQueryReader) ReadResponse

func (o *KillQueryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type KillQueryUnprocessableEntity

type KillQueryUnprocessableEntity struct {
	Payload *models.ValidationError
}

KillQueryUnprocessableEntity handles this case with default header values.

Validation Error

func NewKillQueryUnprocessableEntity

func NewKillQueryUnprocessableEntity() *KillQueryUnprocessableEntity

NewKillQueryUnprocessableEntity creates a KillQueryUnprocessableEntity with default headers values

func (*KillQueryUnprocessableEntity) Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL