Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_CACHE_TTL_HOURS = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Registries map[string]RegistryConfig `json:"registries"` CacheTTLHours int `json:"cache_ttl_hours"` }
func NewFromFile ¶
func (*Config) GetRegistryConfig ¶
func (c *Config) GetRegistryConfig(domain string) RegistryConfig
Click to show internal directories.
Click to hide internal directories.