bundler

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundler

type Bundler struct {
	// contains filtered or unexported fields
}

func New added in v0.12.0

func New(opts *Opts) *Bundler

func (*Bundler) Bundle

func (b *Bundler) Bundle() error

type Opts

type Opts struct {
	Branch         string        `mapstructure:"branch"`
	BuildCommand   string        `mapstructure:"build-command"`
	CleanCommand   string        `mapstructure:"clean-command"`
	BuildSystem    string        `mapstructure:"build-system"`
	NumBuildJobs   uint          `mapstructure:"build-jobs"`
	Commit         string        `mapstructure:"commit"`
	Dictionary     string        `mapstructure:"dict"`
	DockerImage    string        `mapstructure:"docker-image"`
	EngineArgs     []string      `mapstructure:"engine-args"`
	Env            []string      `mapstructure:"env"`
	SeedCorpusDirs []string      `mapstructure:"seed-corpus-dirs"`
	Timeout        time.Duration `mapstructure:"timeout"`
	ProjectDir     string        `mapstructure:"project-dir"`
	ConfigDir      string        `mapstructure:"config-dir"`

	// Fields which are not configurable via viper (i.e. via cifuzz.yaml
	// and CIFUZZ_* environment variables), by setting
	// mapstructure:"-"
	FuzzTests       []string  `mapstructure:"-"`
	OutputPath      string    `mapstructure:"-"`
	BuildSystemArgs []string  `mapstructure:"-"`
	Stdout          io.Writer `mapstructure:"-"`
	Stderr          io.Writer `mapstructure:"-"`
	BuildStdout     io.Writer `mapstructure:"-"`
	BuildStderr     io.Writer `mapstructure:"-"`

	ResolveSourceFilePath bool
	// contains filtered or unexported fields
}

func (*Opts) Validate

func (opts *Opts) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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