tasks

package
v0.14.6-jira-pat Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func CollectGitBranches added in v0.12.0

func CollectGitBranches(subTaskCtx core.SubTaskContext) errors.Error

func CollectGitCommits added in v0.12.0

func CollectGitCommits(subTaskCtx core.SubTaskContext) errors.Error

func CollectGitDiffLines added in v0.14.0

func CollectGitDiffLines(subTaskCtx core.SubTaskContext) errors.Error

func CollectGitTags added in v0.12.0

func CollectGitTags(subTaskCtx core.SubTaskContext) errors.Error

Types

type GitExtractorOptions

type GitExtractorOptions struct {
	RepoId     string `json:"repoId"`
	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