metabaseconfig

package
v0.53.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PermDefault is the default permission bits for metabase file.
	PermDefault = 0o640
	// SearchIterationLimitDefault is the default limit for the number of iterations without finding a match in search.
	SearchIterationLimitDefault = 10000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metabase added in v0.46.0

type Metabase struct {
	Path                 string        `mapstructure:"path"`
	Perm                 fs.FileMode   `mapstructure:"perm"`
	MaxBatchSize         internal.Size `mapstructure:"max_batch_size"`
	MaxBatchDelay        time.Duration `mapstructure:"max_batch_delay"`
	SearchIterationLimit *int          `mapstructure:"search_iteration_limit"`
}

Metabase contains configuration for a metabase.

func (*Metabase) Normalize added in v0.46.0

func (m *Metabase) Normalize(def Metabase)

Normalize metabase configuration by filling in default values.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL