Documentation ¶
Index ¶
- type Config
- type RepoVersion
- type Source
- func (g Source) AddRepoRelease(r RepoVersion)
- func (g Source) EventProcessor(events <-chan hook.Event)
- func (g Source) Name() string
- func (g Source) RateHandler(w http.ResponseWriter, r *http.Request)
- func (g Source) RateLimit() int
- func (g Source) Sync() error
- func (g Source) SyncInterval() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoVersion ¶
type Source ¶
type Source struct { Conf Config // contains filtered or unexported fields }
func (Source) AddRepoRelease ¶
func (g Source) AddRepoRelease(r RepoVersion)
Process Repo Release manages adding a release to the universe cache
func (Source) EventProcessor ¶
eventProcessor runs the loop for watching github events and tossing them over to universe
func (Source) RateHandler ¶
func (g Source) RateHandler(w http.ResponseWriter, r *http.Request)
func (Source) SyncInterval ¶
Click to show internal directories.
Click to hide internal directories.