Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureDevOpsConfigProvider ¶
type AzureDevOpsConfigProvider struct{}
func (*AzureDevOpsConfigProvider) GetBranchBuildConfig ¶
func (a *AzureDevOpsConfigProvider) GetBranchBuildConfig() BranchBuildConfig
func (*AzureDevOpsConfigProvider) GetPullRequestConfig ¶
func (a *AzureDevOpsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*AzureDevOpsConfigProvider) IsPullRequest ¶
func (a *AzureDevOpsConfigProvider) IsPullRequest() bool
type BranchBuildConfig ¶
type BranchBuildConfig struct {
Branch string
}
type GitHubActionsConfigProvider ¶
type GitHubActionsConfigProvider struct{}
func (*GitHubActionsConfigProvider) GetBranchBuildConfig ¶
func (a *GitHubActionsConfigProvider) GetBranchBuildConfig() BranchBuildConfig
func (*GitHubActionsConfigProvider) GetPullRequestConfig ¶
func (a *GitHubActionsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*GitHubActionsConfigProvider) IsPullRequest ¶
func (a *GitHubActionsConfigProvider) IsPullRequest() bool
type JenkinsConfigProvider ¶
type JenkinsConfigProvider struct{}
func (*JenkinsConfigProvider) GetBranchBuildConfig ¶
func (a *JenkinsConfigProvider) GetBranchBuildConfig() BranchBuildConfig
func (*JenkinsConfigProvider) GetPullRequestConfig ¶
func (a *JenkinsConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*JenkinsConfigProvider) IsPullRequest ¶
func (a *JenkinsConfigProvider) IsPullRequest() bool
type Orchestrator ¶
type Orchestrator int
const ( Unknown Orchestrator = iota AzureDevOps GitHubActions Jenkins Travis )
func DetectOrchestrator ¶
func DetectOrchestrator() Orchestrator
func (Orchestrator) String ¶
func (o Orchestrator) String() string
type OrchestratorSpecificConfigProviding ¶
type OrchestratorSpecificConfigProviding interface { GetBranchBuildConfig() BranchBuildConfig GetPullRequestConfig() PullRequestConfig IsPullRequest() bool }
func NewOrchestratorSpecificConfigProvider ¶
func NewOrchestratorSpecificConfigProvider() (OrchestratorSpecificConfigProviding, error)
type PullRequestConfig ¶
type TravisConfigProvider ¶
type TravisConfigProvider struct{}
func (*TravisConfigProvider) GetBranchBuildConfig ¶
func (a *TravisConfigProvider) GetBranchBuildConfig() BranchBuildConfig
func (*TravisConfigProvider) GetPullRequestConfig ¶
func (a *TravisConfigProvider) GetPullRequestConfig() PullRequestConfig
func (*TravisConfigProvider) IsPullRequest ¶
func (a *TravisConfigProvider) IsPullRequest() bool
Click to show internal directories.
Click to hide internal directories.