# Functions
No description provided by the author
FindCredByUrl searches for GitCredential by the specified URL within the provided GlobalConfig.
GetAuthMethod returns an authMethod for both cloning and fetching from a repo with HTTP, SSH, or TLS credentials from Kubernetes secrets.
GetRepoCloneOptions creates git.CloneOptions for cloning a repo with HTTP, SSH, or TLS credentials from Kubernetes secrets.
GetRepoFetchOptions creates git.FetchOptions for fetching updates from a repo with HTTP, SSH, or TLS credentials from Kubernetes secrets.
GetRepoPullOptions creates git.PullOptions for pull updates from a repo with HTTP, SSH, or TLS credentials from Kubernetes secrets.
No description provided by the author
NewTransportSet returns a TransportSet with the items' keys mapped to empty struct values.
NormalizeGitUrl function removes the protocol part and any user info from the URLs.
Parse parses rawurl into a URL structure.
ParseLocal parses rawurl into a URL object with a "file" scheme.
ParseScp parses rawurl into a URL object.
ParseTransport parses rawurl into a URL object.
UpdateOptionsWithGitConfig updates the given git options object with information coming from the git config provided.
# Variables
Valid git transports url Source -https://pkg.go.dev/github.com/whilp/[email protected].
# Structs
No description provided by the author
# Type aliases
GitUrlParser converts a string into a URL.
No description provided by the author