tasks

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CollectGitBranchMeta = plugin.SubTaskMeta{
	Name:             "collectGitBranches",
	EntryPoint:       CollectGitBranches,
	EnabledByDefault: true,
	Description:      "collect git branch into Domain Layer Tables",
	DomainTypes:      []string{plugin.DOMAIN_TYPE_CODE},
}
View Source
var CollectGitCommitMeta = plugin.SubTaskMeta{
	Name:             "collectGitCommits",
	EntryPoint:       CollectGitCommits,
	EnabledByDefault: true,
	Description:      "collect git commits into Domain Layer Tables",
	DomainTypes:      []string{plugin.DOMAIN_TYPE_CODE, plugin.DOMAIN_TYPE_CROSS},
}
View Source
var CollectGitDiffLineMeta = plugin.SubTaskMeta{
	Name:             "collectDiffLine",
	EntryPoint:       CollectGitDiffLines,
	EnabledByDefault: false,
	Description:      "collect git commit diff line into Domain Layer Tables",
	DomainTypes:      []string{plugin.DOMAIN_TYPE_CODE},
}
View Source
var CollectGitTagMeta = plugin.SubTaskMeta{
	Name:             "collectGitTags",
	EntryPoint:       CollectGitTags,
	EnabledByDefault: true,
	Description:      "collect git tag into Domain Layer Tables",
	DomainTypes:      []string{plugin.DOMAIN_TYPE_CODE},
}

Functions

func CollectGitBranches

func CollectGitBranches(subTaskCtx plugin.SubTaskContext) errors.Error

func CollectGitCommits

func CollectGitCommits(subTaskCtx plugin.SubTaskContext) errors.Error

func CollectGitDiffLines

func CollectGitDiffLines(subTaskCtx plugin.SubTaskContext) errors.Error

func CollectGitTags

func CollectGitTags(subTaskCtx plugin.SubTaskContext) errors.Error

Types

type GitExtractorOptions

type GitExtractorOptions struct {
	RepoId     string `json:"repoId"`
	Name       string `jsno:"name"`
	Url        string `json:"url"`
	User       string `json:"user"`
	Password   string `json:"password"`
	PrivateKey string `json:"privateKey"`
	Passphrase string `json:"passphrase"`
	Proxy      string `json:"proxy"`
}

func (GitExtractorOptions) Valid

func (o GitExtractorOptions) Valid() errors.Error

Jump to

Keyboard shortcuts

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