Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseEnvVariableHookFunc ¶
func ParseEnvVariableHookFunc() mapstructure.DecodeHookFunc
func ToDurationHookFunc ¶
func ToDurationHookFunc() mapstructure.DecodeHookFunc
Types ¶
type Config ¶
type Config struct { System SystemConfig `json:"system" yaml:"system"` Services ServicesConfig `json:"services" yaml:"services"` }
type DynamicConfig ¶
func (DynamicConfig) Bind ¶
func (config DynamicConfig) Bind(to any) error
func (DynamicConfig) Kind ¶
func (config DynamicConfig) Kind() string
type ServicesConfig ¶
type ServicesConfig struct { Scheduler DynamicConfig `yaml:"scheduler"` Processor DynamicConfig `yaml:"processor"` Discovery DynamicConfig `yaml:"discovery"` HttpServer DynamicConfig `yaml:"http_api"` Status DynamicConfig `yaml:"status"` }
type SystemConfig ¶
type SystemConfig struct { Tasks DynamicConfig `json:"tasks" yaml:"tasks"` Resources DynamicConfig `json:"resources" yaml:"resources"` Events DynamicConfig `json:"events" yaml:"events"` }
Click to show internal directories.
Click to hide internal directories.