hipchat

package
v0.0.0-...-9063a3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiNotificationHipchatCommand

type CiNotificationHipchatCommand struct {
	Ui      cli.Ui
	Verbose bool
}

func (*CiNotificationHipchatCommand) Help

func (*CiNotificationHipchatCommand) Run

func (c *CiNotificationHipchatCommand) Run(args []string) int

func (*CiNotificationHipchatCommand) Synopsis

func (c *CiNotificationHipchatCommand) Synopsis() string

type HipChatCard

type HipChatCard struct {
	Style       string              `json:"style,omitempty"`
	Title       string              `json:"title,omitempty"`
	Description *HipChatDescription `json:"description,omitempty"`
	Id          string              `json:"id,omitempty"`
	Url         string              `json:"url,omitempty"`
}

type HipChatConfig

type HipChatConfig struct {
	Room   string
	Server string
	Token  string
}

type HipChatDescription

type HipChatDescription struct {
	Value  int    `json:"value"`
	Format string `json:"format"`
}

type HipChatMessage

type HipChatMessage struct {
	Format  string       `json:"message_format,omitempty"`
	Color   string       `json:"color,omitempty"`
	Notify  bool         `json:"notify,omitempty"`
	Message string       `json:"message"`
	Card    *HipChatCard `json:"card,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL