exec

package
v0.5.12 Latest Latest
Warning

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

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

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