exec

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 11 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 Action

type Action struct {
	BaseURL, UploadURL string

	StatusContext     string
	StatusDescription string
	StatusTargetURL   string

	Cmd  string
	Args []string
	// contains filtered or unexported fields
}

func New

func New() *Action

func (*Action) AddFlags

func (c *Action) AddFlags(fs *flag.FlagSet)

func (*Action) CreateAndLogStatus

func (c *Action) CreateAndLogStatus(client *github.Client, owner, repo, sha string, status *github.RepoStatus) error

func (*Action) EnsureCheckRun

func (c *Action) EnsureCheckRun(pre *Target) error

func (*Action) EnsureCheckSuite

func (c *Action) EnsureCheckSuite(pre *Target) (*github.CheckSuite, error)

func (*Action) Run

func (c *Action) Run(args []string) error

func (*Action) UpdateCheckRun

func (c *Action) UpdateCheckRun(owner, repo string, checkRun *github.CheckRun, summary, text string, runErr error) error

type Run

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

type Target

type Target struct {
	Owner, Repo string
	PullRequest *github.PullRequest
}

Jump to

Keyboard shortcuts

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