Documentation
¶
Overview ¶
Package container provides dependency injection for the application.
Index ¶
- type Container
- func (c *Container) CheckProfileUseCase() *services.CheckProfileUseCase
- func (c *Container) Logger() *slog.Logger
- func (c *Container) OutputFormatterFactory() ports.OutputFormatterFactory
- func (c *Container) PlanProfileUseCase() *services.PlanProfileUseCase
- func (c *Container) PluginService() *services.PluginService
- func (c *Container) ProfileLoader() ports.ProfileLoader
- func (c *Container) ProfileValidator() ports.ProfileValidator
- func (c *Container) SystemConfig() *system.Config
- func (c *Container) ValidateProfileUseCase() *services.ValidateProfileUseCase
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
// contains filtered or unexported fields
}
Container holds all application dependencies.
func (*Container) CheckProfileUseCase ¶
func (c *Container) CheckProfileUseCase() *services.CheckProfileUseCase
CheckProfileUseCase returns the check profile use case.
func (*Container) OutputFormatterFactory ¶
func (c *Container) OutputFormatterFactory() ports.OutputFormatterFactory
OutputFormatterFactory returns the output formatter factory port.
func (*Container) PlanProfileUseCase ¶
func (c *Container) PlanProfileUseCase() *services.PlanProfileUseCase
PlanProfileUseCase returns the plan profile use case.
func (*Container) PluginService ¶
func (c *Container) PluginService() *services.PluginService
PluginService returns the plugin service.
func (*Container) ProfileLoader ¶
func (c *Container) ProfileLoader() ports.ProfileLoader
ProfileLoader returns the profile loader port.
func (*Container) ProfileValidator ¶
func (c *Container) ProfileValidator() ports.ProfileValidator
ProfileValidator returns the profile validator port.
func (*Container) SystemConfig ¶
SystemConfig returns the system configuration.
func (*Container) ValidateProfileUseCase ¶
func (c *Container) ValidateProfileUseCase() *services.ValidateProfileUseCase
ValidateProfileUseCase returns the validate profile use case.
Click to show internal directories.
Click to hide internal directories.