Documentation
¶
Index ¶
- Variables
- type GitHub
- func (d *GitHub) Cleanup() error
- func (d *GitHub) ClearWork() error
- func (d *GitHub) GetWork() (io.Reader, error)
- func (d *GitHub) HandleFailure() error
- func (d *GitHub) Init() error
- func (d *GitHub) LoadEnv(prefix string) error
- func (d *GitHub) LoadFlags() error
- func (d *GitHub) NewCommit(ctx context.Context, op GitHubOp, nl string) error
- type GitHubOp
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitHubOpRM = GitHubOp("rm") GitHubOpMV = GitHubOp("mv") )
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct {
Client *github.Client
Repo string
Owner string
Token string
File string
FilePrefix *string
FileRegex *string
Ref *string
OpenPR bool
BaseBranch *string
Branch *string
CommitName *string
CommitEmail *string
CommitMessage *string
PRTitle *string
PRBody *string
ClearOp *GitHubOp
ClearOpLocation *string
FailOp *GitHubOp
FailOpLocation *string
// contains filtered or unexported fields
}
func (*GitHub) HandleFailure ¶
Click to show internal directories.
Click to hide internal directories.