container

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

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
}

func New

func New(opts ...Option) (*Container, error)

func (*Container) GetBlender

func (c *Container) GetBlender() (rbtypes.Blender, error)

func (*Container) GetCatalog

func (c *Container) GetCatalog() (types.Catalog, error)

func (*Container) GetConfigurator

func (c *Container) GetConfigurator() (types.Configurator, error)

func (*Container) GetDispatcher

func (c *Container) GetDispatcher() (types.Dispatcher, error)

func (*Container) GetLogger

func (c *Container) GetLogger() (types.Logger, error)

func (*Container) GetOperator

func (c *Container) GetOperator() (types.Operator, error)

func (*Container) GetPortfolio

func (c *Container) GetPortfolio() (types.Portfolio, error)

func (*Container) GetRBConfigurator

func (c *Container) GetRBConfigurator() (rbtypes.Configurator, error)

func (*Container) GetRBDriver

func (c *Container) GetRBDriver() (rbtypes.Driver, error)

func (*Container) GetStore

func (c *Container) GetStore() (types.Store, error)

func (*Container) GetTracker

func (c *Container) GetTracker() (types.Tracker, error)

func (*Container) GetValidator

func (c *Container) GetValidator() (types.Validator, error)

type Option

type Option func(*Options)

func WithApplicationName

func WithApplicationName(name string) Option

func WithDevelopmentMode

func WithDevelopmentMode(development bool) Option

func WithLogger

func WithLogger(logger types.Logger) Option

func WithValidator

func WithValidator(validator types.Validator) Option

type Options

type Options struct {
	Logger          types.Logger
	Validator       types.Validator
	ApplicationName string
	Development     bool
	WatcherDebounce time.Duration
}

Jump to

Keyboard shortcuts

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