Documentation
¶
Index ¶
- Variables
- func GetPulls(ctx context.Context, url, owner, repo, password string) ([]*githubPull, error)
- type Github
- func (g *Github) Name() string
- func (g *Github) RequestClose(ctx context.Context, branch string, path string) error
- func (g *Github) RequestList(ctx context.Context, branch string) (map[string]string, error)
- func (g *Github) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error
- func (g *Github) RequestUpdate(ctx context.Context, branch string, path string, mod modules.Update) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPRNotExist = errors.New("pull request does not exist")
Functions ¶
Types ¶
type Github ¶
type Github struct { URL string Username string Password string PRTitle string PRBody string Repository string Owner string // contains filtered or unexported fields }
func (*Github) RequestClose ¶
func (*Github) RequestList ¶
func (*Github) RequestOpen ¶
Click to show internal directories.
Click to hide internal directories.