Documentation
¶
Index ¶
- type Builder
- func (b *Builder) Build() (Config, error)
- func (b *Builder) WithBtrfsBin(btrfsBin string, isSet bool) *Builder
- func (b *Builder) WithClean(clean bool, noClean bool) *Builder
- func (b *Builder) WithCleanThresholdBytes(threshold int64, isSet bool) *Builder
- func (b *Builder) WithDiskLimitSizeBytes(limit int64, isSet bool) *Builder
- func (b *Builder) WithDraxBin(draxBin string, isSet bool) *Builder
- func (b *Builder) WithExcludeImageFromQuota(exclude, isSet bool) *Builder
- func (b *Builder) WithFSDriver(driver string, isSet bool) *Builder
- func (b *Builder) WithGIDMappings(gidMappings []string) *Builder
- func (b *Builder) WithIgnoreBaseImages(ignoreBaseImages []string) *Builder
- func (b *Builder) WithInsecureRegistries(insecureRegistries []string) *Builder
- func (b *Builder) WithJson(json bool, noJson bool) *Builder
- func (b *Builder) WithLogFile(filepath string) *Builder
- func (b *Builder) WithLogLevel(level string, isSet bool) *Builder
- func (b *Builder) WithMetronEndpoint(metronEndpoint string) *Builder
- func (b *Builder) WithMount(mount bool, noMount bool) *Builder
- func (b *Builder) WithNewgidmapBin(newgidmapBin string, isSet bool) *Builder
- func (b *Builder) WithNewuidmapBin(newuidmapBin string, isSet bool) *Builder
- func (b *Builder) WithStorePath(storePath string, isSet bool) *Builder
- func (b *Builder) WithTardisBin(tardisBin string, isSet bool) *Builder
- func (b *Builder) WithUIDMappings(uidMappings []string) *Builder
- type Clean
- type Config
- type Create
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶ added in v0.7.0
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶ added in v0.7.0
func (*Builder) WithBtrfsBin ¶ added in v0.7.0
func (*Builder) WithCleanThresholdBytes ¶ added in v0.7.0
func (*Builder) WithDiskLimitSizeBytes ¶ added in v0.7.0
func (*Builder) WithDraxBin ¶ added in v0.7.0
func (*Builder) WithExcludeImageFromQuota ¶ added in v0.15.0
func (*Builder) WithFSDriver ¶ added in v0.11.0
func (*Builder) WithGIDMappings ¶ added in v0.7.0
func (*Builder) WithIgnoreBaseImages ¶ added in v0.7.0
func (*Builder) WithInsecureRegistries ¶ added in v0.7.0
func (*Builder) WithLogFile ¶ added in v0.7.0
func (*Builder) WithLogLevel ¶ added in v0.7.0
func (*Builder) WithMetronEndpoint ¶ added in v0.7.0
func (*Builder) WithNewgidmapBin ¶ added in v0.7.0
func (*Builder) WithNewuidmapBin ¶ added in v0.7.0
func (*Builder) WithStorePath ¶ added in v0.7.0
func (*Builder) WithTardisBin ¶ added in v0.16.0
func (*Builder) WithUIDMappings ¶ added in v0.7.0
type Config ¶
type Config struct {
StorePath string `yaml:"store"`
FSDriver string `yaml:"driver"`
DraxBin string `yaml:"drax_bin"`
TardisBin string `yaml:"tardis_bin"`
BtrfsBin string `yaml:"btrfs_bin"`
NewuidmapBin string `yaml:"newuidmap_bin"`
NewgidmapBin string `yaml:"newgidmap_bin"`
MetronEndpoint string `yaml:"metron_endpoint"`
LogLevel string `yaml:"log_level"`
LogFile string `yaml:"log_file"`
Create Create `yaml:"create"`
Clean Clean `yaml:"clean"`
}
type Create ¶ added in v0.15.0
type Create struct {
ExcludeImageFromQuota bool `yaml:"exclude_image_from_quota"`
WithClean bool `yaml:"with_clean"`
WithoutMount bool `yaml:"without_mount"`
Json bool `yaml:"json"`
DiskLimitSizeBytes int64 `yaml:"disk_limit_size_bytes"`
InsecureRegistries []string `yaml:"insecure_registries"`
GIDMappings []string `yaml:"gid_mappings"`
UIDMappings []string `yaml:"uid_mappings"`
}
Click to show internal directories.
Click to hide internal directories.