output

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommandOutput

func AddCommandOutput(opts AddCommandOutputOptions)

AddCommandOutput opts.OutputPath must include a %d to replace the execution number when opts.Executions > 1

func AddJsonOutput

func AddJsonOutput(opts AddJsonOutputOptions)

func AddOutputDirectory

func AddOutputDirectory(cfg *config.Config)

func WriteToFile

func WriteToFile(path string, content []byte)

func ZipOutputDirectory

func ZipOutputDirectory(cfg *config.Config)

Types

type AddCommandOutputOptions

type AddCommandOutputOptions struct {
	Config                 *config.Config
	CommandName            string
	CommandArgs            []string
	OutputPath             string
	Executions             int
	DelayBetweenExecutions *time.Duration
}

type AddJsonOutputOptions

type AddJsonOutputOptions struct {
	Config     *config.Config
	Content    any
	OutputPath []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL