connection

package
v0.0.0-...-162d0cd Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 11 Imported by: 1

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 handles this case 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

type AllConnectionsNotFound

type AllConnectionsNotFound struct {
	Payload *models.Error
}

AllConnectionsNotFound handles this case 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

type AllConnectionsOK

type AllConnectionsOK struct {
	Payload []*models.DBConnection
}

AllConnectionsOK handles this case 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

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 values initialized.

func NewAllConnectionsParamsWithContext

func NewAllConnectionsParamsWithContext(ctx context.Context) *AllConnectionsParams

NewAllConnectionsParamsWithContext creates a new AllConnectionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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

type AllDialectInfosNotFound

type AllDialectInfosNotFound struct {
	Payload *models.Error
}

AllDialectInfosNotFound handles this case 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

type AllDialectInfosOK

type AllDialectInfosOK struct {
	Payload []*models.DialectInfo
}

AllDialectInfosOK handles this case 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

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 values initialized.

func NewAllDialectInfosParamsWithContext

func NewAllDialectInfosParamsWithContext(ctx context.Context) *AllDialectInfosParams

NewAllDialectInfosParamsWithContext creates a new AllDialectInfosParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 New

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

New creates a new connection API client.

func (*Client) AllConnections

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

AllConnections gets all connections

### Get information about all connections.

func (*Client) AllDialectInfos

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

AllDialectInfos gets all dialect infos

### Get information about all dialects.

func (*Client) Connection

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

Connection gets connection

### Get information about a connection.

func (*Client) CreateConnection

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

CreateConnection creates connection

### Create a connection using the specified configuration.

func (*Client) DeleteConnection

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

DeleteConnection deletes connection

### Delete a connection.

func (*Client) DeleteConnectionOverride

