connection

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllConnectionsBadRequest

type AllConnectionsBadRequest struct {
	Payload *models.Error
}
AllConnectionsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAllConnectionsBadRequest

func NewAllConnectionsBadRequest() *AllConnectionsBadRequest

NewAllConnectionsBadRequest creates a AllConnectionsBadRequest with default headers values

func (*AllConnectionsBadRequest) Error

func (o *AllConnectionsBadRequest) Error() string

func (*AllConnectionsBadRequest) GetPayload

func (o *AllConnectionsBadRequest) GetPayload() *models.Error

type AllConnectionsNotFound

type AllConnectionsNotFound struct {
	Payload *models.Error
}
AllConnectionsNotFound describes a response with status code 404, with default header values.

Not Found

func NewAllConnectionsNotFound

func NewAllConnectionsNotFound() *AllConnectionsNotFound

NewAllConnectionsNotFound creates a AllConnectionsNotFound with default headers values

func (*AllConnectionsNotFound) Error

func (o *AllConnectionsNotFound) Error() string

func (*AllConnectionsNotFound) GetPayload

func (o *AllConnectionsNotFound) GetPayload() *models.Error

type AllConnectionsOK

type AllConnectionsOK struct {
	Payload []*models.DBConnection
}
AllConnectionsOK describes a response with status code 200, with default header values.

Connection

func NewAllConnectionsOK

func NewAllConnectionsOK() *AllConnectionsOK

NewAllConnectionsOK creates a AllConnectionsOK with default headers values

func (*AllConnectionsOK) Error

func (o *AllConnectionsOK) Error() string

func (*AllConnectionsOK) GetPayload

func (o *AllConnectionsOK) GetPayload() []*models.DBConnection

type AllConnectionsParams

type AllConnectionsParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

AllConnectionsParams contains all the parameters to send to the API endpoint

for the all connections operation.

Typically these are written to a http.Request.

func NewAllConnectionsParams

func NewAllConnectionsParams() *AllConnectionsParams

NewAllConnectionsParams creates a new AllConnectionsParams 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 NewAllConnectionsParamsWithContext

func NewAllConnectionsParamsWithContext(ctx context.Context) *AllConnectionsParams

NewAllConnectionsParamsWithContext creates a new AllConnectionsParams object with the ability to set a context for a request.

func NewAllConnectionsParamsWithHTTPClient

func NewAllConnectionsParamsWithHTTPClient(client *http.Client) *AllConnectionsParams

NewAllConnectionsParamsWithHTTPClient creates a new AllConnectionsParams object with the ability to set a custom HTTPClient for a request.

func NewAllConnectionsParamsWithTimeout

func NewAllConnectionsParamsWithTimeout(timeout time.Duration) *AllConnectionsParams

NewAllConnectionsParamsWithTimeout creates a new AllConnectionsParams object with the ability to set a timeout on a request.

func (*AllConnectionsParams) SetContext

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

SetContext adds the context to the all connections params

func (*AllConnectionsParams) SetDefaults

func (o *AllConnectionsParams) SetDefaults()

SetDefaults hydrates default values in the all connections params (not the query body).

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

func (*AllConnectionsParams) SetFields

func (o *AllConnectionsParams) SetFields(fields *string)

SetFields adds the fields to the all connections params

