Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HipChatAPIVersion is the Atlassian HipChat API Version to utilize.
HipChatAPIVersion = "v1"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HipchatOutput ¶
type HipchatOutput struct {
// contains filtered or unexported fields
}
HipchatOutput maintains high-level configuration options for the plugin.
func (*HipchatOutput) ConfigStruct ¶
func (ho *HipchatOutput) ConfigStruct() interface{}
func (*HipchatOutput) Init ¶
func (ho *HipchatOutput) Init(config interface{}) (err error)
func (*HipchatOutput) Run ¶
func (ho *HipchatOutput) Run(or OutputRunner, h PluginHelper) (err error)
type HipchatOutputConfig ¶
type HipchatOutputConfig struct { // Outputs the payload attribute in the HipChat message vs a full JSON message dump PayloadOnly bool `toml:"payload_only"` // HipChat Authorization token. Notification token is appropriate. AuthToken string `toml:"auth_token"` // Required. ID or name of the room. RoomID string `toml:"room_id"` // Required. Name the message will appear be sent. Must be less than 15 // characters long. May contain letters, numbers, -, _, and spaces. From string // Whether or not this message should trigger a notification for people // in the room (change the tab color, play a sound, etc). // Each recipient's notification preferences are taken into account. // Default is false Notify bool }
HipchatOutputConfig is populated via Heka and TOML configuration files.
Click to show internal directories.
Click to hide internal directories.