func (a *Client) DeleteConnectionOverride(params *DeleteConnectionOverrideParams) (*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) (*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.

Unsupported tests in the request will be ignored.

func (*Client) TestConnectionConfig

func (a *Client) TestConnectionConfig(params *TestConnectionConfigParams) (*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.

Unsupported tests in the request will be ignored.

func (*Client) UpdateConnection

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

UpdateConnection updates connection

### Update a connection using the specified configuration.

type ConnectionBadRequest

type ConnectionBadRequest struct {
	Payload *models.Error
}

ConnectionBadRequest handles this case 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

type ConnectionNotFound

type ConnectionNotFound struct {
	Payload *models.Error
}

ConnectionNotFound handles this case 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

type ConnectionOK

type ConnectionOK struct {
	Payload *models.DBConnection
}

ConnectionOK handles this case 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

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 values initialized.

func NewConnectionParamsWithContext

func NewConnectionParamsWithContext(ctx context.Context) *ConnectionParams

NewConnectionParamsWithContext creates a new ConnectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case with default header values.

Bad Request

func NewCreateConnectionBadRequest

func NewCreateConnectionBadRequest() *CreateConnectionBadRequest

NewCreateConnectionBadRequest creates a CreateConnectionBadRequest with default headers values

func (*CreateConnectionBadRequest) Error

type CreateConnectionConflict

type CreateConnectionConflict struct {
	Payload *models.Error
}

CreateConnectionConflict handles this case 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

type CreateConnectionNotFound

type CreateConnectionNotFound struct {
	Payload *models.Error
}

CreateConnectionNotFound handles this case 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

type CreateConnectionOK

type CreateConnectionOK struct {
	Payload *models.DBConnection
}

CreateConnectionOK handles this case 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

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 values initialized.

func NewCreateConnectionParamsWithContext

func NewCreateConnectionParamsWithContext(ctx context.Context) *CreateConnectionParams

NewCreateConnectionParamsWithContext creates a new CreateConnectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 CreateConnectionUnprocessableEntity

type CreateConnectionUnprocessableEntity struct {
	Payload *models.ValidationError
}

CreateConnectionUnprocessableEntity handles this case with default header values.

Validation Error

func NewCreateConnectionUnprocessableEntity

func NewCreateConnectionUnprocessableEntity() *CreateConnectionUnprocessableEntity

NewCreateConnectionUnprocessableEntity creates a CreateConnectionUnprocessableEntity with default headers values

func (*CreateConnectionUnprocessableEntity) Error

type DeleteConnectionBadRequest

type DeleteConnectionBadRequest struct {
	Payload *models.Error
}

DeleteConnectionBadRequest handles this case with default header values.

Bad Request

func NewDeleteConnectionBadRequest

func NewDeleteConnectionBadRequest() *DeleteConnectionBadRequest

NewDeleteConnectionBadRequest creates a DeleteConnectionBadRequest with default headers values

func (*DeleteConnectionBadRequest) Error

type DeleteConnectionNoContent

type DeleteConnectionNoContent struct {
	Payload string
}

DeleteConnectionNoContent handles this case 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

type DeleteConnectionNotFound

type DeleteConnectionNotFound struct {
	Payload *models.Error
}

DeleteConnectionNotFound handles this case 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

type DeleteConnectionOverrideBadRequest

type DeleteConnectionOverrideBadRequest struct {
	Payload *models.Error
}

DeleteConnectionOverrideBadRequest handles this case with default header values.

Bad Request

func NewDeleteConnectionOverrideBadRequest

func NewDeleteConnectionOverrideBadRequest() *DeleteConnectionOverrideBadRequest

NewDeleteConnectionOverrideBadRequest creates a DeleteConnectionOverrideBadRequest with default headers values

func (*DeleteConnectionOverrideBadRequest) Error

type DeleteConnectionOverrideNoContent

type DeleteConnectionOverrideNoContent struct {
	Payload string
}

DeleteConnectionOverrideNoContent handles this case with default header values.

Successfully deleted.

func NewDeleteConnectionOverrideNoContent

func NewDeleteConnectionOverrideNoContent() *DeleteConnectionOverrideNoContent

NewDeleteConnectionOverrideNoContent creates a DeleteConnectionOverrideNoContent with default headers values

func (*DeleteConnectionOverrideNoContent) Error

type DeleteConnectionOverrideNotFound

type DeleteConnectionOverrideNotFound struct {
	Payload *models.Error
}

DeleteConnectionOverrideNotFound handles this case with default header values.

Not Found

func NewDeleteConnectionOverrideNotFound

func NewDeleteConnectionOverrideNotFound() *DeleteConnectionOverrideNotFound

NewDeleteConnectionOverrideNotFound creates a DeleteConnectionOverrideNotFound with default headers values

func (*DeleteConnectionOverrideNotFound) Error

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 values initialized.

func NewDeleteConnectionOverrideParamsWithContext

func NewDeleteConnectionOverrideParamsWithContext(ctx context.Context) *DeleteConnectionOverrideParams

NewDeleteConnectionOverrideParamsWithContext creates a new DeleteConnectionOverrideParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 DeleteConnectionOverrideUnprocessableEntity

type DeleteConnectionOverrideUnprocessableEntity struct {
	Payload *models.ValidationError
}

DeleteConnectionOverrideUnprocessableEntity handles this case with default header values.

Validation Error

func NewDeleteConnectionOverrideUnprocessableEntity

func NewDeleteConnectionOverrideUnprocessableEntity() *DeleteConnectionOverrideUnprocessableEntity

NewDeleteConnectionOverrideUnprocessableEntity creates a DeleteConnectionOverrideUnprocessableEntity with default headers values

func (*DeleteConnectionOverrideUnprocessableEntity) Error

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 values initialized.

func NewDeleteConnectionParamsWithContext

func NewDeleteConnectionParamsWithContext(ctx context.Context) *DeleteConnectionParams

NewDeleteConnectionParamsWithContext creates a new DeleteConnectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 TestConnectionBadRequest

type TestConnectionBadRequest struct {
	Payload *models.Error
}

TestConnectionBadRequest handles this case 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

type TestConnectionConfigBadRequest

type TestConnectionConfigBadRequest struct {
	Payload *models.Error
}

TestConnectionConfigBadRequest handles this case with default header values.

Bad Request

func NewTestConnectionConfigBadRequest

func NewTestConnectionConfigBadRequest() *TestConnectionConfigBadRequest

NewTestConnectionConfigBadRequest creates a TestConnectionConfigBadRequest with default headers values

func (*TestConnectionConfigBadRequest) Error

type TestConnectionConfigNotFound

type TestConnectionConfigNotFound struct {
	Payload *models.Error
}

TestConnectionConfigNotFound handles this case with default header values.

Not Found

func NewTestConnectionConfigNotFound

func NewTestConnectionConfigNotFound() *TestConnectionConfigNotFound

NewTestConnectionConfigNotFound creates a TestConnectionConfigNotFound with default headers values

func (*TestConnectionConfigNotFound) Error

type TestConnectionConfigOK

type TestConnectionConfigOK struct {
	Payload []*models.DBConnectionTestResult
}

TestConnectionConfigOK handles this case 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

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 values initialized.

func NewTestConnectionConfigParamsWithContext

func NewTestConnectionConfigParamsWithContext(ctx context.Context) *TestConnectionConfigParams

NewTestConnectionConfigParamsWithContext creates a new TestConnectionConfigParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 TestConnectionNotFound

type TestConnectionNotFound struct {
	Payload *models.Error
}

TestConnectionNotFound handles this case 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

type TestConnectionOK

type TestConnectionOK struct {
	Payload []*models.DBConnectionTestResult
}

TestConnectionOK handles this case 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

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 values initialized.

func NewTestConnectionParamsWithContext

func NewTestConnectionParamsWithContext(ctx context.Context) *TestConnectionParams

NewTestConnectionParamsWithContext creates a new TestConnectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateConnectionBadRequest

type UpdateConnectionBadRequest struct {
	Payload *models.Error
}

UpdateConnectionBadRequest handles this case with default header values.

Bad Request

func NewUpdateConnectionBadRequest

func NewUpdateConnectionBadRequest() *UpdateConnectionBadRequest

NewUpdateConnectionBadRequest creates a UpdateConnectionBadRequest with default headers values

func (*UpdateConnectionBadRequest) Error

type UpdateConnectionNotFound

type UpdateConnectionNotFound struct {
	Payload *models.Error
}

UpdateConnectionNotFound handles this case 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

type UpdateConnectionOK

type UpdateConnectionOK struct {
	Payload *models.DBConnection
}

UpdateConnectionOK handles this case 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

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 values initialized.

func NewUpdateConnectionParamsWithContext

func NewUpdateConnectionParamsWithContext(ctx context.Context) *UpdateConnectionParams

NewUpdateConnectionParamsWithContext creates a new UpdateConnectionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 UpdateConnectionUnprocessableEntity

type UpdateConnectionUnprocessableEntity struct {
	Payload *models.ValidationError
}

UpdateConnectionUnprocessableEntity handles this case with default header values.

Validation Error

func NewUpdateConnectionUnprocessableEntity

func NewUpdateConnectionUnprocessableEntity() *UpdateConnectionUnprocessableEntity

NewUpdateConnectionUnprocessableEntity creates a UpdateConnectionUnprocessableEntity with default headers values

func (*UpdateConnectionUnprocessableEntity) Error

Jump to

Keyboard shortcuts

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