github

package
v0.0.0-...-edfd98a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GithubImplementation      event.ImplementationType = "GitHub"
	LoopIterationSleepSeconds                          = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBrokerImplementation

type EventBrokerImplementation struct {
	Owner string
	Repo  string
	Path  string
	// contains filtered or unexported fields
}

func (*EventBrokerImplementation) Auth

func (b *EventBrokerImplementation) Auth() error

func (*EventBrokerImplementation) ConcurrentWatch

func (b *EventBrokerImplementation) ConcurrentWatch(queue *event.Queue) chan error

ConcurrentWatch will watch a directory and send an event for each file in the directory, and when a new file is created.

type EventImplementation

type EventImplementation struct {
	Name               string
	KindValue          event.EventKind
	ImplementationType event.ImplementationType
	Authors            map[string]string
	FileName           string
}

func (*EventImplementation) Kind

func (*EventImplementation) Type

Jump to

Keyboard shortcuts

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