Documentation ¶
Index ¶
- Variables
- func DeleteBranch(ctx context.Context, url, owner, repo, branch, password string) (*http.Request, error)
- func GetPulls(ctx context.Context, url, owner, repo, password string) ([]*giteaPull, error)
- type Gitea
- func (g *Gitea) Name() string
- func (g *Gitea) RequestClose(ctx context.Context, branch string, path string) error
- func (g *Gitea) RequestList(ctx context.Context, branch string) (map[string]string, error)
- func (g *Gitea) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error
- func (g *Gitea) 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 ¶
func DeleteBranch ¶
Types ¶
type Gitea ¶
type Gitea struct { URL string Username string Password string PRTitle string PRBody string Repository string Owner string // contains filtered or unexported fields }
func (*Gitea) RequestClose ¶
func (*Gitea) RequestList ¶
func (*Gitea) RequestOpen ¶
Click to show internal directories.
Click to hide internal directories.