github

package
v0.0.0-...-1b27c83 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*github.Client

	Ctx  context.Context
	Repo string
	PR   string
	Sha  string
}

func New

func New(repo, pr string) Client

func (*Client) AddCheck

func (c *Client) AddCheck(pending bool, msg string) error

func (*Client) GetCheck

func (c *Client) GetCheck(checkName string) (*github.CheckRun, error)

func (*Client) GetPR

func (c *Client) GetPR() (*github.PullRequest, error)

Jump to

Keyboard shortcuts

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