package
0.1.7
Repository: https://github.com/hairyhenderson/go-fsimpl.git
Documentation: pkg.go.dev

# Functions

AutoAuthenticator is an Authenticator that chooses the first available authenticator based on the given URL (when appropriate) and the environment variables, in this order of precedence: BasicAuthenticator TokenAuthenticator PublicKeyAuthenticator SSHAgentAuthenticator NoopAuthenticator.
BasicAuthenticator is an Authenticator that provides HTTP Basic Authentication.
New provides a filesystem (an fs.FS) for the git repository indicated by the given URL.
NoopAuthenticator is an Authenticator that will not attempt any authentication methods.
PublicKeyAuthenticator provides an Authenticator that uses SSH public key authentication.
SSHAgentAuthenticator is an Authenticator that uses the ssh-agent protocol.
TokenAuthenticator is an Authenticator that uses HTTP token authentication (also known as bearer authentication).
WithAuthenticator configures the given FS to authenticate with auth, if the filesystem supports it.

# Variables

FS is used to register this filesystem with an fsimpl.FSMux nolint:gochecknoglobals.

# Interfaces

Authenticator provides an AuthMethod for a given URL.
AuthMethod is an HTTP or SSH authentication method that can be used to authenticate to a git repository.