Documentation
¶
Index ¶
- func Entrypoint() *cobra.Command
- func Run(baseurl string, token string, logger *log.Logger) error
- type AgentServer
- func (a *AgentServer) Add(key agent.AddedKey) error
- func (a *AgentServer) List() ([]*agent.Key, error)
- func (a *AgentServer) Lock(passphrase []byte) error
- func (a *AgentServer) Remove(key ssh.PublicKey) error
- func (a *AgentServer) RemoveAll() error
- func (a *AgentServer) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a *AgentServer) Signers() ([]ssh.Signer, error)
- func (a *AgentServer) Unlock(passphrase []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Entrypoint ¶
Types ¶
type AgentServer ¶
type AgentServer struct {
// contains filtered or unexported fields
}
implements golang.org/x/crypto/ssh/agent.Agent
func (*AgentServer) Lock ¶
func (a *AgentServer) Lock(passphrase []byte) error
func (*AgentServer) RemoveAll ¶
func (a *AgentServer) RemoveAll() error
func (*AgentServer) Unlock ¶
func (a *AgentServer) Unlock(passphrase []byte) error
Click to show internal directories.
Click to hide internal directories.