github

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GitHubOpRM  = GitHubOp("rm")
	GitHubOpMV  = GitHubOp("mv")
	GitHubOpAdd = GitHubOp("add")
)

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	Client        *github.Client
	Repo          string
	Owner         string
	Token         string
	File          string
	Ref           *string
	OpenPR        bool
	BaseBranch    *string
	Branch        *string
	CommitName    *string
	CommitEmail   *string
	CommitMessage *string
	PRTitle       *string
	PRBody        *string
	// contains filtered or unexported fields
}

func (*GitHub) Cleanup

func (d *GitHub) Cleanup() 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

func (*GitHub) Push

func (d *GitHub) Push(r io.Reader) error

type GitHubOp

type GitHubOp string

Jump to

Keyboard shortcuts

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