datasources

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddDataSourceConflict

type AddDataSourceConflict struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceConflict describes a response with status code 409, with default header values.

ConflictError

func NewAddDataSourceConflict

func NewAddDataSourceConflict() *AddDataSourceConflict

NewAddDataSourceConflict creates a AddDataSourceConflict with default headers values

func (*AddDataSourceConflict) Error

func (o *AddDataSourceConflict) Error() string

func (*AddDataSourceConflict) GetPayload

type AddDataSourceForbidden

type AddDataSourceForbidden struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewAddDataSourceForbidden

func NewAddDataSourceForbidden() *AddDataSourceForbidden

NewAddDataSourceForbidden creates a AddDataSourceForbidden with default headers values

func (*AddDataSourceForbidden) Error

func (o *AddDataSourceForbidden) Error() string

func (*AddDataSourceForbidden) GetPayload

type AddDataSourceInternalServerError

type AddDataSourceInternalServerError struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewAddDataSourceInternalServerError

func NewAddDataSourceInternalServerError() *AddDataSourceInternalServerError

NewAddDataSourceInternalServerError creates a AddDataSourceInternalServerError with default headers values

func (*AddDataSourceInternalServerError) Error

func (*AddDataSourceInternalServerError) GetPayload

type AddDataSourceOK

type AddDataSourceOK struct {
	Payload *models.AddDataSourceOKBody
}

AddDataSourceOK describes a response with status code 200, with default header values.

(empty)

func NewAddDataSourceOK

func NewAddDataSourceOK() *AddDataSourceOK

NewAddDataSourceOK creates a AddDataSourceOK with default headers values

func (*AddDataSourceOK) Error

func (o *AddDataSourceOK) Error() string

func (*AddDataSourceOK) GetPayload

func (o *AddDataSourceOK) GetPayload() *models.AddDataSourceOKBody

type AddDataSourceParams

