Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFileWithDirectory ¶
Types ¶
type AuthProvider ¶
type AuthProvider interface { GetRepositoryURL(reponame string) string AuthMethod() transport.AuthMethod }
func NewAuthProvider ¶
func NewAuthProvider(pemFile, password string) AuthProvider
type AuthProviderHTTPS ¶
type AuthProviderHTTPS struct { }
func (*AuthProviderHTTPS) AuthMethod ¶
func (p *AuthProviderHTTPS) AuthMethod() transport.AuthMethod
func (*AuthProviderHTTPS) GetRepositoryURL ¶
func (p *AuthProviderHTTPS) GetRepositoryURL(reponame string) string
type AuthProviderWithSSH ¶
type AuthProviderWithSSH struct {
// contains filtered or unexported fields
}
func (*AuthProviderWithSSH) AuthMethod ¶
func (p *AuthProviderWithSSH) AuthMethod() transport.AuthMethod
func (*AuthProviderWithSSH) GetRepositoryURL ¶
func (p *AuthProviderWithSSH) GetRepositoryURL(reponame string) string
Click to show internal directories.
Click to hide internal directories.