alternatives

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	io.Closer
	FindBinaryFor(ctx context.Context, os sys.Os, arch sys.Arch) (string, error)
	FindOciImageFor(ctx context.Context, os sys.Os, arch sys.Arch) (string, error)
}

func NewProvider

func NewProvider(_ context.Context, version sys.Version, conf *configuration.Alternatives) (Provider, error)

Jump to

Keyboard shortcuts

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