Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareCommand ¶
func PrepareCommand( ctx context.Context, component string, version v0manifest.Version, binPath, tag, instanceDir string, wd string, args []string, env *environment.Environment, checkUpdate ...bool, ) (*exec.Cmd, error)
PrepareCommand will download necessary component and returns a *exec.Cmd
func RunComponent ¶
func RunComponent(env *environment.Environment, tag, spec, binPath string, args []string) error
RunComponent start a component and wait it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.