Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultStages = []string{
"main",
"staging",
"canary",
"production",
}
)
Functions ¶
func NewInternalError ¶
Types ¶
type Context ¶
type InternalError ¶
type InternalError struct {
Cause error
}
func (*InternalError) Error ¶
func (m *InternalError) Error() string
type Promoter ¶
type Promoter struct {
Stages []string
}
func NewDefaultPromoter ¶
func NewDefaultPromoter() *Promoter
func NewDynamicPromoter ¶
func NewStagePromoter ¶
func (*Promoter) IsPromotionRequest ¶
func (sp *Promoter) IsPromotionRequest(pr *github.PullRequest) bool
func (*Promoter) StageIndex ¶
Click to show internal directories.
Click to hide internal directories.