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(stageType int) ([]*PluginListComponentDto, 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(stageType int) ([]*PluginListComponentDto, error)
type GlobalVariable ¶
type PluginDetailDto ¶
type PluginDetailDto struct { Metadata *PluginMetadataDto `json:"metadata"` InputVariables []*PluginVariableDto `json:"inputVariables"` OutputVariables []*PluginVariableDto `json:"outputVariables"` }
type PluginListComponentDto ¶ added in v0.6.19
type PluginListComponentDto struct { *PluginMetadataDto 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.