flowdock

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: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BUILD_PENDING   = 0
	BUILD_SUCCESS   = 1
	BUILD_RUNNING   = 2
	BUILD_FAILED    = 3
	BUILD_CANCELLED = 4
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CiFlowdockMessageCommand

type CiFlowdockMessageCommand struct {
	Ui      cli.Ui
	Verbose bool
}

func (*CiFlowdockMessageCommand) Help

func (c *CiFlowdockMessageCommand) Help() string

func (*CiFlowdockMessageCommand) Run

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

func (*CiFlowdockMessageCommand) Synopsis

func (c *CiFlowdockMessageCommand) Synopsis() string

type CiFlowdockStatusCommand

type CiFlowdockStatusCommand struct {
	Ui           cli.Ui
	Verbose      bool
	Last         bool
	BuildRef     string
	BuildName    string
	BuildRefName string
	Project      string
}

func (*CiFlowdockStatusCommand) Help

func (c *CiFlowdockStatusCommand) Help() string

func (*CiFlowdockStatusCommand) Run

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

func (*CiFlowdockStatusCommand) Synopsis

func (c *CiFlowdockStatusCommand) Synopsis() string

type FlowdockAuthor

type FlowdockAuthor struct {
	Name   string `json:"name"`
	Avatar string `json:"avatar"`
	Email  string `json:"email"`
}

type FlowdockConfig

type FlowdockConfig struct {
	Organization string
	Flow         string
	Server       string
	Token        string
}

type FlowdockField

type FlowdockField struct {
	Label string `json:"label"`
	Value string `json:"value"`
}

type FlowdockMessage

type FlowdockMessage struct {
	Event      string          `json:"event"`
	Content    string          `json:"content,omitempty"`
	Message    string          `json:"message,omitempty"`
	Title      string          `json:"title,omitempty"`
	Username   string          `json:"external_user_name,omitempty"`
	ExternalId string          `json:"external_thread_id,omitempty"`
	Token      string          `json:"flow_token,omitempty"`
	Flow       string          `json:"flow,omitempty"`
	Parent     string          `json:"parent,omitempty"`
	Uuid       string          `json:"uuid,omitempty"`
	ThreadId   string          `json:"thread_id,omitempty"`
	Thread     *FlowdockThread `json:"thread,omitempty"`
	Author     *FlowdockAuthor `json:"author,omitempty"`
}

type FlowdockThread

type FlowdockThread struct {
	Title       string                `json:"title"`
	Body        string                `json:"body"`
	ExternalUrl string                `json:"external_url"`
	Status      *FlowdockThreadStatus `json:"status"`
	Fields      []*FlowdockField      `json:"fields"`
}

type FlowdockThreadStatus

type FlowdockThreadStatus struct {
	Color string `json:"color"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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