Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `yaml:"server"`
Metric MetricConfig `yaml:"metric"`
Provider ProviderConfig `yaml:"provider"`
Converter ConverterConfig `yaml:"converter"`
}
func (*Config) EnableRemoteCache ¶ added in v0.2.7
type ConversionRule ¶
type ConverterConfig ¶
type ConverterConfig struct {
Worker int `yaml:"worker"`
Driver DriverConfig `yaml:"driver"`
HarborAnnotation bool `yaml:"harbor_annotation"`
Platforms string `yaml:"platforms"`
Rules []ConversionRule `yaml:"rules"`
}
type DriverConfig ¶
type MetricConfig ¶
type MetricConfig struct {
Enabled bool `yaml:"enabled"`
}
type ProviderConfig ¶
type ProviderConfig struct {
Source map[string]SourceConfig `yaml:"source"`
WorkDir string `yaml:"work_dir"`
GCPolicy GCPolicy `yaml:"gcpolicy"`
CacheSize int `yaml:"cache_size"`
}
type ServerConfig ¶
type SourceConfig ¶
Click to show internal directories.
Click to hide internal directories.