Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CommandResult ¶
type CommandRunner ¶
type CommandRunner interface {
Run(context.Context, Command) (CommandResult, error)
}
type Options ¶
type Options struct {
Enabled bool
CommitAfterTask bool
PushAfterTask bool
DraftPRAfterPush bool
RequireCleanBeforeTask bool
CleanupWorktreeAfterPlanDone bool
RemoteName string
BranchPrefix string
CommitAuthorName string
CommitAuthorEmailEnv string
CommitAuthorEmailFile string
SSHPrivateKeyPath string
SSHPublicKeyPath string
SSHKnownHostsPath string
GitHubTokenEnv string
GitHubTokenFile string
GitHubCLIPath string
}
type PostTaskInput ¶
type PostTaskResult ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewWithRunner ¶
func NewWithRunner(options Options, runner CommandRunner) *Service
func (*Service) PostTask ¶
func (svc *Service) PostTask(ctx context.Context, input PostTaskInput) (PostTaskResult, error)
Click to show internal directories.
Click to hide internal directories.