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 ¶
var Sham = make(map[string]builtin.BuiltinFunc)
Shams use the BuiltinFunc type, but are not expected to deal with their supplied args, as they are already matched.
Functions ¶
func SoloVersionParse ¶
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.