Documentation
¶
Index ¶
- type Provider
- func (p *Provider) DeleteWebhook(ctx context.Context, repoName, webhookID string) error
- func (p *Provider) EnsureWebhook(ctx context.Context, repoName, webhookURL, secret string) (string, error)
- func (p *Provider) GetIdentity() (string, error)
- func (p *Provider) ListRepos(ctx context.Context, opts provider.ListReposOptions) ([]provider.Repo, error)
- func (p *Provider) RepoURL(ctx context.Context, repoName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider manages GitLab projects and project hooks.
func NewProvider ¶
NewProvider creates a GitLab provider for GitLab.com or a self-managed instance.
func (*Provider) DeleteWebhook ¶
func (*Provider) EnsureWebhook ¶
func (*Provider) GetIdentity ¶
Click to show internal directories.
Click to hide internal directories.