poller

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: BSD-3-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAllPollers

func DeleteAllPollers(db database.Executer, appID int64) error

DeleteAllPollers Delete all the poller of the given application

func DeletePoller

func DeletePoller(db database.Executer, poller *sdk.RepositoryPoller) error

DeletePoller delete a poller from DB

func InsertPoller

func InsertPoller(db database.Executer, poller *sdk.RepositoryPoller) error

InsertPoller insert or update a new poller in DB

func LoadEnabledPollers

func LoadEnabledPollers(db database.Querier) ([]sdk.RepositoryPoller, error)

LoadEnabledPollers load all RepositoryPoller

func LoadEnabledPollersByProject

func LoadEnabledPollersByProject(db database.Querier, projKey string) ([]sdk.RepositoryPoller, error)

LoadEnabledPollersByProject load all RepositoryPoller for a project

func LoadPollerByApplicationAndPipeline

func LoadPollerByApplicationAndPipeline(db database.Querier, applicationID, pipelineID int64) (*sdk.RepositoryPoller, error)

LoadPollerByApplicationAndPipeline loads all pollers for an application/pipeline

func LoadPollersByApplication

func LoadPollersByApplication(db database.Querier, applicationID int64) ([]sdk.RepositoryPoller, error)

LoadPollersByApplication loads all pollers for an application

func UpdatePoller

func UpdatePoller(db database.Executer, poller *sdk.RepositoryPoller) error

UpdatePoller update the poller

Types

This section is empty.

Jump to

Keyboard shortcuts

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