Documentation
¶
Overview ¶
internal/provider/bitbucket.go
internal/provider/github.go
internal/provider/provider.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bitbucket ¶
type Bitbucket struct {
// contains filtered or unexported fields
}
Bitbucket implements Provider for Bitbucket Cloud.
func NewBitbucket ¶
NewBitbucket creates a new Bitbucket provider. If baseURL is empty, the default Bitbucket Cloud API endpoint is used. If username is non-empty, Basic Auth is used instead of Bearer token auth.
func (*Bitbucket) ListProjects ¶ added in v0.2.0
ListProjects fetches all projects in a Bitbucket workspace, handling pagination automatically.
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
GitHub implements Provider for GitHub.
type ListOpts ¶
type ListOpts struct {
Workspace string
Organization string
Projects []string
Repos []string
Exclude []string
IncludeArchived bool
IncludeForks bool
}
ListOpts configures which repositories to retrieve from a provider.
Click to show internal directories.
Click to hide internal directories.