Documentation ¶
Index ¶
- type AzureDevOpsConfigProvider
- func (a *AzureDevOpsConfigProvider) GetBranch() string
- func (a *AzureDevOpsConfigProvider) GetBuildUrl() string
- func (a *AzureDevOpsConfigProvider) GetCommit() string
- func (a *AzureDevOpsConfigProvider) GetPullRequestConfig() PullRequestConfig
- func (a *AzureDevOpsConfigProvider) GetRepoUrl() string
- func (a *AzureDevOpsConfigProvider) IsPullRequest() bool
- type GitHubActionsConfigProvider
- func (g *GitHubActionsConfigProvider) GetBranch() string
- func (g *GitHubActionsConfigProvider) GetBuildUrl() string
- func (g *GitHubActionsConfigProvider) GetCommit() string
- func (g *GitHubActionsConfigProvider) GetPullRequestConfig() PullRequestConfig
- func (g *GitHubActionsConfigProvider) GetRepoUrl() string
- func (g *GitHubActionsConfigProvider) IsPullRequest() bool
- type JenkinsConfigProvider
- func (j *JenkinsConfigProvider) GetBranch() string
- func (j *JenkinsConfigProvider) GetBuildUrl() string
- func (j *JenkinsConfigProvider) GetCommit() string
- func (j *JenkinsConfigProvider) GetPullRequestConfig() PullRequestConfig
- func (j *JenkinsConfigProvider) GetRepoUrl() string
- func (j *JenkinsConfigProvider) IsPullRequest() bool
- type Orchestrator
- type OrchestratorSpecificConfigProviding
- type PullRequestConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureDevOpsConfigProvider ¶
type AzureDevOpsConfigProvider struct{}
func (*AzureDevOpsConfigProvider) GetBranch ¶ added in v1.149.0
func (a *AzureDevOpsConfigProvider) GetBranch() string
func (*AzureDevOpsConfigProvider) GetBuildUrl ¶ added in v1.149.0
func (a *AzureDevOpsConfigProvider) GetBuildUrl() string
func (*AzureDevOpsConfigProvider) GetCommit ¶ added in v1.149.0
func (a *AzureDevOpsConfigProvider) GetCommit() string
func (*AzureDevOpsConfigProvider) GetPullRequestConfig ¶
func (a *AzureDevOpsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*AzureDevOpsConfigProvider) GetRepoUrl ¶ added in v1.149.0
func (a *AzureDevOpsConfigProvider) GetRepoUrl() string
func (*AzureDevOpsConfigProvider) IsPullRequest ¶
func (a *AzureDevOpsConfigProvider) IsPullRequest() bool
type GitHubActionsConfigProvider ¶
type GitHubActionsConfigProvider struct{}
func (*GitHubActionsConfigProvider) GetBranch ¶ added in v1.149.0
func (g *GitHubActionsConfigProvider) GetBranch() string
func (*GitHubActionsConfigProvider) GetBuildUrl ¶ added in v1.149.0
func (g *GitHubActionsConfigProvider) GetBuildUrl() string
func (*GitHubActionsConfigProvider) GetCommit ¶ added in v1.149.0
func (g *GitHubActionsConfigProvider) GetCommit() string
func (*GitHubActionsConfigProvider) GetPullRequestConfig ¶
func (g *GitHubActionsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*GitHubActionsConfigProvider) GetRepoUrl ¶ added in v1.149.0
func (g *GitHubActionsConfigProvider) GetRepoUrl() string
func (*GitHubActionsConfigProvider) IsPullRequest ¶
func (g *GitHubActionsConfigProvider) IsPullRequest() bool
type JenkinsConfigProvider ¶
type JenkinsConfigProvider struct{}
func (*JenkinsConfigProvider) GetBranch ¶ added in v1.149.0
func (j *JenkinsConfigProvider) GetBranch() string
func (*JenkinsConfigProvider) GetBuildUrl ¶ added in v1.149.0
func (j *JenkinsConfigProvider) GetBuildUrl() string
func (*JenkinsConfigProvider) GetCommit ¶ added in v1.149.0
func (j *JenkinsConfigProvider) GetCommit() string
func (*JenkinsConfigProvider) GetPullRequestConfig ¶
func (j *JenkinsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*JenkinsConfigProvider) GetRepoUrl ¶ added in v1.149.0
func (j *JenkinsConfigProvider) GetRepoUrl() string
func (*JenkinsConfigProvider) IsPullRequest ¶
func (j *JenkinsConfigProvider) IsPullRequest() bool
type Orchestrator ¶
type Orchestrator int
const ( Unknown Orchestrator = iota AzureDevOps GitHubActions Jenkins )
func DetectOrchestrator ¶
func DetectOrchestrator() Orchestrator
func (Orchestrator) String ¶
func (o Orchestrator) String() string
type OrchestratorSpecificConfigProviding ¶
type OrchestratorSpecificConfigProviding interface { GetBranch() string GetBuildUrl() string GetCommit() string GetPullRequestConfig() PullRequestConfig GetRepoUrl() string IsPullRequest() bool }
func NewOrchestratorSpecificConfigProvider ¶
func NewOrchestratorSpecificConfigProvider() (OrchestratorSpecificConfigProviding, error)
type PullRequestConfig ¶
Click to show internal directories.
Click to hide internal directories.