languages

package
v0.1.158 Latest Latest
Warning

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

Go to latest
Published: May 2, 2026 License: MIT Imports: 4 Imported by: 2

Documentation

Overview

Package languages defines the language and runtime constants codefly understands (GO, PYTHON, TYPESCRIPT, RUST, …) and the runtime kinds that agents declare as prerequisites.

These constants are surfaced in service.codefly.yaml, drive language-specific code generation, and are matched against CheckForRuntimes to warn early when a required toolchain is missing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasGoRuntime

func HasGoRuntime(_ *GoRuntimeConfiguration) bool

HasGoRuntime checks if the Go runtime is available on the system. and verify minimum version.

func HasNodeRuntime

func HasNodeRuntime(_ *NodeRuntimeConfiguration) bool

HasNodeRuntime checks if the Go runtime is available on the system. and verify minimum version.

func HasPythonPoetryRuntime

func HasPythonPoetryRuntime(_ *GoRuntimeConfiguration) bool

HasPythonPoetryRuntime checks if Poetry is available and functional.

func HasRailsRuntime added in v0.1.113

func HasRailsRuntime(ctx context.Context, _ *RailsRuntimeConfiguration) bool

HasRailsRuntime checks if the Go runtime is available on the system. and verify minimum version.

Types

type GoRuntimeConfiguration

type GoRuntimeConfiguration struct {
}

type Language

type Language string
var (
	GO           Language = "go"
	PYTHON       Language = "python"
	TYPESCRIPT   Language = "typescript"
	NotSupported Language = "not-supported"
)

func FromString

func FromString(s string) Language

type NodeRuntimeConfiguration

type NodeRuntimeConfiguration struct {
}

type PythonPoetryRuntimeConfiguration

type PythonPoetryRuntimeConfiguration struct {
}

type RailsRuntimeConfiguration added in v0.1.113

type RailsRuntimeConfiguration struct {
}

type VersionRequirement

type VersionRequirement struct {
	Minimum string
}

Jump to

Keyboard shortcuts

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