approve

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Approve

func Approve(token, prURL string, prNum int, cfg *config.ApproveConfig, outStream io.Writer) error

Types

type Info

type Info struct {
	Owner    string
	OwnerURL string
	PRFiles  []string
	Patterns []string
	// contains filtered or unexported fields
}

func NewInfo

func NewInfo(owner string, ownerURL string, prFiles []string, patterns []string, outStream io.Writer) Info

type Options

type Options struct {
	*PR
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions(client *github.Client, pr *PR) *Options

type PR

type PR struct {
	// contains filtered or unexported fields
}

type UnmatchedFilesErr

type UnmatchedFilesErr struct {
	// contains filtered or unexported fields
}

func (UnmatchedFilesErr) Error

func (e UnmatchedFilesErr) Error() string

type UnmatchedOwnerErr

type UnmatchedOwnerErr struct {
	// contains filtered or unexported fields
}

func (UnmatchedOwnerErr) Error

func (e UnmatchedOwnerErr) Error() string

Jump to

Keyboard shortcuts

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