builder

package
v0.0.0-...-a3cdc46 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	DryRun          bool
	Verbose         bool
	SkipLockChanges bool

	// Git options.
	Workspace    string
	Owner        string
	Repo         string
	Branch       string
	CommitBranch *string

	// PR options.
	Title     string
	Body      string
	Token     *string
	Signature *object.Signature
	Signoff   bool

	// Binding
	Username string
	Password string
}

func (*Builder) Commit

func (b *Builder) Commit(r *git.Repository) (plumbing.ReferenceName, error)

Commit will commit changes to the local branch, and then optionally branch a new branch if set.

func (*Builder) Do

func (b *Builder) Do() error

func (*Builder) PR

func (b *Builder) PR(branch string) error

func (*Builder) Push

func (b *Builder) Push(r *git.Repository, rs config.RefSpec) error

Jump to

Keyboard shortcuts

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