package
Version:
v0.7.0
Opens a new window with list of versions in this module.
Published: Jun 28, 2026
License: MPL-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Basic struct {
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Config struct {
GitHub GitHub `yaml:"github,omitempty"`
HTTP []HTTPEntry `yaml:"http,omitempty"`
OCI []OCIAuth `yaml:"oci,omitempty"`
}
type GitHub struct {
Token string `yaml:"token,omitempty"`
}
type HTTPEntry struct {
Host string `yaml:"host"`
Bearer string `yaml:"bearer,omitempty"`
Basic *Basic `yaml:"basic,omitempty"`
}
type OCIAuth struct {
Registry string `yaml:"registry"`
Username string `yaml:"username"`
Password string `yaml:"password"`
}
type Resolver interface {
GitHubToken() string
OCICredentials(registry string) (username, password string, ok bool)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.