Documentation ¶
Index ¶
- Variables
- func CheckArch(check string) (archName string)
- func CheckOS(check string) (osName string)
- func RuntimeArch() (archName string)
- func RuntimeOS() (osName string)
- func RuntimeSupported() (supported bool)
- type System
- func (s *System) Export(ctx *cli.Context) (err error)
- func (s *System) ExportString(ctx *cli.Context) (content string, err error)
- func (s *System) ExtraCommands(app *cli.App) (commands []*cli.Command)
- func (s *System) GetDefaultVersion() (version string)
- func (s *System) GetInstalledVersion() (version string, err error)
- func (s *System) GetKnownSums() (sums map[string]string, err error)
- func (s *System) HerokuBin(name string, argv ...string) (status int, err error)
- func (s *System) IncludeCommands(app *cli.App) (commands []*cli.Command)
- func (s *System) Init(this interface{})
- func (s *System) ListPackageDirs(path string) (dirs []string, err error)
- func (s *System) MakeScriptCommands(app *cli.App) (commands []*cli.Command)
- func (s *System) NodeBin(name string, argv ...string) (status int, err error)
- func (s *System) NpmBin(name string, argv ...string) (status int, err error)
- func (s *System) NpxBin(name string, argv ...string) (status int, err error)
- func (s *System) PackageJsonsPresent(dirs []string) (packageJsons []string)
- func (s *System) PackagesWithoutModules(dirs []string) (withoutModules []string)
- func (s *System) ParseFileName(path string) (version, osName, osArch string, err error)
- func (s *System) ParseVersionString(ver string) (version string, err error)
- func (s *System) PostInitSystem(ctx *cli.Context) (err error)
- func (s *System) Prepare(ctx *cli.Context) (err error)
- func (s *System) UnExport(ctx *cli.Context) (err error)
- func (s *System) UnExportString(ctx *cli.Context) (content string, err error)
- func (s *System) YarnBin(name string, argv ...string) (status int, err error)
- func (s *System) YarnCmd(name string, argv ...string) (stdout, stderr string, status int, err error)
- func (s *System) YarnVersion() (version string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Tag = "node" Name = "nodejs" CacheDirName = "nodecache" )
Functions ¶
func RuntimeArch ¶
func RuntimeArch() (archName string)
func RuntimeSupported ¶
func RuntimeSupported() (supported bool)
Types ¶
type System ¶
func (*System) ExportString ¶
func (*System) ExtraCommands ¶
func (s *System) ExtraCommands(app *cli.App) (commands []*cli.Command)
func (*System) GetDefaultVersion ¶
func (*System) GetInstalledVersion ¶
func (*System) IncludeCommands ¶
func (s *System) IncludeCommands(app *cli.App) (commands []*cli.Command)
func (*System) ListPackageDirs ¶
func (*System) MakeScriptCommands ¶
func (s *System) MakeScriptCommands(app *cli.App) (commands []*cli.Command)
func (*System) PackageJsonsPresent ¶
func (*System) PackagesWithoutModules ¶
func (*System) ParseFileName ¶
func (*System) ParseVersionString ¶
func (*System) PostInitSystem ¶
func (*System) UnExportString ¶
func (*System) YarnVersion ¶
Click to show internal directories.
Click to hide internal directories.