types

package
v0.1.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 1 Imported by: 0

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
	InstallInstrumentations []string
	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