Documentation ¶
Index ¶
- type Dependencies
- func (dc *Dependencies) GetBackchannelRegistry() *backchannel.Registry
- func (dc *Dependencies) GetCatfileCache() catfile.Cache
- func (dc *Dependencies) GetCfg() config.Cfg
- func (dc *Dependencies) GetConnsPool() *client.Pool
- func (dc *Dependencies) GetDiskCache() cache.Cache
- func (dc *Dependencies) GetGit2goExecutor() *git2go.Executor
- func (dc *Dependencies) GetGitCmdFactory() git.CommandFactory
- func (dc *Dependencies) GetGitlabClient() gitlab.Client
- func (dc *Dependencies) GetHookManager() gitalyhook.Manager
- func (dc *Dependencies) GetHousekeepingManager() housekeeping.Manager
- func (dc *Dependencies) GetLimitHandler() *limithandler.LimiterMiddleware
- func (dc *Dependencies) GetLinguist() *linguist.Instance
- func (dc *Dependencies) GetLocator() storage.Locator
- func (dc *Dependencies) GetPackObjectsCache() streamcache.Cache
- func (dc *Dependencies) GetRubyServer() *rubyserver.Server
- func (dc *Dependencies) GetTxManager() transaction.Manager
- func (dc *Dependencies) GetUpdaterWithHooks() *updateref.UpdaterWithHooks
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { Cfg config.Cfg RubyServer *rubyserver.Server GitalyHookManager gitalyhook.Manager TransactionManager transaction.Manager StorageLocator storage.Locator ClientPool *client.Pool GitCmdFactory git.CommandFactory Linguist *linguist.Instance BackchannelRegistry *backchannel.Registry GitlabClient gitlab.Client CatfileCache catfile.Cache DiskCache cache.Cache PackObjectsCache streamcache.Cache LimitHandler *limithandler.LimiterMiddleware Git2goExecutor *git2go.Executor UpdaterWithHooks *updateref.UpdaterWithHooks HousekeepingManager housekeeping.Manager }
Dependencies assembles set of components required by different kinds of services.
func (*Dependencies) GetBackchannelRegistry ¶
func (dc *Dependencies) GetBackchannelRegistry() *backchannel.Registry
GetBackchannelRegistry returns a registry of the backchannels.
func (*Dependencies) GetCatfileCache ¶
func (dc *Dependencies) GetCatfileCache() catfile.Cache
GetCatfileCache returns catfile cache.
func (*Dependencies) GetCfg ¶
func (dc *Dependencies) GetCfg() config.Cfg
GetCfg returns service configuration.
func (*Dependencies) GetConnsPool ¶
func (dc *Dependencies) GetConnsPool() *client.Pool
GetConnsPool returns gRPC connection pool.
func (*Dependencies) GetDiskCache ¶
func (dc *Dependencies) GetDiskCache() cache.Cache
GetDiskCache returns the disk cache.
func (*Dependencies) GetGit2goExecutor ¶ added in v14.8.0
func (dc *Dependencies) GetGit2goExecutor() *git2go.Executor
GetGit2goExecutor returns the git2go executor.
func (*Dependencies) GetGitCmdFactory ¶
func (dc *Dependencies) GetGitCmdFactory() git.CommandFactory
GetGitCmdFactory returns git commands factory.
func (*Dependencies) GetGitlabClient ¶
func (dc *Dependencies) GetGitlabClient() gitlab.Client
GetGitlabClient returns client to access GitLab API.
func (*Dependencies) GetHookManager ¶
func (dc *Dependencies) GetHookManager() gitalyhook.Manager
GetHookManager returns hook manager.
func (*Dependencies) GetHousekeepingManager ¶ added in v14.9.0
func (dc *Dependencies) GetHousekeepingManager() housekeeping.Manager
GetHousekeepingManager returns the housekeeping manager.
func (*Dependencies) GetLimitHandler ¶ added in v14.7.0
func (dc *Dependencies) GetLimitHandler() *limithandler.LimiterMiddleware
GetLimitHandler returns the RPC limit handler.
func (*Dependencies) GetLinguist ¶
func (dc *Dependencies) GetLinguist() *linguist.Instance
GetLinguist returns linguist.
func (*Dependencies) GetLocator ¶
func (dc *Dependencies) GetLocator() storage.Locator
GetLocator returns storage locator.
func (*Dependencies) GetPackObjectsCache ¶ added in v14.2.0
func (dc *Dependencies) GetPackObjectsCache() streamcache.Cache
GetPackObjectsCache returns the pack-objects cache.
func (*Dependencies) GetRubyServer ¶
func (dc *Dependencies) GetRubyServer() *rubyserver.Server
GetRubyServer returns client for the ruby processes.
func (*Dependencies) GetTxManager ¶
func (dc *Dependencies) GetTxManager() transaction.Manager
GetTxManager returns transaction manager.
func (*Dependencies) GetUpdaterWithHooks ¶ added in v14.8.0
func (dc *Dependencies) GetUpdaterWithHooks() *updateref.UpdaterWithHooks
GetUpdaterWithHooks returns the updater with hooks executor.