Documentation ¶
Index ¶
- Variables
- func CalculateCommitsDiff(taskCtx plugin.SubTaskContext) errors.Error
- func CalculateDeploymentCommitsDiff(taskCtx plugin.SubTaskContext) errors.Error
- func CalculateIssuesDiff(taskCtx plugin.SubTaskContext) errors.Error
- func CalculatePrCherryPick(taskCtx plugin.SubTaskContext) errors.Error
- type RefCommitPair
- type RefCommitPairs
- type RefPair
- type RefPairList
- type RefPairLists
- type RefdiffOptions
- type RefdiffTaskData
- type Refs
- type RefsAlphabetically
- type RefsReverseAlphabetically
- type RefsReverseSemver
- type RefsSemver
Constants ¶
This section is empty.
Variables ¶
View Source
var CalculateCommitsDiffMeta = plugin.SubTaskMeta{ Name: "calculateCommitsDiff", EntryPoint: CalculateCommitsDiff, EnabledByDefault: true, Description: "Calculate diff commits between refs", DomainTypes: []string{plugin.DOMAIN_TYPE_CODE}, }
View Source
var CalculateDeploymentCommitsDiffMeta = plugin.SubTaskMeta{ Name: "calculateDeploymentCommitsDiff", EntryPoint: CalculateDeploymentCommitsDiff, EnabledByDefault: true, Description: "Calculate commits diff between deployments in the specified project", DomainTypes: []string{plugin.DOMAIN_TYPE_CODE}, }
View Source
var CalculateIssuesDiffMeta = plugin.SubTaskMeta{ Name: "calculateIssuesDiff", EntryPoint: CalculateIssuesDiff, EnabledByDefault: true, Description: "Calculate diff issues between refs", DomainTypes: []string{plugin.DOMAIN_TYPE_CODE}, }
View Source
var CalculatePrCherryPickMeta = plugin.SubTaskMeta{ Name: "calculatePrCherryPick", EntryPoint: CalculatePrCherryPick, EnabledByDefault: true, Description: "Calculate pr cherry pick", DomainTypes: []string{plugin.DOMAIN_TYPE_CODE}, }
Functions ¶
func CalculateCommitsDiff ¶
func CalculateCommitsDiff(taskCtx plugin.SubTaskContext) errors.Error
func CalculateDeploymentCommitsDiff ¶
func CalculateDeploymentCommitsDiff(taskCtx plugin.SubTaskContext) errors.Error
func CalculateIssuesDiff ¶
func CalculateIssuesDiff(taskCtx plugin.SubTaskContext) errors.Error
func CalculatePrCherryPick ¶
func CalculatePrCherryPick(taskCtx plugin.SubTaskContext) errors.Error
Types ¶
type RefCommitPair ¶
type RefCommitPair [4]string
type RefCommitPairs ¶
type RefCommitPairs []RefCommitPair
func CalculateCommitPairs ¶
func CalculateCommitPairs(db dal.Dal, repoId string, pairs []RefPair, rs Refs) (RefCommitPairs, errors.Error)
CalculateCommitPairs Calculate the commits pairs both from Options.Pairs and TagPattern
type RefPairList ¶
type RefPairList [2]string
type RefPairLists ¶
type RefPairLists []RefPairList
func CaculatePairList ¶
func CaculatePairList(taskCtx plugin.SubTaskContext) (RefPairLists, errors.Error)
CaculatePairList Calculate the pair list both from Options.Pairs and TagPattern
type RefdiffOptions ¶
type RefdiffOptions struct { RepoId string Tasks []string `json:"tasks,omitempty"` Pairs []RefPair TagsPattern string // The Pattern to match from all tags TagsLimit int // How many tags be matched should be used. TagsOrder string // The Rule to Order the tag list AllPairs RefCommitPairs // Pairs and TagsPattern Pairs ProjectName string }
type RefdiffTaskData ¶
type RefdiffTaskData struct { Options *RefdiffOptions Since *time.Time }
type Refs ¶
type RefsAlphabetically ¶
type RefsAlphabetically Refs
func (RefsAlphabetically) Len ¶
func (rs RefsAlphabetically) Len() int
func (RefsAlphabetically) Less ¶
func (rs RefsAlphabetically) Less(i, j int) bool
func (RefsAlphabetically) Swap ¶
func (rs RefsAlphabetically) Swap(i, j int)
type RefsReverseAlphabetically ¶
type RefsReverseAlphabetically Refs
func (RefsReverseAlphabetically) Len ¶
func (rs RefsReverseAlphabetically) Len() int
func (RefsReverseAlphabetically) Less ¶
func (rs RefsReverseAlphabetically) Less(i, j int) bool
func (RefsReverseAlphabetically) Swap ¶
func (rs RefsReverseAlphabetically) Swap(i, j int)
type RefsReverseSemver ¶
type RefsReverseSemver Refs
func (RefsReverseSemver) Len ¶
func (rs RefsReverseSemver) Len() int
func (RefsReverseSemver) Less ¶
func (rs RefsReverseSemver) Less(i, j int) bool
func (RefsReverseSemver) Swap ¶
func (rs RefsReverseSemver) Swap(i, j int)
type RefsSemver ¶
type RefsSemver Refs
func (RefsSemver) Len ¶
func (rs RefsSemver) Len() int
func (RefsSemver) Less ¶
func (rs RefsSemver) Less(i, j int) bool
func (RefsSemver) Swap ¶
func (rs RefsSemver) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.