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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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