Documentation ¶
Index ¶
- func BugzillaToSlackEmail(originalEmail string) string
- func NewRecorder(client ChannelClient, component string) events.Recorder
- type ChannelClient
- type Recorder
- func (r *Recorder) ComponentName() string
- func (r *Recorder) Event(reason, message string)
- func (r *Recorder) Eventf(reason, messageFmt string, args ...interface{})
- func (r *Recorder) ForComponent(componentName string) events.Recorder
- func (r *Recorder) Shutdown()
- func (r *Recorder) Warning(reason, message string)
- func (r *Recorder) Warningf(reason, messageFmt string, args ...interface{})
- func (r *Recorder) WithComponentSuffix(componentNameSuffix string) events.Recorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BugzillaToSlackEmail ¶
func NewRecorder ¶
func NewRecorder(client ChannelClient, component string) events.Recorder
Types ¶
type ChannelClient ¶
type ChannelClient interface { MessageChannel(message string) error MessageEmail(email, message string) error }
func NewChannelClient ¶
func NewChannelClient(client *slack.Client, channel string, debug bool) ChannelClient
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func (*Recorder) ComponentName ¶
func (*Recorder) ForComponent ¶
Click to show internal directories.
Click to hide internal directories.