Versions in this module Expand all Collapse all v1 v1.0.9 Feb 3, 2022 Changes in this version + const DefaultBranch + const DefaultRemote + func ValidateRequest(r *http.Request) error + type Cmd struct + Args []string + Command string + Path string + func (c *Cmd) AddCommand(command []string, path string) + func (c *Cmd) Run(logger *zap.Logger) + type Repo struct + Auth transport.AuthMethod + Branch string + Depth int + Path string + Secret string + Submodule git.SubmoduleRescursivity + URL string + func NewRepo(w *WebHook) *Repo + func (r *Repo) Setup(ctx context.Context) error + func (r *Repo) Update(ctx context.Context) error + type WebHook struct + Branch string + Command []string + Depth string + Key string + KeyPassword string + Password string + Path string + Repository string + Secret string + Submodule bool + Token string + Type string + Username string + func (*WebHook) CaddyModule() caddy.ModuleInfo + func (w *WebHook) Provision(ctx caddy.Context) error + func (w *WebHook) ServeHTTP(rw http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error + func (w *WebHook) UnmarshlCaddyfile(d *caddyfile.Dispenser) error + func (w *WebHook) Validate() error