testbin

package
v0.0.0-...-505bc1a Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Deps          = testbinDeps.Deps
	SerialDeps    = testbinDeps.SerialDeps
	CtxDeps       = testbinDeps.CtxDeps
	SerialCtxDeps = testbinDeps.SerialCtxDeps
)
View Source
var Config = struct {
	Binaries []Binary
	Dir      string
}{
	Dir: "testbin/bin",
}

Functions

func Testbin

func Testbin() error

Types

type Binary

type Binary struct {
	Name       string
	Version    string
	URL        string
	GetVersion GetVersionFunc
	// Optional: only specify if the binary is not located at <top-level-dir>/name
	// or <top-level-dir>/bin/name within the archive.
	PathInArchive string
}

type GetVersionFunc

type GetVersionFunc func(bin string) string

Jump to

Keyboard shortcuts

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