Versions in this module Expand all Collapse all v0 v0.4.0 Jan 27, 2017 Changes in this version + func LoadFromApplicationByID(db database.Querier, applicationID int64) (string, *sdk.RepositoriesManager, error) + func ReceiveEvents() v0.3.0 Jan 12, 2017 Changes in this version + func AuthorizedClient(db database.Querier, projectKey, rmName string) (sdk.RepositoriesManagerClient, error) + func CheckApplicationIsAttached(db database.Querier, rmName, projectKey, applicationName string) (bool, error) + func DeleteForApplication(db database.QueryExecuter, projectKey string, app *sdk.Application) error + func DeleteForProject(db database.QueryExecuter, rm *sdk.RepositoriesManager, project *sdk.Project) error + func Initialize(secretClient secretbackend.Driver, keysDirectory, uiBaseURL, apiBaseURL string) error + func Insert(db *sql.DB, rm *sdk.RepositoriesManager) error + func InsertForApplication(db database.QueryExecuter, app *sdk.Application, projectKey string) error + func InsertForProject(db database.QueryExecuter, rm *sdk.RepositoriesManager, projectKey string) (time.Time, error) + func LoadAll(db *sql.DB) ([]sdk.RepositoriesManager, error) + func LoadAllForProject(db *sql.DB, projectkey string) ([]sdk.RepositoriesManager, error) + func LoadByID(db *sql.DB, id int64) (*sdk.RepositoriesManager, error) + func LoadByName(db database.Querier, repositoriesManagerName string) (*sdk.RepositoriesManager, error) + func LoadForProject(db database.Querier, projectkey, repositoriesManagerName string) (*sdk.RepositoriesManager, error) + func New(t sdk.RepositoriesManagerType, id int64, name, URL string, ...) (*sdk.RepositoriesManager, error) + func RepositoriesCacheLoader(delay int) + func SaveDataForProject(db *sql.DB, rm *sdk.RepositoriesManager, projectKey string, ...) error + func Update(db *sql.DB, rm *sdk.RepositoriesManager) error