Documentation ¶
Index ¶
- Constants
- type Action
- type Connector
- func (c *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
- func (c *Connector) Run(resourceOptions map[string]interface{}, actionOptions map[string]interface{}, ...) (common.RuntimeResult, error)
- func (c *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
- func (c *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
- func (c *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
- type Resource
- type SSLOptions
Constants ¶
View Source
const ( FIELD_CONTEXT = "context" FIELD_QUERY = "query" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Query string Mode string `validate:"required,oneof=gui sql sql-safe"` RawQuery string Context map[string]interface{} }
func (*Action) IsSafeMode ¶
func (*Action) SetRawQueryAndContext ¶
type Connector ¶
func (*Connector) GetMetaInfo ¶
func (c *Connector) GetMetaInfo(resourceOptions map[string]interface{}) (common.MetaInfoResult, error)
func (*Connector) TestConnection ¶
func (c *Connector) TestConnection(resourceOptions map[string]interface{}) (common.ConnectionResult, error)
func (*Connector) ValidateActionTemplate ¶
func (c *Connector) ValidateActionTemplate(actionOptions map[string]interface{}) (common.ValidateResult, error)
func (*Connector) ValidateResourceOptions ¶
func (c *Connector) ValidateResourceOptions(resourceOptions map[string]interface{}) (common.ValidateResult, error)
Click to show internal directories.
Click to hide internal directories.