tool

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Untar

func Untar(name string, r io.Reader) (io.Reader, error)

Types

type Config

type Config struct {
	Script  bool   `json:"script,omitempty"`
	Url     string `json:"url,omitempty"`
	Version string `json:"version,omitempty"`
}

func (Config) Verify

func (c Config) Verify() error

type Tool

type Tool struct {
	Config

	Name string
}

func FromConfig

func FromConfig(name string, config Config) (*Tool, error)

func (*Tool) Install

func (t *Tool) Install(ctx context.Context, dir work.Directory) error

Jump to

Keyboard shortcuts

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