Documentation ¶
Index ¶
- Variables
- func DeleteBranch(ctx context.Context, url, projectId, branch, password string) (*http.Request, error)
- func GetPulls(ctx context.Context, url, projectId, branch, password string) ([]*gitlabPull, error)
- func GetRepoID(ctx context.Context, url, owner, repo, password string) (rId string, err error)
- type Gitlab
- func (g *Gitlab) Name() string
- func (g *Gitlab) RequestClose(ctx context.Context, branch string, path string) error
- func (g *Gitlab) RequestList(ctx context.Context, branch string) (map[string]string, error)
- func (g *Gitlab) RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error
- func (g *Gitlab) 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 ¶
Click to show internal directories.
Click to hide internal directories.