Documentation ¶
Index ¶
- func GetDefaultAPI(invoker bridge.Invoker, connType models.DynamicTabler, ...) map[string]map[string]plugin.ApiResourceHandler
- func Init(br context.BasicRes)
- func NewRemotePlugin(info *models.PluginInfo) (models.RemotePlugin, errors.Error)
- type RemotePluginTaskData
- type RemoteScopesOutput
- type RemoteScopesTreeNode
- type ScopeDatabaseHelperImpl
- func (s *ScopeDatabaseHelperImpl) DeleteScope(scope *models.DynamicScopeModel) errors.Error
- func (s *ScopeDatabaseHelperImpl) GetScope(connectionId uint64, scopeId string) (*models.DynamicScopeModel, errors.Error)
- func (s *ScopeDatabaseHelperImpl) GetScopeConfig(configId uint64) (*models.RemoteScopeConfig, errors.Error)
- func (s *ScopeDatabaseHelperImpl) ListScopeConfigs(configIds []uint64) ([]*models.RemoteScopeConfig, errors.Error)
- func (s *ScopeDatabaseHelperImpl) ListScopes(input *plugin.ApiResourceInput, connectionId uint64) ([]*models.DynamicScopeModel, errors.Error)
- func (s *ScopeDatabaseHelperImpl) SaveScope(scopes []*models.DynamicScopeModel) errors.Error
- func (s *ScopeDatabaseHelperImpl) UpdateScope(scope *models.DynamicScopeModel) errors.Error
- func (s *ScopeDatabaseHelperImpl) VerifyConnection(connectionId uint64) errors.Error
- type TestConnectionResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultAPI ¶
func GetDefaultAPI( invoker bridge.Invoker, connType models.DynamicTabler, scopeConfigType models.DynamicTabler, scopeType models.DynamicTabler, connHelper *api.ConnectionApiHelper, ) map[string]map[string]plugin.ApiResourceHandler
func NewRemotePlugin ¶
func NewRemotePlugin(info *models.PluginInfo) (models.RemotePlugin, errors.Error)
Types ¶
type RemotePluginTaskData ¶
type RemoteScopesOutput ¶
type RemoteScopesOutput struct {
Children []RemoteScopesTreeNode `json:"children"`
}
type RemoteScopesTreeNode ¶
type ScopeDatabaseHelperImpl ¶
type ScopeDatabaseHelperImpl struct { api.ScopeDatabaseHelper[models.RemoteConnection, models.DynamicScopeModel, models.RemoteScopeConfig] // contains filtered or unexported fields }
func NewScopeDatabaseHelperImpl ¶
func NewScopeDatabaseHelperImpl(pa *pluginAPI, basicRes context.BasicRes, params *api.ReflectionParameters) *ScopeDatabaseHelperImpl
func (*ScopeDatabaseHelperImpl) DeleteScope ¶
func (s *ScopeDatabaseHelperImpl) DeleteScope(scope *models.DynamicScopeModel) errors.Error
func (*ScopeDatabaseHelperImpl) GetScope ¶
func (s *ScopeDatabaseHelperImpl) GetScope(connectionId uint64, scopeId string) (*models.DynamicScopeModel, errors.Error)
func (*ScopeDatabaseHelperImpl) GetScopeConfig ¶
func (s *ScopeDatabaseHelperImpl) GetScopeConfig(configId uint64) (*models.RemoteScopeConfig, errors.Error)
func (*ScopeDatabaseHelperImpl) ListScopeConfigs ¶
func (s *ScopeDatabaseHelperImpl) ListScopeConfigs(configIds []uint64) ([]*models.RemoteScopeConfig, errors.Error)
func (*ScopeDatabaseHelperImpl) ListScopes ¶
func (s *ScopeDatabaseHelperImpl) ListScopes(input *plugin.ApiResourceInput, connectionId uint64) ([]*models.DynamicScopeModel, errors.Error)
func (*ScopeDatabaseHelperImpl) SaveScope ¶
func (s *ScopeDatabaseHelperImpl) SaveScope(scopes []*models.DynamicScopeModel) errors.Error
func (*ScopeDatabaseHelperImpl) UpdateScope ¶
func (s *ScopeDatabaseHelperImpl) UpdateScope(scope *models.DynamicScopeModel) errors.Error
func (*ScopeDatabaseHelperImpl) VerifyConnection ¶
func (s *ScopeDatabaseHelperImpl) VerifyConnection(connectionId uint64) errors.Error
type TestConnectionResult ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.