Documentation ¶
Overview ¶
Package configutil handles application configuration and location and loading of various mapping files.
Introduce new config location at /etc/span/assets/..., load data from file, not from the binary itself (get rid of go-bindata).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { GitLabCloneDir string `yaml:"gitlab.clonedir" env:"SPAN_GITLAB_CLONEDIR" env-default:"/tmp/span-webhookd-clone"` GitLabToken string `yaml:"gitlab.token" env:"SPAN_GITLAB_TOKEN"` RedmineToken string `yaml:"redmine.token" env:"SPAN_REDMINE_TOKEN"` RedmineURL string `yaml:"redmine.url" env:"SPAN_REDMINE_URL"` WebhookdHostPort string `yaml:"webhookd.listen" env:"SPAN_WEBHOOKD_LISTEN" env-default:"0.0.0.0:8080"` WebhookdLogfile string `yaml:"webhookd.logfile" env:"SPAN_WEBHOOKD_LOGFILE"` WebhookdPath string `yaml:"webhookd.path" env:"SPAN_WEBHOOKD_PATH" env-default:"trigger"` WhatIsLiveURL string `yaml:"whatislive.url" env:"SPAN_WHATISLIVE_URL"` }
Config is application configuration of span and its subcommands.
Click to show internal directories.
Click to hide internal directories.