impl

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: Apache-2.0, MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitRepo

func NewGitRepo(logger core.Logger, storage models.Store, op tasks.GitExtractorOptions) (*parser.GitRepo, errors.Error)

NewGitRepo create and return a new parser git repo

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL