key

package
v0.0.0-...-f954743 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPvtKeyName       = "id_rsa"
	BrowserOpenDelaySeconds = 10
)

Variables

This section is empty.

Functions

func Cre

func Cre(host, workspace string) (string, error)

Cre a new ssh-key and return path

func Get

func Get(host, workspace string) (string, error)

Get returns the contents of the pub key file

func HandlePubKeyUpdOnScm

func HandlePubKeyUpdOnScm(host string)

func Use

func Use(host, workspace string) error

Use copies the private and public keys of the selected host and workspace to the default scm host key

Types

This section is empty.

Jump to

Keyboard shortcuts

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