Versions in this module Expand all Collapse all v0 v0.5.0 Nov 22, 2021 v0.4.0 Sep 22, 2020 Changes in this version + var DefaultHmacAuthConfig = HmacAuthConfig + func DefaultHmacAuthValidator(payload []byte, secret string, signature string, c echo.Context) (bool, error) + func HmacAuth(secret string) echo.MiddlewareFunc + func HmacAuthWithConfig(config HmacAuthConfig) echo.MiddlewareFunc + func StartServer(cfgfile string) + type Build struct + Enddate time.Time + ID string + Logfile string + Queue string + Startdate time.Time + Status string + func (b *Build) LogfileContent() string + func (b *Build) Runtime() string + type Config struct + DefaultQueues []string + Logdir string + Notification struct{ ... } + Queues []Queue + Server struct{ ... } + Staticdir string + Tmpldir string + Webhook struct{ ... } + Workdir string + type Controller struct + func (c *Controller) Serve() + type GitPushEventData struct + Branch string + Commits []struct{ ... } + Repository struct{ ... } + func (d *GitPushEventData) ShortBranch() string + type HmacAuthConfig struct + Secret string + Skipper middleware.Skipper + Validator HmacAuthValidator + type HmacAuthValidator func([]byte, string, string, echo.Context) (bool, error) + type Job struct + BaseURL string + Build map[string]*Build + CommitIdx int + Enddate time.Time + ID string + Nonce string + Port string + PushEvent GitPushEventData + Startdate time.Time + func (j *Job) EndDate() string + func (j *Job) JobRuntime() string + func (j *Job) Progress() int + func (j *Job) ShortCommitID() string + func (j *Job) ShortCommitMessage() string + func (j *Job) StartDate() string + func (j *Job) StatusOverall() string + func (j *Job) TimeNow() string + type Jobs struct + Filter string + Jobs []Job + Nonce string + type Queue struct + Environment map[string]string + Name string + PathMatch string + Queue chan *Job + Recipe string + Workdir string + type Template struct + func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error