impl

package
v0.0.0-...-7d3b672 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGitRepo

func NewGitRepo(logger log.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 (p GitExtractor) Close(taskCtx plugin.TaskContext) errors.Error

func (GitExtractor) Description

func (p GitExtractor) Description() string

func (GitExtractor) GetTablesInfo

func (p GitExtractor) GetTablesInfo() []dal.Tabler

func (GitExtractor) Name

func (p GitExtractor) Name() string

func (GitExtractor) PrepareTaskData

func (p GitExtractor) PrepareTaskData(taskCtx plugin.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 (p GitExtractor) RootPkgPath() string

func (GitExtractor) SubTaskMetas

func (p GitExtractor) SubTaskMetas() []plugin.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