MCPcopy Index your code
hub / github.com/apache/devlake / ZentaoOptions

Struct ZentaoOptions

backend/plugins/zentao/tasks/task_data.go:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30type ZentaoApiParams models.ZentaoApiParams
31
32type ZentaoOptions struct {
33 // options means some custom params required by plugin running.
34 // Such As How many rows do your want
35 // You can use it in subtasks, and you need to pass it to main.go and pipelines.
36 ConnectionId uint64 `json:"connectionId"`
37 ProjectId int64 `json:"projectId" mapstructure:"projectId"`
38 // TODO not support now
39 ScopeConfigId uint64 `json:"scopeConfigId" mapstructure:"scopeConfigId,omitempty"`
40 ScopeConfig *models.ZentaoScopeConfig `json:"scopeConfig" mapstructure:"scopeConfig,omitempty"`
41}
42
43func (o *ZentaoOptions) GetParams() any {
44 return models.ZentaoApiParams{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected