Documentation
¶
Overview ¶
Package gitlab implements GitLab's v4 merge-request API.
Index ¶
- func LoginCommand(ctx context.Context, host string) (*exec.Cmd, error)
- func Token(ctx context.Context, host, configured string) (string, string, error)
- type Provider
- func (p *Provider) CheckAuth(ctx context.Context) error
- func (p *Provider) CreatePR(ctx context.Context, repo forge.Repo, in forge.NewPR) (*forge.PR, error)
- func (p *Provider) GetPR(ctx context.Context, repo forge.Repo, number int) (*forge.PR, error)
- func (p *Provider) Merge(ctx context.Context, repo forge.Repo, number int, method string) error
- func (p *Provider) MergeWithHead(ctx context.Context, repo forge.Repo, number int, method, head string) (*forge.PR, error)
- func (p *Provider) PRForBranch(ctx context.Context, repo forge.Repo, branch string) (*forge.PR, error)
- func (p *Provider) ResetAuth()
- func (*Provider) WebURL(pr *forge.PR) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.