Documentation ¶
Index ¶
Constants ¶
View Source
const ENV_VAR = "CONFIG"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtlassianConfig ¶
type Config ¶
type Config struct { State StateConfig `json:"state"` Atlassian AtlassianConfig `json:"atlassian"` Slack SlackConfig `json:"slack"` Triggers []*MessageTrigger `json:"triggers"` CustomJiraFields []CustomJiraFieldConfig `json:"custom_jira_fields"` ResourceStorage ResourceStorageConfig `json:"resource_storage"` }
func LoadConfigEnv ¶
type CustomJiraFieldConfig ¶
type MessageTrigger ¶
type MessageTrigger struct { SlackChannel string `json:"slack_channel"` Match map[string]string `json:"match"` // contains filtered or unexported fields }
func (MessageTrigger) GetCompiledMatches ¶
func (mt MessageTrigger) GetCompiledMatches() map[string]*regexp.Regexp
type ResourceStorageConfig ¶
type SlackConfig ¶
type StateConfig ¶
Click to show internal directories.
Click to hide internal directories.