Documentation
¶
Index ¶
- type AllConnectionsBadRequest
- type AllConnectionsNotFound
- type AllConnectionsOK
- type AllConnectionsParams
- func NewAllConnectionsParams() *AllConnectionsParams
- func NewAllConnectionsParamsWithContext(ctx context.Context) *AllConnectionsParams
- func NewAllConnectionsParamsWithHTTPClient(client *http.Client) *AllConnectionsParams
- func NewAllConnectionsParamsWithTimeout(timeout time.Duration) *AllConnectionsParams
- func (o *AllConnectionsParams) SetContext(ctx context.Context)
- func (o *AllConnectionsParams) SetFields(fields *string)
- func (o *AllConnectionsParams) SetHTTPClient(client *http.Client)
- func (o *AllConnectionsParams) SetTimeout(timeout time.Duration)
- func (o *AllConnectionsParams) WithContext(ctx context.Context) *AllConnectionsParams
- func (o *AllConnectionsParams) WithFields(fields *string) *AllConnectionsParams
- func (o *AllConnectionsParams) WithHTTPClient(client *http.Client) *AllConnectionsParams
- func (o *AllConnectionsParams) WithTimeout(timeout time.Duration) *AllConnectionsParams
- func (o *AllConnectionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllConnectionsReader
- type AllDialectInfosBadRequest
- type AllDialectInfosNotFound
- type AllDialectInfosOK
- type AllDialectInfosParams
- func NewAllDialectInfosParams() *AllDialectInfosParams
- func NewAllDialectInfosParamsWithContext(ctx context.Context) *AllDialectInfosParams
- func NewAllDialectInfosParamsWithHTTPClient(client *http.Client) *AllDialectInfosParams
- func NewAllDialectInfosParamsWithTimeout(timeout time.Duration) *AllDialectInfosParams
- func (o *AllDialectInfosParams) SetContext(ctx context.Context)
- func (o *AllDialectInfosParams) SetFields(fields *string)
- func (o *AllDialectInfosParams) SetHTTPClient(client *http.Client)
- func (o *AllDialectInfosParams) SetTimeout(timeout time.Duration)
- func (o *AllDialectInfosParams) WithContext(ctx context.Context) *AllDialectInfosParams
- func (o *AllDialectInfosParams) WithFields(fields *string) *AllDialectInfosParams
- func (o *AllDialectInfosParams) WithHTTPClient(client *http.Client) *AllDialectInfosParams
- func (o *AllDialectInfosParams) WithTimeout(timeout time.Duration) *AllDialectInfosParams
- func (o *AllDialectInfosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AllDialectInfosReader
- type Client
- func (a *Client) AllConnections(params *AllConnectionsParams) (*AllConnectionsOK, error)
- func (a *Client) AllDialectInfos(params *AllDialectInfosParams) (*AllDialectInfosOK, error)
- func (a *Client) Connection(params *ConnectionParams) (*ConnectionOK, error)
- func (a *Client) CreateConnection(params *CreateConnectionParams) (*CreateConnectionOK, error)
- func (a *Client) DeleteConnection(params *DeleteConnectionParams) (*DeleteConnectionNoContent, error)
- func (a *Client) DeleteConnectionOverride(params *DeleteConnectionOverrideParams) (*DeleteConnectionOverrideNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestConnection(params *TestConnectionParams) (*TestConnectionOK, error)
- func (a *Client) TestConnectionConfig(params *TestConnectionConfigParams) (*TestConnectionConfigOK, error)
- func (a *Client) UpdateConnection(params *UpdateConnectionParams) (*UpdateConnectionOK, error)
- type ConnectionBadRequest
- type ConnectionNotFound
- type ConnectionOK
- type ConnectionParams
- func (o *ConnectionParams) SetConnectionName(connectionName string)
- func (o *ConnectionParams) SetContext(ctx context.Context)
- func (o *ConnectionParams) SetFields(fields *string)
- func (o *ConnectionParams) SetHTTPClient(client *http.Client)
- func (o *ConnectionParams) SetTimeout(timeout time.Duration)
- func (o *ConnectionParams) WithConnectionName(connectionName string) *ConnectionParams
- func (o *ConnectionParams) WithContext(ctx context.Context) *ConnectionParams
- func (o *ConnectionParams) WithFields(fields *string) *ConnectionParams
- func (o *ConnectionParams) WithHTTPClient(client *http.Client) *ConnectionParams
- func (o *ConnectionParams) WithTimeout(timeout time.Duration) *ConnectionParams
- func (o *ConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ConnectionReader
- type CreateConnectionBadRequest
- type CreateConnectionConflict
- type CreateConnectionNotFound
- type CreateConnectionOK
- type CreateConnectionParams
- func NewCreateConnectionParams() *CreateConnectionParams
- func NewCreateConnectionParamsWithContext(ctx context.Context) *CreateConnectionParams
- func NewCreateConnectionParamsWithHTTPClient(client *http.Client) *CreateConnectionParams
- func NewCreateConnectionParamsWithTimeout(timeout time.Duration) *CreateConnectionParams
- func (o *CreateConnectionParams) SetBody(body *models.DBConnection)
- func (o *CreateConnectionParams) SetContext(ctx context.Context)
- func (o *CreateConnectionParams) SetHTTPClient(client *http.Client)
- func (o *CreateConnectionParams) SetTimeout(timeout time.Duration)
- func (o *CreateConnectionParams) WithBody(body *models.DBConnection) *CreateConnectionParams
- func (o *CreateConnectionParams) WithContext(ctx context.Context) *CreateConnectionParams
- func (o *CreateConnectionParams) WithHTTPClient(client *http.Client) *CreateConnectionParams
- func (o *CreateConnectionParams) WithTimeout(timeout time.Duration) *CreateConnectionParams
- func (o *CreateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateConnectionReader
- type CreateConnectionUnprocessableEntity
- type DeleteConnectionBadRequest
- type DeleteConnectionNoContent
- type DeleteConnectionNotFound
- type DeleteConnectionOverrideBadRequest
- type DeleteConnectionOverrideNoContent
- type DeleteConnectionOverrideNotFound
- type DeleteConnectionOverrideParams
- func NewDeleteConnectionOverrideParams() *DeleteConnectionOverrideParams
- func NewDeleteConnectionOverrideParamsWithContext(ctx context.Context) *DeleteConnectionOverrideParams
- func NewDeleteConnectionOverrideParamsWithHTTPClient(client *http.Client) *DeleteConnectionOverrideParams
- func NewDeleteConnectionOverrideParamsWithTimeout(timeout time.Duration) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) SetConnectionName(connectionName string)
- func (o *DeleteConnectionOverrideParams) SetContext(ctx context.Context)
- func (o *DeleteConnectionOverrideParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConnectionOverrideParams) SetOverrideContext(overrideContext string)
- func (o *DeleteConnectionOverrideParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConnectionOverrideParams) WithConnectionName(connectionName string) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) WithContext(ctx context.Context) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) WithHTTPClient(client *http.Client) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) WithOverrideContext(overrideContext string) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) WithTimeout(timeout time.Duration) *DeleteConnectionOverrideParams
- func (o *DeleteConnectionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConnectionOverrideReader
- type DeleteConnectionOverrideUnprocessableEntity
- type DeleteConnectionParams
- func NewDeleteConnectionParams() *DeleteConnectionParams
- func NewDeleteConnectionParamsWithContext(ctx context.Context) *DeleteConnectionParams
- func NewDeleteConnectionParamsWithHTTPClient(client *http.Client) *DeleteConnectionParams
- func NewDeleteConnectionParamsWithTimeout(timeout time.Duration) *DeleteConnectionParams
- func (o *DeleteConnectionParams) SetConnectionName(connectionName string)
- func (o *DeleteConnectionParams) SetContext(ctx context.Context)
- func (o *DeleteConnectionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConnectionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConnectionParams) WithConnectionName(connectionName string) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithContext(ctx context.Context) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithHTTPClient(client *http.Client) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WithTimeout(timeout time.Duration) *DeleteConnectionParams
- func (o *DeleteConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConnectionReader
- type TestConnectionBadRequest
- type TestConnectionConfigBadRequest
- type TestConnectionConfigNotFound
- type TestConnectionConfigOK
- type TestConnectionConfigParams
- func NewTestConnectionConfigParams() *TestConnectionConfigParams
- func NewTestConnectionConfigParamsWithContext(ctx context.Context) *TestConnectionConfigParams
- func NewTestConnectionConfigParamsWithHTTPClient(client *http.Client) *TestConnectionConfigParams
- func NewTestConnectionConfigParamsWithTimeout(timeout time.Duration) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) SetBody(body *models.DBConnection)
- func (o *TestConnectionConfigParams) SetContext(ctx context.Context)
- func (o *TestConnectionConfigParams) SetHTTPClient(client *http.Client)
- func (o *TestConnectionConfigParams) SetTests(tests []string)
- func (o *TestConnectionConfigParams) SetTimeout(timeout time.Duration)
- func (o *TestConnectionConfigParams) WithBody(body *models.DBConnection) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) WithContext(ctx context.Context) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) WithHTTPClient(client *http.Client) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) WithTests(tests []string) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) WithTimeout(timeout time.Duration) *TestConnectionConfigParams
- func (o *TestConnectionConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestConnectionConfigReader
- type TestConnectionConfigTooManyRequests
- type TestConnectionNotFound
- type TestConnectionOK
- type TestConnectionParams
- func NewTestConnectionParams() *TestConnectionParams
- func NewTestConnectionParamsWithContext(ctx context.Context) *TestConnectionParams
- func NewTestConnectionParamsWithHTTPClient(client *http.Client) *TestConnectionParams
- func NewTestConnectionParamsWithTimeout(timeout time.Duration) *TestConnectionParams
- func (o *TestConnectionParams) SetConnectionName(connectionName string)
- func (o *TestConnectionParams) SetContext(ctx context.Context)
- func (o *TestConnectionParams) SetHTTPClient(client *http.Client)
- func (o *TestConnectionParams) SetTests(tests []string)
- func (o *TestConnectionParams) SetTimeout(timeout time.Duration)
- func (o *TestConnectionParams) WithConnectionName(connectionName string) *TestConnectionParams
- func (o *TestConnectionParams) WithContext(ctx context.Context) *TestConnectionParams
- func (o *TestConnectionParams) WithHTTPClient(client *http.Client) *TestConnectionParams
- func (o *TestConnectionParams) WithTests(tests []string) *TestConnectionParams
- func (o *TestConnectionParams) WithTimeout(timeout time.Duration) *TestConnectionParams
- func (o *TestConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestConnectionReader
- type TestConnectionTooManyRequests
- type UpdateConnectionBadRequest
- type UpdateConnectionNotFound
- type UpdateConnectionOK
- type UpdateConnectionParams
- func NewUpdateConnectionParams() *UpdateConnectionParams
- func NewUpdateConnectionParamsWithContext(ctx context.Context) *UpdateConnectionParams
- func NewUpdateConnectionParamsWithHTTPClient(client *http.Client) *UpdateConnectionParams
- func NewUpdateConnectionParamsWithTimeout(timeout time.Duration) *UpdateConnectionParams
- func (o *UpdateConnectionParams) SetBody(body *models.DBConnection)
- func (o *UpdateConnectionParams) SetConnectionName(connectionName string)
- func (o *UpdateConnectionParams) SetContext(ctx context.Context)
- func (o *UpdateConnectionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConnectionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConnectionParams) WithBody(body *models.DBConnection) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithConnectionName(connectionName string) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithContext(ctx context.Context) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithHTTPClient(client *http.Client) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WithTimeout(timeout time.Duration) *UpdateConnectionParams
- func (o *UpdateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConnectionReader
- type UpdateConnectionUnprocessableEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllConnectionsBadRequest ¶
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
func (*AllConnectionsBadRequest) GetPayload ¶
func (o *AllConnectionsBadRequest) GetPayload() *models.Error
type AllConnectionsNotFound ¶
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
func (*AllConnectionsNotFound) GetPayload ¶
func (o *AllConnectionsNotFound) GetPayload() *models.Error
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
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 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 ¶
func (o *AllConnectionsParams) WithContext(ctx context.Context) *AllConnectionsParams
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 ¶
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
func (*AllDialectInfosBadRequest) GetPayload ¶
func (o *AllDialectInfosBadRequest) GetPayload() *models.Error
type AllDialectInfosNotFound ¶
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
func (*AllDialectInfosNotFound) GetPayload ¶
func (o *AllDialectInfosNotFound) GetPayload() *models.Error
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
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 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 ¶
func (o *AllDialectInfosParams) WithContext(ctx context.Context) *AllDialectInfosParams
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.
This API is rate limited.
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.
This API is rate limited.
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 ¶
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
func (*ConnectionBadRequest) GetPayload ¶
func (o *ConnectionBadRequest) GetPayload() *models.Error
type ConnectionNotFound ¶
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
func (*ConnectionNotFound) GetPayload ¶
func (o *ConnectionNotFound) GetPayload() *models.Error
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
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 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 ¶
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 ¶
func (o *CreateConnectionBadRequest) Error() string
func (*CreateConnectionBadRequest) GetPayload ¶
func (o *CreateConnectionBadRequest) GetPayload() *models.Error
type CreateConnectionConflict ¶
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
func (*CreateConnectionConflict) GetPayload ¶
func (o *CreateConnectionConflict) GetPayload() *models.Error
type CreateConnectionNotFound ¶
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
func (*CreateConnectionNotFound) GetPayload ¶
func (o *CreateConnectionNotFound) GetPayload() *models.Error
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
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 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 ¶
func (o *CreateConnectionParams) WithBody(body *models.DBConnection) *CreateConnectionParams
WithBody adds the body to the create connection params
func (*CreateConnectionParams) WithContext ¶
func (o *CreateConnectionParams) WithContext(ctx context.Context) *CreateConnectionParams
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 ¶
func (o *CreateConnectionParams) WithTimeout(timeout time.Duration) *CreateConnectionParams
WithTimeout adds the timeout to the create connection params
func (*CreateConnectionParams) WriteToRequest ¶
func (o *CreateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *CreateConnectionUnprocessableEntity) Error() string
func (*CreateConnectionUnprocessableEntity) GetPayload ¶
func (o *CreateConnectionUnprocessableEntity) GetPayload() *models.ValidationError
type DeleteConnectionBadRequest ¶
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 ¶
func (o *DeleteConnectionBadRequest) Error() string
func (*DeleteConnectionBadRequest) GetPayload ¶
func (o *DeleteConnectionBadRequest) GetPayload() *models.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
func (*DeleteConnectionNoContent) GetPayload ¶
func (o *DeleteConnectionNoContent) GetPayload() string
type DeleteConnectionNotFound ¶
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
func (*DeleteConnectionNotFound) GetPayload ¶
func (o *DeleteConnectionNotFound) GetPayload() *models.Error
type DeleteConnectionOverrideBadRequest ¶
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 ¶
func (o *DeleteConnectionOverrideBadRequest) Error() string
func (*DeleteConnectionOverrideBadRequest) GetPayload ¶
func (o *DeleteConnectionOverrideBadRequest) GetPayload() *models.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 ¶
func (o *DeleteConnectionOverrideNoContent) Error() string
func (*DeleteConnectionOverrideNoContent) GetPayload ¶
func (o *DeleteConnectionOverrideNoContent) GetPayload() string
type DeleteConnectionOverrideNotFound ¶
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 ¶
func (o *DeleteConnectionOverrideNotFound) Error() string
func (*DeleteConnectionOverrideNotFound) GetPayload ¶
func (o *DeleteConnectionOverrideNotFound) GetPayload() *models.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 ¶
func (o *DeleteConnectionOverrideParams) WithContext(ctx context.Context) *DeleteConnectionOverrideParams
WithContext adds the context to the delete connection override params
func (*DeleteConnectionOverrideParams) WithHTTPClient ¶
func (o *DeleteConnectionOverrideParams) WithHTTPClient(client *http.Client) *DeleteConnectionOverrideParams
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 ¶
func (o *DeleteConnectionOverrideParams) WithTimeout(timeout time.Duration) *DeleteConnectionOverrideParams
WithTimeout adds the timeout to the delete connection override params
func (*DeleteConnectionOverrideParams) WriteToRequest ¶
func (o *DeleteConnectionOverrideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *DeleteConnectionOverrideUnprocessableEntity) Error() string
func (*DeleteConnectionOverrideUnprocessableEntity) GetPayload ¶
func (o *DeleteConnectionOverrideUnprocessableEntity) GetPayload() *models.ValidationError
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 ¶
func (o *DeleteConnectionParams) WithContext(ctx context.Context) *DeleteConnectionParams
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 ¶
func (o *DeleteConnectionParams) WithTimeout(timeout time.Duration) *DeleteConnectionParams
WithTimeout adds the timeout to the delete connection params
func (*DeleteConnectionParams) WriteToRequest ¶
func (o *DeleteConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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
func (*TestConnectionBadRequest) GetPayload ¶
func (o *TestConnectionBadRequest) GetPayload() *models.Error
type TestConnectionConfigBadRequest ¶
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 ¶
func (o *TestConnectionConfigBadRequest) Error() string
func (*TestConnectionConfigBadRequest) GetPayload ¶
func (o *TestConnectionConfigBadRequest) GetPayload() *models.Error
type TestConnectionConfigNotFound ¶
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 ¶
func (o *TestConnectionConfigNotFound) Error() string
func (*TestConnectionConfigNotFound) GetPayload ¶
func (o *TestConnectionConfigNotFound) GetPayload() *models.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
func (*TestConnectionConfigOK) GetPayload ¶
func (o *TestConnectionConfigOK) GetPayload() []*models.DBConnectionTestResult
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 ¶
func (o *TestConnectionConfigParams) SetBody(body *models.DBConnection)
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 ¶
func (o *TestConnectionConfigParams) WithBody(body *models.DBConnection) *TestConnectionConfigParams
WithBody adds the body to the test connection config params
func (*TestConnectionConfigParams) WithContext ¶
func (o *TestConnectionConfigParams) WithContext(ctx context.Context) *TestConnectionConfigParams
WithContext adds the context to the test connection config params
func (*TestConnectionConfigParams) WithHTTPClient ¶
func (o *TestConnectionConfigParams) WithHTTPClient(client *http.Client) *TestConnectionConfigParams
WithHTTPClient adds the HTTPClient to the test connection config params
func (*TestConnectionConfigParams) WithTests ¶
func (o *TestConnectionConfigParams) WithTests(tests []string) *TestConnectionConfigParams
WithTests adds the tests to the test connection config params
func (*TestConnectionConfigParams) WithTimeout ¶
func (o *TestConnectionConfigParams) WithTimeout(timeout time.Duration) *TestConnectionConfigParams
WithTimeout adds the timeout to the test connection config params
func (*TestConnectionConfigParams) WriteToRequest ¶
func (o *TestConnectionConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
TestConnectionConfigTooManyRequests handles this case with default header values.
Too Many Requests
func NewTestConnectionConfigTooManyRequests ¶
func NewTestConnectionConfigTooManyRequests() *TestConnectionConfigTooManyRequests
NewTestConnectionConfigTooManyRequests creates a TestConnectionConfigTooManyRequests with default headers values
func (*TestConnectionConfigTooManyRequests) Error ¶
func (o *TestConnectionConfigTooManyRequests) Error() string
func (*TestConnectionConfigTooManyRequests) GetPayload ¶
func (o *TestConnectionConfigTooManyRequests) GetPayload() *models.Error
type TestConnectionNotFound ¶
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
func (*TestConnectionNotFound) GetPayload ¶
func (o *TestConnectionNotFound) GetPayload() *models.Error
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
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 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 ¶
func (o *TestConnectionParams) WithContext(ctx context.Context) *TestConnectionParams
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 TestConnectionTooManyRequests ¶
TestConnectionTooManyRequests handles this case with default header values.
Too Many Requests
func NewTestConnectionTooManyRequests ¶
func NewTestConnectionTooManyRequests() *TestConnectionTooManyRequests
NewTestConnectionTooManyRequests creates a TestConnectionTooManyRequests with default headers values
func (*TestConnectionTooManyRequests) Error ¶
func (o *TestConnectionTooManyRequests) Error() string
func (*TestConnectionTooManyRequests) GetPayload ¶
func (o *TestConnectionTooManyRequests) GetPayload() *models.Error
type UpdateConnectionBadRequest ¶
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 ¶
func (o *UpdateConnectionBadRequest) Error() string
func (*UpdateConnectionBadRequest) GetPayload ¶
func (o *UpdateConnectionBadRequest) GetPayload() *models.Error
type UpdateConnectionNotFound ¶
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
func (*UpdateConnectionNotFound) GetPayload ¶
func (o *UpdateConnectionNotFound) GetPayload() *models.Error
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
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 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 ¶
func (o *UpdateConnectionParams) WithBody(body *models.DBConnection) *UpdateConnectionParams
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 ¶
func (o *UpdateConnectionParams) WithContext(ctx context.Context) *UpdateConnectionParams
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 ¶
func (o *UpdateConnectionParams) WithTimeout(timeout time.Duration) *UpdateConnectionParams
WithTimeout adds the timeout to the update connection params
func (*UpdateConnectionParams) WriteToRequest ¶
func (o *UpdateConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *UpdateConnectionUnprocessableEntity) Error() string
func (*UpdateConnectionUnprocessableEntity) GetPayload ¶
func (o *UpdateConnectionUnprocessableEntity) GetPayload() *models.ValidationError
Source Files
¶
- all_connections_parameters.go
- all_connections_responses.go
- all_dialect_infos_parameters.go
- all_dialect_infos_responses.go
- connection_client.go
- connection_parameters.go
- connection_responses.go
- create_connection_parameters.go
- create_connection_responses.go
- delete_connection_override_parameters.go
- delete_connection_override_responses.go
- delete_connection_parameters.go
- delete_connection_responses.go
- test_connection_config_parameters.go
- test_connection_config_responses.go
- test_connection_parameters.go
- test_connection_responses.go
- update_connection_parameters.go
- update_connection_responses.go