func (*AllConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all connections params

func (*AllConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the all connections params

func (*AllConnectionsParams) WithContext

WithContext adds the context to the all connections params

func (*AllConnectionsParams) WithDefaults

func (o *AllConnectionsParams) WithDefaults() *AllConnectionsParams

WithDefaults hydrates default values in the all connections params (not the query body).

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

func (*AllConnectionsParams) WithFields

func (o *AllConnectionsParams) WithFields(fields *string) *AllConnectionsParams

WithFields adds the fields to the all connections params

func (*AllConnectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all connections params

func (*AllConnectionsParams) WithTimeout

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

WithTimeout adds the timeout to the all connections params

func (*AllConnectionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllConnectionsReader

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

AllConnectionsReader is a Reader for the AllConnections structure.

func (*AllConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AllDialectInfosBadRequest

type AllDialectInfosBadRequest struct {
	Payload *models.Error
}
AllDialectInfosBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewAllDialectInfosBadRequest

func NewAllDialectInfosBadRequest() *AllDialectInfosBadRequest

NewAllDialectInfosBadRequest creates a AllDialectInfosBadRequest with default headers values

func (*AllDialectInfosBadRequest) Error

func (o *AllDialectInfosBadRequest) Error() string

func (*AllDialectInfosBadRequest) GetPayload

func (o *AllDialectInfosBadRequest) GetPayload() *models.Error

type AllDialectInfosNotFound

type AllDialectInfosNotFound struct {
	Payload *models.Error
}
AllDialectInfosNotFound describes a response with status code 404, with default header values.

Not Found

func NewAllDialectInfosNotFound

func NewAllDialectInfosNotFound() *AllDialectInfosNotFound

NewAllDialectInfosNotFound creates a AllDialectInfosNotFound with default headers values

func (*AllDialectInfosNotFound) Error

func (o *AllDialectInfosNotFound) Error() string

func (*AllDialectInfosNotFound) GetPayload

func (o *AllDialectInfosNotFound) GetPayload() *models.Error

type AllDialectInfosOK

type AllDialectInfosOK struct {
	Payload []*models.DialectInfo
}
AllDialectInfosOK describes a response with status code 200, with default header values.

Dialect Info

func NewAllDialectInfosOK

func NewAllDialectInfosOK() *AllDialectInfosOK

NewAllDialectInfosOK creates a AllDialectInfosOK with default headers values

func (*AllDialectInfosOK) Error

func (o *AllDialectInfosOK) Error() string

func (*AllDialectInfosOK) GetPayload

func (o *AllDialectInfosOK) GetPayload() []*models.DialectInfo

type AllDialectInfosParams

type AllDialectInfosParams struct {

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

AllDialectInfosParams contains all the parameters to send to the API endpoint

for the all dialect infos operation.

Typically these are written to a http.Request.

func NewAllDialectInfosParams

func NewAllDialectInfosParams() *AllDialectInfosParams

NewAllDialectInfosParams creates a new AllDialectInfosParams 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 NewAllDialectInfosParamsWithContext

func NewAllDialectInfosParamsWithContext(ctx context.Context) *AllDialectInfosParams

NewAllDialectInfosParamsWithContext creates a new AllDialectInfosParams object with the ability to set a context for a request.

func NewAllDialectInfosParamsWithHTTPClient

func NewAllDialectInfosParamsWithHTTPClient(client *http.Client) *AllDialectInfosParams

NewAllDialectInfosParamsWithHTTPClient creates a new AllDialectInfosParams object with the ability to set a custom HTTPClient for a request.

func NewAllDialectInfosParamsWithTimeout

func NewAllDialectInfosParamsWithTimeout(timeout time.Duration) *AllDialectInfosParams

NewAllDialectInfosParamsWithTimeout creates a new AllDialectInfosParams object with the ability to set a timeout on a request.

func (*AllDialectInfosParams) SetContext

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

SetContext adds the context to the all dialect infos params

func (*AllDialectInfosParams) SetDefaults

func (o *AllDialectInfosParams) SetDefaults()

SetDefaults hydrates default values in the all dialect infos params (not the query body).

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

func (*AllDialectInfosParams) SetFields

func (o *AllDialectInfosParams) SetFields(fields *string)

SetFields adds the fields to the all dialect infos params

func (*AllDialectInfosParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the all dialect infos params

func (*AllDialectInfosParams) SetTimeout

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

SetTimeout adds the timeout to the all dialect infos params

func (*AllDialectInfosParams) WithContext

WithContext adds the context to the all dialect infos params

func (*AllDialectInfosParams) WithDefaults

func (o *AllDialectInfosParams) WithDefaults() *AllDialectInfosParams

WithDefaults hydrates default values in the all dialect infos params (not the query body).

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

func (*AllDialectInfosParams) WithFields

func (o *AllDialectInfosParams) WithFields(fields *string) *AllDialectInfosParams

WithFields adds the fields to the all dialect infos params

func (*AllDialectInfosParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the all dialect infos params

func (*AllDialectInfosParams) WithTimeout

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

WithTimeout adds the timeout to the all dialect infos params

func (*AllDialectInfosParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AllDialectInfosReader

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

AllDialectInfosReader is a Reader for the AllDialectInfos structure.

func (*AllDialectInfosReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for connection API

func (*Client) AllConnections

func (a *Client) AllConnections(params *AllConnectionsParams, opts ...ClientOption) (*AllConnectionsOK, error)

AllConnections gets all connections

### Get information about all connections.

func (*Client) AllDialectInfos

func (a *Client) AllDialectInfos(params *AllDialectInfosParams, opts ...ClientOption) (*AllDialectInfosOK, error)

AllDialectInfos gets all dialect infos

### Get information about all dialects.

func (*Client) Connection

func (a *Client) Connection(params *ConnectionParams, opts ...ClientOption) (*ConnectionOK, error)

Connection gets connection

### Get information about a connection.

func (*Client) CreateConnection

func (a *Client) CreateConnection(params *CreateConnectionParams, opts ...ClientOption) (*CreateConnectionOK, error)

CreateConnection creates connection

### Create a connection using the specified configuration.

func (*Client) DeleteConnection

func (a *Client) DeleteConnection(params *DeleteConnectionParams, opts ...ClientOption) (*DeleteConnectionNoContent, error)

DeleteConnection deletes connection

### Delete a connection.

func (*Client) DeleteConnectionOverride

func (a *Client) DeleteConnectionOverride(params *DeleteConnectionOverrideParams, opts ...ClientOption) (*DeleteConnectionOverrideNoContent, error)

DeleteConnectionOverride deletes connection override

### Delete a connection override.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) TestConnection

func (a *Client) TestConnection(params *TestConnectionParams, opts ...ClientOption) (*TestConnectionOK, error)
TestConnection tests connection

### Test an existing connection.

Note that a connection's 'dialect' property has a 'connection_tests' property that lists the specific types of tests that the connection supports.

This API is rate limited.

Unsupported tests in the request will be ignored.

func (*Client) TestConnectionConfig

func (a *Client) TestConnectionConfig(params *TestConnectionConfigParams, opts ...ClientOption) (*TestConnectionConfigOK, error)
TestConnectionConfig tests connection configuration

### Test a connection configuration.

Note that a connection's 'dialect' property has a 'connection_tests' property that lists the specific types of tests that the connection supports.

This API is rate limited.

Unsupported tests in the request will be ignored.

func (*Client) UpdateConnection

func (a *Client) UpdateConnection(params *UpdateConnectionParams, opts ...ClientOption) (*UpdateConnectionOK, error)

UpdateConnection updates connection

### Update a connection using the specified configuration.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AllConnections(params *AllConnectionsParams, opts ...ClientOption) (*AllConnectionsOK, error)

	AllDialectInfos(params *AllDialectInfosParams, opts ...ClientOption) (*AllDialectInfosOK, error)

	Connection(params *ConnectionParams, opts ...ClientOption) (*ConnectionOK, error)

	CreateConnection(params *CreateConnectionParams, opts ...ClientOption) (*CreateConnectionOK, error)

	DeleteConnection(params *DeleteConnectionParams, opts ...ClientOption) (*DeleteConnectionNoContent, error)

	DeleteConnectionOverride(params *DeleteConnectionOverrideParams, opts ...ClientOption) (*DeleteConnectionOverrideNoContent, error)

	TestConnection(params *TestConnectionParams, opts ...ClientOption) (*TestConnectionOK, error)

	TestConnectionConfig(params *TestConnectionConfigParams, opts ...ClientOption) (*TestConnectionConfigOK, error)

	UpdateConnection(params *UpdateConnectionParams, opts ...ClientOption) (*UpdateConnectionOK, 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 connection API client.

type ConnectionBadRequest

type ConnectionBadRequest struct {
	Payload *models.Error
}
ConnectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewConnectionBadRequest

func NewConnectionBadRequest() *ConnectionBadRequest

NewConnectionBadRequest creates a ConnectionBadRequest with default headers values

func (*ConnectionBadRequest) Error

func (o *ConnectionBadRequest) Error() string

func (*ConnectionBadRequest) GetPayload

func (o *ConnectionBadRequest) GetPayload() *models.Error

type ConnectionNotFound

type ConnectionNotFound struct {
	Payload *models.Error
}
ConnectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewConnectionNotFound

func NewConnectionNotFound() *ConnectionNotFound

NewConnectionNotFound creates a ConnectionNotFound with default headers values

func (*ConnectionNotFound) Error

func (o *ConnectionNotFound) Error() string

func (*ConnectionNotFound) GetPayload

func (o *ConnectionNotFound) GetPayload() *models.Error

type ConnectionOK

type ConnectionOK struct {
	Payload *models.DBConnection
}
ConnectionOK describes a response with status code 200, with default header values.

Connection

func NewConnectionOK

func NewConnectionOK() *ConnectionOK

NewConnectionOK creates a ConnectionOK with default headers values

func (*ConnectionOK) Error

func (o *ConnectionOK) Error() string

func (*ConnectionOK) GetPayload

func (o *ConnectionOK) GetPayload() *models.DBConnection

type ConnectionParams

type ConnectionParams struct {

	/* ConnectionName.

	   Name of connection
	*/
	ConnectionName string

	/* Fields.

	   Requested fields.
	*/
	Fields *string

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

ConnectionParams contains all the parameters to send to the API endpoint

for the connection operation.

Typically these are written to a http.Request.

func NewConnectionParams

func NewConnectionParams() *ConnectionParams

NewConnectionParams creates a new ConnectionParams 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 NewConnectionParamsWithContext

func NewConnectionParamsWithContext(ctx context.Context) *ConnectionParams

NewConnectionParamsWithContext creates a new ConnectionParams object with the ability to set a context for a request.

func NewConnectionParamsWithHTTPClient

func NewConnectionParamsWithHTTPClient(client *http.Client) *ConnectionParams

NewConnectionParamsWithHTTPClient creates a new ConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewConnectionParamsWithTimeout

func NewConnectionParamsWithTimeout(timeout time.Duration) *ConnectionParams

NewConnectionParamsWithTimeout creates a new ConnectionParams object with the ability to set a timeout on a request.

func (*ConnectionParams) SetConnectionName

func (o *ConnectionParams) SetConnectionName(connectionName string)

SetConnectionName adds the connectionName to the connection params

func (*ConnectionParams) SetContext

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

SetContext adds the context to the connection params

func (*ConnectionParams) SetDefaults

func (o *ConnectionParams) SetDefaults()

SetDefaults hydrates default values in the connection params (not the query body).

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

func (*ConnectionParams) SetFields

func (o *ConnectionParams) SetFields(fields *string)

SetFields adds the fields to the connection params

func (*ConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the connection params

func (*ConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the connection params

func (*ConnectionParams) WithConnectionName

func (o *ConnectionParams) WithConnectionName(connectionName string) *ConnectionParams

WithConnectionName adds the connectionName to the connection params

func (*ConnectionParams) WithContext

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

WithContext adds the context to the connection params

func (*ConnectionParams) WithDefaults

func (o *ConnectionParams) WithDefaults() *ConnectionParams

WithDefaults hydrates default values in the connection params (not the query body).

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

func (*ConnectionParams) WithFields

func (o *ConnectionParams) WithFields(fields *string) *ConnectionParams

WithFields adds the fields to the connection params

func (*ConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the connection params

func (*ConnectionParams) WithTimeout

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

WithTimeout adds the timeout to the connection params

func (*ConnectionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ConnectionReader

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

ConnectionReader is a Reader for the Connection structure.

func (*ConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConnectionBadRequest

type CreateConnectionBadRequest struct {
	Payload *models.Error
}
CreateConnectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewCreateConnectionBadRequest

func NewCreateConnectionBadRequest() *CreateConnectionBadRequest

NewCreateConnectionBadRequest creates a CreateConnectionBadRequest with default headers values

func (*CreateConnectionBadRequest) Error

func (*CreateConnectionBadRequest) GetPayload

func (o *CreateConnectionBadRequest) GetPayload() *models.Error

type CreateConnectionConflict

type CreateConnectionConflict struct {
	Payload *models.Error
}
CreateConnectionConflict describes a response with status code 409, with default header values.

Resource Already Exists

func NewCreateConnectionConflict

func NewCreateConnectionConflict() *CreateConnectionConflict

NewCreateConnectionConflict creates a CreateConnectionConflict with default headers values

func (*CreateConnectionConflict) Error

func (o *CreateConnectionConflict) Error() string

func (*CreateConnectionConflict) GetPayload

func (o *CreateConnectionConflict) GetPayload() *models.Error

type CreateConnectionNotFound

type CreateConnectionNotFound struct {
	Payload *models.Error
}
CreateConnectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewCreateConnectionNotFound

func NewCreateConnectionNotFound() *CreateConnectionNotFound

NewCreateConnectionNotFound creates a CreateConnectionNotFound with default headers values

func (*CreateConnectionNotFound) Error

func (o *CreateConnectionNotFound) Error() string

func (*CreateConnectionNotFound) GetPayload

func (o *CreateConnectionNotFound) GetPayload() *models.Error

type CreateConnectionOK

type CreateConnectionOK struct {
	Payload *models.DBConnection
}
CreateConnectionOK describes a response with status code 200, with default header values.

Connection

func NewCreateConnectionOK

func NewCreateConnectionOK() *CreateConnectionOK

NewCreateConnectionOK creates a CreateConnectionOK with default headers values

func (*CreateConnectionOK) Error

func (o *CreateConnectionOK) Error() string

func (*CreateConnectionOK) GetPayload

func (o *CreateConnectionOK) GetPayload() *models.DBConnection

type CreateConnectionParams

type CreateConnectionParams struct {

	/* Body.

	   Connection
	*/
	Body *models.DBConnection

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

CreateConnectionParams contains all the parameters to send to the API endpoint

for the create connection operation.

Typically these are written to a http.Request.

func NewCreateConnectionParams

func NewCreateConnectionParams() *CreateConnectionParams

NewCreateConnectionParams creates a new CreateConnectionParams 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 NewCreateConnectionParamsWithContext

func NewCreateConnectionParamsWithContext(ctx context.Context) *CreateConnectionParams

NewCreateConnectionParamsWithContext creates a new CreateConnectionParams object with the ability to set a context for a request.

func NewCreateConnectionParamsWithHTTPClient

func NewCreateConnectionParamsWithHTTPClient(client *http.Client) *CreateConnectionParams

NewCreateConnectionParamsWithHTTPClient creates a new CreateConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewCreateConnectionParamsWithTimeout

func NewCreateConnectionParamsWithTimeout(timeout time.Duration) *CreateConnectionParams

NewCreateConnectionParamsWithTimeout creates a new CreateConnectionParams object with the ability to set a timeout on a request.

func (*CreateConnectionParams) SetBody

func (o *CreateConnectionParams) SetBody(body *models.DBConnection)

SetBody adds the body to the create connection params

func (*CreateConnectionParams) SetContext

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

SetContext adds the context to the create connection params

func (*CreateConnectionParams) SetDefaults

func (o *CreateConnectionParams) SetDefaults()

SetDefaults hydrates default values in the create connection params (not the query body).

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

func (*CreateConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create connection params

func (*CreateConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the create connection params

func (*CreateConnectionParams) WithBody

WithBody adds the body to the create connection params

func (*CreateConnectionParams) WithContext

WithContext adds the context to the create connection params

func (*CreateConnectionParams) WithDefaults

WithDefaults hydrates default values in the create connection params (not the query body).

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

func (*CreateConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create connection params

func (*CreateConnectionParams) WithTimeout

WithTimeout adds the timeout to the create connection params

func (*CreateConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateConnectionReader

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

CreateConnectionReader is a Reader for the CreateConnection structure.

func (*CreateConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateConnectionTooManyRequests

type CreateConnectionTooManyRequests struct {
	Payload *models.Error
}
CreateConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewCreateConnectionTooManyRequests

func NewCreateConnectionTooManyRequests() *CreateConnectionTooManyRequests

NewCreateConnectionTooManyRequests creates a CreateConnectionTooManyRequests with default headers values

func (*CreateConnectionTooManyRequests) Error

func (*CreateConnectionTooManyRequests) GetPayload

func (o *CreateConnectionTooManyRequests) GetPayload() *models.Error

type CreateConnectionUnprocessableEntity

type CreateConnectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
CreateConnectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewCreateConnectionUnprocessableEntity

func NewCreateConnectionUnprocessableEntity() *CreateConnectionUnprocessableEntity

NewCreateConnectionUnprocessableEntity creates a CreateConnectionUnprocessableEntity with default headers values

func (*CreateConnectionUnprocessableEntity) Error

func (*CreateConnectionUnprocessableEntity) GetPayload

type DeleteConnectionBadRequest

type DeleteConnectionBadRequest struct {
	Payload *models.Error
}
DeleteConnectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteConnectionBadRequest

func NewDeleteConnectionBadRequest() *DeleteConnectionBadRequest

NewDeleteConnectionBadRequest creates a DeleteConnectionBadRequest with default headers values

func (*DeleteConnectionBadRequest) Error

func (*DeleteConnectionBadRequest) GetPayload

func (o *DeleteConnectionBadRequest) GetPayload() *models.Error

type DeleteConnectionNoContent

type DeleteConnectionNoContent struct {
	Payload string
}
DeleteConnectionNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteConnectionNoContent

func NewDeleteConnectionNoContent() *DeleteConnectionNoContent

NewDeleteConnectionNoContent creates a DeleteConnectionNoContent with default headers values

func (*DeleteConnectionNoContent) Error

func (o *DeleteConnectionNoContent) Error() string

func (*DeleteConnectionNoContent) GetPayload

func (o *DeleteConnectionNoContent) GetPayload() string

type DeleteConnectionNotFound

type DeleteConnectionNotFound struct {
	Payload *models.Error
}
DeleteConnectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteConnectionNotFound

func NewDeleteConnectionNotFound() *DeleteConnectionNotFound

NewDeleteConnectionNotFound creates a DeleteConnectionNotFound with default headers values

func (*DeleteConnectionNotFound) Error

func (o *DeleteConnectionNotFound) Error() string

func (*DeleteConnectionNotFound) GetPayload

func (o *DeleteConnectionNotFound) GetPayload() *models.Error

type DeleteConnectionOverrideBadRequest

type DeleteConnectionOverrideBadRequest struct {
	Payload *models.Error
}
DeleteConnectionOverrideBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewDeleteConnectionOverrideBadRequest

func NewDeleteConnectionOverrideBadRequest() *DeleteConnectionOverrideBadRequest

NewDeleteConnectionOverrideBadRequest creates a DeleteConnectionOverrideBadRequest with default headers values

func (*DeleteConnectionOverrideBadRequest) Error

func (*DeleteConnectionOverrideBadRequest) GetPayload

type DeleteConnectionOverrideNoContent

type DeleteConnectionOverrideNoContent struct {
	Payload string
}
DeleteConnectionOverrideNoContent describes a response with status code 204, with default header values.

Successfully deleted.

func NewDeleteConnectionOverrideNoContent

func NewDeleteConnectionOverrideNoContent() *DeleteConnectionOverrideNoContent

NewDeleteConnectionOverrideNoContent creates a DeleteConnectionOverrideNoContent with default headers values

func (*DeleteConnectionOverrideNoContent) Error

func (*DeleteConnectionOverrideNoContent) GetPayload

func (o *DeleteConnectionOverrideNoContent) GetPayload() string

type DeleteConnectionOverrideNotFound

type DeleteConnectionOverrideNotFound struct {
	Payload *models.Error
}
DeleteConnectionOverrideNotFound describes a response with status code 404, with default header values.

Not Found

func NewDeleteConnectionOverrideNotFound

func NewDeleteConnectionOverrideNotFound() *DeleteConnectionOverrideNotFound

NewDeleteConnectionOverrideNotFound creates a DeleteConnectionOverrideNotFound with default headers values

func (*DeleteConnectionOverrideNotFound) Error

func (*DeleteConnectionOverrideNotFound) GetPayload

type DeleteConnectionOverrideParams

type DeleteConnectionOverrideParams struct {

	/* ConnectionName.

	   Name of connection
	*/
	ConnectionName string

	/* OverrideContext.

	   Context of connection override
	*/
	OverrideContext string

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

DeleteConnectionOverrideParams contains all the parameters to send to the API endpoint

for the delete connection override operation.

Typically these are written to a http.Request.

func NewDeleteConnectionOverrideParams

func NewDeleteConnectionOverrideParams() *DeleteConnectionOverrideParams

NewDeleteConnectionOverrideParams creates a new DeleteConnectionOverrideParams 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 NewDeleteConnectionOverrideParamsWithContext

func NewDeleteConnectionOverrideParamsWithContext(ctx context.Context) *DeleteConnectionOverrideParams

NewDeleteConnectionOverrideParamsWithContext creates a new DeleteConnectionOverrideParams object with the ability to set a context for a request.

func NewDeleteConnectionOverrideParamsWithHTTPClient

func NewDeleteConnectionOverrideParamsWithHTTPClient(client *http.Client) *DeleteConnectionOverrideParams

NewDeleteConnectionOverrideParamsWithHTTPClient creates a new DeleteConnectionOverrideParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConnectionOverrideParamsWithTimeout

func NewDeleteConnectionOverrideParamsWithTimeout(timeout time.Duration) *DeleteConnectionOverrideParams

NewDeleteConnectionOverrideParamsWithTimeout creates a new DeleteConnectionOverrideParams object with the ability to set a timeout on a request.

func (*DeleteConnectionOverrideParams) SetConnectionName

func (o *DeleteConnectionOverrideParams) SetConnectionName(connectionName string)

SetConnectionName adds the connectionName to the delete connection override params

func (*DeleteConnectionOverrideParams) SetContext

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

SetContext adds the context to the delete connection override params

func (*DeleteConnectionOverrideParams) SetDefaults

func (o *DeleteConnectionOverrideParams) SetDefaults()

SetDefaults hydrates default values in the delete connection override params (not the query body).

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

func (*DeleteConnectionOverrideParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete connection override params

func (*DeleteConnectionOverrideParams) SetOverrideContext

func (o *DeleteConnectionOverrideParams) SetOverrideContext(overrideContext string)

SetOverrideContext adds the overrideContext to the delete connection override params

func (*DeleteConnectionOverrideParams) SetTimeout

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

SetTimeout adds the timeout to the delete connection override params

func (*DeleteConnectionOverrideParams) WithConnectionName

func (o *DeleteConnectionOverrideParams) WithConnectionName(connectionName string) *DeleteConnectionOverrideParams

WithConnectionName adds the connectionName to the delete connection override params

func (*DeleteConnectionOverrideParams) WithContext

WithContext adds the context to the delete connection override params

func (*DeleteConnectionOverrideParams) WithDefaults

WithDefaults hydrates default values in the delete connection override params (not the query body).

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

func (*DeleteConnectionOverrideParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete connection override params

func (*DeleteConnectionOverrideParams) WithOverrideContext

func (o *DeleteConnectionOverrideParams) WithOverrideContext(overrideContext string) *DeleteConnectionOverrideParams

WithOverrideContext adds the overrideContext to the delete connection override params

func (*DeleteConnectionOverrideParams) WithTimeout

WithTimeout adds the timeout to the delete connection override params

func (*DeleteConnectionOverrideParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConnectionOverrideReader

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

DeleteConnectionOverrideReader is a Reader for the DeleteConnectionOverride structure.

func (*DeleteConnectionOverrideReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConnectionOverrideTooManyRequests

type DeleteConnectionOverrideTooManyRequests struct {
	Payload *models.Error
}
DeleteConnectionOverrideTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteConnectionOverrideTooManyRequests

func NewDeleteConnectionOverrideTooManyRequests() *DeleteConnectionOverrideTooManyRequests

NewDeleteConnectionOverrideTooManyRequests creates a DeleteConnectionOverrideTooManyRequests with default headers values

func (*DeleteConnectionOverrideTooManyRequests) Error

func (*DeleteConnectionOverrideTooManyRequests) GetPayload

type DeleteConnectionOverrideUnprocessableEntity

type DeleteConnectionOverrideUnprocessableEntity struct {
	Payload *models.ValidationError
}
DeleteConnectionOverrideUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewDeleteConnectionOverrideUnprocessableEntity

func NewDeleteConnectionOverrideUnprocessableEntity() *DeleteConnectionOverrideUnprocessableEntity

NewDeleteConnectionOverrideUnprocessableEntity creates a DeleteConnectionOverrideUnprocessableEntity with default headers values

func (*DeleteConnectionOverrideUnprocessableEntity) Error

func (*DeleteConnectionOverrideUnprocessableEntity) GetPayload

type DeleteConnectionParams

type DeleteConnectionParams struct {

	/* ConnectionName.

	   Name of connection
	*/
	ConnectionName string

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

DeleteConnectionParams contains all the parameters to send to the API endpoint

for the delete connection operation.

Typically these are written to a http.Request.

func NewDeleteConnectionParams

func NewDeleteConnectionParams() *DeleteConnectionParams

NewDeleteConnectionParams creates a new DeleteConnectionParams 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 NewDeleteConnectionParamsWithContext

func NewDeleteConnectionParamsWithContext(ctx context.Context) *DeleteConnectionParams

NewDeleteConnectionParamsWithContext creates a new DeleteConnectionParams object with the ability to set a context for a request.

func NewDeleteConnectionParamsWithHTTPClient

func NewDeleteConnectionParamsWithHTTPClient(client *http.Client) *DeleteConnectionParams

NewDeleteConnectionParamsWithHTTPClient creates a new DeleteConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteConnectionParamsWithTimeout

func NewDeleteConnectionParamsWithTimeout(timeout time.Duration) *DeleteConnectionParams

NewDeleteConnectionParamsWithTimeout creates a new DeleteConnectionParams object with the ability to set a timeout on a request.

func (*DeleteConnectionParams) SetConnectionName

func (o *DeleteConnectionParams) SetConnectionName(connectionName string)

SetConnectionName adds the connectionName to the delete connection params

func (*DeleteConnectionParams) SetContext

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

SetContext adds the context to the delete connection params

func (*DeleteConnectionParams) SetDefaults

func (o *DeleteConnectionParams) SetDefaults()

SetDefaults hydrates default values in the delete connection params (not the query body).

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

func (*DeleteConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete connection params

func (*DeleteConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the delete connection params

func (*DeleteConnectionParams) WithConnectionName

func (o *DeleteConnectionParams) WithConnectionName(connectionName string) *DeleteConnectionParams

WithConnectionName adds the connectionName to the delete connection params

func (*DeleteConnectionParams) WithContext

WithContext adds the context to the delete connection params

func (*DeleteConnectionParams) WithDefaults

WithDefaults hydrates default values in the delete connection params (not the query body).

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

func (*DeleteConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete connection params

func (*DeleteConnectionParams) WithTimeout

WithTimeout adds the timeout to the delete connection params

func (*DeleteConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteConnectionReader

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

DeleteConnectionReader is a Reader for the DeleteConnection structure.

func (*DeleteConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteConnectionTooManyRequests

type DeleteConnectionTooManyRequests struct {
	Payload *models.Error
}
DeleteConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteConnectionTooManyRequests

func NewDeleteConnectionTooManyRequests() *DeleteConnectionTooManyRequests

NewDeleteConnectionTooManyRequests creates a DeleteConnectionTooManyRequests with default headers values

func (*DeleteConnectionTooManyRequests) Error

func (*DeleteConnectionTooManyRequests) GetPayload

func (o *DeleteConnectionTooManyRequests) GetPayload() *models.Error

type TestConnectionBadRequest

type TestConnectionBadRequest struct {
	Payload *models.Error
}
TestConnectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewTestConnectionBadRequest

func NewTestConnectionBadRequest() *TestConnectionBadRequest

NewTestConnectionBadRequest creates a TestConnectionBadRequest with default headers values

func (*TestConnectionBadRequest) Error

func (o *TestConnectionBadRequest) Error() string

func (*TestConnectionBadRequest) GetPayload

func (o *TestConnectionBadRequest) GetPayload() *models.Error

type TestConnectionConfigBadRequest

type TestConnectionConfigBadRequest struct {
	Payload *models.Error
}
TestConnectionConfigBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewTestConnectionConfigBadRequest

func NewTestConnectionConfigBadRequest() *TestConnectionConfigBadRequest

NewTestConnectionConfigBadRequest creates a TestConnectionConfigBadRequest with default headers values

func (*TestConnectionConfigBadRequest) Error

func (*TestConnectionConfigBadRequest) GetPayload

func (o *TestConnectionConfigBadRequest) GetPayload() *models.Error

type TestConnectionConfigNotFound

type TestConnectionConfigNotFound struct {
	Payload *models.Error
}
TestConnectionConfigNotFound describes a response with status code 404, with default header values.

Not Found

func NewTestConnectionConfigNotFound

func NewTestConnectionConfigNotFound() *TestConnectionConfigNotFound

NewTestConnectionConfigNotFound creates a TestConnectionConfigNotFound with default headers values

func (*TestConnectionConfigNotFound) Error

func (*TestConnectionConfigNotFound) GetPayload

func (o *TestConnectionConfigNotFound) GetPayload() *models.Error

type TestConnectionConfigOK

type TestConnectionConfigOK struct {
	Payload []*models.DBConnectionTestResult
}
TestConnectionConfigOK describes a response with status code 200, with default header values.

Test results

func NewTestConnectionConfigOK

func NewTestConnectionConfigOK() *TestConnectionConfigOK

NewTestConnectionConfigOK creates a TestConnectionConfigOK with default headers values

func (*TestConnectionConfigOK) Error

func (o *TestConnectionConfigOK) Error() string

func (*TestConnectionConfigOK) GetPayload

type TestConnectionConfigParams

type TestConnectionConfigParams struct {

	/* Body.

	   Connection
	*/
	Body *models.DBConnection

	/* Tests.

	   Array of names of tests to run
	*/
	Tests []string

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

TestConnectionConfigParams contains all the parameters to send to the API endpoint

for the test connection config operation.

Typically these are written to a http.Request.

func NewTestConnectionConfigParams

func NewTestConnectionConfigParams() *TestConnectionConfigParams

NewTestConnectionConfigParams creates a new TestConnectionConfigParams 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 NewTestConnectionConfigParamsWithContext

func NewTestConnectionConfigParamsWithContext(ctx context.Context) *TestConnectionConfigParams

NewTestConnectionConfigParamsWithContext creates a new TestConnectionConfigParams object with the ability to set a context for a request.

func NewTestConnectionConfigParamsWithHTTPClient

func NewTestConnectionConfigParamsWithHTTPClient(client *http.Client) *TestConnectionConfigParams

NewTestConnectionConfigParamsWithHTTPClient creates a new TestConnectionConfigParams object with the ability to set a custom HTTPClient for a request.

func NewTestConnectionConfigParamsWithTimeout

func NewTestConnectionConfigParamsWithTimeout(timeout time.Duration) *TestConnectionConfigParams

NewTestConnectionConfigParamsWithTimeout creates a new TestConnectionConfigParams object with the ability to set a timeout on a request.

func (*TestConnectionConfigParams) SetBody

SetBody adds the body to the test connection config params

func (*TestConnectionConfigParams) SetContext

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

SetContext adds the context to the test connection config params

func (*TestConnectionConfigParams) SetDefaults

func (o *TestConnectionConfigParams) SetDefaults()

SetDefaults hydrates default values in the test connection config params (not the query body).

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

func (*TestConnectionConfigParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test connection config params

func (*TestConnectionConfigParams) SetTests

func (o *TestConnectionConfigParams) SetTests(tests []string)

SetTests adds the tests to the test connection config params

func (*TestConnectionConfigParams) SetTimeout

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

SetTimeout adds the timeout to the test connection config params

func (*TestConnectionConfigParams) WithBody

WithBody adds the body to the test connection config params

func (*TestConnectionConfigParams) WithContext

WithContext adds the context to the test connection config params

func (*TestConnectionConfigParams) WithDefaults

WithDefaults hydrates default values in the test connection config params (not the query body).

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

func (*TestConnectionConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the test connection config params

func (*TestConnectionConfigParams) WithTests

WithTests adds the tests to the test connection config params

func (*TestConnectionConfigParams) WithTimeout

WithTimeout adds the timeout to the test connection config params

func (*TestConnectionConfigParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type TestConnectionConfigReader

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

TestConnectionConfigReader is a Reader for the TestConnectionConfig structure.

func (*TestConnectionConfigReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestConnectionConfigTooManyRequests

type TestConnectionConfigTooManyRequests struct {
	Payload *models.Error
}
TestConnectionConfigTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewTestConnectionConfigTooManyRequests

func NewTestConnectionConfigTooManyRequests() *TestConnectionConfigTooManyRequests

NewTestConnectionConfigTooManyRequests creates a TestConnectionConfigTooManyRequests with default headers values

func (*TestConnectionConfigTooManyRequests) Error

func (*TestConnectionConfigTooManyRequests) GetPayload

type TestConnectionNotFound

type TestConnectionNotFound struct {
	Payload *models.Error
}
TestConnectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewTestConnectionNotFound

func NewTestConnectionNotFound() *TestConnectionNotFound

NewTestConnectionNotFound creates a TestConnectionNotFound with default headers values

func (*TestConnectionNotFound) Error

func (o *TestConnectionNotFound) Error() string

func (*TestConnectionNotFound) GetPayload

func (o *TestConnectionNotFound) GetPayload() *models.Error

type TestConnectionOK

type TestConnectionOK struct {
	Payload []*models.DBConnectionTestResult
}
TestConnectionOK describes a response with status code 200, with default header values.

Test results

func NewTestConnectionOK

func NewTestConnectionOK() *TestConnectionOK

NewTestConnectionOK creates a TestConnectionOK with default headers values

func (*TestConnectionOK) Error

func (o *TestConnectionOK) Error() string

func (*TestConnectionOK) GetPayload

func (o *TestConnectionOK) GetPayload() []*models.DBConnectionTestResult

type TestConnectionParams

type TestConnectionParams struct {

	/* ConnectionName.

	   Name of connection
	*/
	ConnectionName string

	/* Tests.

	   Array of names of tests to run
	*/
	Tests []string

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

TestConnectionParams contains all the parameters to send to the API endpoint

for the test connection operation.

Typically these are written to a http.Request.

func NewTestConnectionParams

func NewTestConnectionParams() *TestConnectionParams

NewTestConnectionParams creates a new TestConnectionParams 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 NewTestConnectionParamsWithContext

func NewTestConnectionParamsWithContext(ctx context.Context) *TestConnectionParams

NewTestConnectionParamsWithContext creates a new TestConnectionParams object with the ability to set a context for a request.

func NewTestConnectionParamsWithHTTPClient

func NewTestConnectionParamsWithHTTPClient(client *http.Client) *TestConnectionParams

NewTestConnectionParamsWithHTTPClient creates a new TestConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewTestConnectionParamsWithTimeout

func NewTestConnectionParamsWithTimeout(timeout time.Duration) *TestConnectionParams

NewTestConnectionParamsWithTimeout creates a new TestConnectionParams object with the ability to set a timeout on a request.

func (*TestConnectionParams) SetConnectionName

func (o *TestConnectionParams) SetConnectionName(connectionName string)

SetConnectionName adds the connectionName to the test connection params

func (*TestConnectionParams) SetContext

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

SetContext adds the context to the test connection params

func (*TestConnectionParams) SetDefaults

func (o *TestConnectionParams) SetDefaults()

SetDefaults hydrates default values in the test connection params (not the query body).

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

func (*TestConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the test connection params

func (*TestConnectionParams) SetTests

func (o *TestConnectionParams) SetTests(tests []string)

SetTests adds the tests to the test connection params

func (*TestConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the test connection params

func (*TestConnectionParams) WithConnectionName

func (o *TestConnectionParams) WithConnectionName(connectionName string) *TestConnectionParams

WithConnectionName adds the connectionName to the test connection params

func (*TestConnectionParams) WithContext

WithContext adds the context to the test connection params

func (*TestConnectionParams) WithDefaults

func (o *TestConnectionParams) WithDefaults() *TestConnectionParams

WithDefaults hydrates default values in the test connection params (not the query body).

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

func (*TestConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the test connection params

func (*TestConnectionParams) WithTests

func (o *TestConnectionParams) WithTests(tests []string) *TestConnectionParams

WithTests adds the tests to the test connection params

func (*TestConnectionParams) WithTimeout

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

WithTimeout adds the timeout to the test connection params

func (*TestConnectionParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TestConnectionReader

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

TestConnectionReader is a Reader for the TestConnection structure.

func (*TestConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TestConnectionTooManyRequests

type TestConnectionTooManyRequests struct {
	Payload *models.Error
}
TestConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewTestConnectionTooManyRequests

func NewTestConnectionTooManyRequests() *TestConnectionTooManyRequests

NewTestConnectionTooManyRequests creates a TestConnectionTooManyRequests with default headers values

func (*TestConnectionTooManyRequests) Error

func (*TestConnectionTooManyRequests) GetPayload

func (o *TestConnectionTooManyRequests) GetPayload() *models.Error

type TestConnectionUnprocessableEntity

type TestConnectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
TestConnectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewTestConnectionUnprocessableEntity

func NewTestConnectionUnprocessableEntity() *TestConnectionUnprocessableEntity

NewTestConnectionUnprocessableEntity creates a TestConnectionUnprocessableEntity with default headers values

func (*TestConnectionUnprocessableEntity) Error

func (*TestConnectionUnprocessableEntity) GetPayload

type UpdateConnectionBadRequest

type UpdateConnectionBadRequest struct {
	Payload *models.Error
}
UpdateConnectionBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateConnectionBadRequest

func NewUpdateConnectionBadRequest() *UpdateConnectionBadRequest

NewUpdateConnectionBadRequest creates a UpdateConnectionBadRequest with default headers values

func (*UpdateConnectionBadRequest) Error

func (*UpdateConnectionBadRequest) GetPayload

func (o *UpdateConnectionBadRequest) GetPayload() *models.Error

type UpdateConnectionNotFound

type UpdateConnectionNotFound struct {
	Payload *models.Error
}
UpdateConnectionNotFound describes a response with status code 404, with default header values.

Not Found

func NewUpdateConnectionNotFound

func NewUpdateConnectionNotFound() *UpdateConnectionNotFound

NewUpdateConnectionNotFound creates a UpdateConnectionNotFound with default headers values

func (*UpdateConnectionNotFound) Error

func (o *UpdateConnectionNotFound) Error() string

func (*UpdateConnectionNotFound) GetPayload

func (o *UpdateConnectionNotFound) GetPayload() *models.Error

type UpdateConnectionOK

type UpdateConnectionOK struct {
	Payload *models.DBConnection
}
UpdateConnectionOK describes a response with status code 200, with default header values.

Connection

func NewUpdateConnectionOK

func NewUpdateConnectionOK() *UpdateConnectionOK

NewUpdateConnectionOK creates a UpdateConnectionOK with default headers values

func (*UpdateConnectionOK) Error

func (o *UpdateConnectionOK) Error() string

func (*UpdateConnectionOK) GetPayload

func (o *UpdateConnectionOK) GetPayload() *models.DBConnection

type UpdateConnectionParams

type UpdateConnectionParams struct {

	/* Body.

	   Connection
	*/
	Body *models.DBConnection

	/* ConnectionName.

	   Name of connection
	*/
	ConnectionName string

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

UpdateConnectionParams contains all the parameters to send to the API endpoint

for the update connection operation.

Typically these are written to a http.Request.

func NewUpdateConnectionParams

func NewUpdateConnectionParams() *UpdateConnectionParams

NewUpdateConnectionParams creates a new UpdateConnectionParams 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 NewUpdateConnectionParamsWithContext

func NewUpdateConnectionParamsWithContext(ctx context.Context) *UpdateConnectionParams

NewUpdateConnectionParamsWithContext creates a new UpdateConnectionParams object with the ability to set a context for a request.

func NewUpdateConnectionParamsWithHTTPClient

func NewUpdateConnectionParamsWithHTTPClient(client *http.Client) *UpdateConnectionParams

NewUpdateConnectionParamsWithHTTPClient creates a new UpdateConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateConnectionParamsWithTimeout

func NewUpdateConnectionParamsWithTimeout(timeout time.Duration) *UpdateConnectionParams

NewUpdateConnectionParamsWithTimeout creates a new UpdateConnectionParams object with the ability to set a timeout on a request.

func (*UpdateConnectionParams) SetBody

func (o *UpdateConnectionParams) SetBody(body *models.DBConnection)

SetBody adds the body to the update connection params

func (*UpdateConnectionParams) SetConnectionName

func (o *UpdateConnectionParams) SetConnectionName(connectionName string)

SetConnectionName adds the connectionName to the update connection params

func (*UpdateConnectionParams) SetContext

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

SetContext adds the context to the update connection params

func (*UpdateConnectionParams) SetDefaults

func (o *UpdateConnectionParams) SetDefaults()

SetDefaults hydrates default values in the update connection params (not the query body).

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

func (*UpdateConnectionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update connection params

func (*UpdateConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the update connection params

func (*UpdateConnectionParams) WithBody

WithBody adds the body to the update connection params

func (*UpdateConnectionParams) WithConnectionName

func (o *UpdateConnectionParams) WithConnectionName(connectionName string) *UpdateConnectionParams

WithConnectionName adds the connectionName to the update connection params

func (*UpdateConnectionParams) WithContext

WithContext adds the context to the update connection params

func (*UpdateConnectionParams) WithDefaults

WithDefaults hydrates default values in the update connection params (not the query body).

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

func (*UpdateConnectionParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update connection params

func (*UpdateConnectionParams) WithTimeout

WithTimeout adds the timeout to the update connection params

func (*UpdateConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateConnectionReader

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

UpdateConnectionReader is a Reader for the UpdateConnection structure.

func (*UpdateConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateConnectionTooManyRequests

type UpdateConnectionTooManyRequests struct {
	Payload *models.Error
}
UpdateConnectionTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUpdateConnectionTooManyRequests

func NewUpdateConnectionTooManyRequests() *UpdateConnectionTooManyRequests

NewUpdateConnectionTooManyRequests creates a UpdateConnectionTooManyRequests with default headers values

func (*UpdateConnectionTooManyRequests) Error

func (*UpdateConnectionTooManyRequests) GetPayload

func (o *UpdateConnectionTooManyRequests) GetPayload() *models.Error

type UpdateConnectionUnprocessableEntity

type UpdateConnectionUnprocessableEntity struct {
	Payload *models.ValidationError
}
UpdateConnectionUnprocessableEntity describes a response with status code 422, with default header values.

Validation Error

func NewUpdateConnectionUnprocessableEntity

func NewUpdateConnectionUnprocessableEntity() *UpdateConnectionUnprocessableEntity

NewUpdateConnectionUnprocessableEntity creates a UpdateConnectionUnprocessableEntity with default headers values

func (*UpdateConnectionUnprocessableEntity) Error

func (*UpdateConnectionUnprocessableEntity) GetPayload

Jump to

Keyboard shortcuts

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