Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlobalPluginService ¶
type GlobalPluginService interface {
GetAllGlobalVariables() ([]*GlobalVariable, error)
ListAllPlugins() ([]*PluginMetadataDto, error)
GetPluginDetailById(pluginId int) (*PluginDetailDto, error)
}
type GlobalPluginServiceImpl ¶
type GlobalPluginServiceImpl struct {
// contains filtered or unexported fields
}
func NewGlobalPluginService ¶
func NewGlobalPluginService(logger *zap.SugaredLogger, globalPluginRepository repository.GlobalPluginRepository) *GlobalPluginServiceImpl
func (*GlobalPluginServiceImpl) GetAllGlobalVariables ¶
func (impl *GlobalPluginServiceImpl) GetAllGlobalVariables() ([]*GlobalVariable, error)
func (*GlobalPluginServiceImpl) GetPluginDetailById ¶
func (impl *GlobalPluginServiceImpl) GetPluginDetailById(pluginId int) (*PluginDetailDto, error)
func (*GlobalPluginServiceImpl) ListAllPlugins ¶
func (impl *GlobalPluginServiceImpl) ListAllPlugins() ([]*PluginMetadataDto, error)
type GlobalVariable ¶
type PluginDetailDto ¶
type PluginDetailDto struct {
Metadata *PluginMetadataDto `json:"metadata"`
InputVariables []*PluginVariableDto `json:"inputVariables"`
OutputVariables []*PluginVariableDto `json:"outputVariables"`
}
type PluginMetadataDto ¶
type PluginVariableDto ¶
type PluginVariableDto struct {
Id int `json:"id,omitempty"`
Name string `json:"name"`
Format repository.PluginStepVariableFormatType `json:"format"`
Description string `json:"description"`
IsExposed bool `json:"isExposed"`
AllowEmptyValue bool `json:"allowEmptyValue"`
DefaultValue string `json:"defaultValue"`
Value string `json:"value,omitempty"`
ValueType repository.PluginStepVariableValueType `json:"variableType,omitempty"`
PreviousStepIndex int `json:"previousStepIndex,omitempty"`
VariableStepIndex int `json:"variableStepIndex"`
ReferenceVariableName string `json:"referenceVariableName,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.