auth

package
v0.3.46 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

func NewAuth

func NewAuth(authType AuthType) (*Auth, error)

func (Auth) Get

func (a Auth) Get() transport.AuthMethod

type AuthType

type AuthType string
const (
	SSHAgentAuth AuthType = "ssh-agent"
	DefaultAuth  AuthType = "default"
)

Jump to

Keyboard shortcuts

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