Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultCfgFile = "./bermuda.yml"
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig(file string)
Types ¶
type Config ¶
type Config struct { Image *PruneImageConfig `yaml:"image"` Container *PruneContainerConfig `yaml:"container"` Logging *LoggingConfig `yaml:"logging"` }
type LoggingConfig ¶
type PruneContainerConfig ¶
type PruneContainerConfig struct { Until string `yaml:"until"` ExcludeLabels []string `yaml:"excludeLabels"` IncludeLabels []string `yaml:"includeLabels"` Active bool `yaml:"active"` }
func (PruneContainerConfig) ToFilterArgs ¶
func (p PruneContainerConfig) ToFilterArgs() filters.Args
type PruneImageConfig ¶
type PruneImageConfig struct { Until string `yaml:"until"` ExcludeLabels []string `yaml:"excludeLabels"` IncludeLabels []string `yaml:"includeLabels"` Active bool `yaml:"active"` All bool `yaml:"all"` }
func (PruneImageConfig) ToFilterArgs ¶
func (p PruneImageConfig) ToFilterArgs() filters.Args
Click to show internal directories.
Click to hide internal directories.