git

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthBasicAuth

type AuthBasicAuth struct {
	// contains filtered or unexported fields
}

func NewAuthBasicAuth

func NewAuthBasicAuth(config map[string]string) *AuthBasicAuth

func (*AuthBasicAuth) Create

func (a *AuthBasicAuth) Create() (transport.AuthMethod, error)

type AuthMethod

type AuthMethod interface {
	Create() (transport.AuthMethod, error)
}

type AuthMethodFactory

type AuthMethodFactory struct {
	// contains filtered or unexported fields
}

func NewAuthMethodFactory

func NewAuthMethodFactory(authMethods map[string]AuthMethod) *AuthMethodFactory

func (*AuthMethodFactory) GetAuthMethod

func (amf *AuthMethodFactory) GetAuthMethod(name string) (transport.AuthMethod, error)

type AuthPassword

type AuthPassword struct {
	// contains filtered or unexported fields
}

func NewAuthPassword

func NewAuthPassword(config map[string]string) *AuthPassword

func (*AuthPassword) Create

func (a *AuthPassword) Create() (transport.AuthMethod, error)

type AuthPublicKeys

type AuthPublicKeys struct {
	// contains filtered or unexported fields
}

func NewAuthPublicKeys

func NewAuthPublicKeys(config map[string]string) *AuthPublicKeys

func (*AuthPublicKeys) Create

func (a *AuthPublicKeys) Create() (transport.AuthMethod, error)

type AuthToken

type AuthToken struct {
	// contains filtered or unexported fields
}

func NewAuthToken

func NewAuthToken(config map[string]string) *AuthToken

func (*AuthToken) Create

func (a *AuthToken) Create() (transport.AuthMethod, error)

type Cloner

type Cloner struct {
}

func NewCloner

func NewCloner() *Cloner

func (*Cloner) Clone

func (*Cloner) Clone(outputPath string, moduleUrl string, auth transport.AuthMethod) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL