container

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package container provides dependency injection container.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Config    *config.Config
	Presenter *presenter.Presenter

	// Infrastructure
	CromwellClient   *cromwell.Client
	TelemetryService telemetry.Service
	CloudLoggingRepo *cloudlogging.CloudLoggingRepository

	// Use cases
	SubmitUseCase     *workflow.SubmitUseCase
	MetadataUseCase   *workflow.MetadataUseCase
	AbortUseCase      *workflow.AbortUseCase
	QueryUseCase      *workflow.QueryUseCase
	OutputsUseCase    *workflow.OutputsUseCase
	InputsUseCase     *workflow.InputsUseCase
	MonitoringUseCase *workflow.MonitoringUseCase
	BatchLogsUseCase  *workflow.GetBatchLogsUseCase
	BundleUseCase     *bundle.BundleUseCase

	// Handlers
	SubmitHandler    *handler.SubmitHandler
	MetadataHandler  *handler.MetadataHandler
	AbortHandler     *handler.AbortHandler
	QueryHandler     *handler.QueryHandler
	OutputsHandler   *handler.OutputsHandler
	InputsHandler    *handler.InputsHandler
	BundleHandler    *handler.BundleHandler
	DebugHandler     *handler.DebugHandler
	DashboardHandler *handler.DashboardHandler
	ChatHandler      *handler.ChatHandler
	ConfigHandler    *handler.ConfigHandler
}

Container holds all application dependencies.

func New

func New(cfg *config.Config, version string) *Container

New creates a new dependency injection container.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL