Documentation ¶
Index ¶
Constants ¶
View Source
const ( BeskarYumConfigFile = "beskar-yum.yaml" DefaultBeskarYumDataDir = "/tmp/beskar-yum" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeskarYumConfig ¶
type BeskarYumConfig struct { Version string `yaml:"version"` Log log.Config `yaml:"log"` Addr string `yaml:"addr"` Gossip gossip.Config `yaml:"gossip"` Storage storage.Config `yaml:"storage"` Profiling bool `yaml:"profiling"` DataDir string `yaml:"datadir"` ConfigDirectory string `yaml:"-"` }
func ParseBeskarYumConfig ¶
func ParseBeskarYumConfig(dir string) (*BeskarYumConfig, error)
func (BeskarYumConfig) ListenIP ¶
func (bc BeskarYumConfig) ListenIP() (string, error)
func (BeskarYumConfig) ListenPort ¶
func (bc BeskarYumConfig) ListenPort() (string, error)
type BeskarYumConfigV1 ¶
type BeskarYumConfigV1 BeskarYumConfig
Click to show internal directories.
Click to hide internal directories.