sham

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package sham provides sham implementations of external commands.

Any functions contained in this package are less general-purpose commands, usually for a single script, to allow for more builtins. Perhaps in time they can be converted to builtins (python interperter in go anyone?), or replaced with an inclusion list, or a per-script plugin mechanism (or all 3).

Index

Constants

This section is empty.

Variables

Shams use the BuiltinFunc type, but are not expected to deal with their supplied args, as they are already matched.

Functions

func SoloVersionParse

func SoloVersionParse(ctx context.Context, host builtin.Host, ios builtin.IOs, args []string) error

SoloVersionParse is used (at least) by Solo's wasme install script (https://run.solo.io/wasme/instal) to find the latest released version of the command. Versions are suppled to stdin as a json array. The output should be a newline delimited list of sorted release tags, excluding prereleases

Types

This section is empty.

Jump to

Keyboard shortcuts

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