git

package
v0.0.0-...-2f0b53d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateCheckCallback

func CertificateCheckCallback(cert *git.Certificate, valid bool, hostname string) error

func Clone

func Clone(repo, path, branch string, sshCredential SSHCredential) (*git.Repository, error)

Types

type SSHCredential

type SSHCredential struct {
	PrivateKeyPath string
	PublicKeyPath  string
	PassPhrase     string
}

func (SSHCredential) GetCallback

func (s SSHCredential) GetCallback() func(string, string, git.CredentialType) (*git.Credential, error)

Jump to

Keyboard shortcuts

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