type AddDataSourceParams struct {

	// Body.
	Body *models.AddDataSourceCommand

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

AddDataSourceParams contains all the parameters to send to the API endpoint

for the add data source operation.

Typically these are written to a http.Request.

func NewAddDataSourceParams

func NewAddDataSourceParams() *AddDataSourceParams

NewAddDataSourceParams creates a new AddDataSourceParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewAddDataSourceParamsWithContext

func NewAddDataSourceParamsWithContext(ctx context.Context) *AddDataSourceParams

NewAddDataSourceParamsWithContext creates a new AddDataSourceParams object with the ability to set a context for a request.

func NewAddDataSourceParamsWithHTTPClient

func NewAddDataSourceParamsWithHTTPClient(client *http.Client) *AddDataSourceParams

NewAddDataSourceParamsWithHTTPClient creates a new AddDataSourceParams object with the ability to set a custom HTTPClient for a request.

func NewAddDataSourceParamsWithTimeout

func NewAddDataSourceParamsWithTimeout(timeout time.Duration) *AddDataSourceParams

NewAddDataSourceParamsWithTimeout creates a new AddDataSourceParams object with the ability to set a timeout on a request.

func (*AddDataSourceParams) SetBody

SetBody adds the body to the add data source params

func (*AddDataSourceParams) SetContext

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

SetContext adds the context to the add data source params

func (*AddDataSourceParams) SetDefaults

func (o *AddDataSourceParams) SetDefaults()

SetDefaults hydrates default values in the add data source params (not the query body).

All values with no default are reset to their zero value.

func (*AddDataSourceParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add data source params

func (*AddDataSourceParams) SetTimeout

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

SetTimeout adds the timeout to the add data source params

func (*AddDataSourceParams) WithBody

WithBody adds the body to the add data source params

func (*AddDataSourceParams) WithContext

WithContext adds the context to the add data source params

func (*AddDataSourceParams) WithDefaults

func (o *AddDataSourceParams) WithDefaults() *AddDataSourceParams

WithDefaults hydrates default values in the add data source params (not the query body).

All values with no default are reset to their zero value.

func (*AddDataSourceParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add data source params

func (*AddDataSourceParams) WithTimeout

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

WithTimeout adds the timeout to the add data source params

func (*AddDataSourceParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddDataSourceReader

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

AddDataSourceReader is a Reader for the AddDataSource structure.

func (*AddDataSourceReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddDataSourceUnauthorized

type AddDataSourceUnauthorized struct {
	Payload *models.ErrorResponseBody
}

AddDataSourceUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewAddDataSourceUnauthorized

func NewAddDataSourceUnauthorized() *AddDataSourceUnauthorized

NewAddDataSourceUnauthorized creates a AddDataSourceUnauthorized with default headers values

func (*AddDataSourceUnauthorized) Error

func (o *AddDataSourceUnauthorized) Error() string

func (*AddDataSourceUnauthorized) GetPayload

type CallDatasourceResourceByIDBadRequest

type CallDatasourceResourceByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCallDatasourceResourceByIDBadRequest

func NewCallDatasourceResourceByIDBadRequest() *CallDatasourceResourceByIDBadRequest

NewCallDatasourceResourceByIDBadRequest creates a CallDatasourceResourceByIDBadRequest with default headers values

func (*CallDatasourceResourceByIDBadRequest) Error

func (*CallDatasourceResourceByIDBadRequest) GetPayload

type CallDatasourceResourceByIDForbidden

type CallDatasourceResourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCallDatasourceResourceByIDForbidden

func NewCallDatasourceResourceByIDForbidden() *CallDatasourceResourceByIDForbidden

NewCallDatasourceResourceByIDForbidden creates a CallDatasourceResourceByIDForbidden with default headers values

func (*CallDatasourceResourceByIDForbidden) Error

func (*CallDatasourceResourceByIDForbidden) GetPayload

type CallDatasourceResourceByIDInternalServerError

type CallDatasourceResourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCallDatasourceResourceByIDInternalServerError

func NewCallDatasourceResourceByIDInternalServerError() *CallDatasourceResourceByIDInternalServerError

NewCallDatasourceResourceByIDInternalServerError creates a CallDatasourceResourceByIDInternalServerError with default headers values

func (*CallDatasourceResourceByIDInternalServerError) Error

func (*CallDatasourceResourceByIDInternalServerError) GetPayload

type CallDatasourceResourceByIDNotFound

type CallDatasourceResourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCallDatasourceResourceByIDNotFound

func NewCallDatasourceResourceByIDNotFound() *CallDatasourceResourceByIDNotFound

NewCallDatasourceResourceByIDNotFound creates a CallDatasourceResourceByIDNotFound with default headers values

func (*CallDatasourceResourceByIDNotFound) Error

func (*CallDatasourceResourceByIDNotFound) GetPayload

type CallDatasourceResourceByIDOK

type CallDatasourceResourceByIDOK struct {
	Payload *models.SuccessResponseBody
}

CallDatasourceResourceByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCallDatasourceResourceByIDOK

func NewCallDatasourceResourceByIDOK() *CallDatasourceResourceByIDOK

NewCallDatasourceResourceByIDOK creates a CallDatasourceResourceByIDOK with default headers values

func (*CallDatasourceResourceByIDOK) Error

func (*CallDatasourceResourceByIDOK) GetPayload

type CallDatasourceResourceByIDParams

type CallDatasourceResourceByIDParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

CallDatasourceResourceByIDParams contains all the parameters to send to the API endpoint

for the call datasource resource by ID operation.

Typically these are written to a http.Request.

func NewCallDatasourceResourceByIDParams

func NewCallDatasourceResourceByIDParams() *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParams creates a new CallDatasourceResourceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCallDatasourceResourceByIDParamsWithContext

func NewCallDatasourceResourceByIDParamsWithContext(ctx context.Context) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithContext creates a new CallDatasourceResourceByIDParams object with the ability to set a context for a request.

func NewCallDatasourceResourceByIDParamsWithHTTPClient

func NewCallDatasourceResourceByIDParamsWithHTTPClient(client *http.Client) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithHTTPClient creates a new CallDatasourceResourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewCallDatasourceResourceByIDParamsWithTimeout

func NewCallDatasourceResourceByIDParamsWithTimeout(timeout time.Duration) *CallDatasourceResourceByIDParams

NewCallDatasourceResourceByIDParamsWithTimeout creates a new CallDatasourceResourceByIDParams object with the ability to set a timeout on a request.

func (*CallDatasourceResourceByIDParams) SetContext

SetContext adds the context to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetDatasourceProxyRoute

func (o *CallDatasourceResourceByIDParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetDefaults

func (o *CallDatasourceResourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the call datasource resource by ID params (not the query body).

All values with no default are reset to their zero value.

func (*CallDatasourceResourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetID

SetID adds the id to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithContext

WithContext adds the context to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithDatasourceProxyRoute

func (o *CallDatasourceResourceByIDParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *CallDatasourceResourceByIDParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithDefaults

WithDefaults hydrates default values in the call datasource resource by ID params (not the query body).

All values with no default are reset to their zero value.

func (*CallDatasourceResourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithID

WithID adds the id to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WithTimeout

WithTimeout adds the timeout to the call datasource resource by ID params

func (*CallDatasourceResourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CallDatasourceResourceByIDReader

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

CallDatasourceResourceByIDReader is a Reader for the CallDatasourceResourceByID structure.

func (*CallDatasourceResourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CallDatasourceResourceByIDUnauthorized

type CallDatasourceResourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCallDatasourceResourceByIDUnauthorized

func NewCallDatasourceResourceByIDUnauthorized() *CallDatasourceResourceByIDUnauthorized

NewCallDatasourceResourceByIDUnauthorized creates a CallDatasourceResourceByIDUnauthorized with default headers values

func (*CallDatasourceResourceByIDUnauthorized) Error

func (*CallDatasourceResourceByIDUnauthorized) GetPayload

type CallDatasourceResourceWithUIDBadRequest

type CallDatasourceResourceWithUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCallDatasourceResourceWithUIDBadRequest

func NewCallDatasourceResourceWithUIDBadRequest() *CallDatasourceResourceWithUIDBadRequest

NewCallDatasourceResourceWithUIDBadRequest creates a CallDatasourceResourceWithUIDBadRequest with default headers values

func (*CallDatasourceResourceWithUIDBadRequest) Error

func (*CallDatasourceResourceWithUIDBadRequest) GetPayload

type CallDatasourceResourceWithUIDForbidden

type CallDatasourceResourceWithUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCallDatasourceResourceWithUIDForbidden

func NewCallDatasourceResourceWithUIDForbidden() *CallDatasourceResourceWithUIDForbidden

NewCallDatasourceResourceWithUIDForbidden creates a CallDatasourceResourceWithUIDForbidden with default headers values

func (*CallDatasourceResourceWithUIDForbidden) Error

func (*CallDatasourceResourceWithUIDForbidden) GetPayload

type CallDatasourceResourceWithUIDInternalServerError

type CallDatasourceResourceWithUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCallDatasourceResourceWithUIDInternalServerError

func NewCallDatasourceResourceWithUIDInternalServerError() *CallDatasourceResourceWithUIDInternalServerError

NewCallDatasourceResourceWithUIDInternalServerError creates a CallDatasourceResourceWithUIDInternalServerError with default headers values

func (*CallDatasourceResourceWithUIDInternalServerError) Error

func (*CallDatasourceResourceWithUIDInternalServerError) GetPayload

type CallDatasourceResourceWithUIDNotFound

type CallDatasourceResourceWithUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCallDatasourceResourceWithUIDNotFound

func NewCallDatasourceResourceWithUIDNotFound() *CallDatasourceResourceWithUIDNotFound

NewCallDatasourceResourceWithUIDNotFound creates a CallDatasourceResourceWithUIDNotFound with default headers values

func (*CallDatasourceResourceWithUIDNotFound) Error

func (*CallDatasourceResourceWithUIDNotFound) GetPayload

type CallDatasourceResourceWithUIDOK

type CallDatasourceResourceWithUIDOK struct {
	Payload *models.SuccessResponseBody
}

CallDatasourceResourceWithUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCallDatasourceResourceWithUIDOK

func NewCallDatasourceResourceWithUIDOK() *CallDatasourceResourceWithUIDOK

NewCallDatasourceResourceWithUIDOK creates a CallDatasourceResourceWithUIDOK with default headers values

func (*CallDatasourceResourceWithUIDOK) Error

func (*CallDatasourceResourceWithUIDOK) GetPayload

type CallDatasourceResourceWithUIDParams

type CallDatasourceResourceWithUIDParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

CallDatasourceResourceWithUIDParams contains all the parameters to send to the API endpoint

for the call datasource resource with UID operation.

Typically these are written to a http.Request.

func NewCallDatasourceResourceWithUIDParams

func NewCallDatasourceResourceWithUIDParams() *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParams creates a new CallDatasourceResourceWithUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCallDatasourceResourceWithUIDParamsWithContext

func NewCallDatasourceResourceWithUIDParamsWithContext(ctx context.Context) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithContext creates a new CallDatasourceResourceWithUIDParams object with the ability to set a context for a request.

func NewCallDatasourceResourceWithUIDParamsWithHTTPClient

func NewCallDatasourceResourceWithUIDParamsWithHTTPClient(client *http.Client) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithHTTPClient creates a new CallDatasourceResourceWithUIDParams object with the ability to set a custom HTTPClient for a request.

func NewCallDatasourceResourceWithUIDParamsWithTimeout

func NewCallDatasourceResourceWithUIDParamsWithTimeout(timeout time.Duration) *CallDatasourceResourceWithUIDParams

NewCallDatasourceResourceWithUIDParamsWithTimeout creates a new CallDatasourceResourceWithUIDParams object with the ability to set a timeout on a request.

func (*CallDatasourceResourceWithUIDParams) SetContext

SetContext adds the context to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetDatasourceProxyRoute

func (o *CallDatasourceResourceWithUIDParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetDefaults

func (o *CallDatasourceResourceWithUIDParams) SetDefaults()

SetDefaults hydrates default values in the call datasource resource with UID params (not the query body).

All values with no default are reset to their zero value.

func (*CallDatasourceResourceWithUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetTimeout

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

SetTimeout adds the timeout to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) SetUID

SetUID adds the uid to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithContext

WithContext adds the context to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithDatasourceProxyRoute

func (o *CallDatasourceResourceWithUIDParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *CallDatasourceResourceWithUIDParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithDefaults

WithDefaults hydrates default values in the call datasource resource with UID params (not the query body).

All values with no default are reset to their zero value.

func (*CallDatasourceResourceWithUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithTimeout

WithTimeout adds the timeout to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WithUID

WithUID adds the uid to the call datasource resource with UID params

func (*CallDatasourceResourceWithUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CallDatasourceResourceWithUIDReader

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

CallDatasourceResourceWithUIDReader is a Reader for the CallDatasourceResourceWithUID structure.

func (*CallDatasourceResourceWithUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CallDatasourceResourceWithUIDUnauthorized

type CallDatasourceResourceWithUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CallDatasourceResourceWithUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCallDatasourceResourceWithUIDUnauthorized

func NewCallDatasourceResourceWithUIDUnauthorized() *CallDatasourceResourceWithUIDUnauthorized

NewCallDatasourceResourceWithUIDUnauthorized creates a CallDatasourceResourceWithUIDUnauthorized with default headers values

func (*CallDatasourceResourceWithUIDUnauthorized) Error

func (*CallDatasourceResourceWithUIDUnauthorized) GetPayload

type CheckDatasourceHealthByIDBadRequest

type CheckDatasourceHealthByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCheckDatasourceHealthByIDBadRequest

func NewCheckDatasourceHealthByIDBadRequest() *CheckDatasourceHealthByIDBadRequest

NewCheckDatasourceHealthByIDBadRequest creates a CheckDatasourceHealthByIDBadRequest with default headers values

func (*CheckDatasourceHealthByIDBadRequest) Error

func (*CheckDatasourceHealthByIDBadRequest) GetPayload

type CheckDatasourceHealthByIDForbidden

type CheckDatasourceHealthByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCheckDatasourceHealthByIDForbidden

func NewCheckDatasourceHealthByIDForbidden() *CheckDatasourceHealthByIDForbidden

NewCheckDatasourceHealthByIDForbidden creates a CheckDatasourceHealthByIDForbidden with default headers values

func (*CheckDatasourceHealthByIDForbidden) Error

func (*CheckDatasourceHealthByIDForbidden) GetPayload

type CheckDatasourceHealthByIDInternalServerError

type CheckDatasourceHealthByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCheckDatasourceHealthByIDInternalServerError

func NewCheckDatasourceHealthByIDInternalServerError() *CheckDatasourceHealthByIDInternalServerError

NewCheckDatasourceHealthByIDInternalServerError creates a CheckDatasourceHealthByIDInternalServerError with default headers values

func (*CheckDatasourceHealthByIDInternalServerError) Error

func (*CheckDatasourceHealthByIDInternalServerError) GetPayload

type CheckDatasourceHealthByIDOK

type CheckDatasourceHealthByIDOK struct {
	Payload *models.SuccessResponseBody
}

CheckDatasourceHealthByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCheckDatasourceHealthByIDOK

func NewCheckDatasourceHealthByIDOK() *CheckDatasourceHealthByIDOK

NewCheckDatasourceHealthByIDOK creates a CheckDatasourceHealthByIDOK with default headers values

func (*CheckDatasourceHealthByIDOK) Error

func (*CheckDatasourceHealthByIDOK) GetPayload

type CheckDatasourceHealthByIDParams

type CheckDatasourceHealthByIDParams struct {

	// ID.
	ID string

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

CheckDatasourceHealthByIDParams contains all the parameters to send to the API endpoint

for the check datasource health by ID operation.

Typically these are written to a http.Request.

func NewCheckDatasourceHealthByIDParams

func NewCheckDatasourceHealthByIDParams() *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParams creates a new CheckDatasourceHealthByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCheckDatasourceHealthByIDParamsWithContext

func NewCheckDatasourceHealthByIDParamsWithContext(ctx context.Context) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithContext creates a new CheckDatasourceHealthByIDParams object with the ability to set a context for a request.

func NewCheckDatasourceHealthByIDParamsWithHTTPClient

func NewCheckDatasourceHealthByIDParamsWithHTTPClient(client *http.Client) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithHTTPClient creates a new CheckDatasourceHealthByIDParams object with the ability to set a custom HTTPClient for a request.

func NewCheckDatasourceHealthByIDParamsWithTimeout

func NewCheckDatasourceHealthByIDParamsWithTimeout(timeout time.Duration) *CheckDatasourceHealthByIDParams

NewCheckDatasourceHealthByIDParamsWithTimeout creates a new CheckDatasourceHealthByIDParams object with the ability to set a timeout on a request.

func (*CheckDatasourceHealthByIDParams) SetContext

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

SetContext adds the context to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetDefaults

func (o *CheckDatasourceHealthByIDParams) SetDefaults()

SetDefaults hydrates default values in the check datasource health by ID params (not the query body).

All values with no default are reset to their zero value.

func (*CheckDatasourceHealthByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetID

SetID adds the id to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) SetTimeout

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

SetTimeout adds the timeout to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithContext

WithContext adds the context to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithDefaults

WithDefaults hydrates default values in the check datasource health by ID params (not the query body).

All values with no default are reset to their zero value.

func (*CheckDatasourceHealthByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithID

WithID adds the id to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WithTimeout

WithTimeout adds the timeout to the check datasource health by ID params

func (*CheckDatasourceHealthByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckDatasourceHealthByIDReader

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

CheckDatasourceHealthByIDReader is a Reader for the CheckDatasourceHealthByID structure.

func (*CheckDatasourceHealthByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckDatasourceHealthByIDUnauthorized

type CheckDatasourceHealthByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCheckDatasourceHealthByIDUnauthorized

func NewCheckDatasourceHealthByIDUnauthorized() *CheckDatasourceHealthByIDUnauthorized

NewCheckDatasourceHealthByIDUnauthorized creates a CheckDatasourceHealthByIDUnauthorized with default headers values

func (*CheckDatasourceHealthByIDUnauthorized) Error

func (*CheckDatasourceHealthByIDUnauthorized) GetPayload

type CheckDatasourceHealthWithUIDBadRequest

type CheckDatasourceHealthWithUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewCheckDatasourceHealthWithUIDBadRequest

func NewCheckDatasourceHealthWithUIDBadRequest() *CheckDatasourceHealthWithUIDBadRequest

NewCheckDatasourceHealthWithUIDBadRequest creates a CheckDatasourceHealthWithUIDBadRequest with default headers values

func (*CheckDatasourceHealthWithUIDBadRequest) Error

func (*CheckDatasourceHealthWithUIDBadRequest) GetPayload

type CheckDatasourceHealthWithUIDForbidden

type CheckDatasourceHealthWithUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCheckDatasourceHealthWithUIDForbidden

func NewCheckDatasourceHealthWithUIDForbidden() *CheckDatasourceHealthWithUIDForbidden

NewCheckDatasourceHealthWithUIDForbidden creates a CheckDatasourceHealthWithUIDForbidden with default headers values

func (*CheckDatasourceHealthWithUIDForbidden) Error

func (*CheckDatasourceHealthWithUIDForbidden) GetPayload

type CheckDatasourceHealthWithUIDInternalServerError

type CheckDatasourceHealthWithUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCheckDatasourceHealthWithUIDInternalServerError

func NewCheckDatasourceHealthWithUIDInternalServerError() *CheckDatasourceHealthWithUIDInternalServerError

NewCheckDatasourceHealthWithUIDInternalServerError creates a CheckDatasourceHealthWithUIDInternalServerError with default headers values

func (*CheckDatasourceHealthWithUIDInternalServerError) Error

func (*CheckDatasourceHealthWithUIDInternalServerError) GetPayload

type CheckDatasourceHealthWithUIDOK

type CheckDatasourceHealthWithUIDOK struct {
	Payload *models.SuccessResponseBody
}

CheckDatasourceHealthWithUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewCheckDatasourceHealthWithUIDOK

func NewCheckDatasourceHealthWithUIDOK() *CheckDatasourceHealthWithUIDOK

NewCheckDatasourceHealthWithUIDOK creates a CheckDatasourceHealthWithUIDOK with default headers values

func (*CheckDatasourceHealthWithUIDOK) Error

func (*CheckDatasourceHealthWithUIDOK) GetPayload

type CheckDatasourceHealthWithUIDParams

type CheckDatasourceHealthWithUIDParams struct {

	// UID.
	UID string

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

CheckDatasourceHealthWithUIDParams contains all the parameters to send to the API endpoint

for the check datasource health with UID operation.

Typically these are written to a http.Request.

func NewCheckDatasourceHealthWithUIDParams

func NewCheckDatasourceHealthWithUIDParams() *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParams creates a new CheckDatasourceHealthWithUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCheckDatasourceHealthWithUIDParamsWithContext

func NewCheckDatasourceHealthWithUIDParamsWithContext(ctx context.Context) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithContext creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a context for a request.

func NewCheckDatasourceHealthWithUIDParamsWithHTTPClient

func NewCheckDatasourceHealthWithUIDParamsWithHTTPClient(client *http.Client) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithHTTPClient creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a custom HTTPClient for a request.

func NewCheckDatasourceHealthWithUIDParamsWithTimeout

func NewCheckDatasourceHealthWithUIDParamsWithTimeout(timeout time.Duration) *CheckDatasourceHealthWithUIDParams

NewCheckDatasourceHealthWithUIDParamsWithTimeout creates a new CheckDatasourceHealthWithUIDParams object with the ability to set a timeout on a request.

func (*CheckDatasourceHealthWithUIDParams) SetContext

SetContext adds the context to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetDefaults

func (o *CheckDatasourceHealthWithUIDParams) SetDefaults()

SetDefaults hydrates default values in the check datasource health with UID params (not the query body).

All values with no default are reset to their zero value.

func (*CheckDatasourceHealthWithUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetTimeout

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

SetTimeout adds the timeout to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) SetUID

SetUID adds the uid to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithContext

WithContext adds the context to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithDefaults

WithDefaults hydrates default values in the check datasource health with UID params (not the query body).

All values with no default are reset to their zero value.

func (*CheckDatasourceHealthWithUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithTimeout

WithTimeout adds the timeout to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WithUID

WithUID adds the uid to the check datasource health with UID params

func (*CheckDatasourceHealthWithUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CheckDatasourceHealthWithUIDReader

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

CheckDatasourceHealthWithUIDReader is a Reader for the CheckDatasourceHealthWithUID structure.

func (*CheckDatasourceHealthWithUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CheckDatasourceHealthWithUIDUnauthorized

type CheckDatasourceHealthWithUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CheckDatasourceHealthWithUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCheckDatasourceHealthWithUIDUnauthorized

func NewCheckDatasourceHealthWithUIDUnauthorized() *CheckDatasourceHealthWithUIDUnauthorized

NewCheckDatasourceHealthWithUIDUnauthorized creates a CheckDatasourceHealthWithUIDUnauthorized with default headers values

func (*CheckDatasourceHealthWithUIDUnauthorized) Error

func (*CheckDatasourceHealthWithUIDUnauthorized) GetPayload

type Client

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

Client for datasources API

func (*Client) AddDataSource

func (a *Client) AddDataSource(params *AddDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddDataSourceOK, error)
AddDataSource creates a data source

By defining `password` and `basicAuthPassword` under secureJsonData property

Grafana encrypts them securely as an encrypted blob in the database. The response then lists the encrypted fields under secureJsonFields.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:create`

func (*Client) CallDatasourceResourceByID

func (a *Client) CallDatasourceResourceByID(params *CallDatasourceResourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)

CallDatasourceResourceByID fetches data source resources by Id

Please refer to [updated API](#/datasources/callDatasourceResourceWithUID) instead

func (*Client) CallDatasourceResourceWithUID

func (a *Client) CallDatasourceResourceWithUID(params *CallDatasourceResourceWithUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)

CallDatasourceResourceWithUID fetches data source resources

func (*Client) CheckDatasourceHealthByID

func (a *Client) CheckDatasourceHealthByID(params *CheckDatasourceHealthByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)

CheckDatasourceHealthByID sends a health check request to the plugin datasource identified by the ID

Please refer to [updated API](#/datasources/checkDatasourceHealthWithUID) instead

func (*Client) CheckDatasourceHealthWithUID

func (a *Client) CheckDatasourceHealthWithUID(params *CheckDatasourceHealthWithUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)

CheckDatasourceHealthWithUID sends a health check request to the plugin datasource identified by the UID

func (*Client) DatasourceProxyDELETEByUIDcalls

DatasourceProxyDELETEByUIDcalls data source proxy d e l e t e calls

Proxies all calls to the actual data source.

func (*Client) DatasourceProxyDELETEcalls

DatasourceProxyDELETEcalls data source proxy d e l e t e calls

Proxies all calls to the actual data source.

Please refer to [updated API](#/datasources/datasourceProxyDELETEByUIDcalls) instead

func (*Client) DatasourceProxyGETByUIDcalls

func (a *Client) DatasourceProxyGETByUIDcalls(params *DatasourceProxyGETByUIDcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)

DatasourceProxyGETByUIDcalls data source proxy g e t calls

Proxies all calls to the actual data source.

func (*Client) DatasourceProxyGETcalls

func (a *Client) DatasourceProxyGETcalls(params *DatasourceProxyGETcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)
DatasourceProxyGETcalls data source proxy g e t calls

Proxies all calls to the actual data source.

Please refer to [updated API](#/datasources/datasourceProxyGETByUIDcalls) instead

func (*Client) DatasourceProxyPOSTByUIDcalls

DatasourceProxyPOSTByUIDcalls data source proxy p o s t calls

Proxies all calls to the actual data source. The data source should support POST methods for the specific path and role as defined

func (*Client) DatasourceProxyPOSTcalls

DatasourceProxyPOSTcalls data source proxy p o s t calls

Proxies all calls to the actual data source. The data source should support POST methods for the specific path and role as defined

Please refer to [updated API](#/datasources/datasourceProxyPOSTByUIDcalls) instead

func (*Client) DeleteDataSourceByID

func (a *Client) DeleteDataSourceByID(params *DeleteDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)
DeleteDataSourceByID deletes an existing data source by id

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/deleteDataSourceByUID) instead

func (*Client) DeleteDataSourceByName

func (a *Client) DeleteDataSourceByName(params *DeleteDataSourceByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)
DeleteDataSourceByName deletes an existing data source by name

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) DeleteDataSourceByUID

func (a *Client) DeleteDataSourceByUID(params *DeleteDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)
DeleteDataSourceByUID deletes an existing data source by UID

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:delete` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:kLtEtcRGk` (single data source).

func (*Client) GetDataSourceByID

func (a *Client) GetDataSourceByID(params *GetDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByIDOK, error)
GetDataSourceByID gets a single data source by Id

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/getDataSourceByUID) instead

func (*Client) GetDataSourceByName

func (a *Client) GetDataSourceByName(params *GetDataSourceByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByNameOK, error)
GetDataSourceByName gets a single data source by name

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) GetDataSourceByUID

func (a *Client) GetDataSourceByUID(params *GetDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByUIDOK, error)
GetDataSourceByUID gets a single data source by UID

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:kLtEtcRGk` (single data source).

func (*Client) GetDataSourceIDByName

func (a *Client) GetDataSourceIDByName(params *GetDataSourceIDByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)
GetDataSourceIDByName gets data source Id by name

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:read` and scopes: `datasources:*`, `datasources:name:*` and `datasources:name:test_datasource` (single data source).

func (*Client) GetDataSources

func (a *Client) GetDataSources(params *GetDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourcesOK, error)
GetDataSources gets all data sources

If you are running Grafana Enterprise and have Fine-grained access control enabled

you need to have a permission with action: `datasources:read` and scope: `datasources:*`.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDataSourceByID

func (a *Client) UpdateDataSourceByID(params *UpdateDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)
UpdateDataSourceByID updates an existing data source by its sequential ID

Similar to creating a data source, `password` and `basicAuthPassword` should be defined under

secureJsonData in order to be stored securely as an encrypted blob in the database. Then, the encrypted fields are listed under secureJsonFields section in the response.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:write` and scopes: `datasources:*`, `datasources:id:*` and `datasources:id:1` (single data source).

Please refer to [updated API](#/datasources/updateDataSourceByUID) instead

func (*Client) UpdateDataSourceByUID

func (a *Client) UpdateDataSourceByUID(params *UpdateDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceByUIDOK, error)
UpdateDataSourceByUID updates an existing data source

Similar to creating a data source, `password` and `basicAuthPassword` should be defined under

secureJsonData in order to be stored securely as an encrypted blob in the database. Then, the encrypted fields are listed under secureJsonFields section in the response.

If you are running Grafana Enterprise and have Fine-grained access control enabled you need to have a permission with action: `datasources:write` and scopes: `datasources:*`, `datasources:uid:*` and `datasources:uid:1` (single data source).

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddDataSource(params *AddDataSourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddDataSourceOK, error)

	CallDatasourceResourceByID(params *CallDatasourceResourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CallDatasourceResourceByIDOK, error)

	CallDatasourceResourceWithUID(params *CallDatasourceResourceWithUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CallDatasourceResourceWithUIDOK, error)

	CheckDatasourceHealthByID(params *CheckDatasourceHealthByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDatasourceHealthByIDOK, error)

	CheckDatasourceHealthWithUID(params *CheckDatasourceHealthWithUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CheckDatasourceHealthWithUIDOK, error)

	DatasourceProxyDELETEByUIDcalls(params *DatasourceProxyDELETEByUIDcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyDELETEByUIDcallsAccepted, error)

	DatasourceProxyDELETEcalls(params *DatasourceProxyDELETEcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyDELETEcallsAccepted, error)

	DatasourceProxyGETByUIDcalls(params *DatasourceProxyGETByUIDcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyGETByUIDcallsOK, error)

	DatasourceProxyGETcalls(params *DatasourceProxyGETcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyGETcallsOK, error)

	DatasourceProxyPOSTByUIDcalls(params *DatasourceProxyPOSTByUIDcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyPOSTByUIDcallsCreated, *DatasourceProxyPOSTByUIDcallsAccepted, error)

	DatasourceProxyPOSTcalls(params *DatasourceProxyPOSTcallsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DatasourceProxyPOSTcallsCreated, *DatasourceProxyPOSTcallsAccepted, error)

	DeleteDataSourceByID(params *DeleteDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByIDOK, error)

	DeleteDataSourceByName(params *DeleteDataSourceByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByNameOK, error)

	DeleteDataSourceByUID(params *DeleteDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDataSourceByUIDOK, error)

	GetDataSourceByID(params *GetDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByIDOK, error)

	GetDataSourceByName(params *GetDataSourceByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByNameOK, error)

	GetDataSourceByUID(params *GetDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceByUIDOK, error)

	GetDataSourceIDByName(params *GetDataSourceIDByNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourceIDByNameOK, error)

	GetDataSources(params *GetDataSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDataSourcesOK, error)

	UpdateDataSourceByID(params *UpdateDataSourceByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceByIDOK, error)

	UpdateDataSourceByUID(params *UpdateDataSourceByUIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDataSourceByUIDOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new datasources API client.

type DatasourceProxyDELETEByUIDcallsAccepted

type DatasourceProxyDELETEByUIDcallsAccepted struct {
}

DatasourceProxyDELETEByUIDcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyDELETEByUIDcallsAccepted

func NewDatasourceProxyDELETEByUIDcallsAccepted() *DatasourceProxyDELETEByUIDcallsAccepted

NewDatasourceProxyDELETEByUIDcallsAccepted creates a DatasourceProxyDELETEByUIDcallsAccepted with default headers values

func (*DatasourceProxyDELETEByUIDcallsAccepted) Error

type DatasourceProxyDELETEByUIDcallsBadRequest

type DatasourceProxyDELETEByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyDELETEByUIDcallsBadRequest

func NewDatasourceProxyDELETEByUIDcallsBadRequest() *DatasourceProxyDELETEByUIDcallsBadRequest

NewDatasourceProxyDELETEByUIDcallsBadRequest creates a DatasourceProxyDELETEByUIDcallsBadRequest with default headers values

func (*DatasourceProxyDELETEByUIDcallsBadRequest) Error

func (*DatasourceProxyDELETEByUIDcallsBadRequest) GetPayload

type DatasourceProxyDELETEByUIDcallsForbidden

type DatasourceProxyDELETEByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyDELETEByUIDcallsForbidden

func NewDatasourceProxyDELETEByUIDcallsForbidden() *DatasourceProxyDELETEByUIDcallsForbidden

NewDatasourceProxyDELETEByUIDcallsForbidden creates a DatasourceProxyDELETEByUIDcallsForbidden with default headers values

func (*DatasourceProxyDELETEByUIDcallsForbidden) Error

func (*DatasourceProxyDELETEByUIDcallsForbidden) GetPayload

type DatasourceProxyDELETEByUIDcallsInternalServerError

type DatasourceProxyDELETEByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyDELETEByUIDcallsInternalServerError

func NewDatasourceProxyDELETEByUIDcallsInternalServerError() *DatasourceProxyDELETEByUIDcallsInternalServerError

NewDatasourceProxyDELETEByUIDcallsInternalServerError creates a DatasourceProxyDELETEByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) Error

func (*DatasourceProxyDELETEByUIDcallsInternalServerError) GetPayload

type DatasourceProxyDELETEByUIDcallsNotFound

type DatasourceProxyDELETEByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyDELETEByUIDcallsNotFound

func NewDatasourceProxyDELETEByUIDcallsNotFound() *DatasourceProxyDELETEByUIDcallsNotFound

NewDatasourceProxyDELETEByUIDcallsNotFound creates a DatasourceProxyDELETEByUIDcallsNotFound with default headers values

func (*DatasourceProxyDELETEByUIDcallsNotFound) Error

func (*DatasourceProxyDELETEByUIDcallsNotFound) GetPayload

type DatasourceProxyDELETEByUIDcallsParams

type DatasourceProxyDELETEByUIDcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyDELETEByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy d e l e t e by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyDELETEByUIDcallsParams

func NewDatasourceProxyDELETEByUIDcallsParams() *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParams creates a new DatasourceProxyDELETEByUIDcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyDELETEByUIDcallsParamsWithContext

func NewDatasourceProxyDELETEByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithContext creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout

func NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyDELETEByUIDcallsParams

NewDatasourceProxyDELETEByUIDcallsParamsWithTimeout creates a new DatasourceProxyDELETEByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyDELETEByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyDELETEByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetDefaults

func (o *DatasourceProxyDELETEByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy d e l e t e by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyDELETEByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyDELETEByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyDELETEByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy d e l e t e by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyDELETEByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy d e l e t e by UI dcalls params

func (*DatasourceProxyDELETEByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyDELETEByUIDcallsReader

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

DatasourceProxyDELETEByUIDcallsReader is a Reader for the DatasourceProxyDELETEByUIDcalls structure.

func (*DatasourceProxyDELETEByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyDELETEByUIDcallsUnauthorized

type DatasourceProxyDELETEByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyDELETEByUIDcallsUnauthorized

func NewDatasourceProxyDELETEByUIDcallsUnauthorized() *DatasourceProxyDELETEByUIDcallsUnauthorized

NewDatasourceProxyDELETEByUIDcallsUnauthorized creates a DatasourceProxyDELETEByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) Error

func (*DatasourceProxyDELETEByUIDcallsUnauthorized) GetPayload

type DatasourceProxyDELETEcallsAccepted

type DatasourceProxyDELETEcallsAccepted struct {
}

DatasourceProxyDELETEcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyDELETEcallsAccepted

func NewDatasourceProxyDELETEcallsAccepted() *DatasourceProxyDELETEcallsAccepted

NewDatasourceProxyDELETEcallsAccepted creates a DatasourceProxyDELETEcallsAccepted with default headers values

func (*DatasourceProxyDELETEcallsAccepted) Error

type DatasourceProxyDELETEcallsBadRequest

type DatasourceProxyDELETEcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyDELETEcallsBadRequest

func NewDatasourceProxyDELETEcallsBadRequest() *DatasourceProxyDELETEcallsBadRequest

NewDatasourceProxyDELETEcallsBadRequest creates a DatasourceProxyDELETEcallsBadRequest with default headers values

func (*DatasourceProxyDELETEcallsBadRequest) Error

func (*DatasourceProxyDELETEcallsBadRequest) GetPayload

type DatasourceProxyDELETEcallsForbidden

type DatasourceProxyDELETEcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyDELETEcallsForbidden

func NewDatasourceProxyDELETEcallsForbidden() *DatasourceProxyDELETEcallsForbidden

NewDatasourceProxyDELETEcallsForbidden creates a DatasourceProxyDELETEcallsForbidden with default headers values

func (*DatasourceProxyDELETEcallsForbidden) Error

func (*DatasourceProxyDELETEcallsForbidden) GetPayload

type DatasourceProxyDELETEcallsInternalServerError

type DatasourceProxyDELETEcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyDELETEcallsInternalServerError

func NewDatasourceProxyDELETEcallsInternalServerError() *DatasourceProxyDELETEcallsInternalServerError

NewDatasourceProxyDELETEcallsInternalServerError creates a DatasourceProxyDELETEcallsInternalServerError with default headers values

func (*DatasourceProxyDELETEcallsInternalServerError) Error

func (*DatasourceProxyDELETEcallsInternalServerError) GetPayload

type DatasourceProxyDELETEcallsNotFound

type DatasourceProxyDELETEcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyDELETEcallsNotFound

func NewDatasourceProxyDELETEcallsNotFound() *DatasourceProxyDELETEcallsNotFound

NewDatasourceProxyDELETEcallsNotFound creates a DatasourceProxyDELETEcallsNotFound with default headers values

func (*DatasourceProxyDELETEcallsNotFound) Error

func (*DatasourceProxyDELETEcallsNotFound) GetPayload

type DatasourceProxyDELETEcallsParams

type DatasourceProxyDELETEcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyDELETEcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy d e l e t ecalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyDELETEcallsParams

func NewDatasourceProxyDELETEcallsParams() *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParams creates a new DatasourceProxyDELETEcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyDELETEcallsParamsWithContext

func NewDatasourceProxyDELETEcallsParamsWithContext(ctx context.Context) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithContext creates a new DatasourceProxyDELETEcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyDELETEcallsParamsWithHTTPClient

func NewDatasourceProxyDELETEcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithHTTPClient creates a new DatasourceProxyDELETEcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyDELETEcallsParamsWithTimeout

func NewDatasourceProxyDELETEcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyDELETEcallsParams

NewDatasourceProxyDELETEcallsParamsWithTimeout creates a new DatasourceProxyDELETEcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyDELETEcallsParams) SetContext

SetContext adds the context to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyDELETEcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetDefaults

func (o *DatasourceProxyDELETEcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy d e l e t ecalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyDELETEcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetID

SetID adds the id to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithContext

WithContext adds the context to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyDELETEcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyDELETEcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy d e l e t ecalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyDELETEcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithID

WithID adds the id to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy d e l e t ecalls params

func (*DatasourceProxyDELETEcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyDELETEcallsReader

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

DatasourceProxyDELETEcallsReader is a Reader for the DatasourceProxyDELETEcalls structure.

func (*DatasourceProxyDELETEcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyDELETEcallsUnauthorized

type DatasourceProxyDELETEcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyDELETEcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyDELETEcallsUnauthorized

func NewDatasourceProxyDELETEcallsUnauthorized() *DatasourceProxyDELETEcallsUnauthorized

NewDatasourceProxyDELETEcallsUnauthorized creates a DatasourceProxyDELETEcallsUnauthorized with default headers values

func (*DatasourceProxyDELETEcallsUnauthorized) Error

func (*DatasourceProxyDELETEcallsUnauthorized) GetPayload

type DatasourceProxyGETByUIDcallsBadRequest

type DatasourceProxyGETByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyGETByUIDcallsBadRequest

func NewDatasourceProxyGETByUIDcallsBadRequest() *DatasourceProxyGETByUIDcallsBadRequest

NewDatasourceProxyGETByUIDcallsBadRequest creates a DatasourceProxyGETByUIDcallsBadRequest with default headers values

func (*DatasourceProxyGETByUIDcallsBadRequest) Error

func (*DatasourceProxyGETByUIDcallsBadRequest) GetPayload

type DatasourceProxyGETByUIDcallsForbidden

type DatasourceProxyGETByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyGETByUIDcallsForbidden

func NewDatasourceProxyGETByUIDcallsForbidden() *DatasourceProxyGETByUIDcallsForbidden

NewDatasourceProxyGETByUIDcallsForbidden creates a DatasourceProxyGETByUIDcallsForbidden with default headers values

func (*DatasourceProxyGETByUIDcallsForbidden) Error

func (*DatasourceProxyGETByUIDcallsForbidden) GetPayload

type DatasourceProxyGETByUIDcallsInternalServerError

type DatasourceProxyGETByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyGETByUIDcallsInternalServerError

func NewDatasourceProxyGETByUIDcallsInternalServerError() *DatasourceProxyGETByUIDcallsInternalServerError

NewDatasourceProxyGETByUIDcallsInternalServerError creates a DatasourceProxyGETByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyGETByUIDcallsInternalServerError) Error

func (*DatasourceProxyGETByUIDcallsInternalServerError) GetPayload

type DatasourceProxyGETByUIDcallsNotFound

type DatasourceProxyGETByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyGETByUIDcallsNotFound

func NewDatasourceProxyGETByUIDcallsNotFound() *DatasourceProxyGETByUIDcallsNotFound

NewDatasourceProxyGETByUIDcallsNotFound creates a DatasourceProxyGETByUIDcallsNotFound with default headers values

func (*DatasourceProxyGETByUIDcallsNotFound) Error

func (*DatasourceProxyGETByUIDcallsNotFound) GetPayload

type DatasourceProxyGETByUIDcallsOK

type DatasourceProxyGETByUIDcallsOK struct {
}

DatasourceProxyGETByUIDcallsOK describes a response with status code 200, with default header values.

(empty)

func NewDatasourceProxyGETByUIDcallsOK

func NewDatasourceProxyGETByUIDcallsOK() *DatasourceProxyGETByUIDcallsOK

NewDatasourceProxyGETByUIDcallsOK creates a DatasourceProxyGETByUIDcallsOK with default headers values

func (*DatasourceProxyGETByUIDcallsOK) Error

type DatasourceProxyGETByUIDcallsParams

type DatasourceProxyGETByUIDcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyGETByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy g e t by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyGETByUIDcallsParams

func NewDatasourceProxyGETByUIDcallsParams() *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParams creates a new DatasourceProxyGETByUIDcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyGETByUIDcallsParamsWithContext

func NewDatasourceProxyGETByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithContext creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyGETByUIDcallsParamsWithTimeout

func NewDatasourceProxyGETByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyGETByUIDcallsParams

NewDatasourceProxyGETByUIDcallsParamsWithTimeout creates a new DatasourceProxyGETByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyGETByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyGETByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetDefaults

func (o *DatasourceProxyGETByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy g e t by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyGETByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyGETByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyGETByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy g e t by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyGETByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy g e t by UI dcalls params

func (*DatasourceProxyGETByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyGETByUIDcallsReader

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

DatasourceProxyGETByUIDcallsReader is a Reader for the DatasourceProxyGETByUIDcalls structure.

func (*DatasourceProxyGETByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyGETByUIDcallsUnauthorized

type DatasourceProxyGETByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyGETByUIDcallsUnauthorized

func NewDatasourceProxyGETByUIDcallsUnauthorized() *DatasourceProxyGETByUIDcallsUnauthorized

NewDatasourceProxyGETByUIDcallsUnauthorized creates a DatasourceProxyGETByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyGETByUIDcallsUnauthorized) Error

func (*DatasourceProxyGETByUIDcallsUnauthorized) GetPayload

type DatasourceProxyGETcallsBadRequest

type DatasourceProxyGETcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyGETcallsBadRequest

func NewDatasourceProxyGETcallsBadRequest() *DatasourceProxyGETcallsBadRequest

NewDatasourceProxyGETcallsBadRequest creates a DatasourceProxyGETcallsBadRequest with default headers values

func (*DatasourceProxyGETcallsBadRequest) Error

func (*DatasourceProxyGETcallsBadRequest) GetPayload

type DatasourceProxyGETcallsForbidden

type DatasourceProxyGETcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyGETcallsForbidden

func NewDatasourceProxyGETcallsForbidden() *DatasourceProxyGETcallsForbidden

NewDatasourceProxyGETcallsForbidden creates a DatasourceProxyGETcallsForbidden with default headers values

func (*DatasourceProxyGETcallsForbidden) Error

func (*DatasourceProxyGETcallsForbidden) GetPayload

type DatasourceProxyGETcallsInternalServerError

type DatasourceProxyGETcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyGETcallsInternalServerError

func NewDatasourceProxyGETcallsInternalServerError() *DatasourceProxyGETcallsInternalServerError

NewDatasourceProxyGETcallsInternalServerError creates a DatasourceProxyGETcallsInternalServerError with default headers values

func (*DatasourceProxyGETcallsInternalServerError) Error

func (*DatasourceProxyGETcallsInternalServerError) GetPayload

type DatasourceProxyGETcallsNotFound

type DatasourceProxyGETcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyGETcallsNotFound

func NewDatasourceProxyGETcallsNotFound() *DatasourceProxyGETcallsNotFound

NewDatasourceProxyGETcallsNotFound creates a DatasourceProxyGETcallsNotFound with default headers values

func (*DatasourceProxyGETcallsNotFound) Error

func (*DatasourceProxyGETcallsNotFound) GetPayload

type DatasourceProxyGETcallsOK

type DatasourceProxyGETcallsOK struct {
}

DatasourceProxyGETcallsOK describes a response with status code 200, with default header values.

(empty)

func NewDatasourceProxyGETcallsOK

func NewDatasourceProxyGETcallsOK() *DatasourceProxyGETcallsOK

NewDatasourceProxyGETcallsOK creates a DatasourceProxyGETcallsOK with default headers values

func (*DatasourceProxyGETcallsOK) Error

func (o *DatasourceProxyGETcallsOK) Error() string

type DatasourceProxyGETcallsParams

type DatasourceProxyGETcallsParams struct {

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyGETcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy g e tcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyGETcallsParams

func NewDatasourceProxyGETcallsParams() *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParams creates a new DatasourceProxyGETcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyGETcallsParamsWithContext

func NewDatasourceProxyGETcallsParamsWithContext(ctx context.Context) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithContext creates a new DatasourceProxyGETcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyGETcallsParamsWithHTTPClient

func NewDatasourceProxyGETcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithHTTPClient creates a new DatasourceProxyGETcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyGETcallsParamsWithTimeout

func NewDatasourceProxyGETcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyGETcallsParams

NewDatasourceProxyGETcallsParamsWithTimeout creates a new DatasourceProxyGETcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyGETcallsParams) SetContext

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

SetContext adds the context to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyGETcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetDefaults

func (o *DatasourceProxyGETcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy g e tcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyGETcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetID

SetID adds the id to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithContext

WithContext adds the context to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyGETcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyGETcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy g e tcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyGETcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithID

WithID adds the id to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy g e tcalls params

func (*DatasourceProxyGETcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyGETcallsReader

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

DatasourceProxyGETcallsReader is a Reader for the DatasourceProxyGETcalls structure.

func (*DatasourceProxyGETcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyGETcallsUnauthorized

type DatasourceProxyGETcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyGETcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyGETcallsUnauthorized

func NewDatasourceProxyGETcallsUnauthorized() *DatasourceProxyGETcallsUnauthorized

NewDatasourceProxyGETcallsUnauthorized creates a DatasourceProxyGETcallsUnauthorized with default headers values

func (*DatasourceProxyGETcallsUnauthorized) Error

func (*DatasourceProxyGETcallsUnauthorized) GetPayload

type DatasourceProxyPOSTByUIDcallsAccepted

type DatasourceProxyPOSTByUIDcallsAccepted struct {
}

DatasourceProxyPOSTByUIDcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyPOSTByUIDcallsAccepted

func NewDatasourceProxyPOSTByUIDcallsAccepted() *DatasourceProxyPOSTByUIDcallsAccepted

NewDatasourceProxyPOSTByUIDcallsAccepted creates a DatasourceProxyPOSTByUIDcallsAccepted with default headers values

func (*DatasourceProxyPOSTByUIDcallsAccepted) Error

type DatasourceProxyPOSTByUIDcallsBadRequest

type DatasourceProxyPOSTByUIDcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyPOSTByUIDcallsBadRequest

func NewDatasourceProxyPOSTByUIDcallsBadRequest() *DatasourceProxyPOSTByUIDcallsBadRequest

NewDatasourceProxyPOSTByUIDcallsBadRequest creates a DatasourceProxyPOSTByUIDcallsBadRequest with default headers values

func (*DatasourceProxyPOSTByUIDcallsBadRequest) Error

func (*DatasourceProxyPOSTByUIDcallsBadRequest) GetPayload

type DatasourceProxyPOSTByUIDcallsCreated

type DatasourceProxyPOSTByUIDcallsCreated struct {
}

DatasourceProxyPOSTByUIDcallsCreated describes a response with status code 201, with default header values.

(empty)

func NewDatasourceProxyPOSTByUIDcallsCreated

func NewDatasourceProxyPOSTByUIDcallsCreated() *DatasourceProxyPOSTByUIDcallsCreated

NewDatasourceProxyPOSTByUIDcallsCreated creates a DatasourceProxyPOSTByUIDcallsCreated with default headers values

func (*DatasourceProxyPOSTByUIDcallsCreated) Error

type DatasourceProxyPOSTByUIDcallsForbidden

type DatasourceProxyPOSTByUIDcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyPOSTByUIDcallsForbidden

func NewDatasourceProxyPOSTByUIDcallsForbidden() *DatasourceProxyPOSTByUIDcallsForbidden

NewDatasourceProxyPOSTByUIDcallsForbidden creates a DatasourceProxyPOSTByUIDcallsForbidden with default headers values

func (*DatasourceProxyPOSTByUIDcallsForbidden) Error

func (*DatasourceProxyPOSTByUIDcallsForbidden) GetPayload

type DatasourceProxyPOSTByUIDcallsInternalServerError

type DatasourceProxyPOSTByUIDcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyPOSTByUIDcallsInternalServerError

func NewDatasourceProxyPOSTByUIDcallsInternalServerError() *DatasourceProxyPOSTByUIDcallsInternalServerError

NewDatasourceProxyPOSTByUIDcallsInternalServerError creates a DatasourceProxyPOSTByUIDcallsInternalServerError with default headers values

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) Error

func (*DatasourceProxyPOSTByUIDcallsInternalServerError) GetPayload

type DatasourceProxyPOSTByUIDcallsNotFound

type DatasourceProxyPOSTByUIDcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyPOSTByUIDcallsNotFound

func NewDatasourceProxyPOSTByUIDcallsNotFound() *DatasourceProxyPOSTByUIDcallsNotFound

NewDatasourceProxyPOSTByUIDcallsNotFound creates a DatasourceProxyPOSTByUIDcallsNotFound with default headers values

func (*DatasourceProxyPOSTByUIDcallsNotFound) Error

func (*DatasourceProxyPOSTByUIDcallsNotFound) GetPayload

type DatasourceProxyPOSTByUIDcallsParams

type DatasourceProxyPOSTByUIDcallsParams struct {

	// DatasourceProxyParam.
	DatasourceProxyParam interface{}

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// UID.
	UID string

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

DatasourceProxyPOSTByUIDcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy p o s t by UI dcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyPOSTByUIDcallsParams

func NewDatasourceProxyPOSTByUIDcallsParams() *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParams creates a new DatasourceProxyPOSTByUIDcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyPOSTByUIDcallsParamsWithContext

func NewDatasourceProxyPOSTByUIDcallsParamsWithContext(ctx context.Context) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithContext creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient

func NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithHTTPClient creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout

func NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyPOSTByUIDcallsParams

NewDatasourceProxyPOSTByUIDcallsParamsWithTimeout creates a new DatasourceProxyPOSTByUIDcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyPOSTByUIDcallsParams) SetContext

SetContext adds the context to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyParam

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyParam(datasourceProxyParam interface{})

SetDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetDefaults

func (o *DatasourceProxyPOSTByUIDcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy p o s t by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyPOSTByUIDcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) SetUID

SetUID adds the uid to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithContext

WithContext adds the context to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyParam

func (o *DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyParam(datasourceProxyParam interface{}) *DatasourceProxyPOSTByUIDcallsParams

WithDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyPOSTByUIDcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyPOSTByUIDcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy p o s t by UI dcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyPOSTByUIDcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WithUID

WithUID adds the uid to the datasource proxy p o s t by UI dcalls params

func (*DatasourceProxyPOSTByUIDcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyPOSTByUIDcallsReader

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

DatasourceProxyPOSTByUIDcallsReader is a Reader for the DatasourceProxyPOSTByUIDcalls structure.

func (*DatasourceProxyPOSTByUIDcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyPOSTByUIDcallsUnauthorized

type DatasourceProxyPOSTByUIDcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTByUIDcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyPOSTByUIDcallsUnauthorized

func NewDatasourceProxyPOSTByUIDcallsUnauthorized() *DatasourceProxyPOSTByUIDcallsUnauthorized

NewDatasourceProxyPOSTByUIDcallsUnauthorized creates a DatasourceProxyPOSTByUIDcallsUnauthorized with default headers values

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) Error

func (*DatasourceProxyPOSTByUIDcallsUnauthorized) GetPayload

type DatasourceProxyPOSTcallsAccepted

type DatasourceProxyPOSTcallsAccepted struct {
}

DatasourceProxyPOSTcallsAccepted describes a response with status code 202, with default header values.

(empty)

func NewDatasourceProxyPOSTcallsAccepted

func NewDatasourceProxyPOSTcallsAccepted() *DatasourceProxyPOSTcallsAccepted

NewDatasourceProxyPOSTcallsAccepted creates a DatasourceProxyPOSTcallsAccepted with default headers values

func (*DatasourceProxyPOSTcallsAccepted) Error

type DatasourceProxyPOSTcallsBadRequest

type DatasourceProxyPOSTcallsBadRequest struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewDatasourceProxyPOSTcallsBadRequest

func NewDatasourceProxyPOSTcallsBadRequest() *DatasourceProxyPOSTcallsBadRequest

NewDatasourceProxyPOSTcallsBadRequest creates a DatasourceProxyPOSTcallsBadRequest with default headers values

func (*DatasourceProxyPOSTcallsBadRequest) Error

func (*DatasourceProxyPOSTcallsBadRequest) GetPayload

type DatasourceProxyPOSTcallsCreated

type DatasourceProxyPOSTcallsCreated struct {
}

DatasourceProxyPOSTcallsCreated describes a response with status code 201, with default header values.

(empty)

func NewDatasourceProxyPOSTcallsCreated

func NewDatasourceProxyPOSTcallsCreated() *DatasourceProxyPOSTcallsCreated

NewDatasourceProxyPOSTcallsCreated creates a DatasourceProxyPOSTcallsCreated with default headers values

func (*DatasourceProxyPOSTcallsCreated) Error

type DatasourceProxyPOSTcallsForbidden

type DatasourceProxyPOSTcallsForbidden struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDatasourceProxyPOSTcallsForbidden

func NewDatasourceProxyPOSTcallsForbidden() *DatasourceProxyPOSTcallsForbidden

NewDatasourceProxyPOSTcallsForbidden creates a DatasourceProxyPOSTcallsForbidden with default headers values

func (*DatasourceProxyPOSTcallsForbidden) Error

func (*DatasourceProxyPOSTcallsForbidden) GetPayload

type DatasourceProxyPOSTcallsInternalServerError

type DatasourceProxyPOSTcallsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDatasourceProxyPOSTcallsInternalServerError

func NewDatasourceProxyPOSTcallsInternalServerError() *DatasourceProxyPOSTcallsInternalServerError

NewDatasourceProxyPOSTcallsInternalServerError creates a DatasourceProxyPOSTcallsInternalServerError with default headers values

func (*DatasourceProxyPOSTcallsInternalServerError) Error

func (*DatasourceProxyPOSTcallsInternalServerError) GetPayload

type DatasourceProxyPOSTcallsNotFound

type DatasourceProxyPOSTcallsNotFound struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDatasourceProxyPOSTcallsNotFound

func NewDatasourceProxyPOSTcallsNotFound() *DatasourceProxyPOSTcallsNotFound

NewDatasourceProxyPOSTcallsNotFound creates a DatasourceProxyPOSTcallsNotFound with default headers values

func (*DatasourceProxyPOSTcallsNotFound) Error

func (*DatasourceProxyPOSTcallsNotFound) GetPayload

type DatasourceProxyPOSTcallsParams

type DatasourceProxyPOSTcallsParams struct {

	// DatasourceProxyParam.
	DatasourceProxyParam interface{}

	// DatasourceProxyRoute.
	DatasourceProxyRoute string

	// ID.
	ID string

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

DatasourceProxyPOSTcallsParams contains all the parameters to send to the API endpoint

for the datasource proxy p o s tcalls operation.

Typically these are written to a http.Request.

func NewDatasourceProxyPOSTcallsParams

func NewDatasourceProxyPOSTcallsParams() *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParams creates a new DatasourceProxyPOSTcallsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDatasourceProxyPOSTcallsParamsWithContext

func NewDatasourceProxyPOSTcallsParamsWithContext(ctx context.Context) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithContext creates a new DatasourceProxyPOSTcallsParams object with the ability to set a context for a request.

func NewDatasourceProxyPOSTcallsParamsWithHTTPClient

func NewDatasourceProxyPOSTcallsParamsWithHTTPClient(client *http.Client) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithHTTPClient creates a new DatasourceProxyPOSTcallsParams object with the ability to set a custom HTTPClient for a request.

func NewDatasourceProxyPOSTcallsParamsWithTimeout

func NewDatasourceProxyPOSTcallsParamsWithTimeout(timeout time.Duration) *DatasourceProxyPOSTcallsParams

NewDatasourceProxyPOSTcallsParamsWithTimeout creates a new DatasourceProxyPOSTcallsParams object with the ability to set a timeout on a request.

func (*DatasourceProxyPOSTcallsParams) SetContext

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

SetContext adds the context to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDatasourceProxyParam

func (o *DatasourceProxyPOSTcallsParams) SetDatasourceProxyParam(datasourceProxyParam interface{})

SetDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDatasourceProxyRoute

func (o *DatasourceProxyPOSTcallsParams) SetDatasourceProxyRoute(datasourceProxyRoute string)

SetDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetDefaults

func (o *DatasourceProxyPOSTcallsParams) SetDefaults()

SetDefaults hydrates default values in the datasource proxy p o s tcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyPOSTcallsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetID

SetID adds the id to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) SetTimeout

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

SetTimeout adds the timeout to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithContext

WithContext adds the context to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDatasourceProxyParam

func (o *DatasourceProxyPOSTcallsParams) WithDatasourceProxyParam(datasourceProxyParam interface{}) *DatasourceProxyPOSTcallsParams

WithDatasourceProxyParam adds the datasourceProxyParam to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDatasourceProxyRoute

func (o *DatasourceProxyPOSTcallsParams) WithDatasourceProxyRoute(datasourceProxyRoute string) *DatasourceProxyPOSTcallsParams

WithDatasourceProxyRoute adds the datasourceProxyRoute to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithDefaults

WithDefaults hydrates default values in the datasource proxy p o s tcalls params (not the query body).

All values with no default are reset to their zero value.

func (*DatasourceProxyPOSTcallsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithID

WithID adds the id to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WithTimeout

WithTimeout adds the timeout to the datasource proxy p o s tcalls params

func (*DatasourceProxyPOSTcallsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DatasourceProxyPOSTcallsReader

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

DatasourceProxyPOSTcallsReader is a Reader for the DatasourceProxyPOSTcalls structure.

func (*DatasourceProxyPOSTcallsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DatasourceProxyPOSTcallsUnauthorized

type DatasourceProxyPOSTcallsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DatasourceProxyPOSTcallsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDatasourceProxyPOSTcallsUnauthorized

func NewDatasourceProxyPOSTcallsUnauthorized() *DatasourceProxyPOSTcallsUnauthorized

NewDatasourceProxyPOSTcallsUnauthorized creates a DatasourceProxyPOSTcallsUnauthorized with default headers values

func (*DatasourceProxyPOSTcallsUnauthorized) Error

func (*DatasourceProxyPOSTcallsUnauthorized) GetPayload

type DeleteDataSourceByIDForbidden

type DeleteDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByIDForbidden

func NewDeleteDataSourceByIDForbidden() *DeleteDataSourceByIDForbidden

NewDeleteDataSourceByIDForbidden creates a DeleteDataSourceByIDForbidden with default headers values

func (*DeleteDataSourceByIDForbidden) Error

func (*DeleteDataSourceByIDForbidden) GetPayload

type DeleteDataSourceByIDInternalServerError

type DeleteDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByIDInternalServerError

func NewDeleteDataSourceByIDInternalServerError() *DeleteDataSourceByIDInternalServerError

NewDeleteDataSourceByIDInternalServerError creates a DeleteDataSourceByIDInternalServerError with default headers values

func (*DeleteDataSourceByIDInternalServerError) Error

func (*DeleteDataSourceByIDInternalServerError) GetPayload

type DeleteDataSourceByIDNotFound

type DeleteDataSourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByIDNotFound

func NewDeleteDataSourceByIDNotFound() *DeleteDataSourceByIDNotFound

NewDeleteDataSourceByIDNotFound creates a DeleteDataSourceByIDNotFound with default headers values

func (*DeleteDataSourceByIDNotFound) Error

func (*DeleteDataSourceByIDNotFound) GetPayload

type DeleteDataSourceByIDOK

type DeleteDataSourceByIDOK struct {
	Payload *models.SuccessResponseBody
}

DeleteDataSourceByIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeleteDataSourceByIDOK

func NewDeleteDataSourceByIDOK() *DeleteDataSourceByIDOK

NewDeleteDataSourceByIDOK creates a DeleteDataSourceByIDOK with default headers values

func (*DeleteDataSourceByIDOK) Error

func (o *DeleteDataSourceByIDOK) Error() string

func (*DeleteDataSourceByIDOK) GetPayload

type DeleteDataSourceByIDParams

type DeleteDataSourceByIDParams struct {

	// ID.
	ID string

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

DeleteDataSourceByIDParams contains all the parameters to send to the API endpoint

for the delete data source by ID operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByIDParams

func NewDeleteDataSourceByIDParams() *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParams creates a new DeleteDataSourceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDataSourceByIDParamsWithContext

func NewDeleteDataSourceByIDParamsWithContext(ctx context.Context) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithContext creates a new DeleteDataSourceByIDParams object with the ability to set a context for a request.

func NewDeleteDataSourceByIDParamsWithHTTPClient

func NewDeleteDataSourceByIDParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithHTTPClient creates a new DeleteDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByIDParamsWithTimeout

func NewDeleteDataSourceByIDParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByIDParams

NewDeleteDataSourceByIDParamsWithTimeout creates a new DeleteDataSourceByIDParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByIDParams) SetContext

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

SetContext adds the context to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetDefaults

func (o *DeleteDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetID

func (o *DeleteDataSourceByIDParams) SetID(id string)

SetID adds the id to the delete data source by ID params

func (*DeleteDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithContext

WithContext adds the context to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the delete data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithID

WithID adds the id to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the delete data source by ID params

func (*DeleteDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByIDReader

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

DeleteDataSourceByIDReader is a Reader for the DeleteDataSourceByID structure.

func (*DeleteDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByIDUnauthorized

type DeleteDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByIDUnauthorized

func NewDeleteDataSourceByIDUnauthorized() *DeleteDataSourceByIDUnauthorized

NewDeleteDataSourceByIDUnauthorized creates a DeleteDataSourceByIDUnauthorized with default headers values

func (*DeleteDataSourceByIDUnauthorized) Error

func (*DeleteDataSourceByIDUnauthorized) GetPayload

type DeleteDataSourceByNameForbidden

type DeleteDataSourceByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByNameForbidden

func NewDeleteDataSourceByNameForbidden() *DeleteDataSourceByNameForbidden

NewDeleteDataSourceByNameForbidden creates a DeleteDataSourceByNameForbidden with default headers values

func (*DeleteDataSourceByNameForbidden) Error

func (*DeleteDataSourceByNameForbidden) GetPayload

type DeleteDataSourceByNameInternalServerError

type DeleteDataSourceByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByNameInternalServerError

func NewDeleteDataSourceByNameInternalServerError() *DeleteDataSourceByNameInternalServerError

NewDeleteDataSourceByNameInternalServerError creates a DeleteDataSourceByNameInternalServerError with default headers values

func (*DeleteDataSourceByNameInternalServerError) Error

func (*DeleteDataSourceByNameInternalServerError) GetPayload

type DeleteDataSourceByNameNotFound

type DeleteDataSourceByNameNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByNameNotFound

func NewDeleteDataSourceByNameNotFound() *DeleteDataSourceByNameNotFound

NewDeleteDataSourceByNameNotFound creates a DeleteDataSourceByNameNotFound with default headers values

func (*DeleteDataSourceByNameNotFound) Error

func (*DeleteDataSourceByNameNotFound) GetPayload

type DeleteDataSourceByNameOK

type DeleteDataSourceByNameOK struct {
	Payload *models.DeleteDataSourceByNameOKBody
}

DeleteDataSourceByNameOK describes a response with status code 200, with default header values.

(empty)

func NewDeleteDataSourceByNameOK

func NewDeleteDataSourceByNameOK() *DeleteDataSourceByNameOK

NewDeleteDataSourceByNameOK creates a DeleteDataSourceByNameOK with default headers values

func (*DeleteDataSourceByNameOK) Error

func (o *DeleteDataSourceByNameOK) Error() string

func (*DeleteDataSourceByNameOK) GetPayload

type DeleteDataSourceByNameParams

type DeleteDataSourceByNameParams struct {

	// Name.
	Name string

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

DeleteDataSourceByNameParams contains all the parameters to send to the API endpoint

for the delete data source by name operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByNameParams

func NewDeleteDataSourceByNameParams() *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParams creates a new DeleteDataSourceByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDataSourceByNameParamsWithContext

func NewDeleteDataSourceByNameParamsWithContext(ctx context.Context) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithContext creates a new DeleteDataSourceByNameParams object with the ability to set a context for a request.

func NewDeleteDataSourceByNameParamsWithHTTPClient

func NewDeleteDataSourceByNameParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithHTTPClient creates a new DeleteDataSourceByNameParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByNameParamsWithTimeout

func NewDeleteDataSourceByNameParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByNameParams

NewDeleteDataSourceByNameParamsWithTimeout creates a new DeleteDataSourceByNameParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByNameParams) SetContext

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

SetContext adds the context to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetDefaults

func (o *DeleteDataSourceByNameParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by name params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetName

func (o *DeleteDataSourceByNameParams) SetName(name string)

SetName adds the name to the delete data source by name params

func (*DeleteDataSourceByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithContext

WithContext adds the context to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithDefaults

WithDefaults hydrates default values in the delete data source by name params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithName

WithName adds the name to the delete data source by name params

func (*DeleteDataSourceByNameParams) WithTimeout

WithTimeout adds the timeout to the delete data source by name params

func (*DeleteDataSourceByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByNameReader

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

DeleteDataSourceByNameReader is a Reader for the DeleteDataSourceByName structure.

func (*DeleteDataSourceByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByNameUnauthorized

type DeleteDataSourceByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByNameUnauthorized

func NewDeleteDataSourceByNameUnauthorized() *DeleteDataSourceByNameUnauthorized

NewDeleteDataSourceByNameUnauthorized creates a DeleteDataSourceByNameUnauthorized with default headers values

func (*DeleteDataSourceByNameUnauthorized) Error

func (*DeleteDataSourceByNameUnauthorized) GetPayload

type DeleteDataSourceByUIDForbidden

type DeleteDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeleteDataSourceByUIDForbidden

func NewDeleteDataSourceByUIDForbidden() *DeleteDataSourceByUIDForbidden

NewDeleteDataSourceByUIDForbidden creates a DeleteDataSourceByUIDForbidden with default headers values

func (*DeleteDataSourceByUIDForbidden) Error

func (*DeleteDataSourceByUIDForbidden) GetPayload

type DeleteDataSourceByUIDInternalServerError

type DeleteDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeleteDataSourceByUIDInternalServerError

func NewDeleteDataSourceByUIDInternalServerError() *DeleteDataSourceByUIDInternalServerError

NewDeleteDataSourceByUIDInternalServerError creates a DeleteDataSourceByUIDInternalServerError with default headers values

func (*DeleteDataSourceByUIDInternalServerError) Error

func (*DeleteDataSourceByUIDInternalServerError) GetPayload

type DeleteDataSourceByUIDNotFound

type DeleteDataSourceByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeleteDataSourceByUIDNotFound

func NewDeleteDataSourceByUIDNotFound() *DeleteDataSourceByUIDNotFound

NewDeleteDataSourceByUIDNotFound creates a DeleteDataSourceByUIDNotFound with default headers values

func (*DeleteDataSourceByUIDNotFound) Error

func (*DeleteDataSourceByUIDNotFound) GetPayload

type DeleteDataSourceByUIDOK

type DeleteDataSourceByUIDOK struct {
	Payload *models.SuccessResponseBody
}

DeleteDataSourceByUIDOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeleteDataSourceByUIDOK

func NewDeleteDataSourceByUIDOK() *DeleteDataSourceByUIDOK

NewDeleteDataSourceByUIDOK creates a DeleteDataSourceByUIDOK with default headers values

func (*DeleteDataSourceByUIDOK) Error

func (o *DeleteDataSourceByUIDOK) Error() string

func (*DeleteDataSourceByUIDOK) GetPayload

type DeleteDataSourceByUIDParams

type DeleteDataSourceByUIDParams struct {

	// UID.
	UID string

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

DeleteDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the delete data source by UID operation.

Typically these are written to a http.Request.

func NewDeleteDataSourceByUIDParams

func NewDeleteDataSourceByUIDParams() *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParams creates a new DeleteDataSourceByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteDataSourceByUIDParamsWithContext

func NewDeleteDataSourceByUIDParamsWithContext(ctx context.Context) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithContext creates a new DeleteDataSourceByUIDParams object with the ability to set a context for a request.

func NewDeleteDataSourceByUIDParamsWithHTTPClient

func NewDeleteDataSourceByUIDParamsWithHTTPClient(client *http.Client) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithHTTPClient creates a new DeleteDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteDataSourceByUIDParamsWithTimeout

func NewDeleteDataSourceByUIDParamsWithTimeout(timeout time.Duration) *DeleteDataSourceByUIDParams

NewDeleteDataSourceByUIDParamsWithTimeout creates a new DeleteDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*DeleteDataSourceByUIDParams) SetContext

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

SetContext adds the context to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetDefaults

func (o *DeleteDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the delete data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) SetUID

func (o *DeleteDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithContext

WithContext adds the context to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the delete data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteDataSourceByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WithUID

WithUID adds the uid to the delete data source by UID params

func (*DeleteDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteDataSourceByUIDReader

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

DeleteDataSourceByUIDReader is a Reader for the DeleteDataSourceByUID structure.

func (*DeleteDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDataSourceByUIDUnauthorized

type DeleteDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeleteDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeleteDataSourceByUIDUnauthorized

func NewDeleteDataSourceByUIDUnauthorized() *DeleteDataSourceByUIDUnauthorized

NewDeleteDataSourceByUIDUnauthorized creates a DeleteDataSourceByUIDUnauthorized with default headers values

func (*DeleteDataSourceByUIDUnauthorized) Error

func (*DeleteDataSourceByUIDUnauthorized) GetPayload

type GetDataSourceByIDBadRequest

type GetDataSourceByIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetDataSourceByIDBadRequest

func NewGetDataSourceByIDBadRequest() *GetDataSourceByIDBadRequest

NewGetDataSourceByIDBadRequest creates a GetDataSourceByIDBadRequest with default headers values

func (*GetDataSourceByIDBadRequest) Error

func (*GetDataSourceByIDBadRequest) GetPayload

type GetDataSourceByIDForbidden

type GetDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByIDForbidden

func NewGetDataSourceByIDForbidden() *GetDataSourceByIDForbidden

NewGetDataSourceByIDForbidden creates a GetDataSourceByIDForbidden with default headers values

func (*GetDataSourceByIDForbidden) Error

func (*GetDataSourceByIDForbidden) GetPayload

type GetDataSourceByIDInternalServerError

type GetDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByIDInternalServerError

func NewGetDataSourceByIDInternalServerError() *GetDataSourceByIDInternalServerError

NewGetDataSourceByIDInternalServerError creates a GetDataSourceByIDInternalServerError with default headers values

func (*GetDataSourceByIDInternalServerError) Error

func (*GetDataSourceByIDInternalServerError) GetPayload

type GetDataSourceByIDNotFound

type GetDataSourceByIDNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceByIDNotFound

func NewGetDataSourceByIDNotFound() *GetDataSourceByIDNotFound

NewGetDataSourceByIDNotFound creates a GetDataSourceByIDNotFound with default headers values

func (*GetDataSourceByIDNotFound) Error

func (o *GetDataSourceByIDNotFound) Error() string

func (*GetDataSourceByIDNotFound) GetPayload

type GetDataSourceByIDOK

type GetDataSourceByIDOK struct {
	Payload *models.DataSource
}

GetDataSourceByIDOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByIDOK

func NewGetDataSourceByIDOK() *GetDataSourceByIDOK

NewGetDataSourceByIDOK creates a GetDataSourceByIDOK with default headers values

func (*GetDataSourceByIDOK) Error

func (o *GetDataSourceByIDOK) Error() string

func (*GetDataSourceByIDOK) GetPayload

func (o *GetDataSourceByIDOK) GetPayload() *models.DataSource

type GetDataSourceByIDParams

type GetDataSourceByIDParams struct {

	// ID.
	ID string

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

GetDataSourceByIDParams contains all the parameters to send to the API endpoint

for the get data source by ID operation.

Typically these are written to a http.Request.

func NewGetDataSourceByIDParams

func NewGetDataSourceByIDParams() *GetDataSourceByIDParams

NewGetDataSourceByIDParams creates a new GetDataSourceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataSourceByIDParamsWithContext

func NewGetDataSourceByIDParamsWithContext(ctx context.Context) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithContext creates a new GetDataSourceByIDParams object with the ability to set a context for a request.

func NewGetDataSourceByIDParamsWithHTTPClient

func NewGetDataSourceByIDParamsWithHTTPClient(client *http.Client) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithHTTPClient creates a new GetDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByIDParamsWithTimeout

func NewGetDataSourceByIDParamsWithTimeout(timeout time.Duration) *GetDataSourceByIDParams

NewGetDataSourceByIDParamsWithTimeout creates a new GetDataSourceByIDParams object with the ability to set a timeout on a request.

func (*GetDataSourceByIDParams) SetContext

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

SetContext adds the context to the get data source by ID params

func (*GetDataSourceByIDParams) SetDefaults

func (o *GetDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the get data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by ID params

func (*GetDataSourceByIDParams) SetID

func (o *GetDataSourceByIDParams) SetID(id string)

SetID adds the id to the get data source by ID params

func (*GetDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by ID params

func (*GetDataSourceByIDParams) WithContext

WithContext adds the context to the get data source by ID params

func (*GetDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the get data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by ID params

func (*GetDataSourceByIDParams) WithID

WithID adds the id to the get data source by ID params

func (*GetDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the get data source by ID params

func (*GetDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByIDReader

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

GetDataSourceByIDReader is a Reader for the GetDataSourceByID structure.

func (*GetDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByIDUnauthorized

type GetDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByIDUnauthorized

func NewGetDataSourceByIDUnauthorized() *GetDataSourceByIDUnauthorized

NewGetDataSourceByIDUnauthorized creates a GetDataSourceByIDUnauthorized with default headers values

func (*GetDataSourceByIDUnauthorized) Error

func (*GetDataSourceByIDUnauthorized) GetPayload

type GetDataSourceByNameForbidden

type GetDataSourceByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByNameForbidden

func NewGetDataSourceByNameForbidden() *GetDataSourceByNameForbidden

NewGetDataSourceByNameForbidden creates a GetDataSourceByNameForbidden with default headers values

func (*GetDataSourceByNameForbidden) Error

func (*GetDataSourceByNameForbidden) GetPayload

type GetDataSourceByNameInternalServerError

type GetDataSourceByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByNameInternalServerError

func NewGetDataSourceByNameInternalServerError() *GetDataSourceByNameInternalServerError

NewGetDataSourceByNameInternalServerError creates a GetDataSourceByNameInternalServerError with default headers values

func (*GetDataSourceByNameInternalServerError) Error

func (*GetDataSourceByNameInternalServerError) GetPayload

type GetDataSourceByNameOK

type GetDataSourceByNameOK struct {
	Payload *models.DataSource
}

GetDataSourceByNameOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByNameOK

func NewGetDataSourceByNameOK() *GetDataSourceByNameOK

NewGetDataSourceByNameOK creates a GetDataSourceByNameOK with default headers values

func (*GetDataSourceByNameOK) Error

func (o *GetDataSourceByNameOK) Error() string

func (*GetDataSourceByNameOK) GetPayload

func (o *GetDataSourceByNameOK) GetPayload() *models.DataSource

type GetDataSourceByNameParams

type GetDataSourceByNameParams struct {

	// Name.
	Name string

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

GetDataSourceByNameParams contains all the parameters to send to the API endpoint

for the get data source by name operation.

Typically these are written to a http.Request.

func NewGetDataSourceByNameParams

func NewGetDataSourceByNameParams() *GetDataSourceByNameParams

NewGetDataSourceByNameParams creates a new GetDataSourceByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataSourceByNameParamsWithContext

func NewGetDataSourceByNameParamsWithContext(ctx context.Context) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithContext creates a new GetDataSourceByNameParams object with the ability to set a context for a request.

func NewGetDataSourceByNameParamsWithHTTPClient

func NewGetDataSourceByNameParamsWithHTTPClient(client *http.Client) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithHTTPClient creates a new GetDataSourceByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByNameParamsWithTimeout

func NewGetDataSourceByNameParamsWithTimeout(timeout time.Duration) *GetDataSourceByNameParams

NewGetDataSourceByNameParamsWithTimeout creates a new GetDataSourceByNameParams object with the ability to set a timeout on a request.

func (*GetDataSourceByNameParams) SetContext

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

SetContext adds the context to the get data source by name params

func (*GetDataSourceByNameParams) SetDefaults

func (o *GetDataSourceByNameParams) SetDefaults()

SetDefaults hydrates default values in the get data source by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by name params

func (*GetDataSourceByNameParams) SetName

func (o *GetDataSourceByNameParams) SetName(name string)

SetName adds the name to the get data source by name params

func (*GetDataSourceByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by name params

func (*GetDataSourceByNameParams) WithContext

WithContext adds the context to the get data source by name params

func (*GetDataSourceByNameParams) WithDefaults

WithDefaults hydrates default values in the get data source by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by name params

func (*GetDataSourceByNameParams) WithName

WithName adds the name to the get data source by name params

func (*GetDataSourceByNameParams) WithTimeout

WithTimeout adds the timeout to the get data source by name params

func (*GetDataSourceByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByNameReader

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

GetDataSourceByNameReader is a Reader for the GetDataSourceByName structure.

func (*GetDataSourceByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByNameUnauthorized

type GetDataSourceByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByNameUnauthorized

func NewGetDataSourceByNameUnauthorized() *GetDataSourceByNameUnauthorized

NewGetDataSourceByNameUnauthorized creates a GetDataSourceByNameUnauthorized with default headers values

func (*GetDataSourceByNameUnauthorized) Error

func (*GetDataSourceByNameUnauthorized) GetPayload

type GetDataSourceByUIDBadRequest

type GetDataSourceByUIDBadRequest struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDBadRequest describes a response with status code 400, with default header values.

BadRequestError is returned when the request is invalid and it cannot be processed.

func NewGetDataSourceByUIDBadRequest

func NewGetDataSourceByUIDBadRequest() *GetDataSourceByUIDBadRequest

NewGetDataSourceByUIDBadRequest creates a GetDataSourceByUIDBadRequest with default headers values

func (*GetDataSourceByUIDBadRequest) Error

func (*GetDataSourceByUIDBadRequest) GetPayload

type GetDataSourceByUIDForbidden

type GetDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceByUIDForbidden

func NewGetDataSourceByUIDForbidden() *GetDataSourceByUIDForbidden

NewGetDataSourceByUIDForbidden creates a GetDataSourceByUIDForbidden with default headers values

func (*GetDataSourceByUIDForbidden) Error

func (*GetDataSourceByUIDForbidden) GetPayload

type GetDataSourceByUIDInternalServerError

type GetDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceByUIDInternalServerError

func NewGetDataSourceByUIDInternalServerError() *GetDataSourceByUIDInternalServerError

NewGetDataSourceByUIDInternalServerError creates a GetDataSourceByUIDInternalServerError with default headers values

func (*GetDataSourceByUIDInternalServerError) Error

func (*GetDataSourceByUIDInternalServerError) GetPayload

type GetDataSourceByUIDNotFound

type GetDataSourceByUIDNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceByUIDNotFound

func NewGetDataSourceByUIDNotFound() *GetDataSourceByUIDNotFound

NewGetDataSourceByUIDNotFound creates a GetDataSourceByUIDNotFound with default headers values

func (*GetDataSourceByUIDNotFound) Error

func (*GetDataSourceByUIDNotFound) GetPayload

type GetDataSourceByUIDOK

type GetDataSourceByUIDOK struct {
	Payload *models.DataSource
}

GetDataSourceByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceByUIDOK

func NewGetDataSourceByUIDOK() *GetDataSourceByUIDOK

NewGetDataSourceByUIDOK creates a GetDataSourceByUIDOK with default headers values

func (*GetDataSourceByUIDOK) Error

func (o *GetDataSourceByUIDOK) Error() string

func (*GetDataSourceByUIDOK) GetPayload

func (o *GetDataSourceByUIDOK) GetPayload() *models.DataSource

type GetDataSourceByUIDParams

type GetDataSourceByUIDParams struct {

	// UID.
	UID string

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

GetDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the get data source by UID operation.

Typically these are written to a http.Request.

func NewGetDataSourceByUIDParams

func NewGetDataSourceByUIDParams() *GetDataSourceByUIDParams

NewGetDataSourceByUIDParams creates a new GetDataSourceByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataSourceByUIDParamsWithContext

func NewGetDataSourceByUIDParamsWithContext(ctx context.Context) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithContext creates a new GetDataSourceByUIDParams object with the ability to set a context for a request.

func NewGetDataSourceByUIDParamsWithHTTPClient

func NewGetDataSourceByUIDParamsWithHTTPClient(client *http.Client) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithHTTPClient creates a new GetDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceByUIDParamsWithTimeout

func NewGetDataSourceByUIDParamsWithTimeout(timeout time.Duration) *GetDataSourceByUIDParams

NewGetDataSourceByUIDParamsWithTimeout creates a new GetDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*GetDataSourceByUIDParams) SetContext

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

SetContext adds the context to the get data source by UID params

func (*GetDataSourceByUIDParams) SetDefaults

func (o *GetDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the get data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source by UID params

func (*GetDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the get data source by UID params

func (*GetDataSourceByUIDParams) SetUID

func (o *GetDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the get data source by UID params

func (*GetDataSourceByUIDParams) WithContext

WithContext adds the context to the get data source by UID params

func (*GetDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the get data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceByUIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data source by UID params

func (*GetDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the get data source by UID params

func (*GetDataSourceByUIDParams) WithUID

WithUID adds the uid to the get data source by UID params

func (*GetDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceByUIDReader

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

GetDataSourceByUIDReader is a Reader for the GetDataSourceByUID structure.

func (*GetDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceByUIDUnauthorized

type GetDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceByUIDUnauthorized

func NewGetDataSourceByUIDUnauthorized() *GetDataSourceByUIDUnauthorized

NewGetDataSourceByUIDUnauthorized creates a GetDataSourceByUIDUnauthorized with default headers values

func (*GetDataSourceByUIDUnauthorized) Error

func (*GetDataSourceByUIDUnauthorized) GetPayload

type GetDataSourceIDByNameForbidden

type GetDataSourceIDByNameForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourceIDByNameForbidden

func NewGetDataSourceIDByNameForbidden() *GetDataSourceIDByNameForbidden

NewGetDataSourceIDByNameForbidden creates a GetDataSourceIDByNameForbidden with default headers values

func (*GetDataSourceIDByNameForbidden) Error

func (*GetDataSourceIDByNameForbidden) GetPayload

type GetDataSourceIDByNameInternalServerError

type GetDataSourceIDByNameInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourceIDByNameInternalServerError

func NewGetDataSourceIDByNameInternalServerError() *GetDataSourceIDByNameInternalServerError

NewGetDataSourceIDByNameInternalServerError creates a GetDataSourceIDByNameInternalServerError with default headers values

func (*GetDataSourceIDByNameInternalServerError) Error

func (*GetDataSourceIDByNameInternalServerError) GetPayload

type GetDataSourceIDByNameNotFound

type GetDataSourceIDByNameNotFound struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetDataSourceIDByNameNotFound

func NewGetDataSourceIDByNameNotFound() *GetDataSourceIDByNameNotFound

NewGetDataSourceIDByNameNotFound creates a GetDataSourceIDByNameNotFound with default headers values

func (*GetDataSourceIDByNameNotFound) Error

func (*GetDataSourceIDByNameNotFound) GetPayload

type GetDataSourceIDByNameOK

type GetDataSourceIDByNameOK struct {
	Payload *models.GetDataSourceIDByNameOKBody
}

GetDataSourceIDByNameOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourceIDByNameOK

func NewGetDataSourceIDByNameOK() *GetDataSourceIDByNameOK

NewGetDataSourceIDByNameOK creates a GetDataSourceIDByNameOK with default headers values

func (*GetDataSourceIDByNameOK) Error

func (o *GetDataSourceIDByNameOK) Error() string

func (*GetDataSourceIDByNameOK) GetPayload

type GetDataSourceIDByNameParams

type GetDataSourceIDByNameParams struct {

	// Name.
	Name string

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

GetDataSourceIDByNameParams contains all the parameters to send to the API endpoint

for the get data source Id by name operation.

Typically these are written to a http.Request.

func NewGetDataSourceIDByNameParams

func NewGetDataSourceIDByNameParams() *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParams creates a new GetDataSourceIDByNameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataSourceIDByNameParamsWithContext

func NewGetDataSourceIDByNameParamsWithContext(ctx context.Context) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithContext creates a new GetDataSourceIDByNameParams object with the ability to set a context for a request.

func NewGetDataSourceIDByNameParamsWithHTTPClient

func NewGetDataSourceIDByNameParamsWithHTTPClient(client *http.Client) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithHTTPClient creates a new GetDataSourceIDByNameParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourceIDByNameParamsWithTimeout

func NewGetDataSourceIDByNameParamsWithTimeout(timeout time.Duration) *GetDataSourceIDByNameParams

NewGetDataSourceIDByNameParamsWithTimeout creates a new GetDataSourceIDByNameParams object with the ability to set a timeout on a request.

func (*GetDataSourceIDByNameParams) SetContext

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

SetContext adds the context to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetDefaults

func (o *GetDataSourceIDByNameParams) SetDefaults()

SetDefaults hydrates default values in the get data source Id by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceIDByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetName

func (o *GetDataSourceIDByNameParams) SetName(name string)

SetName adds the name to the get data source Id by name params

func (*GetDataSourceIDByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithContext

WithContext adds the context to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithDefaults

WithDefaults hydrates default values in the get data source Id by name params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourceIDByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithName

WithName adds the name to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WithTimeout

WithTimeout adds the timeout to the get data source Id by name params

func (*GetDataSourceIDByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataSourceIDByNameReader

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

GetDataSourceIDByNameReader is a Reader for the GetDataSourceIDByName structure.

func (*GetDataSourceIDByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourceIDByNameUnauthorized

type GetDataSourceIDByNameUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourceIDByNameUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourceIDByNameUnauthorized

func NewGetDataSourceIDByNameUnauthorized() *GetDataSourceIDByNameUnauthorized

NewGetDataSourceIDByNameUnauthorized creates a GetDataSourceIDByNameUnauthorized with default headers values

func (*GetDataSourceIDByNameUnauthorized) Error

func (*GetDataSourceIDByNameUnauthorized) GetPayload

type GetDataSourcesForbidden

type GetDataSourcesForbidden struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetDataSourcesForbidden

func NewGetDataSourcesForbidden() *GetDataSourcesForbidden

NewGetDataSourcesForbidden creates a GetDataSourcesForbidden with default headers values

func (*GetDataSourcesForbidden) Error

func (o *GetDataSourcesForbidden) Error() string

func (*GetDataSourcesForbidden) GetPayload

type GetDataSourcesInternalServerError

type GetDataSourcesInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetDataSourcesInternalServerError

func NewGetDataSourcesInternalServerError() *GetDataSourcesInternalServerError

NewGetDataSourcesInternalServerError creates a GetDataSourcesInternalServerError with default headers values

func (*GetDataSourcesInternalServerError) Error

func (*GetDataSourcesInternalServerError) GetPayload

type GetDataSourcesOK

type GetDataSourcesOK struct {
	Payload models.DataSourceList
}

GetDataSourcesOK describes a response with status code 200, with default header values.

(empty)

func NewGetDataSourcesOK

func NewGetDataSourcesOK() *GetDataSourcesOK

NewGetDataSourcesOK creates a GetDataSourcesOK with default headers values

func (*GetDataSourcesOK) Error

func (o *GetDataSourcesOK) Error() string

func (*GetDataSourcesOK) GetPayload

func (o *GetDataSourcesOK) GetPayload() models.DataSourceList

type GetDataSourcesParams

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

GetDataSourcesParams contains all the parameters to send to the API endpoint

for the get data sources operation.

Typically these are written to a http.Request.

func NewGetDataSourcesParams

func NewGetDataSourcesParams() *GetDataSourcesParams

NewGetDataSourcesParams creates a new GetDataSourcesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetDataSourcesParamsWithContext

func NewGetDataSourcesParamsWithContext(ctx context.Context) *GetDataSourcesParams

NewGetDataSourcesParamsWithContext creates a new GetDataSourcesParams object with the ability to set a context for a request.

func NewGetDataSourcesParamsWithHTTPClient

func NewGetDataSourcesParamsWithHTTPClient(client *http.Client) *GetDataSourcesParams

NewGetDataSourcesParamsWithHTTPClient creates a new GetDataSourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetDataSourcesParamsWithTimeout

func NewGetDataSourcesParamsWithTimeout(timeout time.Duration) *GetDataSourcesParams

NewGetDataSourcesParamsWithTimeout creates a new GetDataSourcesParams object with the ability to set a timeout on a request.

func (*GetDataSourcesParams) SetContext

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

SetContext adds the context to the get data sources params

func (*GetDataSourcesParams) SetDefaults

func (o *GetDataSourcesParams) SetDefaults()

SetDefaults hydrates default values in the get data sources params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourcesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data sources params

func (*GetDataSourcesParams) SetTimeout

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

SetTimeout adds the timeout to the get data sources params

func (*GetDataSourcesParams) WithContext

WithContext adds the context to the get data sources params

func (*GetDataSourcesParams) WithDefaults

func (o *GetDataSourcesParams) WithDefaults() *GetDataSourcesParams

WithDefaults hydrates default values in the get data sources params (not the query body).

All values with no default are reset to their zero value.

func (*GetDataSourcesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get data sources params

func (*GetDataSourcesParams) WithTimeout

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

WithTimeout adds the timeout to the get data sources params

func (*GetDataSourcesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDataSourcesReader

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

GetDataSourcesReader is a Reader for the GetDataSources structure.

func (*GetDataSourcesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataSourcesUnauthorized

type GetDataSourcesUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetDataSourcesUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetDataSourcesUnauthorized

func NewGetDataSourcesUnauthorized() *GetDataSourcesUnauthorized

NewGetDataSourcesUnauthorized creates a GetDataSourcesUnauthorized with default headers values

func (*GetDataSourcesUnauthorized) Error

func (*GetDataSourcesUnauthorized) GetPayload

type UpdateDataSourceByIDForbidden

type UpdateDataSourceByIDForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateDataSourceByIDForbidden

func NewUpdateDataSourceByIDForbidden() *UpdateDataSourceByIDForbidden

NewUpdateDataSourceByIDForbidden creates a UpdateDataSourceByIDForbidden with default headers values

func (*UpdateDataSourceByIDForbidden) Error

func (*UpdateDataSourceByIDForbidden) GetPayload

type UpdateDataSourceByIDInternalServerError

type UpdateDataSourceByIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateDataSourceByIDInternalServerError

func NewUpdateDataSourceByIDInternalServerError() *UpdateDataSourceByIDInternalServerError

NewUpdateDataSourceByIDInternalServerError creates a UpdateDataSourceByIDInternalServerError with default headers values

func (*UpdateDataSourceByIDInternalServerError) Error

func (*UpdateDataSourceByIDInternalServerError) GetPayload

type UpdateDataSourceByIDOK

type UpdateDataSourceByIDOK struct {
	Payload *models.UpdateDataSourceByIDOKBody
}

UpdateDataSourceByIDOK describes a response with status code 200, with default header values.

(empty)

func NewUpdateDataSourceByIDOK

func NewUpdateDataSourceByIDOK() *UpdateDataSourceByIDOK

NewUpdateDataSourceByIDOK creates a UpdateDataSourceByIDOK with default headers values

func (*UpdateDataSourceByIDOK) Error

func (o *UpdateDataSourceByIDOK) Error() string

func (*UpdateDataSourceByIDOK) GetPayload

type UpdateDataSourceByIDParams

type UpdateDataSourceByIDParams struct {

	// Body.
	Body *models.UpdateDataSourceCommand

	// ID.
	ID string

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

UpdateDataSourceByIDParams contains all the parameters to send to the API endpoint

for the update data source by ID operation.

Typically these are written to a http.Request.

func NewUpdateDataSourceByIDParams

func NewUpdateDataSourceByIDParams() *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParams creates a new UpdateDataSourceByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDataSourceByIDParamsWithContext

func NewUpdateDataSourceByIDParamsWithContext(ctx context.Context) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithContext creates a new UpdateDataSourceByIDParams object with the ability to set a context for a request.

func NewUpdateDataSourceByIDParamsWithHTTPClient

func NewUpdateDataSourceByIDParamsWithHTTPClient(client *http.Client) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithHTTPClient creates a new UpdateDataSourceByIDParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataSourceByIDParamsWithTimeout

func NewUpdateDataSourceByIDParamsWithTimeout(timeout time.Duration) *UpdateDataSourceByIDParams

NewUpdateDataSourceByIDParamsWithTimeout creates a new UpdateDataSourceByIDParams object with the ability to set a timeout on a request.

func (*UpdateDataSourceByIDParams) SetBody

SetBody adds the body to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetContext

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

SetContext adds the context to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetDefaults

func (o *UpdateDataSourceByIDParams) SetDefaults()

SetDefaults hydrates default values in the update data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataSourceByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetID

func (o *UpdateDataSourceByIDParams) SetID(id string)

SetID adds the id to the update data source by ID params

func (*UpdateDataSourceByIDParams) SetTimeout

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

SetTimeout adds the timeout to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithBody

WithBody adds the body to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithContext

WithContext adds the context to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithDefaults

WithDefaults hydrates default values in the update data source by ID params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataSourceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithID

WithID adds the id to the update data source by ID params

func (*UpdateDataSourceByIDParams) WithTimeout

WithTimeout adds the timeout to the update data source by ID params

func (*UpdateDataSourceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataSourceByIDReader

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

UpdateDataSourceByIDReader is a Reader for the UpdateDataSourceByID structure.

func (*UpdateDataSourceByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataSourceByIDUnauthorized

type UpdateDataSourceByIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateDataSourceByIDUnauthorized

func NewUpdateDataSourceByIDUnauthorized() *UpdateDataSourceByIDUnauthorized

NewUpdateDataSourceByIDUnauthorized creates a UpdateDataSourceByIDUnauthorized with default headers values

func (*UpdateDataSourceByIDUnauthorized) Error

func (*UpdateDataSourceByIDUnauthorized) GetPayload

type UpdateDataSourceByUIDForbidden

type UpdateDataSourceByUIDForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdateDataSourceByUIDForbidden

func NewUpdateDataSourceByUIDForbidden() *UpdateDataSourceByUIDForbidden

NewUpdateDataSourceByUIDForbidden creates a UpdateDataSourceByUIDForbidden with default headers values

func (*UpdateDataSourceByUIDForbidden) Error

func (*UpdateDataSourceByUIDForbidden) GetPayload

type UpdateDataSourceByUIDInternalServerError

type UpdateDataSourceByUIDInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdateDataSourceByUIDInternalServerError

func NewUpdateDataSourceByUIDInternalServerError() *UpdateDataSourceByUIDInternalServerError

NewUpdateDataSourceByUIDInternalServerError creates a UpdateDataSourceByUIDInternalServerError with default headers values

func (*UpdateDataSourceByUIDInternalServerError) Error

func (*UpdateDataSourceByUIDInternalServerError) GetPayload

type UpdateDataSourceByUIDOK

type UpdateDataSourceByUIDOK struct {
	Payload *models.UpdateDataSourceByUIDOKBody
}

UpdateDataSourceByUIDOK describes a response with status code 200, with default header values.

(empty)

func NewUpdateDataSourceByUIDOK

func NewUpdateDataSourceByUIDOK() *UpdateDataSourceByUIDOK

NewUpdateDataSourceByUIDOK creates a UpdateDataSourceByUIDOK with default headers values

func (*UpdateDataSourceByUIDOK) Error

func (o *UpdateDataSourceByUIDOK) Error() string

func (*UpdateDataSourceByUIDOK) GetPayload

type UpdateDataSourceByUIDParams

type UpdateDataSourceByUIDParams struct {

	// Body.
	Body *models.UpdateDataSourceCommand

	// UID.
	UID string

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

UpdateDataSourceByUIDParams contains all the parameters to send to the API endpoint

for the update data source by UID operation.

Typically these are written to a http.Request.

func NewUpdateDataSourceByUIDParams

func NewUpdateDataSourceByUIDParams() *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParams creates a new UpdateDataSourceByUIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateDataSourceByUIDParamsWithContext

func NewUpdateDataSourceByUIDParamsWithContext(ctx context.Context) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithContext creates a new UpdateDataSourceByUIDParams object with the ability to set a context for a request.

func NewUpdateDataSourceByUIDParamsWithHTTPClient

func NewUpdateDataSourceByUIDParamsWithHTTPClient(client *http.Client) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithHTTPClient creates a new UpdateDataSourceByUIDParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateDataSourceByUIDParamsWithTimeout

func NewUpdateDataSourceByUIDParamsWithTimeout(timeout time.Duration) *UpdateDataSourceByUIDParams

NewUpdateDataSourceByUIDParamsWithTimeout creates a new UpdateDataSourceByUIDParams object with the ability to set a timeout on a request.

func (*UpdateDataSourceByUIDParams) SetBody

SetBody adds the body to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetContext

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

SetContext adds the context to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetDefaults

func (o *UpdateDataSourceByUIDParams) SetDefaults()

SetDefaults hydrates default values in the update data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataSourceByUIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetTimeout

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

SetTimeout adds the timeout to the update data source by UID params

func (*UpdateDataSourceByUIDParams) SetUID

func (o *UpdateDataSourceByUIDParams) SetUID(uid string)

SetUID adds the uid to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithBody

WithBody adds the body to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithContext

WithContext adds the context to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithDefaults

WithDefaults hydrates default values in the update data source by UID params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateDataSourceByUIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithTimeout

WithTimeout adds the timeout to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WithUID

WithUID adds the uid to the update data source by UID params

func (*UpdateDataSourceByUIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateDataSourceByUIDReader

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

UpdateDataSourceByUIDReader is a Reader for the UpdateDataSourceByUID structure.

func (*UpdateDataSourceByUIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDataSourceByUIDUnauthorized

type UpdateDataSourceByUIDUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdateDataSourceByUIDUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdateDataSourceByUIDUnauthorized

func NewUpdateDataSourceByUIDUnauthorized() *UpdateDataSourceByUIDUnauthorized

NewUpdateDataSourceByUIDUnauthorized creates a UpdateDataSourceByUIDUnauthorized with default headers values

func (*UpdateDataSourceByUIDUnauthorized) Error

func (*UpdateDataSourceByUIDUnauthorized) GetPayload

Source Files

Jump to

Keyboard shortcuts

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