bundler

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 28 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 {
	Opts *Opts
	// contains filtered or unexported fields
}

func NewBundler

func NewBundler(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"`
	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:"-"`
	Stdout     io.Writer `mapstructure:"-"`
	Stderr     io.Writer `mapstructure:"-"`
}

func (*Opts) Validate

func (opts *Opts) Validate() error

Jump to

Keyboard shortcuts

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