Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
ProviderConfig
}
Provider is an abstraction over a Git provider (Github, Gitlab, etc)
func NewProviderFromConfig ¶
func NewProviderFromConfig(pc ProviderConfig) *Provider
func (*Provider) GithubClient ¶
func (*Provider) GitlabClient ¶
type ProviderConfig ¶
ProviderConfig contains the essential parameters that define a provider
func (ProviderConfig) IsEnterprise ¶
func (pc ProviderConfig) IsEnterprise() bool
type Repo ¶
type Repo struct { Name string Owner string CloneURL string // consider if we can remove this. ComputedCloneURL is a first step ProviderConfig }
Repo describes a git Repository with a given Provider
func (Repo) ComputedCloneURL ¶
Click to show internal directories.
Click to hide internal directories.