Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { LogLevel string `yaml:"logLevel"` UpdateInterval int `yaml:"updateInterval"` Todoist struct { Token string `yaml:"token"` NextActionLabel string `yaml:"nextActionLabel"` AssignProjectLabel bool `yaml:"assignProjectLabel"` AssignNextActionLabel bool `yaml:"assignNextActionLabel"` ParentProjectName string `yaml:"parentProjectName"` ProjectsLabelPrefix string `yaml:"projectsLabelPrefix"` } `yaml:"todoist"` Jira []JiraConfig `yaml:"jira"` // contains filtered or unexported fields }
func GetConfiguration ¶
func GetConfiguration() Config
type JiraConfig ¶
type JiraConfig struct { Site string `yaml:"site"` Username string `yaml:"username"` Token string `yaml:"token"` JQL string `yaml:"jql"` Labels []string `yaml:"labels"` CompletionStatuses []string `yaml:"completionStatuses"` Project string `yaml:"project"` SyncJiraLabels bool `yaml:"syncJiraLabels"` SyncJiraComponents bool `yaml:"syncJiraComponents"` PriorityMap map[string][]string `yaml:"priorityMap"` }
Click to show internal directories.
Click to hide internal directories.