Documentation ¶
Index ¶
- Constants
- type BitbucketConfiguration
- func (jc *BitbucketConfiguration) SetBitbucketDetails(url, username, token string) *BitbucketConfiguration
- func (jc *BitbucketConfiguration) SetBitbucketID(bitbucketID string) *BitbucketConfiguration
- func (jc *BitbucketConfiguration) SetDryRun(dryRun bool) *BitbucketConfiguration
- func (jc *BitbucketConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *BitbucketConfiguration
- func (jc *BitbucketConfiguration) SetServerID(serverID string) *BitbucketConfiguration
- func (jc *BitbucketConfiguration) ValidateBitbucketConfiguration() (err error)
- type CleanSlateCommand
- type CollectIssueCommand
- func (cmd *CollectIssueCommand) DoCollect(issuesConfig *IssuesConfiguration, vcs buildinfo.Vcs) ([]buildinfo.AffectedIssue, error)
- func (cmd *CollectIssueCommand) Run() error
- func (cmd *CollectIssueCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *CollectIssueCommand
- func (cmd *CollectIssueCommand) SetDotGitPath(dotGitPath string) *CollectIssueCommand
- func (cmd *CollectIssueCommand) SetIssuesConfig(issuesConfiguration *IssuesConfiguration) *CollectIssueCommand
- type DeploymentInfo
- type IssuesConfiguration
- func (ic *IssuesConfiguration) SetAggregate(aggregate bool) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetAggregationStatus(aggregationStatus string) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetKeyGroupIndex(keyGroupIndex int) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetLogLimit(logLimit int) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetRegexp(regexp string) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetServerID(serverID string) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetTracker(tracker string) *IssuesConfiguration
- func (ic *IssuesConfiguration) SetTrackerDetails(url, username, token string) *IssuesConfiguration
- func (ic *IssuesConfiguration) ValidateIssueConfiguration() (err error)
- type JiraConfiguration
- func (jc *JiraConfiguration) SetDryRun(dryRun bool) *JiraConfiguration
- func (jc *JiraConfiguration) SetFailOnReject(failOnReject bool) *JiraConfiguration
- func (jc *JiraConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *JiraConfiguration
- func (jc *JiraConfiguration) SetJiraDetails(url, clientId, secret string) *JiraConfiguration
- func (jc *JiraConfiguration) SetJiraID(jiraID string) *JiraConfiguration
- func (jc *JiraConfiguration) SetServerID(serverID string) *JiraConfiguration
- func (jc *JiraConfiguration) ValidateJiraConfiguration() (err error)
- type LogCmd
- type NotifyBitbucketCommand
- func (cmd *NotifyBitbucketCommand) Run() error
- func (cmd *NotifyBitbucketCommand) SetBitbucketConfiguration(bitbucketConfiguration *BitbucketConfiguration) *NotifyBitbucketCommand
- func (cmd *NotifyBitbucketCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NotifyBitbucketCommand
- type NotifySlackCommand
- type RevisionRangeError
- type SendBuildInfoCommand
- type SendDeploymentInfoCommand
- func (cmd *SendDeploymentInfoCommand) Run() error
- func (cmd *SendDeploymentInfoCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *SendDeploymentInfoCommand
- func (cmd *SendDeploymentInfoCommand) SetDeploymentInfo(deploymentInfo *DeploymentInfo) *SendDeploymentInfoCommand
- func (cmd *SendDeploymentInfoCommand) SetJiraConfiguration(jiraConfiguration *JiraConfiguration) *SendDeploymentInfoCommand
- type SlackAttachment
- type SlackBlock
- type SlackConfiguration
- func (sc *SlackConfiguration) SetDryRun(dryRun bool)
- func (sc *SlackConfiguration) SetFailOnReject(failOnReject bool) *SlackConfiguration
- func (sc *SlackConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *SlackConfiguration
- func (sc *SlackConfiguration) SetServerID(serverID string) *SlackConfiguration
- func (sc *SlackConfiguration) SetSlack(slack string)
- func (sc *SlackConfiguration) ValidateSlackConfiguration() (err error)
- type SlackMessage
- type SlackText
- type Tracker
Constants ¶
View Source
const ( GitLogLimit = 100 IssueKeyRegex = "(((?:\\p{Lu}[\\p{Lu}\\p{N}_]+|\\p{Ll}[\\p{Ll}\\p{N}_]+))-\\p{N}+)" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitbucketConfiguration ¶ added in v1.7.0
type BitbucketConfiguration struct {
// contains filtered or unexported fields
}
func (*BitbucketConfiguration) SetBitbucketDetails ¶ added in v1.7.0
func (jc *BitbucketConfiguration) SetBitbucketDetails(url, username, token string) *BitbucketConfiguration
func (*BitbucketConfiguration) SetBitbucketID ¶ added in v1.7.0
func (jc *BitbucketConfiguration) SetBitbucketID(bitbucketID string) *BitbucketConfiguration
func (*BitbucketConfiguration) SetDryRun ¶ added in v1.7.0
func (jc *BitbucketConfiguration) SetDryRun(dryRun bool) *BitbucketConfiguration
func (*BitbucketConfiguration) SetIncludePrePostRunSteps ¶ added in v1.7.0
func (jc *BitbucketConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *BitbucketConfiguration
func (*BitbucketConfiguration) SetServerID ¶ added in v1.7.0
func (jc *BitbucketConfiguration) SetServerID(serverID string) *BitbucketConfiguration
func (*BitbucketConfiguration) ValidateBitbucketConfiguration ¶ added in v1.7.0
func (jc *BitbucketConfiguration) ValidateBitbucketConfiguration() (err error)
type CleanSlateCommand ¶ added in v1.2.0
type CleanSlateCommand struct {
// contains filtered or unexported fields
}
func NewCleanSlateCommand ¶ added in v1.2.0
func NewCleanSlateCommand() *CleanSlateCommand
func (*CleanSlateCommand) Run ¶ added in v1.2.0
func (config *CleanSlateCommand) Run() error
func (*CleanSlateCommand) SetBuildConfiguration ¶ added in v1.2.0
func (config *CleanSlateCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *CleanSlateCommand
type CollectIssueCommand ¶
type CollectIssueCommand struct {
// contains filtered or unexported fields
}
func NewCollectIssueCommand ¶
func NewCollectIssueCommand() *CollectIssueCommand
func (*CollectIssueCommand) DoCollect ¶
func (cmd *CollectIssueCommand) DoCollect(issuesConfig *IssuesConfiguration, vcs buildinfo.Vcs) ([]buildinfo.AffectedIssue, error)
func (*CollectIssueCommand) Run ¶
func (cmd *CollectIssueCommand) Run() error
func (*CollectIssueCommand) SetBuildConfiguration ¶
func (cmd *CollectIssueCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *CollectIssueCommand
func (*CollectIssueCommand) SetDotGitPath ¶
func (cmd *CollectIssueCommand) SetDotGitPath(dotGitPath string) *CollectIssueCommand
func (*CollectIssueCommand) SetIssuesConfig ¶
func (cmd *CollectIssueCommand) SetIssuesConfig(issuesConfiguration *IssuesConfiguration) *CollectIssueCommand
type DeploymentInfo ¶ added in v1.5.0
type DeploymentInfo struct {
// contains filtered or unexported fields
}
func NewDeploymentInfo ¶ added in v1.5.0
func NewDeploymentInfo(environment string) *DeploymentInfo
func (*DeploymentInfo) GetDisplayName ¶ added in v1.5.0
func (di *DeploymentInfo) GetDisplayName() string
func (*DeploymentInfo) GetEnvironment ¶ added in v1.5.0
func (di *DeploymentInfo) GetEnvironment() jira.Environment
func (*DeploymentInfo) GetPipeline ¶ added in v1.5.0
func (di *DeploymentInfo) GetPipeline() jira.Pipeline
type IssuesConfiguration ¶
type IssuesConfiguration struct {
// contains filtered or unexported fields
}
func (*IssuesConfiguration) SetAggregate ¶
func (ic *IssuesConfiguration) SetAggregate(aggregate bool) *IssuesConfiguration
func (*IssuesConfiguration) SetAggregationStatus ¶
func (ic *IssuesConfiguration) SetAggregationStatus(aggregationStatus string) *IssuesConfiguration
func (*IssuesConfiguration) SetKeyGroupIndex ¶
func (ic *IssuesConfiguration) SetKeyGroupIndex(keyGroupIndex int) *IssuesConfiguration
func (*IssuesConfiguration) SetLogLimit ¶
func (ic *IssuesConfiguration) SetLogLimit(logLimit int) *IssuesConfiguration
func (*IssuesConfiguration) SetRegexp ¶
func (ic *IssuesConfiguration) SetRegexp(regexp string) *IssuesConfiguration
func (*IssuesConfiguration) SetServerID ¶
func (ic *IssuesConfiguration) SetServerID(serverID string) *IssuesConfiguration
func (*IssuesConfiguration) SetTracker ¶
func (ic *IssuesConfiguration) SetTracker(tracker string) *IssuesConfiguration
func (*IssuesConfiguration) SetTrackerDetails ¶
func (ic *IssuesConfiguration) SetTrackerDetails(url, username, token string) *IssuesConfiguration
func (*IssuesConfiguration) ValidateIssueConfiguration ¶
func (ic *IssuesConfiguration) ValidateIssueConfiguration() (err error)
type JiraConfiguration ¶ added in v1.3.0
type JiraConfiguration struct {
// contains filtered or unexported fields
}
func (*JiraConfiguration) SetDryRun ¶ added in v1.3.0
func (jc *JiraConfiguration) SetDryRun(dryRun bool) *JiraConfiguration
func (*JiraConfiguration) SetFailOnReject ¶ added in v1.3.0
func (jc *JiraConfiguration) SetFailOnReject(failOnReject bool) *JiraConfiguration
func (*JiraConfiguration) SetIncludePrePostRunSteps ¶ added in v1.3.0
func (jc *JiraConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *JiraConfiguration
func (*JiraConfiguration) SetJiraDetails ¶ added in v1.3.0
func (jc *JiraConfiguration) SetJiraDetails(url, clientId, secret string) *JiraConfiguration
func (*JiraConfiguration) SetJiraID ¶ added in v1.3.0
func (jc *JiraConfiguration) SetJiraID(jiraID string) *JiraConfiguration
func (*JiraConfiguration) SetServerID ¶ added in v1.3.0
func (jc *JiraConfiguration) SetServerID(serverID string) *JiraConfiguration
func (*JiraConfiguration) ValidateJiraConfiguration ¶ added in v1.3.0
func (jc *JiraConfiguration) ValidateJiraConfiguration() (err error)
type LogCmd ¶
type LogCmd struct {
// contains filtered or unexported fields
}
func (*LogCmd) GetErrWriter ¶
func (logCmd *LogCmd) GetErrWriter() io.WriteCloser
func (*LogCmd) GetStdWriter ¶
func (logCmd *LogCmd) GetStdWriter() io.WriteCloser
type NotifyBitbucketCommand ¶ added in v1.7.0
type NotifyBitbucketCommand struct {
// contains filtered or unexported fields
}
func NewNotifyBitbucketCommand ¶ added in v1.7.0
func NewNotifyBitbucketCommand() *NotifyBitbucketCommand
func (*NotifyBitbucketCommand) Run ¶ added in v1.7.0
func (cmd *NotifyBitbucketCommand) Run() error
func (*NotifyBitbucketCommand) SetBitbucketConfiguration ¶ added in v1.7.0
func (cmd *NotifyBitbucketCommand) SetBitbucketConfiguration(bitbucketConfiguration *BitbucketConfiguration) *NotifyBitbucketCommand
func (*NotifyBitbucketCommand) SetBuildConfiguration ¶ added in v1.7.0
func (cmd *NotifyBitbucketCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NotifyBitbucketCommand
type NotifySlackCommand ¶ added in v1.4.0
type NotifySlackCommand struct {
// contains filtered or unexported fields
}
func NewNotifySlackCommand ¶ added in v1.4.0
func NewNotifySlackCommand() *NotifySlackCommand
func (*NotifySlackCommand) Run ¶ added in v1.4.0
func (cmd *NotifySlackCommand) Run() error
func (*NotifySlackCommand) SetBuildConfiguration ¶ added in v1.4.0
func (cmd *NotifySlackCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *NotifySlackCommand
func (*NotifySlackCommand) SetSlackConfiguration ¶ added in v1.4.0
func (cmd *NotifySlackCommand) SetSlackConfiguration(slackConfiguration *SlackConfiguration) *NotifySlackCommand
type RevisionRangeError ¶
type RevisionRangeError struct {
ErrorMsg string
}
RevisionRangeError to be thrown when revision could not be found in the git revision range.
func (RevisionRangeError) Error ¶
func (err RevisionRangeError) Error() string
type SendBuildInfoCommand ¶ added in v1.3.0
type SendBuildInfoCommand struct {
// contains filtered or unexported fields
}
func NewSendBuildInfoCommand ¶ added in v1.3.0
func NewSendBuildInfoCommand() *SendBuildInfoCommand
func (*SendBuildInfoCommand) Run ¶ added in v1.3.0
func (cmd *SendBuildInfoCommand) Run() error
func (*SendBuildInfoCommand) SetBuildConfiguration ¶ added in v1.3.0
func (cmd *SendBuildInfoCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *SendBuildInfoCommand
func (*SendBuildInfoCommand) SetJiraConfiguration ¶ added in v1.3.0
func (cmd *SendBuildInfoCommand) SetJiraConfiguration(jiraConfiguration *JiraConfiguration) *SendBuildInfoCommand
type SendDeploymentInfoCommand ¶ added in v1.5.0
type SendDeploymentInfoCommand struct {
// contains filtered or unexported fields
}
func NewSendDeploymentInfoCommand ¶ added in v1.5.0
func NewSendDeploymentInfoCommand() *SendDeploymentInfoCommand
func (*SendDeploymentInfoCommand) Run ¶ added in v1.5.0
func (cmd *SendDeploymentInfoCommand) Run() error
func (*SendDeploymentInfoCommand) SetBuildConfiguration ¶ added in v1.5.0
func (cmd *SendDeploymentInfoCommand) SetBuildConfiguration(buildConfiguration *utils.BuildConfiguration) *SendDeploymentInfoCommand
func (*SendDeploymentInfoCommand) SetDeploymentInfo ¶ added in v1.5.0
func (cmd *SendDeploymentInfoCommand) SetDeploymentInfo(deploymentInfo *DeploymentInfo) *SendDeploymentInfoCommand
func (*SendDeploymentInfoCommand) SetJiraConfiguration ¶ added in v1.5.0
func (cmd *SendDeploymentInfoCommand) SetJiraConfiguration(jiraConfiguration *JiraConfiguration) *SendDeploymentInfoCommand
type SlackAttachment ¶ added in v1.4.0
type SlackAttachment struct { Color string `json:"color"` Blocks []SlackBlock `json:"blocks"` }
type SlackBlock ¶ added in v1.4.0
type SlackConfiguration ¶ added in v1.4.0
type SlackConfiguration struct {
// contains filtered or unexported fields
}
func (*SlackConfiguration) SetDryRun ¶ added in v1.6.7
func (sc *SlackConfiguration) SetDryRun(dryRun bool)
func (*SlackConfiguration) SetFailOnReject ¶ added in v1.4.0
func (sc *SlackConfiguration) SetFailOnReject(failOnReject bool) *SlackConfiguration
func (*SlackConfiguration) SetIncludePrePostRunSteps ¶ added in v1.4.0
func (sc *SlackConfiguration) SetIncludePrePostRunSteps(includePrePostRunSteps bool) *SlackConfiguration
func (*SlackConfiguration) SetServerID ¶ added in v1.4.0
func (sc *SlackConfiguration) SetServerID(serverID string) *SlackConfiguration
func (*SlackConfiguration) SetSlack ¶ added in v1.4.0
func (sc *SlackConfiguration) SetSlack(slack string)
func (*SlackConfiguration) ValidateSlackConfiguration ¶ added in v1.4.0
func (sc *SlackConfiguration) ValidateSlackConfiguration() (err error)
type SlackMessage ¶ added in v1.4.0
type SlackMessage struct { Blocks []SlackBlock `json:"blocks"` Attachments []SlackAttachment `json:"attachments"` }
Click to show internal directories.
Click to hide internal directories.