Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct { Type string // token, ssh, basic Token string Username string Password string PrivateKey []byte PrivateKeyPath string }
Auth represents authentication details for Git
type GitProvider ¶
type GitProvider struct {
// contains filtered or unexported fields
}
GitProvider implements the Provider interface for Git repositories
func New ¶
func New(name string, repoURL string, opts Options) (*GitProvider, error)
New creates a new Git provider
func (*GitProvider) Close ¶
func (g *GitProvider) Close() error
Close releases resources used by the Git provider
Click to show internal directories.
Click to hide internal directories.