github

package
v0.0.65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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) Cleanup

func (d *GitHub) Cleanup() error

func (*GitHub) ClearWork

func (d *GitHub) ClearWork() error

func (*GitHub) GetWork

func (d *GitHub) GetWork() (io.Reader, error)

func (*GitHub) HandleFailure

func (d *GitHub) HandleFailure() error

func (*GitHub) Init

func (d *GitHub) Init() error

func (*GitHub) LoadEnv

func (d *GitHub) LoadEnv(prefix string) error

func (*GitHub) LoadFlags

func (d *GitHub) LoadFlags() error

func (*GitHub) NewCommit

func (d *GitHub) NewCommit(ctx context.Context, op GitHubOp, nl string) error

type GitHubOp

type GitHubOp string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL