Documentation ¶
Index ¶
- func EnsureInstalledAndAuthenticated() error
- type PullRequestProvider
- func (p *PullRequestProvider) Create(branch, title, body string) (string, error)
- func (p *PullRequestProvider) CreateInteractively(branch string) error
- func (p *PullRequestProvider) EnsureInstalledAndAuthenticated() error
- func (p *PullRequestProvider) Exists(branch string) (bool, error)
- func (p *PullRequestProvider) GetBranchesPromotingToEnvironment(env string) ([]string, error)
- func (p *PullRequestProvider) GetPromotionEnvironment(branch string) (string, error)
- func (p *PullRequestProvider) SetPromotionEnvironment(branch string, env string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureInstalledAndAuthenticated ¶
func EnsureInstalledAndAuthenticated() error
Types ¶
type PullRequestProvider ¶
type PullRequestProvider struct {
// contains filtered or unexported fields
}
func NewPullRequestProvider ¶
func NewPullRequestProvider(dir string) *PullRequestProvider
func (*PullRequestProvider) Create ¶
func (p *PullRequestProvider) Create(branch, title, body string) (string, error)
func (*PullRequestProvider) CreateInteractively ¶
func (p *PullRequestProvider) CreateInteractively(branch string) error
func (*PullRequestProvider) EnsureInstalledAndAuthenticated ¶
func (p *PullRequestProvider) EnsureInstalledAndAuthenticated() error
func (*PullRequestProvider) Exists ¶
func (p *PullRequestProvider) Exists(branch string) (bool, error)
func (*PullRequestProvider) GetBranchesPromotingToEnvironment ¶
func (p *PullRequestProvider) GetBranchesPromotingToEnvironment(env string) ([]string, error)
func (*PullRequestProvider) GetPromotionEnvironment ¶
func (p *PullRequestProvider) GetPromotionEnvironment(branch string) (string, error)
func (*PullRequestProvider) SetPromotionEnvironment ¶
func (p *PullRequestProvider) SetPromotionEnvironment(branch string, env string) error
Click to show internal directories.
Click to hide internal directories.