Documentation
¶
Overview ¶
Package worker contains the core of the autodeb worker. It creates all dependencies injects them at the right place.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ServerURL string `toml:"server_url"`
AccessToken string `toml:"access_token"`
WorkingDirectory string `toml:"working_directory"`
LogLevel log.Level `toml:"log_level"`
RunnerCount int `toml:"runner_count"`
}
Config contains configuration for Worker
func ParseConfig ¶ added in v0.9.0
func ParseConfig(filepath string, fs filesystem.FS) (*Config, error)
ParseConfig parses a configuration file to create a worker config
Click to show internal directories.
Click to hide internal directories.