Documentation
¶
Index ¶
- func New(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewCreate(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewLand(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewUpdate(runtime shared.Runtime, deps Dependencies) *cobra.Command
- type Dependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependencies ¶
type Dependencies struct {
Create func(context.Context, orchestrate.PullRequestCreateOptions) (orchestrate.PullRequestCreateResult, error)
Update func(context.Context, orchestrate.PullRequestUpdateOptions) (orchestrate.PullRequestUpdateResult, error)
Land func(context.Context, orchestrate.PullRequestLandOptions) (orchestrate.PullRequestLandResult, error)
CheckRepository func(string, string) error
Events func(string, string) (streams.EventAppender, string)
Lane func(string, string, string, bool) orchestrate.LaneGuardRequest
CheckoutUpdated func(io.Writer) func(context.Context, orchestrate.CheckoutUpdate)
SuggestCloses func(context.Context, string, string) []int
Interactive func(io.Writer, bool) bool
IsTerminal func(io.Writer) bool
}
Click to show internal directories.
Click to hide internal directories.