Documentation
¶
Index ¶
- type Services
- func (s *Services) GetAuth() interfaces.AuthService
- func (s *Services) GetCache() interfaces.CacheService
- func (s *Services) GetDatabase() interfaces.DatabaseService
- func (s *Services) GetExecution() interfaces.ExecutionService
- func (s *Services) GetFile() interfaces.FileService
- func (s *Services) GetMetrics() interfaces.MetricsService
- func (s *Services) GetSandbox() interfaces.SandboxService
- func (s *Services) GetWarmPool() interfaces.WarmPoolService
- func (s *Services) Start() error
- func (s *Services) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Services ¶
type Services struct {
Auth interfaces.AuthService
Database interfaces.DatabaseService
Cache interfaces.CacheService
Execution interfaces.ExecutionService
File interfaces.FileService
Metrics interfaces.MetricsService
Sandbox interfaces.SandboxService
WarmPool interfaces.WarmPoolService
}
Services holds all application services
func New ¶
func New(cfg *config.Config, log *logger.Logger, k8sClient interfaces.KubernetesClient) (*Services, error)
New creates and initializes all services
func (*Services) GetAuth ¶
func (s *Services) GetAuth() interfaces.AuthService
GetAuth returns the auth service
func (*Services) GetCache ¶
func (s *Services) GetCache() interfaces.CacheService
GetCache returns the cache service
func (*Services) GetDatabase ¶
func (s *Services) GetDatabase() interfaces.DatabaseService
GetDatabase returns the database service
func (*Services) GetExecution ¶
func (s *Services) GetExecution() interfaces.ExecutionService
GetExecution returns the execution service
func (*Services) GetFile ¶
func (s *Services) GetFile() interfaces.FileService
GetFile returns the file service
func (*Services) GetMetrics ¶
func (s *Services) GetMetrics() interfaces.MetricsService
GetMetrics returns the metrics service
func (*Services) GetSandbox ¶
func (s *Services) GetSandbox() interfaces.SandboxService
GetSandbox returns the sandbox service
func (*Services) GetWarmPool ¶
func (s *Services) GetWarmPool() interfaces.WarmPoolService
GetWarmPool returns the warm pool service
Click to show internal directories.
Click to hide internal directories.