Documentation ¶
Index ¶
Constants ¶
View Source
const ( PullRequestWorkflow string = "create-pull-request" StartPullRequest string = "pull_request:start" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StartPullRequestEvent ¶
type WorkerImpl ¶
func NewWorker ¶
func NewWorker(fs ...WorkerOpt) (*WorkerImpl, error)
func (*WorkerImpl) Start ¶
func (w *WorkerImpl) Start() (func() error, error)
type WorkerOpt ¶
type WorkerOpt func(*WorkerOpts)
func WithClient ¶
func WithLogger ¶ added in v0.11.1
func WithRepository ¶
func WithRepository(r repository.APIRepository) WorkerOpt
func WithVCSProviders ¶
func WithVCSProviders(vcsProviders map[vcs.VCSRepositoryKind]vcs.VCSProvider) WorkerOpt
type WorkerOpts ¶
type WorkerOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.