Discover Packages
github.com/weaveworks/wksctl
test
integration
spawn
package
Version:
v0.10.2
Opens a new window with list of versions in this module.
Published: Mar 30, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Entry contains all the state of one command run.
Contains return true if either stdout or stderr contains the string s.
ExitCode returns the exit status of the command.
Lines iterates over all lines of the command output.
Executor holds the context for forking a number of commands.
History return the nth entry. The most recent command is at index 0.
Last returns the most recent Entry.
RunCmd executes a exec.Cmd
RunV executes a command with an optional array of arguments. RunV will wait
until the spawned commands terminates before returning.
type Options struct {
Verbose bool
}
Options holds configuration options for the Executor object.
Run is the top level API objects. It can be used to create executor,
responsible for running a series of commands.
New creates a new run context that can be used to run successive commands.
NewExecutor creates an executor for a specific test.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.