Documentation ¶
Index ¶
Constants ¶
View Source
const (
DockerIgnore = `.git
.gitignore
`
)
View Source
const (
ExecTimeout = 15 * time.Minute
)
Variables ¶
View Source
var (
MongoDBSessionMissing = errors.New("no MongoDB session information was provided")
)
Functions ¶
Types ¶
type Attatchment ¶
type Attatchment struct { Fallback string `json:"fallback"` Color string `json:"color"` Pretext string `json:"pretext"` AuthorName string `json:"author_name"` AuthorIcon string `json:"author_icon"` Title string `json:"title"` TitleLink string `json:"title_link"` Text string `json:"text"` MarkdownIn []string `json:"mrkdwn_in"` Fields []*Field `json:"fields"` }
func NewAttatchment ¶
func NewAttatchment() *Attatchment
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func (*Builder) ServeBuilds ¶
func (b *Builder) ServeBuilds(w http.ResponseWriter, r *http.Request)
func (*Builder) ServeWebhook ¶
func (b *Builder) ServeWebhook(w http.ResponseWriter, r *http.Request)
type BuilderError ¶
type BuilderError struct {
// contains filtered or unexported fields
}
func (BuilderError) Error ¶
func (b BuilderError) Error() string
type ExecError ¶
func NewExecError ¶
func (ExecError) Attatchment ¶
func (e ExecError) Attatchment() *Attatchment
type Message ¶
type Message struct { Text string `json:"text"` Attatchments []*Attatchment `json:"attachments"` }
func NewMessage ¶
func NewMessage() *Message
func (*Message) Attatch ¶
func (m *Message) Attatch(attatchment *Attatchment)
Click to show internal directories.
Click to hide internal directories.