Documentation ¶
Index ¶
Constants ¶
View Source
const NodeRuntime = "nodejs"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct { Name string Alias []string Version string EOLDate time.Time RemovalDate time.Time Default bool Extra map[string]string }
Runtime represents runtime details on the VM.
func Find ¶
Find selects the appropriate runtime from a list of runtimes. It supports full SemVer matching, alias resolution, and fuzzy matching for major or major.minor versions. `version` is expected to always start with "v".
func GetDefault ¶
GetDefault returns the default version for the specified runtime.
Click to show internal directories.
Click to hide internal directories.