agent

package
v0.0.0-...-7bcb550 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keyring

type Keyring struct {
	Agent sshagent.Agent
}

func NewAgent

func NewAgent() *Keyring

func (*Keyring) AddKey

func (k *Keyring) AddKey(pubkey string) (*Keyring, error)

func (*Keyring) CheckKey

func (k *Keyring) CheckKey(pubkey string) error

func (*Keyring) GetAgent

func (k *Keyring) GetAgent() ssh.AuthMethod

Jump to

Keyboard shortcuts

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