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: 0

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