Documentation
¶
Index ¶
- type Container
- func (c *Container) GetAgeService() interfaces.AgeService
- func (c *Container) GetBucketService() interfaces.BucketService
- func (c *Container) GetConfig() *config.Config
- func (c *Container) GetCostCalculator() interfaces.CostCalculator
- func (c *Container) GetDryRunService() interfaces.DryRunService
- func (c *Container) GetExportService() interfaces.ExportService
- func (c *Container) GetFilterEngine() interfaces.FilterEngine
- func (c *Container) GetLogger() *logging.Logger
- func (c *Container) GetOutputFormatter() interfaces.OutputFormatter
- func (c *Container) GetPricingClient() *pricing.Client
- func (c *Container) GetS3Client() *s3.Client
- func (c *Container) GetS3ClientWrapper() *aws.S3Client
- func (c *Container) GetSizeService() interfaces.SizeService
- func (c *Container) GetUploadService() interfaces.UploadService
- func (c *Container) SetAgeService(service interfaces.AgeService)
- func (c *Container) SetBucketService(service interfaces.BucketService)
- func (c *Container) SetCostCalculator(calculator interfaces.CostCalculator)
- func (c *Container) SetDryRunService(service interfaces.DryRunService)
- func (c *Container) SetExportService(service interfaces.ExportService)
- func (c *Container) SetFilterEngine(engine interfaces.FilterEngine)
- func (c *Container) SetOutputFormatter(formatter interfaces.OutputFormatter)
- func (c *Container) SetSizeService(service interfaces.SizeService)
- func (c *Container) SetUploadService(service interfaces.UploadService)
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 service dependencies
func NewContainer ¶
NewContainer creates a new dependency injection container
func (*Container) GetAgeService ¶
func (c *Container) GetAgeService() interfaces.AgeService
GetAgeService returns the age service instance
func (*Container) GetBucketService ¶
func (c *Container) GetBucketService() interfaces.BucketService
GetBucketService returns the bucket service instance
func (*Container) GetCostCalculator ¶
func (c *Container) GetCostCalculator() interfaces.CostCalculator
GetCostCalculator returns the cost calculator instance
func (*Container) GetDryRunService ¶
func (c *Container) GetDryRunService() interfaces.DryRunService
GetDryRunService returns the dry-run service instance
func (*Container) GetExportService ¶
func (c *Container) GetExportService() interfaces.ExportService
GetExportService returns the export service instance
func (*Container) GetFilterEngine ¶
func (c *Container) GetFilterEngine() interfaces.FilterEngine
GetFilterEngine returns the filter engine instance
func (*Container) GetOutputFormatter ¶
func (c *Container) GetOutputFormatter() interfaces.OutputFormatter
GetOutputFormatter returns the output formatter instance
func (*Container) GetPricingClient ¶
GetPricingClient returns the Pricing client
func (*Container) GetS3Client ¶
GetS3Client returns the S3 client
func (*Container) GetS3ClientWrapper ¶
GetS3ClientWrapper returns the S3 client wrapper
func (*Container) GetSizeService ¶
func (c *Container) GetSizeService() interfaces.SizeService
GetSizeService returns the size service instance
func (*Container) GetUploadService ¶
func (c *Container) GetUploadService() interfaces.UploadService
GetUploadService returns the upload service instance
func (*Container) SetAgeService ¶
func (c *Container) SetAgeService(service interfaces.AgeService)
SetAgeService sets the age service (for dependency injection)
func (*Container) SetBucketService ¶
func (c *Container) SetBucketService(service interfaces.BucketService)
SetBucketService sets the bucket service (for dependency injection)
func (*Container) SetCostCalculator ¶
func (c *Container) SetCostCalculator(calculator interfaces.CostCalculator)
SetCostCalculator sets the cost calculator (for dependency injection)
func (*Container) SetDryRunService ¶
func (c *Container) SetDryRunService(service interfaces.DryRunService)
SetDryRunService sets the dry-run service (for dependency injection)
func (*Container) SetExportService ¶
func (c *Container) SetExportService(service interfaces.ExportService)
SetExportService sets the export service (for dependency injection)
func (*Container) SetFilterEngine ¶
func (c *Container) SetFilterEngine(engine interfaces.FilterEngine)
SetFilterEngine sets the filter engine (for dependency injection)
func (*Container) SetOutputFormatter ¶
func (c *Container) SetOutputFormatter(formatter interfaces.OutputFormatter)
SetOutputFormatter sets the output formatter (for dependency injection)
func (*Container) SetSizeService ¶
func (c *Container) SetSizeService(service interfaces.SizeService)
SetSizeService sets the size service (for dependency injection)
func (*Container) SetUploadService ¶
func (c *Container) SetUploadService(service interfaces.UploadService)
SetUploadService sets the upload service (for dependency injection)