config

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigDir = "/etc/beskar"
	BeskarConfigFile = "beskar.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BeskarConfig

type BeskarConfig struct {
	Version   string                       `yaml:"version"`
	Profiling bool                         `yaml:"profiling"`
	Hostname  string                       `yaml:"hostname"`
	Cache     Cache                        `yaml:"cache"`
	Gossip    gossip.Config                `yaml:"gossip"`
	Registry  *configuration.Configuration `yaml:"registry"`
}

func ParseBeskarConfig

func ParseBeskarConfig(dir string) (*BeskarConfig, error)

type BeskarConfigV1

type BeskarConfigV1 BeskarConfig

type Cache

type Cache struct {
	Addr string `yaml:"addr"`
	Size uint32 `yaml:"size"`
}

Jump to

Keyboard shortcuts

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