container

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 11 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

	// Use cases
	SubmitUseCase   *submit.UseCase
	MetadataUseCase *metadata.UseCase
	AbortUseCase    *abort.UseCase
	QueryUseCase    *query.UseCase
	BundleUseCase   *create.UseCase

	// Handlers
	SubmitHandler    *handler.SubmitHandler
	MetadataHandler  *handler.MetadataHandler
	AbortHandler     *handler.AbortHandler
	QueryHandler     *handler.QueryHandler
	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