Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2019 Changes in this version + type Event struct + Action string + Branch string + Repository string + func (e *Event) String() string + type FileSystem struct + Logger *log.Entry + func NewNeuteredFileSystem(fs http.FileSystem, logger *log.Entry) FileSystem + func (nfs FileSystem) Open(path string) (http.File, error) + type GitSync struct + Branch string + Destination string + EventChannel chan Event + KeyPath string + KnownHostsVerification bool + Logger *log.Entry + Path string + RepositoryURL string + func (gs *GitSync) Clone(ctx context.Context) error + func (gs *GitSync) Pull(ctx context.Context, path string) error + func (gs *GitSync) Start() error + type Webhook struct + ContentType string + Logger *log.Entry + Method string + PayloadTemplate string + URL string + func (w *Webhook) Send(e *Event) error + func (w *Webhook) Start(ch chan Event)