Versions in this module Expand all Collapse all v0 v0.1.2 May 13, 2024 Changes in this version type CompressionFormat + const Zstd + func AllCompressionFormats() []CompressionFormat v0.1.1 Jan 23, 2022 v0.1.0 Jan 22, 2022 Changes in this version + const ExtensionRegex + var SampleConfig string + type Compression struct + Format CompressionFormat + Level *int + func NewSpecWithLevel(format CompressionFormat, level int) Compression + func (spec Compression) Equal(other Compression) bool + func (spec Compression) Equals(other Compression) bool + func (spec Compression) LevelActual() int + func (spec Compression) NewReader(r io.Reader) (io.ReadCloser, error) + func (spec Compression) NewWriter(w io.Writer) io.WriteCloser + type CompressionFormat int + const Gzip + const Xz + func NewFormatFromExtension(extension string) (CompressionFormat, bool) + func NewFormatFromId(id string) (CompressionFormat, bool) + func (format *CompressionFormat) Extension() string + func (format *CompressionFormat) String() string + func (format *CompressionFormat) UnmarshalYAML(unmarshal func(interface{}) error) error + func (format CompressionFormat) MarshalYAML() (interface{}, error) + type Config struct + DisableMerging bool + Feeds []Feed + LogLevel string + ObjectStorage []ObjectStorage + PacksPerHour int + Port int + Secrets []string + Sync bool + UploadsPerHour int + WorkspacePath string + func NewConfig(b []byte) (*Config, error) + func NewConfigWithDefaults() *Config + func (c *Config) LogLevelParsed() logrus.Level + func (c *Config) String() string + type Feed struct + Compression Compression + Headers map[string]string + ID string + Periodicity time.Duration + Postfix string + URL string + UserPrefix *string + func (f *Feed) Prefix() string + type ObjectStorage struct + AccessKey string + BucketName string + Endpoint string + Insecure bool + Prefix string + SecretKey string