golang

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: Apache-2.0 Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestTag added in v0.9.5

func GetLatestTag(tool types.Tool) (string, error)

Types

type Runtime

type Runtime struct {
	// version something like "1.22.1"
	Version string
}

func (*Runtime) Binary added in v0.9.5

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

func (*Runtime) DownloadCredentialHelper added in v0.9.5

func (r *Runtime) DownloadCredentialHelper(ctx context.Context, tool types.Tool, helperName, distInfo, suffix string, binDir string) error

func (*Runtime) GetHash added in v0.9.5

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

func (*Runtime) ID

func (r *Runtime) ID() string

func (*Runtime) Setup

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

func (*Runtime) Supports

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

Jump to

Keyboard shortcuts

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