Documentation
¶
Overview ¶
Package keyring stores Melange credentials in the OS keychain via zalando/go-keyring. Entries live under the "melange-cli" service, keyed by host (scheme stripped, port kept — see HostKey).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("no credentials found in keyring")
ErrNotFound is returned when no credential is stored for a host.
Functions ¶
func HostKey ¶
HostKey normalizes a host or URL into the keyring key: scheme and path are stripped, the port is kept ("https://api.zetic.ai:8443/v1" -> "api.zetic.ai:8443").
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.