types

package
v0.1.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: MIT Imports: 1 Imported by: 0 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

This section is empty.

Types

type Commander

type Commander interface {
	LookPath(name string) (string, error)
	Run(ctx context.Context, name string, args []string, dir string) (output string, err error)
}

Commander abstracts command execution for testing

type Dependency

type Dependency struct {
	Name        string `json:"name"`        // Package name
	Version     string `json:"version"`     // Version constraint (optional)
	Language    string `json:"language"`    // Programming language
	ImportPath  string `json:"import_path"` // Import path/module name
	Category    string `json:"category"`    // Category: core, instrumentation, exporter, etc.
	Description string `json:"description"` // Human-readable description
	Required    bool   `json:"required"`    // Whether this dependency is required or optional
}

Dependency represents a package dependency that needs to be added

type InstallPlan

type InstallPlan struct {
	Language          string
	InstallOTEL       bool
	InstallComponents map[string][]string // componentType -> []componentName
}

InstallPlan represents the installation request from the generator

Jump to

Keyboard shortcuts

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