| 30 | type ZentaoApiParams models.ZentaoApiParams |
| 31 | |
| 32 | type 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 | |
| 43 | func (o *ZentaoOptions) GetParams() any { |
| 44 | return models.ZentaoApiParams{ |
nothing calls this directly
no outgoing calls
no test coverage detected