auth

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHAgentAuth

type SSHAgentAuth struct {
	GitSSHUser string
}

func NewSSHAgentAuth added in v0.7.0

func NewSSHAgentAuth(gitSSHUser string) *SSHAgentAuth

NewSSHAgentAuth returns a new SSHAgentAuth

func (*SSHAgentAuth) Auth

func (a *SSHAgentAuth) Auth() (transport.AuthMethod, error)

Auth returns a new transport.AuthMethod created from the SSHAgentAuth

Jump to

Keyboard shortcuts

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