Help us shape the future of Go! Take the 2026 Go Developer Survey

node

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runtime

type Runtime struct {
	// version something like "3.12"
	Version string
	// If true this is the version that will be used for python or python3
	Default bool
	// contains filtered or unexported fields
}

func (*Runtime) Binary added in v0.9.5

func (r *Runtime) Binary(_ context.Context, _ types.Tool, _, _ string, _ []string) (bool, []string, error)

func (*Runtime) GetHash added in v0.9.5

func (r *Runtime) GetHash(tool types.Tool) (string, error)

func (*Runtime) ID

func (r *Runtime) ID() string

func (*Runtime) Setup

func (r *Runtime) Setup(ctx context.Context, tool types.Tool, dataRoot, toolSource string, env []string) ([]string, error)

func (*Runtime) Supports

func (r *Runtime) Supports(_ types.Tool, cmd []string) bool

Jump to

Keyboard shortcuts

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