Documentation
¶
Index ¶
- func Command(clients pluralclient.Plural) cli.Command
- type GitPullRequestRepository
- type PRFollowupOptions
- type PRFollowupResult
- type PRFollowupService
- type ProviderName
- type PullRequestOptions
- type PullRequestProvider
- type PullRequestRepository
- type PullRequestResolver
- type PullRequestURLResolver
- type Workbenches
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitPullRequestRepository ¶
type GitPullRequestRepository struct{}
func (GitPullRequestRepository) CommitSubject ¶
func (GitPullRequestRepository) CommitSubject(ref string) (string, error)
func (GitPullRequestRepository) RemoteURL ¶
func (GitPullRequestRepository) RemoteURL() (string, error)
type PRFollowupOptions ¶
type PRFollowupOptions struct {
Prompt string
DeferBy time.Duration
PullRequest PullRequestOptions
SkipMissing bool
}
type PRFollowupResult ¶
type PRFollowupService ¶
type PRFollowupService struct {
// contains filtered or unexported fields
}
func NewPRFollowupService ¶
func NewPRFollowupService(client console.ConsoleClient, resolver PullRequestURLResolver) *PRFollowupService
func (*PRFollowupService) Create ¶
func (s *PRFollowupService) Create(options PRFollowupOptions) (PRFollowupResult, error)
type ProviderName ¶
type ProviderName string
const ( ProviderAuto ProviderName = "auto" ProviderGitHub ProviderName = "github" ProviderGitLab ProviderName = "gitlab" ProviderBitbucket ProviderName = "bitbucket" )
type PullRequestOptions ¶
type PullRequestProvider ¶
type PullRequestRepository ¶
type PullRequestResolver ¶
type PullRequestResolver struct {
// contains filtered or unexported fields
}
func NewPullRequestResolver ¶
func NewPullRequestResolver(repository PullRequestRepository) *PullRequestResolver
func (*PullRequestResolver) Resolve ¶
func (r *PullRequestResolver) Resolve(options PullRequestOptions) (string, error)
type PullRequestURLResolver ¶
type PullRequestURLResolver interface {
Resolve(options PullRequestOptions) (string, error)
}
type Workbenches ¶
type Workbenches struct {
pluralclient.Plural
// contains filtered or unexported fields
}
func NewWorkbenches ¶
func NewWorkbenches(clients pluralclient.Plural) *Workbenches
func (*Workbenches) Command ¶
func (w *Workbenches) Command() cli.Command
Click to show internal directories.
Click to hide internal directories.