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 ¶
- func HasGoRuntime(_ *GoRuntimeConfiguration) bool
- func HasNodeRuntime(_ *NodeRuntimeConfiguration) bool
- func HasPythonPoetryRuntime(_ *GoRuntimeConfiguration) bool
- func HasRailsRuntime(ctx context.Context, _ *RailsRuntimeConfiguration) bool
- type GoRuntimeConfiguration
- type Language
- type NodeRuntimeConfiguration
- type PythonPoetryRuntimeConfiguration
- type RailsRuntimeConfiguration
- type VersionRequirement
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 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
}