github

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TIMEOUT = 15 * time.Second

Variables

This section is empty.

Functions

This section is empty.

Types

type PullRequest

type PullRequest struct {
	Owner      string
	Repository string
	Number     int
	// contains filtered or unexported fields
}

func NewPullRequest

func NewPullRequest(logger *logrus.Logger, owner, repository string, number int) (*PullRequest, error)

func (*PullRequest) GetAssignees added in v1.3.0

func (p *PullRequest) GetAssignees() []*github.User

func (*PullRequest) GetBody added in v1.2.0

func (p *PullRequest) GetBody() string

func (*PullRequest) GetLabels

func (p *PullRequest) GetLabels() []*github.Label

func (*PullRequest) GetNumber added in v1.2.0

func (p *PullRequest) GetNumber() int

func (*PullRequest) GetOwner added in v1.2.0

func (p *PullRequest) GetOwner() string

func (*PullRequest) GetRepository added in v1.2.0

func (p *PullRequest) GetRepository() string

func (*PullRequest) GetTitle

func (p *PullRequest) GetTitle() string

func (*PullRequest) GetUser added in v1.3.0

func (p *PullRequest) GetUser() *github.User

func (*PullRequest) SetAssignee added in v1.3.0

func (p *PullRequest) SetAssignee(users []string) error

Jump to

Keyboard shortcuts

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