Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BugzillaRelease ¶
type Credentials ¶
type Credentials struct { Username string `yaml:"username"` Password string `yaml:"password"` APIKey string `yaml:"apiKey"` SlackToken string `yaml:"slackToken"` SlackVerificationToken string `yaml:"slackVerificationToken"` }
func (Credentials) DecodedAPIKey ¶
func (b Credentials) DecodedAPIKey() string
DecodedAPIKey return decoded APIKey (in case it was base64 encoded)
func (Credentials) DecodedPassword ¶
func (b Credentials) DecodedPassword() string
DecodedAPIKey return decoded Password (in case it was base64 encoded)
func (Credentials) DecodedSlackToken ¶
func (b Credentials) DecodedSlackToken() string
func (Credentials) DecodedSlackVerificationToken ¶
func (b Credentials) DecodedSlackVerificationToken() string
func (Credentials) DecodedUsername ¶
func (b Credentials) DecodedUsername() string
DecodedAPIKey return decoded Username (in case it was base64 encoded)
type OperatorConfig ¶
type OperatorConfig struct { Credentials Credentials `yaml:"credentials"` StaleBugComment string `yaml:"staleBugComment"` StaleBugCloseComment string `yaml:"staleBugCloseComment"` Release BugzillaRelease `yaml:"release"` Components []string `yaml:"components"` Groups map[string]Group `yaml:"groups"` // SlackChannel is a channel where the operator will post reports/etc. SlackChannel string `yaml:"slackChannel"` SlackAdminChannel string `yaml:"slackAdminChannel"` CachePath string `yaml:"cachePath"` }
func (*OperatorConfig) Anonymize ¶
func (c *OperatorConfig) Anonymize() OperatorConfig
Anonymize makes a shallow copy of the config, suitable for dumping in logs (no sensitive data)
type Transition ¶
Click to show internal directories.
Click to hide internal directories.