container

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContainer

func NewContainer(opts ...Option) component.Container

Types

type EngineError added in v0.2.20

type EngineError struct {
	Op       string
	Category component.Category
	Scope    component.Scope
	Name     string
	Tags     []string
	Message  string
	Err      error
}

EngineError represents a structured error from the engine container.

func (*EngineError) Error added in v0.2.20

func (e *EngineError) Error() string

Error implements the error interface.

func (*EngineError) Unwrap added in v0.2.20

func (e *EngineError) Unwrap() error

Unwrap returns the underlying error.

type Option

type Option func(*containerImpl)

func WithCategoryResolvers

func WithCategoryResolvers(res map[component.Category]component.ConfigResolver) Option

type Status

type Status int
const (
	StatusNone Status = iota
	StatusInstantiating
	StatusReady
	StatusError
)

Jump to

Keyboard shortcuts

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