Documentation ¶
Index ¶
- Constants
- type Action
- type Connector
- func (o *Connector) GetMetaInfo(resourceOpts map[string]interface{}) (common.MetaInfoResult, error)
- func (o *Connector) Run(resourceOpts map[string]interface{}, actionOpts map[string]interface{}) (common.RuntimeResult, error)
- func (o *Connector) TestConnection(resourceOpts map[string]interface{}) (common.ConnectionResult, error)
- func (o *Connector) ValidateActionOptions(actionOpts map[string]interface{}) (common.ValidateResult, error)
- func (o *Connector) ValidateResourceOptions(resourceOpts map[string]interface{}) (common.ValidateResult, error)
- type GUIBulkOpts
- type Resource
- type SQL
Constants ¶
View Source
const ( CONNECTION_SID = "SID" CONNECTION_SERVICE = "Service" ACTION_SQL_MODE = "sql" ACTION_GUI_MODE = "gui" ACTION_GUI_TYPE = "bulk_insert" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func (*Connector) GetMetaInfo ¶
func (o *Connector) GetMetaInfo(resourceOpts map[string]interface{}) (common.MetaInfoResult, error)
func (*Connector) TestConnection ¶
func (o *Connector) TestConnection(resourceOpts map[string]interface{}) (common.ConnectionResult, error)
func (*Connector) ValidateActionOptions ¶
func (o *Connector) ValidateActionOptions(actionOpts map[string]interface{}) (common.ValidateResult, error)
func (*Connector) ValidateResourceOptions ¶
func (o *Connector) ValidateResourceOptions(resourceOpts map[string]interface{}) (common.ValidateResult, error)
type GUIBulkOpts ¶
type Resource ¶
type Resource struct { Host string `mapstructure:"host" validate:"required"` Port string `mapstructure:"port" validate:"required"` Type string `mapstructure:"connectionType" validate:"oneof=SID Service"` Name string `mapstructure:"name"` SSL bool `mapstructure:"ssl"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` }
Click to show internal directories.
Click to hide internal directories.