generator

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Template           string
	Overwrite          bool
	Version            string
	GenerateCI         bool
	DeploymentType     string
	EnableFlox         bool
	EnableDevContainer bool
}

Config holds generator configuration

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator generates A2A agent projects from ADL files

func New

func New(config Config) *Generator

New creates a new generator

func (*Generator) Generate

func (g *Generator) Generate(adlFile, outputDir string) error

Generate generates an A2A agent project from an ADL file

type IgnoreChecker

type IgnoreChecker struct {
	// contains filtered or unexported fields
}

IgnoreChecker handles .adl-ignore file parsing and matching

func NewIgnoreChecker

func NewIgnoreChecker(outputDir string) (*IgnoreChecker, error)

NewIgnoreChecker creates a new ignore checker

func (*IgnoreChecker) ShouldIgnore

func (ic *IgnoreChecker) ShouldIgnore(filePath string) bool

ShouldIgnore checks if a file should be ignored based on .adl-ignore patterns

Jump to

Keyboard shortcuts

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