remotehelper

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyringPrettyNames = map[string]string{
	"*keyring.keychain":       "macOS Keychain Access",
	"*keyring.kwalletKeyring": "KWallet (KDE Wallet Manager)",
	"*keyring.windowsKeyring": "Windows Credential Manager",
	"*keyring.secretsKeyring": "libsecret",
	"*keyring.passKeyring":    "pass",
}
View Source
var MsgRepoNotFound = `
Repository does not exist at %s

You can create a dgit repository by doing a 'git push'
`
View Source
var MsgWelcome = `` /* 180-byte string literal not displayed */

Functions

func GetPrivateKey

func GetPrivateKey(kr keyring.Keyring) (key *ecdsa.PrivateKey, isNew bool, err error)

func NewDefaultKeyring

func NewDefaultKeyring() (keyring.Keyring, error)

Types

type Runner

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

func New

func New(local *git.Repository) *Runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context, remoteName string, remoteUrl string) error

Jump to

Keyboard shortcuts

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