auth

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 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 KeyAuth

type KeyAuth struct {
	GitSSHUser string
	PkFile     string
	PkPassword string
}

func NewKeyAuth added in v0.7.0

func NewKeyAuth(gitSSHUser, pkFile, pkPassword string) *KeyAuth

NewKeyAuth returns a new KeyAuth

func (*KeyAuth) Auth

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

Auth returns a transport.AuthMethod created from the KeyAuth

Jump to

Keyboard shortcuts

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