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
}
func (*Provider) DeleteWebhook ¶
func (*Provider) EnsureWebhook ¶
func (*Provider) GetIdentity ¶
func (*Provider) ListRepos ¶
func (p *Provider) ListRepos(ctx context.Context, opts provider.ListReposOptions) ([]provider.Repo, error)
ListRepos returns repositories visible to the authenticated identity, applying the given options. When opts.SkipForks is true, forked repositories are excluded via the provider's server-side filter. When opts.Topics is non-empty, only repositories containing all specified topics are included (client-side filter).
Click to show internal directories.
Click to hide internal directories.