Documentation
¶
Index ¶
Constants ¶
View Source
const (
PvnWrapperVersion = "0.0.2"
)
Variables ¶
This section is empty.
Functions ¶
func RunWrapper ¶
func RunWrapper(inputFiles []InputFile, successExitCodes []int32, run func(context.Context) (*pvn_wrapper_pb.Output, []OutputFileUpload, error))
Handle the "main" function of wrapper commands. This function never returns.
Types ¶
type OutputFileUpload ¶
type OutputFileUpload struct {
Name string
Stdout bool
Stderr bool
// only one or the other can be specified
Path string
Content []byte
}
func RunCmd ¶
func RunCmd(cmd *exec.Cmd) (*pvn_wrapper_pb.Output, []OutputFileUpload, error)
Click to show internal directories.
Click to hide internal directories.