package
Version:
v0.2.12
Opens a new window with list of versions in this module.
Published: Nov 22, 2020
License: MPL-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Run(ctx context.Context, args []string, path string, out, errout io.Writer) error
Synchronously run command, taking first arg of args as executable, and remainder as arguments.
type RunnerOptions struct {
*cmdutil.Options
Path string
Tarball string
Dest string
Handshake bool
HandshakeTimeout time.Duration
}
func RunnerCmd(opts *cmdutil.Options) (*cobra.Command, *RunnerOptions)
func (o *RunnerOptions) Run(ctx context.Context) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.