Documentation ¶
Index ¶
- func NewGitRepo(logger core.Logger, storage models.Store, op tasks.GitExtractorOptions) (*parser.GitRepo, errors.Error)
- type GitExtractor
- func (plugin GitExtractor) Close(taskCtx core.TaskContext) errors.Error
- func (plugin GitExtractor) Description() string
- func (plugin GitExtractor) GetTablesInfo() []dal.Tabler
- func (plugin GitExtractor) PrepareTaskData(taskCtx core.TaskContext, options map[string]interface{}) (interface{}, errors.Error)
- func (plugin GitExtractor) RootPkgPath() string
- func (plugin GitExtractor) SubTaskMetas() []core.SubTaskMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitExtractor ¶
type GitExtractor struct{}
func (GitExtractor) Close ¶
func (plugin GitExtractor) Close(taskCtx core.TaskContext) errors.Error
func (GitExtractor) Description ¶
func (plugin GitExtractor) Description() string
func (GitExtractor) GetTablesInfo ¶
func (plugin GitExtractor) GetTablesInfo() []dal.Tabler
func (GitExtractor) PrepareTaskData ¶
func (plugin GitExtractor) PrepareTaskData(taskCtx core.TaskContext, options map[string]interface{}) (interface{}, errors.Error)
based on task context and user input options, return data that shared among all subtasks
func (GitExtractor) RootPkgPath ¶
func (plugin GitExtractor) RootPkgPath() string
func (GitExtractor) SubTaskMetas ¶
func (plugin GitExtractor) SubTaskMetas() []core.SubTaskMeta
return all available subtasks, framework will run them for you in order
Click to show internal directories.
Click to hide internal directories.