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) GetGitCmdFactory() git.CommandFactory
- func (dc *Dependencies) GetGitlabClient() gitlab.Client
- func (dc *Dependencies) GetHookManager() gitalyhook.Manager
- func (dc *Dependencies) GetLinguist() *linguist.Instance
- func (dc *Dependencies) GetLocator() storage.Locator
- func (dc *Dependencies) GetRubyServer() *rubyserver.Server
- func (dc *Dependencies) GetTxManager() transaction.Manager
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 }
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) 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) 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) 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.
Click to show internal directories.
Click to hide internal directories.