Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var V *viper.Viper
Functions ¶
func LoadConfigFile ¶ added in v0.4.0
Types ¶
type Config ¶ added in v0.4.0
type Config struct {
PORT string `mapstructure:"PORT"`
DB_URL string `mapstructure:"DB_URL"`
MODE string `mapstructure:"MODE"`
JIRA_ENDPOINT string `mapstructure:"JIRA_ENDPOINT"`
JIRA_BASIC_AUTH_ENCODED string `mapstructure:"JIRA_BASIC_AUTH_ENCODED"`
JIRA_ISSUE_EPIC_KEY_FIELD string `mapstructure:"JIRA_ISSUE_EPIC_KEY_FIELD"`
JIRA_WORKLOAD_COEFFICIENT string `mapstructure:"JIRA_WORKLOAD_COEFFICIENT"`
JIRA_ISSUE_WORKLOAD_FIELD string `mapstructure:"JIRA_ISSUE_WORKLOAD_FIELD"`
JIRA_BOARD_GITLAB_PROJECTS string `mapstructure:"JIRA_BOARD_GITLAB_PROJECTS"`
JIRA_ISSUE_BUG_STATUS_MAPPING string `mapstructure:"JIRA_ISSUE_BUG_STATUS_MAPPING"`
JIRA_ISSUE_INCIDENT_STATUS_MAPPING string `mapstructure:"JIRA_ISSUE_INCIDENT_STATUS_MAPPING"`
JIRA_ISSUE_STORY_STATUS_MAPPING string `mapstructure:"JIRA_ISSUE_STORY_STATUS_MAPPING"`
JIRA_ISSUE_TYPE_MAPPING string `mapstructure:"JIRA_ISSUE_TYPE_MAPPING"`
GITLAB_ENDPOINT string `mapstructure:"GITLAB_ENDPOINT"`
GITLAB_AUTH string `mapstructure:"GITLAB_AUTH"`
GITHUB_ENDPOINT string `mapstructure:"GITHUB_ENDPOINT"`
GITHUB_AUTH string `mapstructure:"GITHUB_AUTH"`
GITHUB_PROXY string `mapstructure:"GITHUB_PROXY"`
JENKINS_ENDPOINT string `mapstructure:"JENKINS_ENDPOINT"`
JENKINS_USERNAME string `mapstructure:"JENKINS_USERNAME"`
JENKINS_PASSWORD string `mapstructure:"JENKINS_PASSWORD"`
}
func GetConfigJson ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.